mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
archiving controls migration
This commit is contained in:
parent
1002aa01f7
commit
d2d1f730d6
1 changed files with 11 additions and 0 deletions
11
migrations/105_archiving_controls.rb
Normal file
11
migrations/105_archiving_controls.rb
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue