diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-06 17:13:39 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-06 17:13:39 +0200 |
commit | 6f6537b1f3f730e46341d65527a3562918803096 (patch) | |
tree | dafe7b3e2557ae48cf71b1a50091548489d2a326 /db/migrate/20201006140511_create_resources.rb | |
parent | a53257eca445c30ad6d65ad2f0b00c599f9052ac (diff) | |
download | incommon-map-6f6537b1f3f730e46341d65527a3562918803096.tar.gz |
Fix resources migration
t.references already creates an index, so the second index
actually broke things.
You may need to rebuild the database!
Diffstat (limited to 'db/migrate/20201006140511_create_resources.rb')
-rw-r--r-- | db/migrate/20201006140511_create_resources.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/db/migrate/20201006140511_create_resources.rb b/db/migrate/20201006140511_create_resources.rb index 761d5bc..c179087 100644 --- a/db/migrate/20201006140511_create_resources.rb +++ b/db/migrate/20201006140511_create_resources.rb @@ -8,6 +8,5 @@ class CreateResources < ActiveRecord::Migration[6.0] t.timestamps end add_index :resources, [:uuid], unique: true - add_index :resources, [:agent_id] end end |