diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-03 17:07:17 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-03 17:07:17 +0200 |
commit | 18fe123cd11358491ecb301c9c2783a6fb2f7d10 (patch) | |
tree | e83a22e3aa32910104c16ecf7898c2e1e84a7909 | |
parent | 146a33bc88fd6d91f980b0ff31046222e701bcb0 (diff) | |
download | rails-18fe123cd11358491ecb301c9c2783a6fb2f7d10.tar.gz rails-18fe123cd11358491ecb301c9c2783a6fb2f7d10.tar.bz2 rails-18fe123cd11358491ecb301c9c2783a6fb2f7d10.zip |
Fix index
-rw-r--r-- | lib/active_file/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_file/migration.rb b/lib/active_file/migration.rb index a6f398106e..041e29ef3b 100644 --- a/lib/active_file/migration.rb +++ b/lib/active_file/migration.rb @@ -8,7 +8,7 @@ class ActiveFile::CreateBlobs < ActiveRecord::Migration[5.1] t.string :checksum t.time :created_at - t.index [ :token ], unique: true + t.index [ :key ], unique: true end end end |