drizzle-kit pull from MariaDB using mysql2 driver
Hi
Do you have any idea what caused this error when
pnpm drizzle-kit pull
from a MariaDB?
$ pnpm drizzle-kit pull
No config path provided, using default 'drizzle.config.ts'
Reading config file '/home/user/temp/bposa360-drizzle/drizzle.config.ts'
Pulling from ['public'] list of schemas
[✓] 274 tables fetched
[✓] 3340 columns fetched
[✓] 608 indexes fetched
[✓] 330 foreign keys fetched
[⣟] 3 check constraints fetching
[✓] 5 views fetched
TypeError: Cannot read properties of undefined (reading 'checkConstraint')
at fromDatabase (/home/user/temp/bposa360-drizzle/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:18825:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[user@LAPTOP-7U5LDLH9 bposa360-drizzle]$ pnpm drizzle-kit pull
$ pnpm drizzle-kit pull
No config path provided, using default 'drizzle.config.ts'
Reading config file '/home/user/temp/bposa360-drizzle/drizzle.config.ts'
Pulling from ['public'] list of schemas
[✓] 274 tables fetched
[✓] 3340 columns fetched
[✓] 608 indexes fetched
[✓] 330 foreign keys fetched
[⣟] 3 check constraints fetching
[✓] 5 views fetched
TypeError: Cannot read properties of undefined (reading 'checkConstraint')
at fromDatabase (/home/user/temp/bposa360-drizzle/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:18825:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[user@LAPTOP-7U5LDLH9 bposa360-drizzle]$ pnpm drizzle-kit pull
0 Replies