perbaili list table corporate, dan table plan

This commit is contained in:
pajri
2022-12-19 18:00:24 +07:00
parent 2bf3ae7b2b
commit da14589328
8 changed files with 599 additions and 256 deletions

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('plans', function (Blueprint $table) {
$table->boolean('active')->after('max_surgery_periode_days');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('plans', function (Blueprint $table) {
$table->dropColumn('active');
});
}
};