Added unidentified actors and actor count filters.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import argv from '../src/argv.js';
|
||||
import { knexOwner as knex } from '../src/knex.js';
|
||||
import { utilsApi } from '../src/manticore.js';
|
||||
import redis from '../src/redis.js';
|
||||
import { syncManticoreScenes } from '../src/sync.js';
|
||||
|
||||
async function init() {
|
||||
@@ -24,6 +25,11 @@ async function init() {
|
||||
entity_ids multi,
|
||||
actor_ids multi,
|
||||
actors text,
|
||||
actor_count int,
|
||||
female_count int,
|
||||
male_count int,
|
||||
trans_count int,
|
||||
unidentified_count int,
|
||||
tag_ids multi,
|
||||
assigned_tag_ids multi64,
|
||||
tags text,
|
||||
@@ -57,7 +63,8 @@ async function init() {
|
||||
await syncManticoreScenes();
|
||||
}
|
||||
|
||||
knex.destroy();
|
||||
await knex.destroy();
|
||||
await redis.quit(); // sync imports connect to redis, which keeps the process alive
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
Reference in New Issue
Block a user