delete no identitas

This commit is contained in:
2024-01-10 09:43:09 +07:00
parent 4b4611c9cc
commit 38d6abbd99
4 changed files with 34 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
<?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('request_logs', function (Blueprint $table) {
$table->dropColumn('no_identitas');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('request_logs', function (Blueprint $table) {
$table->string('no_identitas');
});
}
};