Update kysely imports in migrations
This commit is contained in:
parent
d45a1b5001
commit
621a632893
|
@ -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<any>): Promise<void> {
|
||||
if (Conf.databaseUrl.protocol === 'sqlite:') {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Kysely, sql } from '@/deps.ts';
|
||||
import { Kysely, sql } from 'kysely';
|
||||
|
||||
export async function up(db: Kysely<any>): Promise<void> {
|
||||
await db.schema
|
||||
|
|
Loading…
Reference in New Issue