Fixed: Index name 'index_external_syncs_on_source_and_source_id_and_object_and_o_id' on table 'external_syncs' is too long; the limit is 63 characters.
This commit is contained in:
parent
05fe899cdd
commit
5812515fe5
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class CreateExternalSync < ActiveRecord::Migration
|
|||
t.timestamps null: false
|
||||
end
|
||||
add_index :external_syncs, [:source, :source_id], unique: true
|
||||
add_index :external_syncs, [:source, :source_id, :object, :o_id]
|
||||
add_index :external_syncs, [:source, :source_id, :object, :o_id], name: 'index_external_syncs_on_source_and_source_id_and_object_o_id'
|
||||
add_index :external_syncs, [:object, :o_id]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue