pintu2/database/migrations/2024_07_31_151308_edit_pengajuanwisuda_tables.php

29 lines
656 B
PHP
Raw Permalink Normal View History

2024-08-30 09:27:44 +07:00
<?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('pengajuan_wisudas', function (Blueprint $table) {
2024-11-12 11:43:24 +07:00
$table->string('bukti_bebas_lab')->nullable()->after('bukti_toefl');
2024-08-30 09:27:44 +07:00
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('pengajuan_wisudas', function (Blueprint $table) {
$table->dropColumn('bukti_bebas_lab');
});
}
};