mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ class CreateActionMailboxTables < ActiveRecord::Migration[6.0]
|
|||
t.integer :status, default: 0, null: false
|
||||
t.string :message_id
|
||||
|
||||
t.datetime :created_at, precision: 6
|
||||
t.datetime :updated_at, precision: 6
|
||||
t.datetime :created_at, precision: 6, null: false
|
||||
t.datetime :updated_at, precision: 6, null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue