修改数据库

This commit is contained in:
邹景立 2022-10-13 21:56:39 +08:00
parent b44a92ba76
commit 951133fa8b
2 changed files with 4 additions and 4 deletions

View File

@ -143,7 +143,7 @@ SQL
]) ])
->addColumn('name', 'string', ['limit' => 100, 'default' => '', 'comment' => '配置名']) ->addColumn('name', 'string', ['limit' => 100, 'default' => '', 'comment' => '配置名'])
->addColumn('value', 'text', ['default' => '', 'comment' => '配置值']) ->addColumn('value', 'text', ['default' => '', 'comment' => '配置值'])
->addIndex('type', ['name' => 'idx_system_data_name']) ->addIndex('name', ['name' => 'idx_system_data_name'])
->save(); ->save();
} }

View File

@ -10,12 +10,12 @@ class InstallWechat extends Migrator
public function change() public function change()
{ {
$this->_auto(); $this->_auto();
$this->_article();
$this->_fans(); $this->_fans();
$this->_media();
$this->_news();
$this->_tags(); $this->_tags();
$this->_keys(); $this->_keys();
$this->_news();
$this->_media();
$this->_article();
} }
private function _auto() private function _auto()