import { Connection } from "@stdjs/database"; export interface ConnectionMap { [name: string]: Connection; } export interface MigrationExecutor { up(connections: ConnectionMap): Promise; down(connections: ConnectionMap): Promise; } export interface Migration { id: string; file: { up?: string; down?: string; }; applied: boolean; }