./lib/rack/passbook/models/pass.rb in rack-passbook-0.0.2 vs ./lib/rack/passbook/models/pass.rb in rack-passbook-0.0.3

- old
+ new

@@ -1,9 +1,9 @@ module Rack class Passbook if ENV['DATABASE_URL'] DB = Sequel.connect(ENV['DATABASE_URL']) - Sequel::Migrator.run(DB, ::File.join(::File.dirname(__FILE__), "../migrations")) + Sequel::Migrator.run(DB, ::File.join(::File.dirname(__FILE__), "../migrations"), table: 'passbook_schema_info') end class Pass < Sequel::Model plugin :json_serializer, naked: true, except: :id plugin :validation_helpers