lib/slosilo/adapters/sequel_adapter/migration.rb in slosilo-0.2.4 vs lib/slosilo/adapters/sequel_adapter/migration.rb in slosilo-0.4.0
- old
+ new
@@ -18,11 +18,11 @@
# 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
+ String :fingerprint, unique: true, null: false
end
end
# Drop the table
def drop_keystore_table