mancala/apps/backend/src/db/migrations/index.ts

14 lines
397 B
TypeScript
Raw Normal View History

import { sql as games001 } from "./001_games";
import { sql as clock002 } from "./002_clock";
export interface Migration {
version: string;
sql: string;
}
// Applied in this order; never change a migration that has been released, add a new one instead.
export const migrations: Migration[] = [
{ version: "001_games", sql: games001 },
{ version: "002_clock", sql: clock002 },
];