import createMigration from "../functions/createMigration"; import createProject from "../functions/createProject"; (async () => { try { const project = await createProject("Test Project"); const result_1 = await createMigration(project.token, [ { name: "users", fields: { name: { type: "string", isNullable: false }, age: { type: "int", isNullable: true }, }, }, ]); console.log("Migration 1:", result_1.data); } catch (error) { console.error("Error during test execution:", error); } })();