customer增加软删除

This commit is contained in:
TL 2022-06-28 19:10:43 +08:00
parent bacdd5278c
commit 9d5dda3522
1 changed files with 1 additions and 9 deletions

View File

@ -25,6 +25,7 @@ class CreateCustomerTable extends Migration
$table->tinyInteger('status')->default(0);
$table->string('code', 40)->default('');
$table->string('from', 16)->default('');
$table->softDeletes();
$table->timestamps();
});
@ -46,15 +47,6 @@ class CreateCustomerTable extends Migration
$table->text('description');
$table->timestamps();
});
// Schema::create('customer_spending', function (Blueprint $table) {
// $table->id();
// $table->unsignedInteger('customer_id');
// $table->unsignedInteger('order_id');
// $table->string('order_number', 32);
// $table->decimal('total', 12, 4);
// $table->timestamps();
// });
}
/**