console/packages/migrations/test
Kamil Kisiela 6b9192c718
Assign custom roles to members without a role (#6332)
This migration is going to create a new role for each group of members that have the same scopes but no role assigned.

Users won't be affected by this change, as they will still have the same scopes.

The role will be named Auto Role {counter}.
The counter will be reset for each organization.

The script will create 1 or 2 roles for 97% of organizations that haven't complete the migration.

Completes https://the-guild.dev/graphql/hive/product-updates/2023-12-05-member-roles
2025-01-10 12:39:21 +01:00
..
utils SQL statements should not have PostgreSQL schema names hardcoded (#3505) (#3544) 2023-12-07 12:35:02 +01:00
2023.02.22T09.27.02.delete-personal-org.test.ts SQL statements should not have PostgreSQL schema names hardcoded (#3505) (#3544) 2023-12-07 12:35:02 +01:00
2023.09.25T15.23.00.github-check-with-project-name.test.ts SQL statements should not have PostgreSQL schema names hardcoded (#3505) (#3544) 2023-12-07 12:35:02 +01:00
2023.11.20T10-00-00.organization-member-roles.test.ts SQL statements should not have PostgreSQL schema names hardcoded (#3505) (#3544) 2023-12-07 12:35:02 +01:00
2024.01.26T00.00.01.schema-check-purging.test.ts feat(api): new permission system (#5674) 2024-11-05 10:36:10 +01:00
2024.07.23T09.36.00.schema-cleanup-tracker.test.ts Creation and deprecation status of schema coordinates - schema age filter (part 1) (#5224) 2024-08-12 11:23:32 +02:00
2025.01.09T00-00-00.legacy-member-scopes.test.ts Assign custom roles to members without a role (#6332) 2025-01-10 12:39:21 +01:00
root.ts Assign custom roles to members without a role (#6332) 2025-01-10 12:39:21 +01:00