Merge pull request #1383 from aaronkelton/patch-1
This commit is contained in:
commit
b1378d58a7
|
@ -28,11 +28,11 @@ class CreateVersions < ActiveRecord::Migration<%= migration_version %>
|
|||
# MySQL users should also upgrade to at least rails 4.2, which is the first
|
||||
# version of ActiveRecord with support for fractional seconds in MySQL.
|
||||
# (https://github.com/rails/rails/pull/14359)
|
||||
#
|
||||
#
|
||||
# MySQL users should use the following line for `created_at`
|
||||
# t.datetime :created_at, limit: 6
|
||||
# t.datetime :created_at, limit: 6
|
||||
t.datetime :created_at
|
||||
end
|
||||
add_index :versions, %i(item_type item_id)
|
||||
add_index :versions, %i[item_type item_id]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue