error: relation "session" does not exist

I am getting this below error, also, I'm not getting anything generated in the migrations folder!
error: relation "session" does not exist
at file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/@neondatabase/serverless/index.mjs:1345:74
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async VercelPgPreparedQuery.execute (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/drizzle-orm/vercel-postgres/session.js:39:22)
at async DrizzlePostgreSQLAdapter.getSessionAndUser (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/@lucia-auth/adapter-drizzle/dist/drivers/postgresql.js:18:24)
at async Lucia.validateSession (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/lucia/dist/core.js:61:49)
at async Object.handle (eval at instantiateModule (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:52640:24), <anonymous>:12:29)
at async Module.respond (eval at instantiateModule (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:52640:24), <anonymous>:330:20)
at async file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:524:22 {
length: 106,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '86',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '1449',
routine: 'parserOpenTable'
}
error: relation "session" does not exist
at file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/@neondatabase/serverless/index.mjs:1345:74
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async VercelPgPreparedQuery.execute (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/drizzle-orm/vercel-postgres/session.js:39:22)
at async DrizzlePostgreSQLAdapter.getSessionAndUser (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/@lucia-auth/adapter-drizzle/dist/drivers/postgresql.js:18:24)
at async Lucia.validateSession (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/lucia/dist/core.js:61:49)
at async Object.handle (eval at instantiateModule (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:52640:24), <anonymous>:12:29)
at async Module.respond (eval at instantiateModule (file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:52640:24), <anonymous>:330:20)
at async file:///C:/Users/win%2010/Desktop/clone-twitter-svelte/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:524:22 {
length: 106,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '86',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '1449',
routine: 'parserOpenTable'
}
No description
No description
1 Reply
Boby
BobyOP5mo ago
TIA never mind, I have fixed it
Want results from more Discord servers?
Add your server