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
16
migrations/001_create_sites.rb
Normal file
16
migrations/001_create_sites.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.create_table! :sites do
|
||||
String :username, primary_key: true
|
||||
String :email
|
||||
String :password
|
||||
Integer :server_id
|
||||
DateTime :created_at
|
||||
DateTime :updated_at
|
||||
end
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_table :sites
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue