lib/slosilo/adapters/sequel_adapter/migration.rb in slosilo-0.1.2 vs lib/slosilo/adapters/sequel_adapter/migration.rb in slosilo-0.2.2

- old
+ new

@@ -13,10 +13,13 @@ # Keystore table name. If changing this do it immediately after loading the extension. attr_accessor :keystore_table # Create the table for holding keys def create_keystore_table - create_table keystore_table do + # docs say to not use create_table? in migration; + # but we really want this to be robust in case there are any previous installs + # and we can't use table_exists? because it rolls back + create_table? keystore_table do String :id, primary_key: true # Note: currently only postgres is supported bytea :key, null: false end end