feat: User management, SMTP email activation and password resets
Build and Deploy / build-and-push (push) Successful in 1m0s

This commit is contained in:
AI Bot
2026-09-17 08:49:11 +05:30
parent 603aee646c
commit cbf44587aa
9 changed files with 571 additions and 51 deletions
+12
View File
@@ -44,6 +44,18 @@ const initDB = async () => {
// Ignore if it already exists
}
try {
await client.query(`ALTER TABLE profiles ADD COLUMN activation_token TEXT`);
} catch (err) {
// Ignore if it already exists
}
try {
await client.query(`ALTER TABLE profiles ADD COLUMN reset_token TEXT`);
} catch (err) {
// Ignore if it already exists
}
await client.query(`
CREATE TABLE IF NOT EXISTS projects (
id TEXT PRIMARY KEY,