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:
George Claghorn 2019-01-16 06:58:13 -06:00 committed by GitHub
commit d67863af39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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