mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 16:21:52 +02:00
ability to set custom maximum space
This commit is contained in:
parent
0c8bba8114
commit
3035175c4f
3 changed files with 24 additions and 1 deletions
9
migrations/074_add_custom_max_space.rb
Normal file
9
migrations/074_add_custom_max_space.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :custom_max_space, :bigint, default: 0
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_column :sites, :custom_max_space
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue