Browse Source

Merge pull request #9338 from mickgeek/patch-1

Fixing a typo [skip ci]
9899-cache-bug
Alexander Makarov 9 years ago
parent
commit
9c155d5914
  1. 2
      docs/guide/db-migrations.md

2
docs/guide/db-migrations.md

@ -194,7 +194,7 @@ class m150101_185401_create_news_table extends Migration
public function safeUp() public function safeUp()
{ {
$this->createTable('news', [ $this->createTable('news', [
'id' => $this->primaryKey(),, 'id' => $this->primaryKey(),
'title' => $this->string()->notNull(), 'title' => $this->string()->notNull(),
'content' => $this->text(), 'content' => $this->text(),
]); ]);

Loading…
Cancel
Save