Skip to content
Snippets Groups Projects
Commit 7220772d authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

add index for user_agent table

parent bc494dc4
No related branches found
No related tags found
1 merge request!2260Translated using Weblate (German)
......@@ -20,6 +20,7 @@ class CreateUserAgentsTable extends Migration
$table->enum('device', ["desktop", "tablet", "mobile"]);
$table->string('useragent', 300);
$table->timestamps();
$table->index(["platform", "browser", "device"], "useragent_random_select_idx");
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment