fix: auto-apply DB schema on fresh install and fix admin registration (#81)

- Auto-apply schema.sql when database tables don't exist (embedded in binary)
- Handle missing tables gracefully during admin registration (treat as fresh install)
- Fix docker-compose depends_on to wait for postgres healthcheck
- Rename personal folder from 'Mi Carpeta' to 'My Folder' with backward compat
- Translate remaining Spanish messages to English
This commit is contained in:
Dionisio
2026-02-12 14:45:52 +01:00
parent 321fae7dcb
commit ad07a5abda
9 changed files with 58 additions and 26 deletions
@@ -43,7 +43,7 @@ impl PasswordHasherPort for Argon2PasswordHasher {
.map_err(|e| DomainError::new(
ErrorKind::InternalError,
"PasswordHasher",
format!("Error al generar hash de password: {}", e)
format!("Error generating password hash: {}", e)
))
}
@@ -52,7 +52,7 @@ impl PasswordHasherPort for Argon2PasswordHasher {
.map_err(|e| DomainError::new(
ErrorKind::InternalError,
"PasswordHasher",
format!("Error al procesar hash: {}", e)
format!("Error processing password hash: {}", e)
))?;
Ok(Argon2::default().verify_password(password.as_bytes(), &parsed_hash).is_ok())