Set minimum prefix length 3 on manticore actors table.
This commit is contained in:
parent
7f4e4df9e3
commit
7db724eda4
|
@ -94,7 +94,7 @@ exports.up = async (knex) => {
|
||||||
created_at timestamp
|
created_at timestamp
|
||||||
)`);
|
)`);
|
||||||
|
|
||||||
await utilsApi.sql(`create table actors (${actorsFields})`);
|
await utilsApi.sql(`create table actors (${actorsFields}) min_prefix_len='3'`);
|
||||||
|
|
||||||
await utilsApi.sql(`create table actors_stashed (
|
await utilsApi.sql(`create table actors_stashed (
|
||||||
actor_id int,
|
actor_id int,
|
||||||
|
|
|
@ -50,7 +50,7 @@ async function init() {
|
||||||
penis_girth int,
|
penis_girth int,
|
||||||
stashed int,
|
stashed int,
|
||||||
scenes int
|
scenes int
|
||||||
)`);
|
) min_prefix_len = '3'`);
|
||||||
|
|
||||||
const actors = await fetchActors();
|
const actors = await fetchActors();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue