aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox/db
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-01-29 04:49:45 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-01-29 04:59:36 +0900
commit30f666f87ab873258b797b39f29cf852f7621bea (patch)
treebb74b79bc0560d559ef6bddff3030a0f8d8d8bbd /actionmailbox/db
parent2f9f699a2f6c6d470d2c639fe07d7850f6858c53 (diff)
downloadrails-30f666f87ab873258b797b39f29cf852f7621bea.tar.gz
rails-30f666f87ab873258b797b39f29cf852f7621bea.tar.bz2
rails-30f666f87ab873258b797b39f29cf852f7621bea.zip
Apply `t.timestamps` changes in Action Text and Action Mailbox
Follow up #34956.
Diffstat (limited to 'actionmailbox/db')
-rw-r--r--actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb b/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb
index 89ab66c1a9..2bf4335808 100644
--- a/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb
+++ b/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb
@@ -5,11 +5,7 @@ class CreateActionMailboxTables < ActiveRecord::Migration[6.0]
t.string :message_id, null: false
t.string :message_checksum, null: false
- if supports_datetime_with_precision?
- t.timestamps precision: 6
- else
- t.timestamps
- end
+ t.timestamps
t.index [ :message_id, :message_checksum ], name: "index_action_mailbox_inbound_emails_uniqueness", unique: true
end