diff options
author | George Claghorn <george.claghorn@gmail.com> | 2019-01-16 06:58:13 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-16 06:58:13 -0600 |
commit | d67863af390b45ed8dde551071a29b3d347bb8be (patch) | |
tree | efbd37260377a17a26d2e840ee33a14ac18c531a /actionmailbox | |
parent | a08827a90b5a9be79379019cf5b242bd7236d2e3 (diff) | |
parent | 6c156d4f6e2bef5fe190d1426c1b867cd8931feb (diff) | |
download | rails-d67863af390b45ed8dde551071a29b3d347bb8be.tar.gz rails-d67863af390b45ed8dde551071a29b3d347bb8be.tar.bz2 rails-d67863af390b45ed8dde551071a29b3d347bb8be.zip |
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
Diffstat (limited to 'actionmailbox')
-rw-r--r-- | actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb b/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb index 0124b4b98f..8cf621d7e3 100644 --- a/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb +++ b/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb @@ -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 |