mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
forgot the migration, of course
This commit is contained in:
parent
04d1ba7ae4
commit
64fb2cf4c4
1 changed files with 9 additions and 0 deletions
9
migrations/070_add_admin_nsfw.rb
Normal file
9
migrations/070_add_admin_nsfw.rb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
Sequel.migration do
|
||||||
|
up {
|
||||||
|
DB.add_column :sites, :admin_nsfw, :boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
down {
|
||||||
|
DB.drop_column :sites, :admin_nsfw
|
||||||
|
}
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue