数据库迁移优化
This commit is contained in:
@@ -24,7 +24,7 @@ return new class extends Migration
|
||||
$table->decimal('estimate_amount', 10, 2)->default(0)->comment('预估金额(按订货汇总)');
|
||||
$table->decimal('actual_amount', 10, 2)->default(0)->comment('实际采购金额');
|
||||
$table->integer('operator_id')->default(0)->comment('采购员(系统用户ID)');
|
||||
$table->string('remark', 255)->default('')->comment('备注');
|
||||
$table->string('remark', 255)->default('')->nullable()->comment('备注');
|
||||
$table->timestamps();
|
||||
$table->index(['purchase_date', 'status'], 'purchase_order_date_status_index');
|
||||
$table->comment('采购单表');
|
||||
|
||||
Reference in New Issue
Block a user