exclude prisma #51
Annotations
10 errors
|
src/storage/prisma.test.ts > PrismaStore > findByHash > should find a record by hash:
src/storage/prisma.test.ts#L63
PrismaClientKnownRequestError:
Invalid `prisma.apiKey.deleteMany()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.test.ts:63:24
60
61 afterEach(async () => {
62 if (prisma) {
→ 63 await prisma.apiKey.deleteMany(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ src/storage/prisma.test.ts:63:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > findByHash > should find a record by hash:
src/storage/prisma.ts#L79
PrismaClientKnownRequestError:
Invalid `this.model.create()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.ts:79:20
76 }
77
78 async save(record: ApiKeyRecord): Promise<void> {
→ 79 await this.model.create(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ PrismaStore.save src/storage/prisma.ts:79:3
❯ ApiKeyManager.create src/manager.ts:406:3
❯ src/storage/prisma.test.ts:168:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > save > should handle concurrent saves to different records:
src/storage/prisma.test.ts#L63
PrismaClientKnownRequestError:
Invalid `prisma.apiKey.deleteMany()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.test.ts:63:24
60
61 afterEach(async () => {
62 if (prisma) {
→ 63 await prisma.apiKey.deleteMany(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ src/storage/prisma.test.ts:63:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > save > should handle concurrent saves to different records:
src/storage/prisma.ts#L79
PrismaClientKnownRequestError:
Invalid `this.model.create()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.ts:79:20
76 }
77
78 async save(record: ApiKeyRecord): Promise<void> {
→ 79 await this.model.create(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ PrismaStore.save src/storage/prisma.ts:79:3
❯ ApiKeyManager.create src/manager.ts:406:3
❯ src/storage/prisma.test.ts:157:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > save > should prevent duplicate IDs:
src/storage/prisma.test.ts#L63
PrismaClientKnownRequestError:
Invalid `prisma.apiKey.deleteMany()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.test.ts:63:24
60
61 afterEach(async () => {
62 if (prisma) {
→ 63 await prisma.apiKey.deleteMany(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ src/storage/prisma.test.ts:63:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > save > should prevent duplicate IDs:
src/storage/prisma.ts#L79
PrismaClientKnownRequestError:
Invalid `this.model.create()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.ts:79:20
76 }
77
78 async save(record: ApiKeyRecord): Promise<void> {
→ 79 await this.model.create(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ PrismaStore.save src/storage/prisma.ts:79:3
❯ ApiKeyManager.create src/manager.ts:406:3
❯ src/storage/prisma.test.ts:128:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > save > should preserve all metadata fields:
src/storage/prisma.test.ts#L63
PrismaClientKnownRequestError:
Invalid `prisma.apiKey.deleteMany()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.test.ts:63:24
60
61 afterEach(async () => {
62 if (prisma) {
→ 63 await prisma.apiKey.deleteMany(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ src/storage/prisma.test.ts:63:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > save > should preserve all metadata fields:
src/storage/prisma.ts#L79
PrismaClientKnownRequestError:
Invalid `this.model.create()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.ts:79:20
76 }
77
78 async save(record: ApiKeyRecord): Promise<void> {
→ 79 await this.model.create(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ PrismaStore.save src/storage/prisma.ts:79:3
❯ ApiKeyManager.create src/manager.ts:406:3
❯ src/storage/prisma.test.ts:114:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > save > should save a record with metadata:
src/storage/prisma.test.ts#L63
PrismaClientKnownRequestError:
Invalid `prisma.apiKey.deleteMany()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.test.ts:63:24
60
61 afterEach(async () => {
62 if (prisma) {
→ 63 await prisma.apiKey.deleteMany(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ src/storage/prisma.test.ts:63:4
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|
|
src/storage/prisma.test.ts > PrismaStore > save > should save a record with metadata:
src/storage/prisma.ts#L79
PrismaClientKnownRequestError:
Invalid `this.model.create()` invocation in
/home/runner/work/keypal/keypal/src/storage/prisma.ts:79:20
76 }
77
78 async save(record: ApiKeyRecord): Promise<void> {
→ 79 await this.model.create(
The table `public.api_keys` does not exist in the current database.
❯ ei.handleRequestError node_modules/@prisma/client/runtime/library.js:121:7268
❯ ei.handleAndLogRequestError node_modules/@prisma/client/runtime/library.js:121:6593
❯ ei.request node_modules/@prisma/client/runtime/library.js:121:6300
❯ a node_modules/@prisma/client/runtime/library.js:130:9551
❯ PrismaStore.save src/storage/prisma.ts:79:3
❯ ApiKeyManager.create src/manager.ts:406:3
❯ src/storage/prisma.test.ts:80:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2021', meta: { modelName: 'ApiKey', table: 'public.api_keys' }, clientVersion: '6.18.0', batchRequestIdx: undefined }
|