Skip to content

Commit 806e22a

Browse files
committed
FOUR-28842 Coronation Registrars - 404 error when open Charts
1 parent b60ade1 commit 806e22a

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*/
12+
public function up(): void
13+
{
14+
DB::statement('
15+
ALTER TABLE `process_request_tokens`
16+
ADD INDEX `process_request_tokens_ele_sta_self_pro_user` (`element_type`, `status`, `is_self_service`, `process_id`, `user_id`)
17+
');
18+
}
19+
20+
/**
21+
* Reverse the migrations.
22+
*/
23+
public function down(): void
24+
{
25+
DB::statement('
26+
ALTER TABLE `process_request_tokens`
27+
DROP INDEX `process_request_tokens_ele_sta_self_pro_user`
28+
');
29+
}
30+
};

0 commit comments

Comments
 (0)