This commit is contained in:
Benjamin Toby
2025-07-20 07:00:09 +01:00
parent 3437be2c08
commit a429436939
9 changed files with 55 additions and 7 deletions
@@ -1,3 +1,4 @@
import fs from "fs";
import createTable from "../utils/createTable";
import updateTable from "../utils/updateTable";
import { DSQL_DatabaseSchemaType } from "../../types";
@@ -47,6 +48,11 @@ export default async function createDbFromSchema({
return false;
}
// fs.writeFileSync(
// `./.tmp/dbSchema.json`,
// JSON.stringify(dbSchema, null, 4)
// );
const isMain = !userSchemaMainJSONFilePath;
for (let i = 0; i < dbSchema.length; i++) {