Update kysely imports in migrations

This commit is contained in:
Alex Gleason 2024-05-01 09:36:36 -05:00
parent d45a1b5001
commit 621a632893
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
import { Kysely, sql } from 'kysely';
import { Conf } from '@/config.ts'; import { Conf } from '@/config.ts';
import { Kysely, sql } from '@/deps.ts';
export async function up(db: Kysely<any>): Promise<void> { export async function up(db: Kysely<any>): Promise<void> {
if (Conf.databaseUrl.protocol === 'sqlite:') { if (Conf.databaseUrl.protocol === 'sqlite:') {

View File

@ -1,4 +1,4 @@
import { Kysely, sql } from '@/deps.ts'; import { Kysely, sql } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> { export async function up(db: Kysely<any>): Promise<void> {
await db.schema await db.schema