mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2024-11-23 19:02:46 +01:00
Update rollback for remove_unique_index_in_folders_table
This commit is contained in:
parent
7c0ef24bfd
commit
d1bcef4df7
@ -27,6 +27,7 @@ class RemoveUniqueIndexInFoldersTable extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('folders', function (Blueprint $table) {
|
||||
$table->dropIndex(['mailbox_id', 'user_id', 'type']);
|
||||
$table->unique(['mailbox_id', 'user_id', 'type']);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user