#!/usr/bin/env bun /** * drizzle-kit v1 beta generates migrations as directories: * YYYYMMDDHHMMSS_name/migration.sql + snapshot.json * * our migration runner uses loadMigrationsFromDir which only * finds flat .ts files. this script creates a flat .ts wrapper for each * directory migration so the runner can pick them up. * * the wrapper inlines the SQL as a string constant (no ?raw import needed) * which makes it work with both vite and bun. */ export type DrizzleSyncOptions = { migrationsDir: string; }; export declare function syncDrizzleMigrations(options: DrizzleSyncOptions): Promise; //# sourceMappingURL=drizzle-migrations-sync.d.ts.map