SQLite doesn't like this key name

This commit is contained in:
Sam Georges 2014-05-16 11:11:29 +10:00
parent f02b541d2f
commit 0088804ee9
2 changed files with 2 additions and 2 deletions

View File

@ -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'], 'key_index');
$table->index(['user_id', 'namespace', 'group', 'item'], 'user_item_index');
});
}

View File

@ -15,7 +15,7 @@ class DbSystemParameters extends Migration
$table->string('group');
$table->string('item');
$table->text('value')->nullable();
$table->index(['namespace', 'group', 'item'], 'key_index');
$table->index(['namespace', 'group', 'item'], 'item_index');
});
}