./lib/rack/passbook/migrations/001_base_schema.rb in rack-passbook-0.0.1 vs ./lib/rack/passbook/migrations/001_base_schema.rb in rack-passbook-0.0.2
- old
+ new
@@ -1,10 +1,10 @@
Sequel.migration do
up do
run %{CREATE EXTENSION hstore;}
- create_table :passbook_devices do
+ create_table :passbook_passes do
primary_key :id
column :pass_type_identifier, :varchar, unique: true, empty: false
column :serial_number, :varchar, empty: false
column :authentication_token, :varchar
@@ -28,9 +28,9 @@
index :device_library_identifier
end
end
down do
- drop_table :devices
- drop_table :registrations
+ drop_table :passbook_passes
+ drop_table :passbook_registrations
end
end