Files
lpj/database/migrations/2024_11_13_101409_update_penilaian_table.php
2024-11-13 20:16:26 +00:00

31 lines
736 B
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('penilaian', function (Blueprint $table) {
$table->datetime('waktu_penilaian')->nullable();
$table->text('deskripsi_penilaian')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('penilaian', function (Blueprint $table) {
$table->dropColumn('waktu_penilaian');
$table->dropColumn('deskripsi_penilaian');
});
}
};