mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
新增分类排序
This commit is contained in:
@@ -36,6 +36,7 @@ class CreateTableCategory extends Migrator
|
||||
->addColumn(ColumnFormat::timestamp('update_time'))
|
||||
->addColumn(ColumnFormat::timestamp('delete_time'))
|
||||
->addColumn(ColumnFormat::integer('pid')->setComment('上级id'))
|
||||
->addColumn(ColumnFormat::integer('sort')->setComment('排序:越小越靠前'))
|
||||
->addColumn(ColumnFormat::integer('level')->setDefault(1)->setComment('层级'))
|
||||
->addColumn(ColumnFormat::stringShort('tpl_name')->setComment('模板名称'))
|
||||
->addColumn(ColumnFormat::stringUrl('title_img')->setComment('附图'))
|
||||
|
||||
Reference in New Issue
Block a user