mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
修改默认的排序值为100
This commit is contained in:
@@ -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}', ])
|
||||
|
||||
Reference in New Issue
Block a user