mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Use shorter index
This commit is contained in:
parent
4b0eed62a6
commit
934d7d869f
@ -16,7 +16,7 @@ class DbBackendUserPreferences extends Migration
|
||||
$table->string('group');
|
||||
$table->string('item');
|
||||
$table->text('value')->nullable();
|
||||
$table->index(['user_id', 'namespace', 'group', 'item']);
|
||||
$table->index(['user_id', 'namespace', 'group', 'item'], 'key_index');
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ class DbSystemParameters extends Migration
|
||||
$table->string('group');
|
||||
$table->string('item');
|
||||
$table->text('value')->nullable();
|
||||
$table->index(['namespace', 'group', 'item']);
|
||||
$table->index(['namespace', 'group', 'item'], 'key_index');
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user