import { exit } from "process";
import knex from "./knex";
async function createTables() {
try {
console.log("Creating User table.");
await knex.schema.createTable("User", (table) => {
table.string("id").primary();
table.string("firstName");
});
exit();
} catch (e) {
console.error(e);
exit();
}
}
createTables();