Skip to content

Commit

Permalink
hotfix 2.0.7 online install
Browse files Browse the repository at this point in the history
  • Loading branch information
liufee committed Apr 24, 2019
1 parent b983aac commit 2d6a581
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 32 deletions.
2 changes: 1 addition & 1 deletion common/config/main.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
$config = [
'name' => 'Feehi CMS',
'version' => '2.0.7',
'version' => '2.0.7.1',
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'aliases' => [
'@bower' => '@vendor/bower-asset',
Expand Down
6 changes: 3 additions & 3 deletions console/migrations/m190130_070831_add_article_teamplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class m190130_070831_add_article_teamplate extends Migration
*/
public function safeUp()
{
$this->addColumn("{{%category}}","template", $this->string()->after("sort")->defaultValue("")->comment("分类模板"));
$this->addColumn("{{%category}}","article_template", $this->string()->after("template")->defaultValue("")->comment("文章模板"));
$this->addColumn("{{%article}}", "template", $this->string()->after("flag_picture")->defaultValue("")->comment("文章模板"));
$this->addColumn("{{%category}}","template", $this->string()->after("sort")->defaultValue("")->notNull()->comment("分类模板"));
$this->addColumn("{{%category}}","article_template", $this->string()->after("template")->defaultValue("")->notNull()->comment("文章模板"));
$this->addColumn("{{%article}}", "template", $this->string()->after("flag_picture")->defaultValue("")->notNull()->comment("文章模板"));
}

/**
Expand Down

0 comments on commit 2d6a581

Please sign in to comment.