MCPcopy Create free account
hub / github.com/clawbot7/cli-gateway / createDb

Function createDb

test/routerCommands.test.ts:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14} from '../src/gateway/sessionStore.js';
15
16function createDb(): Database.Database {
17 const db = new Database(':memory:');
18 db.pragma('foreign_keys = ON');
19 migrate(db);
20 return db;
21}
22
23function createConfig() {
24 return {

Callers 1

Calls 1

migrateFunction · 0.85

Tested by

no test coverage detected