Major Bugfix

This commit is contained in:
2026-03-22 05:47:54 +01:00
parent bf1c364e36
commit 09430bb561
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ function dbSchemaToType({ config, dbSchema, }) {
.map((tbl) => ` "${tbl.tableName}",`)
.join("\n")}\n] as const`;
const dbTablesSchemas = datasquirelSchema.tables;
const defDbName = (_a = config.db_name) === null || _a === void 0 ? void 0 : _a.toUpperCase().replace(/ |\-/g, "_");
const defDbName = (_a = config.db_name) === null || _a === void 0 ? void 0 : _a.toUpperCase().replace(/[^a-zA-Z0-9]/g, "_");
const defNames = [];
const schemas = dbTablesSchemas
.map((table) => {