修改数据库文件

This commit is contained in:
augushong
2020-12-28 16:45:57 +08:00
parent e5d027e21e
commit ab07024da8

View File

@@ -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')