mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
18 lines
No EOL
317 B
Ruby
18 lines
No EOL
317 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB.create_table! :reports do
|
|
primary_key :id
|
|
Integer :site_id
|
|
Integer :reporting_site_id
|
|
String :type
|
|
Text :comments
|
|
Text :action_taken
|
|
String :ip
|
|
DateTime :created_at
|
|
end
|
|
}
|
|
|
|
down {
|
|
DB.drop_table :reports
|
|
}
|
|
end |