mirror of https://github.com/rails/rails
Merge pull request #34943 from ikepon/add_null_false_to_actionmailbox_table
Add `null: false` to `created_at` and `updated_at` columns in Action Mailbox table
This commit is contained in:
commit
d67863af39
|
@ -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 New Issue