mandiri inhealth

This commit is contained in:
Server D3 Linksehat
2024-08-31 15:03:52 +07:00
parent 4381fe6141
commit bfa21b97e4
3 changed files with 123 additions and 0 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('organizations', function (Blueprint $table) {
$table->string('phone')->nullable()->after('main_address_id');
$table->string('email')->nullable()->after('phone');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('organizations', function (Blueprint $table) {
$table->dropColumn('phone');
$table->dropColumn('email');
});
}
};