feat: User management, SMTP email activation and password resets
Build and Deploy / build-and-push (push) Successful in 1m0s
Build and Deploy / build-and-push (push) Successful in 1m0s
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user