customer增加软删除
This commit is contained in:
parent
bacdd5278c
commit
9d5dda3522
|
|
@ -25,6 +25,7 @@ class CreateCustomerTable extends Migration
|
||||||
$table->tinyInteger('status')->default(0);
|
$table->tinyInteger('status')->default(0);
|
||||||
$table->string('code', 40)->default('');
|
$table->string('code', 40)->default('');
|
||||||
$table->string('from', 16)->default('');
|
$table->string('from', 16)->default('');
|
||||||
|
$table->softDeletes();
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -46,15 +47,6 @@ class CreateCustomerTable extends Migration
|
||||||
$table->text('description');
|
$table->text('description');
|
||||||
$table->timestamps();
|
$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();
|
|
||||||
// });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue