We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f574d1e commit 6d633a9Copy full SHA for 6d633a9
1 file changed
drizzle-kit/src/cli/commands/utils.ts
@@ -219,7 +219,7 @@ export const prepareExportConfig = async (
219
): Promise<ExportConfig> => {
220
const config = from === 'config' ? await drizzleConfigFromFile(options.config, true) : options;
221
222
- const { schema, dialect, sql } = config;
+ const { schema, dialect, sql, casing } = config;
223
224
if (!schema || !dialect) {
225
console.log(error('Please provide required params:'));
@@ -237,7 +237,7 @@ export const prepareExportConfig = async (
237
dialect: dialect,
238
schema: schema,
239
sql: sql,
240
- casing: options.casing ?? "camelCase",
+ casing: casing,
241
};
242
243
0 commit comments