Report hasn't been filed before.
What version of drizzle-orm are you using?
1.0.0-beta.17
What version of drizzle-kit are you using?
1.0.0-beta.17
Other packages
mysql2@3.19.1
Describe the Bug
Running npx drizzle-kit pull against a MySQL database fails with:
Error Cannot read properties of undefined (reading 'requestLayout')
Console output:
[✓] 0 tables fetching
[✓] 0 columns fetching
[✓] 0 indexes fetching
[✓] 0 foreign keys fetching
[✓] 0 policies fetching
[✓] 0 check constraints fetching
[✓] 0 views fetching
Error Cannot read properties of undefined (reading 'requestLayout')
Environment
- drizzle-kit:
1.0.0-beta.17
- drizzle-orm:
1.0.0-beta.17
Drizzle config
export default defineConfig({
out: './src/database',
dialect: 'mysql',
schema: './src/database/schema.ts',
dbCredentials: {
database: process.env.DB_DATABASE,
host: process.env.DB_HOST,
port: process.env.DB_PORT,
password: process.env.DB_PASSWORD,
user: process.env.DB_USER,
},
casing: 'snake_case',
introspect: { casing: 'camel' },
strict: true,
verbose: true,
breakpoints: true,
});
Report hasn't been filed before.
What version of
drizzle-ormare you using?1.0.0-beta.17
What version of
drizzle-kitare you using?1.0.0-beta.17
Other packages
mysql2@3.19.1
Describe the Bug
Running
npx drizzle-kit pullagainst a MySQL database fails with:Console output:
Environment
1.0.0-beta.171.0.0-beta.17Drizzle config