1
0
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:
FreeScout 2021-12-01 06:08:21 -08:00
parent 7c0ef24bfd
commit d1bcef4df7

View File

@ -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']);
});
}