deprecate ipfs

This commit is contained in:
Kyle Drake 2023-12-28 01:00:26 -06:00
parent d394b2601e
commit dde5225752
15 changed files with 19 additions and 287 deletions

View file

@ -0,0 +1,17 @@
Sequel.migration do
up {
DB.drop_table :archives
DB.drop_column :sites, :ipfs_archiving_enabled
}
down {
DB.create_table! :archives do
Integer :site_id, index: true
String :ipfs_hash
DateTime :updated_at, index: true
unique [:site_id, :ipfs_hash]
end
DB.add_column :sites, :ipfs_archiving_enabled, :boolean, default: false
}
end