mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 17:18:02 +02:00
NEW FORMULA, EVEN BETTER TASTE
This commit is contained in:
parent
55dce7e80e
commit
b246eefe1d
2 changed files with 32 additions and 6 deletions
13
migrations/076_decimal_sauce.rb
Normal file
13
migrations/076_decimal_sauce.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
# IT'S MADE OUT OF FUCKING DECIMAL PEOPLE
|
||||
|
||||
Sequel.migration do
|
||||
up {
|
||||
DB.drop_column :sites, :score
|
||||
DB.add_column :sites, :score, :decimal, default: 0
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_column :sites, :score
|
||||
DB.add_column :sites, :score, :integer
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue