feat: Enhance auth database setup and environment variable loading

This commit improves the setup of the authentication database by adding a new function to create necessary tables for both frontends. It also ensures that environment variables are loaded from a `.env` file before any database operations, enhancing configuration management. Additionally, minor updates are made to related scripts for better clarity and functionality.
This commit is contained in:
Tanya
2026-01-02 13:28:07 -05:00
parent 68d280e8f5
commit 32be5c7f23
5 changed files with 208 additions and 3 deletions
+1
View File
@@ -13,3 +13,4 @@ else
echo "⚠️ Failed to drop auth database (it may not exist)"
fi
+1
View File
@@ -50,3 +50,4 @@ if __name__ == "__main__":
success = fix_admin_password()
sys.exit(0 if success else 1)