This commit is contained in:
@@ -34,13 +34,9 @@ it('indexes campaign cascades and beta evidence on fresh and reopened databases'
|
||||
}
|
||||
});
|
||||
|
||||
it('covers every foreign key child prefix, including lazy host and library schemas', async () => {
|
||||
it('covers every foreign key child prefix, including host and library schemas', async () => {
|
||||
const { db } = await import('../../src/lib/server/db/index.js');
|
||||
const { ensureHostSchema } = await import('../../src/lib/server/hosts/schema.js');
|
||||
const { ensureGameFileSchema } = await import('../../src/lib/server/game-files/schema.js');
|
||||
const handle = db();
|
||||
ensureHostSchema(handle);
|
||||
ensureGameFileSchema(handle);
|
||||
const tables = handle.prepare("SELECT name FROM sqlite_master WHERE type='table'").all() as {
|
||||
name: string;
|
||||
}[];
|
||||
|
||||
Reference in New Issue
Block a user