./lib/rack/passbook/migrations/001_base_schema.rb in rack-passbook-0.0.2 vs ./lib/rack/passbook/migrations/001_base_schema.rb in rack-passbook-0.0.3
- old
+ new
@@ -1,7 +1,7 @@
Sequel.migration do
up do
- run %{CREATE EXTENSION 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