c33b489853
This is to ensure that migrations will still be consitent when we will upgrade to Rails 5 which default to `null: false` for timestamps columns. Fixes #23666. Signed-off-by: Rémy Coutable <remy@rymai.me>
12 lines
250 B
Ruby
12 lines
250 B
Ruby
# rubocop:disable all
|
|
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 null: true
|
|
end
|
|
end
|
|
end
|