Compare commits
4 Commits
fix/extern
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 2716e60d2d | |||
| 0c569ec528 | |||
| 6e8b755f38 | |||
| e880f4e9c4 |
@ -2,3 +2,8 @@
|
|||||||
-- This file runs first to ensure proper migration ordering
|
-- This file runs first to ensure proper migration ordering
|
||||||
|
|
||||||
SELECT 'Database migration starting for hades_db' AS message;
|
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;
|
||||||
|
|||||||
@ -9,7 +9,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-options: ServerSideApply=true
|
argocd.argoproj.io/sync-options: ServerSideApply=true
|
||||||
binaryData:
|
binaryData:
|
||||||
{{- range $path, $_ := .Files.Glob "sql/004_*.sql" }}
|
{{- range $path, $_ := .Files.Glob "sql/*.sql" }}
|
||||||
{{ base $path }}: {{ $.Files.Get $path | b64enc }}
|
{{ base $path }}: {{ $.Files.Get $path | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user