Skip to content

Commit

Permalink
update filed
Browse files Browse the repository at this point in the history
  • Loading branch information
xutl committed Oct 14, 2017
1 parent e11075c commit 0453ab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion migrations/M170125064017Create_note_folder_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()

$this->createTable('{{%note_folder}}', [
'id' => $this->primaryKey(),
'user_id' => $this->integer(),
'user_id' => $this->integer()->unsigned(),
'name' => $this->string()->defaultValue('Untitled')->comment('标题[可选]'),
'created_at' => $this->integer()->notNull(),
'updated_at' => $this->integer()->notNull(),
Expand Down
2 changes: 1 addition & 1 deletion migrations/M170125064025Create_note_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()

$this->createTable('{{%note}}', [
'id' => $this->primaryKey(),
'user_id' => $this->integer(),
'user_id' => $this->integer()->unsigned(),
'folder_id' => $this->integer(),
'uuid' => $this->string(),
'type' => $this->smallInteger(1)->defaultValue(0)->comment('0私有1公共'),
Expand Down

0 comments on commit 0453ab9

Please sign in to comment.