diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-06 14:03:27 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-08-06 14:03:27 +0200 |
commit | cba7f20dc8614d12e3eeda6e14f454aeb22b9b54 (patch) | |
tree | f4c13a141c07a8baa0bf404b33ade6cfbd4c4f0e /db/migrate | |
parent | ce47dd4bb0c686aee13b309b07eb8f976aa5d547 (diff) | |
download | gitlab-ce-cba7f20dc8614d12e3eeda6e14f454aeb22b9b54.tar.gz |
Allow users to send abuse reports
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20150806104937_create_abuse_reports.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20150806104937_create_abuse_reports.rb b/db/migrate/20150806104937_create_abuse_reports.rb new file mode 100644 index 00000000000..e97dc4cf04c --- /dev/null +++ b/db/migrate/20150806104937_create_abuse_reports.rb @@ -0,0 +1,11 @@ +class CreateAbuseReports < ActiveRecord::Migration + def change + create_table :abuse_reports do |t| + t.integer :reporter_id + t.integer :user_id + t.text :message + + t.timestamps + end + end +end |