Wingy
10/30/2021, 2:35 PMcreate({ data: ... })
on every record I get this issue:
[Ingest] [ship-kills] 793828176027320321n failed PrismaClientUnknownRequestError:
Invalid `this.GalaxyInfo.prisma.kills.create()` invocation in
/home/wingy/Code/Personal/Discord Bots/galaxy-info-v2/dist/ingest/shipKills.js:138:64
135 if (!firstMessage || messages.map(message => message.id).includes(mostRecentKillId)) {
136 for (const kill of alreadyParsed) {
137 try {
ā 138 await this.GalaxyInfo.prisma.kills.create(
Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some("database disk image is malformed"))) })
at cb (/home/wingy/Code/Personal/Discord Bots/galaxy-info-v2/node_modules/@prisma/client/runtime/index.js:38541:17)
at async fetchOldKills (/home/wingy/Code/Personal/Discord Bots/galaxy-info-v2/dist/ingest/shipKills.js:138:29) {
clientVersion: '3.3.0'
}
Is this too much for sqlite? Would I be better off using postgres?Wingy
10/30/2021, 7:58 PMWingy
10/30/2021, 7:59 PM