Enforce node: schema for builtins, import extensions

This commit is contained in:
Fedor Indutny 2025-09-16 17:39:03 -07:00 committed by GitHub
commit c02565eaa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2096 changed files with 14955 additions and 14023 deletions

View file

@ -4,10 +4,10 @@
import { noop } from 'lodash';
import SQL from '@signalapp/sqlcipher';
import type { ReadableDB, WritableDB } from '../../sql/Interface';
import type { QueryTemplate } from '../../sql/util';
import { SCHEMA_VERSIONS } from '../../sql/migrations';
import { consoleLogger } from '../../util/consoleLogger';
import type { ReadableDB, WritableDB } from '../../sql/Interface.js';
import type { QueryTemplate } from '../../sql/util.js';
import { SCHEMA_VERSIONS } from '../../sql/migrations/index.js';
import { consoleLogger } from '../../util/consoleLogger.js';
export function createDB(): WritableDB {
const db = new SQL(':memory:') as WritableDB;