From 621a6328930984fdccc539855ebb42ed66d50a6e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 1 May 2024 09:36:36 -0500 Subject: [PATCH] Update kysely imports in migrations --- src/db/migrations/002_events_fts.ts | 3 ++- src/db/migrations/005_rework_tags.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/db/migrations/002_events_fts.ts b/src/db/migrations/002_events_fts.ts index 9324195..ffaf5fb 100644 --- a/src/db/migrations/002_events_fts.ts +++ b/src/db/migrations/002_events_fts.ts @@ -1,5 +1,6 @@ +import { Kysely, sql } from 'kysely'; + import { Conf } from '@/config.ts'; -import { Kysely, sql } from '@/deps.ts'; export async function up(db: Kysely): Promise { if (Conf.databaseUrl.protocol === 'sqlite:') { diff --git a/src/db/migrations/005_rework_tags.ts b/src/db/migrations/005_rework_tags.ts index f274670..1f95810 100644 --- a/src/db/migrations/005_rework_tags.ts +++ b/src/db/migrations/005_rework_tags.ts @@ -1,4 +1,4 @@ -import { Kysely, sql } from '@/deps.ts'; +import { Kysely, sql } from 'kysely'; export async function up(db: Kysely): Promise { await db.schema