Major Bugfix
This commit is contained in:
@@ -21,7 +21,9 @@ export default function dbSchemaToType({
|
||||
|
||||
const dbTablesSchemas = datasquirelSchema.tables;
|
||||
|
||||
const defDbName = config.db_name?.toUpperCase().replace(/ |\-/g, "_");
|
||||
const defDbName = config.db_name
|
||||
?.toUpperCase()
|
||||
.replace(/[^a-zA-Z0-9]/g, "_");
|
||||
|
||||
const defNames: string[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user