Upgrade kysely and kysely-deno-sqlite

This commit is contained in:
Alex Gleason 2023-12-01 17:57:01 -06:00
parent 01886059ab
commit 01839fbcbf
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import fs from 'node:fs/promises';
import path from 'node:path';
import { DenoSqlite3, DenoSqliteDialect, FileMigrationProvider, Kysely, Migrator } from '@/deps.ts';
import { DenoSqlite3, DenoSqlite3Dialect, FileMigrationProvider, Kysely, Migrator } from '@/deps.ts';
import { Conf } from '@/config.ts';
import { getPragma, setPragma } from '@/pragma.ts';
@ -57,7 +57,7 @@ interface UnattachedMediaRow {
}
const db = new Kysely<DittoDB>({
dialect: new DenoSqliteDialect({
dialect: new DenoSqlite3Dialect({
database: new DenoSqlite3(Conf.dbPath),
}),
});

View File

@ -66,8 +66,8 @@ export {
Migrator,
type NullableInsertKeys,
sql,
} from 'npm:kysely@^0.25.0';
export { DenoSqliteDialect } from 'https://gitlab.com/soapbox-pub/kysely-deno-sqlite/-/raw/v1.1.0/mod.ts';
} from 'npm:kysely@^0.26.3';
export { DenoSqlite3Dialect } from 'https://gitlab.com/soapbox-pub/kysely-deno-sqlite/-/raw/v2.0.0/mod.ts';
export { default as tldts } from 'npm:tldts@^6.0.14';
export * as cron from 'https://deno.land/x/deno_cron@v1.0.0/cron.ts';
export { S3Client } from 'https://deno.land/x/s3_lite_client@0.6.1/mod.ts';