Skip to content

Commit be97ee4

Browse files
author
Igor Chepurnoy
authored
Update m130524_201442_init.php
1 parent 1893e1e commit be97ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/m130524_201442_init.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function up()
5858
'entityId' => $this->integer()->notNull(),
5959
'content' => $this->text()->notNull(),
6060
'parentId' => $this->integer()->null(),
61-
'level' => $this->smallInteger()->notNull(),
61+
'level' => $this->smallInteger()->notNull()->defaultValue(1),
6262
'createdBy' => $this->integer()->notNull(),
6363
'updatedBy' => $this->integer()->notNull(),
6464
'relatedTo' => $this->string(500)->notNull(),

0 commit comments

Comments
 (0)