Upgrade kysely and kysely-deno-sqlite
This commit is contained in:
parent
01886059ab
commit
01839fbcbf
|
@ -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),
|
||||
}),
|
||||
});
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue