Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
刘俊涛 committed Mar 1, 2017
1 parent ae52056 commit d0f6ffd
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ public function up()
'entity_id' => $this->integer(11)->notNull(),
'attribute' => $this->string(20)->notNull()
], $tableOptions);
$this->insert('{{%module}}', [
'id' => 'attachment',
'name' => '附件',
'bootstrap' => 'app-frontend|app-backend',
'status' => 1,
'type' => 1,
'created_at' => time(),
'updated_at' => time()
]);
}

/**
Expand Down

0 comments on commit d0f6ffd

Please sign in to comment.