Merge branch 'staging' of itcorp.primaya.id:rajif/aso into staging

This commit is contained in:
2023-10-25 08:48:16 +07:00
26 changed files with 4062 additions and 6593 deletions

View File

@@ -0,0 +1,34 @@
<?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('drugs', function (Blueprint $table) {
$table->text('reason')->nullable()->after('status');
$table->tinyInteger('active')->default(1)->after('reason');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('drugs', function (Blueprint $table) {
$table->dropColumn('reason');
$table->dropColumn('active');
});
}
};