mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
修改数据库文件
This commit is contained in:
@@ -42,6 +42,7 @@ class CreateTableCategory extends Migrator
|
||||
->addColumn(ColumnFormat::stringLong('desc')->setComment('副标题描述'))
|
||||
->addColumn(ColumnFormat::integerTypeStatus('status')->setComment('0:不显示,1:显示'))
|
||||
->addColumn(ColumnFormat::stringShort('type')->setComment('类型,1:文章,有分类有标签,2:页面,无分类无标签,N:其他形式用,用于区分不同的用途'))
|
||||
->addColumn(ColumnFormat::integer('sort')->setComment('排序:越小越靠前'))
|
||||
->addIndex('type')
|
||||
->addIndex('pid')
|
||||
->addIndex('status')
|
||||
|
||||
Reference in New Issue
Block a user