Skip to content

Commit

Permalink
item data value key max 300
Browse files Browse the repository at this point in the history
  • Loading branch information
noumo committed Jul 2, 2015
1 parent 5a0c5ee commit f859114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/m000000_000000_install.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ public function up()
'data_id' => 'pk',
'item_id' => Schema::TYPE_INTEGER . ' NOT NULL',
'name' => Schema::TYPE_STRING . '(128) NOT NULL',
'value' => Schema::TYPE_STRING . '(1000) DEFAULT NULL',
'value' => Schema::TYPE_STRING . '(1024) DEFAULT NULL',
], $this->engine);
$this->createIndex('item_id_name', catalog\models\ItemData::tableName(), ['item_id', 'name']);
$this->createIndex('value', catalog\models\ItemData::tableName(), 'value');
$this->createIndex('value', catalog\models\ItemData::tableName(), 'value(300)');

//SHOPCART MODULE
$this->createTable(shopcart\models\Order::tableName(), [
Expand Down

0 comments on commit f859114

Please sign in to comment.