Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20150806104937_create_abuse_reports.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 52aed9e1d1d79faaa814db60b6fc41449e0c58b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# rubocop:disable all
class CreateAbuseReports < ActiveRecord::Migration
  DOWNTIME = false

  def change
    create_table :abuse_reports do |t|
      t.integer :reporter_id
      t.integer :user_id
      t.text :message

      t.timestamps null: true
    end
  end
end