aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox/test/dummy/db
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-01-18 09:57:10 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-01-26 22:49:14 +0900
commit57015cdfa2083351f64a82f7566965172a41efcb (patch)
treed6f859c2cfbc7b8bc7ba85c3de0efb5bba0a70e4 /actionmailbox/test/dummy/db
parent5fe6d3747efd37d7d8c6c9d6557d7b623e0398e8 (diff)
downloadrails-57015cdfa2083351f64a82f7566965172a41efcb.tar.gz
rails-57015cdfa2083351f64a82f7566965172a41efcb.tar.bz2
rails-57015cdfa2083351f64a82f7566965172a41efcb.zip
Make `t.timestamps` with precision by default
Diffstat (limited to 'actionmailbox/test/dummy/db')
-rw-r--r--actionmailbox/test/dummy/db/migrate/20180208205311_create_action_mailbox_tables.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/actionmailbox/test/dummy/db/migrate/20180208205311_create_action_mailbox_tables.rb b/actionmailbox/test/dummy/db/migrate/20180208205311_create_action_mailbox_tables.rb
index 89ab66c1a9..2bf4335808 100644
--- a/actionmailbox/test/dummy/db/migrate/20180208205311_create_action_mailbox_tables.rb
+++ b/actionmailbox/test/dummy/db/migrate/20180208205311_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