notis call function

This commit is contained in:
nishaMuhd
2024-01-14 14:07:00 +08:00
parent 5e4b1ee781
commit c6e6575ac2
3 changed files with 497 additions and 15 deletions
@@ -0,0 +1,40 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddNotiscallToNotisPeringatanTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('notisperingatan', function (Blueprint $table) {
$table->date('tarikhcall1')->nullable();
$table->date('tarikhcall2')->nullable();
$table->string('remark1')->nullable();
$table->string('remark2')->nullable();
$table->integer('statuscall')->default(0);
$table->string('caller')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
// Schema::table('notisperingatan', function (Blueprint $table) {
// $table->dropColumn(['tarikhcall1']);
// $table->dropColumn(['tarikhcall2']);
// $table->dropColumn(['remark1']);
// $table->dropColumn(['remark2']);
// });
}
}