bug when using push for sqlite indrizzle kit on latest
TypeError: This statement does not return data. Use run() instead
npx drizzle-kit push
No config path provided, using default 'drizzle.config.ts'
Reading config file '/home/node/app/drizzle.config.ts'
[✓] Pulling schema from database...
Warning You are about to execute current statements:
CREATE TABLE `prog_event` (
`id` text PRIMARY KEY NOT NULL,
`project_title` text NOT NULL
)
TypeError: This statement does not return data. Use run() instead
at Object.query (/home/node/app/node_modules/drizzle-kit/bin.cjs:64452:53)
at sqlitePush (/home/node/app/node_modules/drizzle-kit/bin.cjs:81893:22)
at async Object.handler (/home/node/app/node_modules/drizzle-kit/bin.cjs:87295:9)
at async run (/home/node/app/node_modules/drizzle-kit/bin.cjs:85613:7)
npx drizzle-kit push
No config path provided, using default 'drizzle.config.ts'
Reading config file '/home/node/app/drizzle.config.ts'
[✓] Pulling schema from database...
Warning You are about to execute current statements:
CREATE TABLE `prog_event` (
`id` text PRIMARY KEY NOT NULL,
`project_title` text NOT NULL
)
TypeError: This statement does not return data. Use run() instead
at Object.query (/home/node/app/node_modules/drizzle-kit/bin.cjs:64452:53)
at sqlitePush (/home/node/app/node_modules/drizzle-kit/bin.cjs:81893:22)
at async Object.handler (/home/node/app/node_modules/drizzle-kit/bin.cjs:87295:9)
at async run (/home/node/app/node_modules/drizzle-kit/bin.cjs:85613:7)
0 Replies