mirror of
https://github.com/neocities/neocities.git
synced 2026-05-26 16:54:25 +00:00
archiving controls migration
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :archiving_disabled, :boolean, default: false
|
||||
DB.add_column :sites, :archiving_private, :boolean, default: false
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_column :sites, :archiving_disabled
|
||||
DB.drop_column :sites, :archiving_private
|
||||
}
|
||||
end
|
||||
Reference in New Issue
Block a user