Remove unused SQL queries and update email template handling

- Deleted multiple unused SQL query files from the cms-service.
- Refactored email template handling in the cms-service to improve clarity and maintainability.
- Updated environment variable loading in both cms-service and lms-service to use dotenvy for better configuration management.
- Added a new .env.dev file for local development with database and SMTP configurations.
- Set default value for `certificates_enabled` in the shared common models.
This commit is contained in:
2026-04-15 14:26:44 -04:00
parent d550babd8a
commit 6aa0b235c3
41 changed files with 121 additions and 1592 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ use utoipa::OpenApi;
#[tokio::main]
async fn main() {
dotenv().ok();
dotenvy::from_filename(".env.dev").or_else(|_| dotenv()).ok();
tracing_subscriber::fmt::init();
let db_url = env::var("DATABASE_URL").expect("DATABASE_URL debe estar configurada");