./lib/rack/passbook/models/pass.rb in rack-passbook-0.1.0 vs ./lib/rack/passbook/models/pass.rb in rack-passbook-0.1.1

- old
+ new

@@ -1,11 +1,6 @@ module Rack class Passbook - if ENV['DATABASE_URL'] - DB = Sequel.connect(ENV['DATABASE_URL']) - 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 plugin :timestamps, force: true, update_on_create: true plugin :schema