renamed folder "app" to "src"

This commit is contained in:
2025-10-20 16:38:28 +02:00
parent 1890d28f47
commit 272c9519b9
8 changed files with 0 additions and 0 deletions

13
src/sql.ts Normal file
View File

@@ -0,0 +1,13 @@
import { Database } from "bun:sqlite";
import * as path from "node:path";
import { Event } from "./component/event";
export const db_filename = "77th_eventntfy.db";
export const db_filepath = path.join("data", "db", db_filename);
console.log(db_filepath);
// const db_file = Bun.file(db_filepath);
export const db = new Database(db_filepath);
export function init () {
Event.createTable(db);
}