mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-29 13:25:04 +02:00
The previous migration fix attempted to INSERT INTO 'userOrgRoles' before that table existed (it is new in 1.17.1). The error was silently ignored, so no role data was migrated. When drizzle-kit then dropped roleId from userOrgs, all user-role associations were permanently lost. - CREATE TABLE IF NOT EXISTS for userOrgRoles before migrating data - Same treatment for userInviteRoles (also new in 1.17.1) Fixes community-scripts/ProxmoxVE#13857
4.6 KiB
4.6 KiB