41 lines
1.6 KiB
PHP
41 lines
1.6 KiB
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
return new class extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*/
|
|
public function up(): void
|
|
{
|
|
Schema::table('kjpp', function (Blueprint $table) {
|
|
$table->string('detail_email_kantor')->nullable()->after('email_kantor');
|
|
$table->string('detail_nama_pic_reviewer')->nullable()->after('nama_pic_reviewer');
|
|
$table->string('detail_nomor_hp_pic_reviewer')->nullable()->after('nomor_hp_pic_reviewer');
|
|
$table->string('detail_nama_pic_admin')->nullable()->after('nama_pic_admin');
|
|
$table->string('detail_nomor_hp_pic_admin')->nullable()->after('nomor_hp_pic_admin');
|
|
$table->string('detail_nama_pic_marketing')->nullable()->after('nama_pic_marketing');
|
|
$table->string('detail_nomor_hp_pic_marketing')->nullable()->after('nomor_hp_pic_marketing');
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*/
|
|
public function down(): void
|
|
{
|
|
Schema::table('kjpp', function (Blueprint $table) {
|
|
$table->dropColumn('detail_email_kantor');
|
|
$table->dropColumn('detail_nama_pic_reviewer');
|
|
$table->dropColumn('detail_nomor_hp_pic_reviewer');
|
|
$table->dropColumn('detail_nama_pic_admin');
|
|
$table->dropColumn('detail_nomor_hp_pic_admin');
|
|
$table->dropColumn('detail_nama_pic_marketing');
|
|
$table->dropColumn('detail_nomor_hp_pic_marketing');
|
|
});
|
|
}
|
|
};
|