diff --git a/test/support/active_record.rb b/test/support/active_record.rb index 381b412..0457d7d 100644 --- a/test/support/active_record.rb +++ b/test/support/active_record.rb @@ -19,7 +19,7 @@ t.references :includable, polymorphic: true end - add_index :entities, [:includable_id, :includable_type, :position], unique: true + add_index :entities, [:includable_id, :includable_type, :position], unique: true, name: 'index_entities_on_includable_and_position' create_table :items, force: true do |t| t.string :name