Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Rico <[email protected]>
  • Loading branch information
SferaDev committed Nov 6, 2024
1 parent 1d1c59e commit d97de70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-client-drizzle/src/http/migrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { SQL, sql } from 'drizzle-orm';
*/
export async function migrate<TSchema extends Record<string, unknown>>(
db: XataHttpDatabase<TSchema>,
config: string | MigrationConfig
config: MigrationConfig
) {
const migrations = readMigrationFiles(config);
const migrationsTable =
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-client-drizzle/src/pg/migrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { XataDatabase } from './driver';

export async function migrate<TSchema extends Record<string, unknown>>(
db: XataDatabase<TSchema>,
config: string | MigrationConfig
config: MigrationConfig
) {
const migrations = readMigrationFiles(config);
// @ts-expect-error dialect and session are private
Expand Down

0 comments on commit d97de70

Please sign in to comment.