mirror of
https://origin.cursor.com/mrdevmx/panels.git
synced 2026-10-09 21:43:17 +00:00
The migrate job failed at changeset 005h during Coolify deploy. Liquibase was splitting the DO $$ block on inner semicolons (splitStatements:true), which breaks PL/pgSQL. Move the unique-index DO block to 005h2 with splitStatements:false. Add 005g2 to create missing operativo roles per tenant, backfill any remaining role_id values, demote duplicate tenant_admin users to operativo, and remove orphan users without tenant_id before SET NOT NULL. Co-authored-by: alberto.martinez <alberto.martinez@mrdev.mx> |
||
|---|---|---|
| .. | ||
| 001-baseline.sql | ||
| 002-rls.sql | ||
| 003-expenses-warehouse-permissions.sql | ||
| 004-rpc-users-permissions.sql | ||
| 005-iam-v2-roles-crud.sql | ||