Skip to content

Sharding key: Set sharding key for member_roles

We need to:

  • add organization_id column to member_roles table (null allowed)
  • start setting that column to member_roles.namespace || default_organization
  • backfill the column
  • set the column to not null
  • update the table definition
Edited by 🤖 GitLab Bot 🤖