update migration
This commit is contained in:
parent
348d09e1b8
commit
74a20a714b
|
|
@ -20,7 +20,6 @@ return new class extends Migration
|
|||
$table->string('end_period');
|
||||
$table->string('type');
|
||||
$table->string('reason');
|
||||
$table->string('status');
|
||||
$table->string('admin_note')->nullable();
|
||||
$table->string('updated_by');
|
||||
$table->timestamps();
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
<?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('tickets', function (Blueprint $table) {
|
||||
//
|
||||
$table->string('status', 20);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('tickets', function (Blueprint $table) {
|
||||
//
|
||||
$table->dropColumn('status');
|
||||
});
|
||||
}
|
||||
};
|
||||
Loading…
Reference in New Issue