update on timeline on portfolio view + some corrections

This commit is contained in:
fahed
2026-02-10 13:20:49 +03:00
parent d15e54044e
commit 334727b232
37 changed files with 5119 additions and 1440 deletions

18
server/auth-db.js Normal file
View File

@@ -0,0 +1,18 @@
const Database = require('better-sqlite3');
const path = require('path');
const AUTH_DB_PATH = path.join(__dirname, 'auth.db');
const authDb = new Database(AUTH_DB_PATH);
authDb.pragma('journal_mode = WAL');
authDb.exec(`
CREATE TABLE IF NOT EXISTS auth_credentials (
id INTEGER PRIMARY KEY AUTOINCREMENT,
email TEXT NOT NULL UNIQUE,
password_hash TEXT NOT NULL,
nocodb_user_id INTEGER NOT NULL
);
`);
module.exports = { authDb };