feat: SMTP integration, dynamic app_settings for email, and email verification enforcement for tier upgrades

This commit is contained in:
Mohan Ki
2026-07-27 18:54:19 +05:30
parent 41e333b30e
commit b328b0429a
9 changed files with 273 additions and 2 deletions
+2
View File
@@ -5,6 +5,8 @@ CREATE TABLE IF NOT EXISTS users (
email VARCHAR(255) UNIQUE NOT NULL,
password_hash VARCHAR(255) NOT NULL,
role VARCHAR(50) DEFAULT 'free',
is_email_verified BOOLEAN DEFAULT false,
email_verification_token VARCHAR(255),
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP
);