mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
15 lines
No EOL
255 B
Ruby
15 lines
No EOL
255 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB.create_table! :servers do
|
|
primary_key :id
|
|
String :ip
|
|
Integer :slots_available
|
|
DateTime :created_at
|
|
DateTime :updated_at
|
|
end
|
|
}
|
|
|
|
down {
|
|
DB.drop_table :servers
|
|
}
|
|
end |