This commit is contained in:
parent
2ea21ae2ac
commit
40efd04558
|
|
@ -12,9 +12,9 @@ class DbBackendUserPreferences extends Migration
|
|||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->integer('user_id')->unsigned();
|
||||
$table->string('namespace');
|
||||
$table->string('group');
|
||||
$table->string('item');
|
||||
$table->string('namespace', 100);
|
||||
$table->string('group', 50);
|
||||
$table->string('item', 150);
|
||||
$table->text('value')->nullable();
|
||||
$table->index(['user_id', 'namespace', 'group', 'item'], 'user_item_index');
|
||||
});
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ class DbSystemParameters extends Migration
|
|||
{
|
||||
$table->engine = 'InnoDB';
|
||||
$table->increments('id');
|
||||
$table->string('namespace');
|
||||
$table->string('group');
|
||||
$table->string('item');
|
||||
$table->string('namespace', 100);
|
||||
$table->string('group', 50);
|
||||
$table->string('item', 150);
|
||||
$table->text('value')->nullable();
|
||||
$table->index(['namespace', 'group', 'item'], 'item_index');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue