mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 09:11:28 +02:00
patch a few missing tests, deprecate server model, fix a few bugs
This commit is contained in:
parent
86990f3535
commit
50c1f67bdf
14 changed files with 90 additions and 49 deletions
15
migrations/045_remove_servers.rb
Normal file
15
migrations/045_remove_servers.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.drop_table :servers
|
||||
}
|
||||
|
||||
down {
|
||||
DB.create_table! :servers do
|
||||
primary_key :id
|
||||
String :ip
|
||||
Integer :slots_available
|
||||
DateTime :created_at
|
||||
DateTime :updated_at
|
||||
end
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue