feat: refactor

This commit is contained in:
Zamitto
2024-08-30 14:06:53 -03:00
parent 89399a6da4
commit 567d9f540d
11 changed files with 262 additions and 237 deletions

View File

@@ -0,0 +1,11 @@
import type { HydraMigration } from "@main/knex-client";
import type { Knex } from "knex";
export const MigrationName: HydraMigration = {
name: "MigrationName",
up: async (knex: Knex) => {
await knex.schema.createTable("table_name", (table) => {});
},
down: async (knex: Knex) => {},
};