export interface MigrationDefinition {
  version: number;
  name: string;
  description: string;
  reversible: boolean;
  up: () => Promise<void>;
}

export interface MigrationDoc {
  id: string;
  productId: string;
  version: number;
  name: string;
  description: string;
  appliedAt: string;
  durationMs: number;
  status: 'applied' | 'failed' | 'rolled_back';
  error?: string;
}
