fix: adds unique index on note and user id of teams table #865
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
run-tests.yml
on: pull_request
Matrix: tests
report-coverage
0s
Annotations
8 errors
|
src/presentation/http/router/auth.test.ts:
src/repository/index.ts#L163
SequelizeDatabaseError: column "noteId" does not exist
❯ Query.run node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.addIndex node_modules/sequelize/src/dialects/abstract/query-interface.js:586:12
❯ Function.sync node_modules/sequelize/src/model.js:1427:7
❯ Module.init src/repository/index.ts:163:3
❯ src/tests/utils/setup.ts:73:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: {} }
|
|
src/presentation/http/router/editorTools.test.ts:
src/repository/index.ts#L163
SequelizeDatabaseError: column "noteId" does not exist
❯ Query.run node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.addIndex node_modules/sequelize/src/dialects/abstract/query-interface.js:586:12
❯ Function.sync node_modules/sequelize/src/model.js:1427:7
❯ Module.init src/repository/index.ts:163:3
❯ src/tests/utils/setup.ts:73:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: {} }
|
|
src/presentation/http/router/join.test.ts:
src/repository/index.ts#L163
SequelizeDatabaseError: column "noteId" does not exist
❯ Query.run node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.addIndex node_modules/sequelize/src/dialects/abstract/query-interface.js:586:12
❯ Function.sync node_modules/sequelize/src/model.js:1427:7
❯ Module.init src/repository/index.ts:163:3
❯ src/tests/utils/setup.ts:73:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: {} }
|
|
src/presentation/http/router/note.test.ts:
src/repository/index.ts#L163
SequelizeDatabaseError: column "noteId" does not exist
❯ Query.run node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.addIndex node_modules/sequelize/src/dialects/abstract/query-interface.js:586:12
❯ Function.sync node_modules/sequelize/src/model.js:1427:7
❯ Module.init src/repository/index.ts:163:3
❯ src/tests/utils/setup.ts:73:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: {} }
|
|
src/presentation/http/router/noteList.test.ts:
src/repository/index.ts#L163
SequelizeDatabaseError: column "noteId" does not exist
❯ Query.run node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.addIndex node_modules/sequelize/src/dialects/abstract/query-interface.js:586:12
❯ Function.sync node_modules/sequelize/src/model.js:1427:7
❯ Module.init src/repository/index.ts:163:3
❯ src/tests/utils/setup.ts:73:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: {} }
|
|
src/presentation/http/router/noteSettings.test.ts:
src/repository/index.ts#L163
SequelizeDatabaseError: column "noteId" does not exist
❯ Query.run node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.addIndex node_modules/sequelize/src/dialects/abstract/query-interface.js:586:12
❯ Function.sync node_modules/sequelize/src/model.js:1427:7
❯ Module.init src/repository/index.ts:163:3
❯ src/tests/utils/setup.ts:73:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: {} }
|
|
src/presentation/http/router/user.test.ts:
src/repository/index.ts#L163
SequelizeDatabaseError: column "noteId" does not exist
❯ Query.run node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.addIndex node_modules/sequelize/src/dialects/abstract/query-interface.js:586:12
❯ Function.sync node_modules/sequelize/src/model.js:1427:7
❯ Module.init src/repository/index.ts:163:3
❯ src/tests/utils/setup.ts:73:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: column "noteId" does not exist\n at Parser.parseErrorMessage (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/notes.api/notes.api/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'column "noteId" does not exist', length: 96, name: 'error', severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'indexcmds.c', line: '1699', routine: 'ComputeIndexAttrs', sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, sql: 'CREATE UNIQUE INDEX "note_teams_note_id_user_id" ON "note_teams" ("noteId", "userId")', parameters: {} }
|
|
tests (285-fix-join-route-user-duplication)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-main
Expired
|
99.8 KB |
sha256:3e735f82103051120f2fe99618326bdfd9216623e11e60f6ae7d2a0fdc26333b
|
|