Update E-Sign

This commit is contained in:
Daeng Deni Mardaeni
2024-09-19 14:49:13 +07:00
parent 47f248c7b3
commit 2850902c64
8 changed files with 145 additions and 9 deletions

View File

@@ -0,0 +1,28 @@
<?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('users', function (Blueprint $table) {
$table->string('sign')->nullable()->after('branch_id');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('sign');
});
}
};