Wipe cetmix_tower_yaml (polluted by overlapping uploads)

This commit is contained in:
Tower Deploy
2026-04-27 13:43:58 +03:00
parent 18dd9c7a1f
commit 7cef9f1a32
80 changed files with 0 additions and 9275 deletions

View File

@@ -1,19 +0,0 @@
def migrate(cr, version):
"""
Normalize existing license values to lowercase.
Runs only on upgrade (version != False).
"""
if not version:
return
# Skip rows already lowercase for efficiency
cr.execute(
"""
UPDATE cx_tower_yaml_manifest_tmpl
SET license = LOWER(TRIM(license))
WHERE license IS NOT NULL
AND (
license <> LOWER(license)
OR license <> TRIM(license)
)
"""
)