./lib/rack/passbook/migrations/001_base_schema.rb in rack-passbook-0.2.0 vs ./lib/rack/passbook/migrations/001_base_schema.rb in rack-passbook-0.3.0

- old
+ new

@@ -1,8 +1,10 @@ +# frozen_string_literal: true + Sequel.migration do up do - run %{CREATE EXTENSION IF NOT EXISTS hstore;} + run %(CREATE EXTENSION IF NOT EXISTS hstore;) create_table :passbook_passes do primary_key :id column :pass_type_identifier, :varchar, unique: true, empty: false @@ -26,10 +28,10 @@ column :updated_at, :timestamp index :device_library_identifier end end - + down do drop_table :passbook_passes drop_table :passbook_registrations end end