修改默认的排序值为100

This commit is contained in:
augushong
2024-05-14 13:36:35 +08:00
parent b51d1ad7a3
commit 4cabe9516b
8 changed files with 8 additions and 8 deletions

View File

@@ -36,7 +36,7 @@ class TestGoods extends Migrator
->addColumn('images', 'text', ['null' => '0', 'comment' => '商品图片 {images}', ])
->addColumn('describe', 'text', ['null' => '0', 'comment' => '商品描述 {editor}', ])
->addColumn('total_stock', 'integer', ['limit' => '11', 'signed' => '0', 'null' => '0', 'default' => '0', 'comment' => '总库存', ])
->addColumn('sort', 'integer', ['limit' => '11', 'signed' => '0', 'null' => '0', 'default' => '0', 'comment' => '排序', ])
->addColumn('sort', 'integer', ['limit' => '11', 'signed' => '0', 'null' => '0', 'default' => '100', 'comment' => '排序', ])
->addColumn('status', 'integer', ['limit' => '1', 'signed' => '0', 'null' => '0', 'default' => '0', 'comment' => '状态 {radio} (0:正常,1:禁用)', ])
->addColumn('cert_file', 'string', ['limit' => '100', 'null' => '0', 'comment' => '合格证 {file}', ])
->addColumn('verfiy_file', 'text', ['null' => '0', 'comment' => '检测报告 {files}', ])