mirror of https://github.com/rails/rails
Add 'null: false' to Action Mailbox table
created_at and updated_at columns in Action Mailbox table aren't intended nullable.
This commit is contained in:
parent
a08827a90b
commit
6c156d4f6e
|
@ -4,8 +4,8 @@ class CreateActionMailboxTables < ActiveRecord::Migration[6.0]
|
||||||
t.integer :status, default: 0, null: false
|
t.integer :status, default: 0, null: false
|
||||||
t.string :message_id
|
t.string :message_id
|
||||||
|
|
||||||
t.datetime :created_at, precision: 6
|
t.datetime :created_at, precision: 6, null: false
|
||||||
t.datetime :updated_at, precision: 6
|
t.datetime :updated_at, precision: 6, null: false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue