kysely-codegen
Version:
`kysely-codegen` generates Kysely type definitions from your database. That's it.
6 lines (5 loc) • 301 B
TypeScript
import { Kysely } from 'kysely';
import type { Dialect } from '../dialect';
import type { DB } from '../outputs/postgres.output';
export declare const addExtraColumn: (db: Kysely<DB>) => Promise<void>;
export declare const migrate: (dialect: Dialect, connectionString: string) => Promise<Kysely<DB>>;