From 57015cdfa2083351f64a82f7566965172a41efcb Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 18 Jan 2019 09:57:10 +0900 Subject: Make `t.timestamps` with precision by default --- .../dummy/db/migrate/20180208205311_create_action_mailbox_tables.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'actionmailbox/test/dummy/db') 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 -- cgit v1.2.3