@@ -671,6 +671,7 @@ export const studio = command({
671671 port,
672672 host,
673673 credentials,
674+ casing,
674675 } = await prepareStudioConfig ( opts ) ;
675676
676677 const {
@@ -712,22 +713,22 @@ export const studio = command({
712713 const { schema, relations, files } = schemaPath
713714 ? await preparePgSchema ( schemaPath )
714715 : { schema : { } , relations : { } , files : [ ] } ;
715- setup = await drizzleForPostgres ( credentials , schema , relations , files ) ;
716+ setup = await drizzleForPostgres ( credentials , schema , relations , files , casing ) ;
716717 } else if ( dialect === 'mysql' ) {
717718 const { schema, relations, files } = schemaPath
718719 ? await prepareMySqlSchema ( schemaPath )
719720 : { schema : { } , relations : { } , files : [ ] } ;
720- setup = await drizzleForMySQL ( credentials , schema , relations , files ) ;
721+ setup = await drizzleForMySQL ( credentials , schema , relations , files , casing ) ;
721722 } else if ( dialect === 'sqlite' ) {
722723 const { schema, relations, files } = schemaPath
723724 ? await prepareSQLiteSchema ( schemaPath )
724725 : { schema : { } , relations : { } , files : [ ] } ;
725- setup = await drizzleForSQLite ( credentials , schema , relations , files ) ;
726+ setup = await drizzleForSQLite ( credentials , schema , relations , files , casing ) ;
726727 } else if ( dialect === 'turso' ) {
727728 const { schema, relations, files } = schemaPath
728729 ? await prepareSQLiteSchema ( schemaPath )
729730 : { schema : { } , relations : { } , files : [ ] } ;
730- setup = await drizzleForLibSQL ( credentials , schema , relations , files ) ;
731+ setup = await drizzleForLibSQL ( credentials , schema , relations , files , casing ) ;
731732 } else if ( dialect === 'singlestore' ) {
732733 const { schema, relations, files } = schemaPath
733734 ? await prepareSingleStoreSchema ( schemaPath )
@@ -737,6 +738,7 @@ export const studio = command({
737738 schema ,
738739 relations ,
739740 files ,
741+ casing ,
740742 ) ;
741743 } else if ( dialect === 'gel' ) {
742744 console . log (
0 commit comments