fixed peserta download esijil error
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Support\Facades\DB;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
DB::statement("ALTER TABLE certificates MODIFY status ENUM('pending','generating','generated','emailed','downloaded','failed') NOT NULL DEFAULT 'pending'");
|
||||||
|
}
|
||||||
|
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
DB::statement("ALTER TABLE certificates MODIFY status ENUM('pending','generating','generated','emailed','failed') NOT NULL DEFAULT 'pending'");
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user