implement site reporting

This commit is contained in:
Kyle Drake 2014-06-14 16:15:47 -07:00
parent 5edeba9495
commit e546b22797
5 changed files with 84 additions and 3 deletions

View file

@ -0,0 +1,18 @@
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