Update .gitignore, add dist directory
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
import createDBManagerTable from "./create-db-manager-table";
|
||||
import handleDBSchemaTables from "./handle-db-schema-tables";
|
||||
import orderDBSchema from "./order-db-schema";
|
||||
export default async function createDBSchema(params) {
|
||||
/**
|
||||
* Create Schema Manager Table
|
||||
*/
|
||||
await createDBManagerTable(params);
|
||||
/**
|
||||
* Reorder Tables (parents before children with FKs)
|
||||
*/
|
||||
const ordered_db_schema = await orderDBSchema(params);
|
||||
/**
|
||||
* Handle Tables (create / update / drop)
|
||||
*/
|
||||
await handleDBSchemaTables({ ...params, db_schema: ordered_db_schema });
|
||||
}
|
||||
Reference in New Issue
Block a user