mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 09:12:35 +02:00
17 lines
No EOL
286 B
Ruby
17 lines
No EOL
286 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB.create_table! :sites do
|
|
primary_key :id
|
|
String :username
|
|
String :email
|
|
String :password
|
|
Integer :server_id
|
|
DateTime :created_at
|
|
DateTime :updated_at
|
|
end
|
|
}
|
|
|
|
down {
|
|
DB.drop_table :sites
|
|
}
|
|
end |