feat: Implement soft deletes for customer, invoice, order, and transaction models, and add customer edit and trash management to the admin panel.
This commit is contained in:
@@ -42,6 +42,7 @@ return new class extends Migration {
|
||||
$table->string('remember_token', 100)->nullable();
|
||||
$table->tinyInteger('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
$table->foreign('province_code')
|
||||
->references('code')
|
||||
@@ -66,6 +67,6 @@ return new class extends Migration {
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
Schema::dropIfExists('customer');
|
||||
Schema::dropIfExists('customers');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user