pub const ROLE_GRANTS: &str = "-- Apply explicitly as migration owner AFTER creating dedicated NOLOGIN roles\n-- hs_policy_runtime, hs_profile_control, hs_session_cleanup. Login identities\n-- inherit only their required role. No role may inherit migration ownership.\n-- Do not use these roles for the existing account store.\nBEGIN;\nGRANT USAGE ON SCHEMA federate_session\n TO hs_policy_runtime, hs_profile_control, hs_session_cleanup;\nGRANT SELECT ON federate_session.schema_version TO hs_policy_runtime;\nGRANT SELECT ON federate_session.profile_state TO hs_policy_runtime, hs_profile_control;\nGRANT UPDATE (lock_version) ON federate_session.profile_state TO hs_policy_runtime;\nGRANT UPDATE (enabled, authority_generation) ON federate_session.profile_state TO hs_profile_control;\nGRANT SELECT, INSERT ON federate_session.sessions, federate_session.replay TO hs_policy_runtime;\nGRANT UPDATE (status) ON federate_session.sessions TO hs_policy_runtime;\nGRANT SELECT, DELETE ON federate_session.replay, federate_session.sessions TO hs_session_cleanup;\nCOMMIT;\n";