TenantAtlas/apps/platform/.pnpm-store/v10/files/b2/ef689cb56cfd4710eacb2b7f501a62015681a78b3186cc8f31b4cd3de09c77140dcc13e08e262fe63f6c1958a99b7f90e8b3c64e671bedd7858d6f918d8573
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

12 lines
692 B
Plaintext

import type { MigrationConfig } from "../migrator.js";
import type { NeonHttpDatabase } from "./driver.js";
/**
* This function reads migrationFolder and execute each unapplied migration and mark it as executed in database
*
* NOTE: The Neon HTTP driver does not support transactions. This means that if any part of a migration fails,
* no rollback will be executed. Currently, you will need to handle unsuccessful migration yourself.
* @param db - drizzle db instance
* @param config - path to migration folder generated by drizzle-kit
*/
export declare function migrate<TSchema extends Record<string, unknown>>(db: NeonHttpDatabase<TSchema>, config: MigrationConfig): Promise<void>;