Skip to content

Commit 235e799

Browse files
josip-miloticJosip Milotić
andauthored
Fix for dropping unique constraint (#89)
Co-authored-by: Josip Milotić <[email protected]>
1 parent 558cb14 commit 235e799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/2023_03_29_095342_drop_unique_index_from_custom_fields_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
public function up()
1515
{
1616
Schema::table('custom_fields', function (Blueprint $table) {
17-
$table->dropIndex('cf_name');
17+
$table->dropUnique('cf_name');
1818
});
1919
}
2020

0 commit comments

Comments
 (0)