generate characters with sane compile time/memory

This commit is contained in:
2026-01-07 16:36:50 -05:00
parent 4bd9100954
commit b134bea670
7 changed files with 210 additions and 80039 deletions

View File

@@ -1,7 +1,9 @@
SELECT
"index" AS "id",
"text" AS "name"
"text" AS "name",
ROW_NUMBER() OVER (ORDER BY "index") - 1 AS "index"
FROM text_data
WHERE category = 6 AND "index" BETWEEN 1000 AND 1999
-- Exclude characters who have no succession relations defined.
AND "index" IN (SELECT chara_id FROM succession_relation_member)
AND "index" IN (SELECT chara_id FROM succession_relation_member)
ORDER BY "id"