inital commit
This commit is contained in:
commit
2fb5f48a54
19 files changed
+601
No files matched your search
@@ -0,0 +1,4 @@
|
||||
import * as db from "../app/sql";
|
||||
|
||||
const query = db.db.query("DELETE FROM events;");
|
||||
query.run();
|
||||
@@ -0,0 +1,9 @@
|
||||
import { Event } from "../app/component/event/events";
|
||||
import * as db from "../app/sql";
|
||||
import { Database } from "bun:sqlite";
|
||||
|
||||
export function init ( db: Database ) {
|
||||
Event.createTable( db );
|
||||
};
|
||||
|
||||
init(db.db);
|
||||
Reference in new issue
Block a user