update arcc untuk notis peringatan kedua dan pertama

This commit is contained in:
Nur Izzati Zulkifli
2024-01-04 15:53:53 +08:00
parent 51c0020ac6
commit 2de3756400
4 changed files with 649 additions and 2 deletions
@@ -0,0 +1,40 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddFasaToNotisPeringatanTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('notisperingatan', function (Blueprint $table) {
$table->tinyInteger('fasa')->default(0);
$table->string('tmatang')->nullable();
$table->string('tmatang1')->nullable();
$table->string('tagsurat')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('notisperingatan', function (Blueprint $table) {
$table->dropColumn(['fasa']);
$table->dropColumn(['tmatang']);
$table->dropColumn(['tmatang1']);
$table->dropColumn(['tagsurat']);
});
}
}