g1t/services/identity/migrations/0026_workspace_residency.sql

8 lines526 bytesCodeBlame
1-- Where a workspace keeps its repositories' git data (docs/ARTIFACTS.md,
2-- R7): NULL for anywhere g1t stores it, 'eu' for the EU only. Set by an
3-- owner in the workspace's settings (`set_workspace_residency`), offered
4-- only once the repos service has an EU namespace (`storage_options`). The
5-- repos service reads it as it places a new repository; repositories made
6-- before a change stay where they are. Additive; every workspace starts
7-- as anywhere, as today.
8ALTER TABLE workspaces ADD COLUMN data_residency TEXT;