Compare commits

..

No commits in common. "main" and "bugfix/hadesSql" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -2,8 +2,3 @@
-- This file runs first to ensure proper migration ordering
SELECT 'Database migration starting for hades_db' AS message;
-- Create hades_user for app connections (shared MySQL only has mysql_user)
CREATE USER IF NOT EXISTS 'hades_user'@'%' IDENTIFIED BY 'local-hades-pass';
GRANT ALL PRIVILEGES ON hades_db.* TO 'hades_user'@'%';
FLUSH PRIVILEGES;

View File

@ -9,7 +9,7 @@ metadata:
annotations:
argocd.argoproj.io/sync-options: ServerSideApply=true
binaryData:
{{- range $path, $_ := .Files.Glob "sql/*.sql" }}
{{- range $path, $_ := .Files.Glob "sql/004_*.sql" }}
{{ base $path }}: {{ $.Files.Get $path | b64enc }}
{{- end }}
{{- end }}