b79951601c
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
252 B
TypeScript
9 lines
252 B
TypeScript
import type { Db } from "mongodb";
|
||
|
||
/** Bir migration: adı dosya adıyla aynı olmalı (ör. "001-initial-indexes"). Geri alma yok; ileri yönlü. */
|
||
export type Migration = {
|
||
name: string;
|
||
description: string;
|
||
up: (db: Db) => Promise<void>;
|
||
};
|