Remove unused builder.ts

This commit is contained in:
Alex Gleason 2023-08-07 00:50:31 -05:00
parent 3cb5f91d3b
commit 4cbdda401a
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 0 additions and 39 deletions

View File

@ -1,39 +0,0 @@
import { DenoSqliteDialect, Kysely, Sqlite } from '@/deps.ts';
interface Tables {
events: EventsTable;
tags: TagsTable;
users: UsersTable;
}
interface EventsTable {
id: string;
kind: number;
pubkey: string;
content: string;
created_at: number;
tags: string;
sig: string;
}
interface TagsTable {
tag: string;
value_1: string | null;
value_2: string | null;
value_3: string | null;
event_id: string;
}
interface UsersTable {
pubkey: string;
username: string;
inserted_at: Date;
}
const builder = new Kysely<Tables>({
dialect: new DenoSqliteDialect({
database: new Sqlite('data/db.sqlite3'),
}),
});
export { builder };