Team: Add columns external_uid and is_provisioned to the team table (#103285)

* add columns external_id and is_provisioned to the team table

* generate openapi specs

* rename column to external_uid

* generate open api specs

* increase limit for external_uid to 256
This commit is contained in:
Mihai Doarna
2025-04-04 11:00:14 +03:00
committed by GitHub
parent f19e4f95d5
commit 10411361e7
15 changed files with 143 additions and 42 deletions
@@ -37,6 +37,14 @@ func addTeamMigrations(mg *Migrator) {
Cols: []string{"org_id", "uid"}, Type: UniqueIndex,
}))
mg.AddMigration("Add column external_uid in team", NewAddColumnMigration(teamV1, &Column{
Name: "external_uid", Type: DB_NVarchar, Length: 256, Nullable: true,
}))
mg.AddMigration("Add column is_provisioned in team", NewAddColumnMigration(teamV1, &Column{
Name: "is_provisioned", Type: DB_Bool, Nullable: true,
}))
teamMemberV1 := Table{
Name: "team_member",
Columns: []*Column{