mirror of
https://github.com/neocities/neocities.git
synced 2025-08-06 01:24:56 +02:00
Initial checkin of project. Creates sites and goes to dashboard
This commit is contained in:
parent
d1d1d61f18
commit
b2bdf32275
26 changed files with 540 additions and 0 deletions
15
migrations/002_create_servers.rb
Normal file
15
migrations/002_create_servers.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue