Skip to content

Commit

Permalink
gallery pk to category_id
Browse files Browse the repository at this point in the history
  • Loading branch information
noumo committed May 17, 2015
1 parent 7e4d37c commit 12ee0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/m000000_000000_install.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function up()

//GALLERY MODULE
$this->createTable(gallery\models\Category::tableName(), [
'album_id' => 'pk',
'category_id' => 'pk',
'title' => Schema::TYPE_STRING . '(128) NOT NULL',
'image' => Schema::TYPE_STRING . '(128) DEFAULT NULL',
'slug' => Schema::TYPE_STRING . '(128) DEFAULT NULL',
Expand Down

0 comments on commit 12ee0db

Please sign in to comment.