github.com/navikt/knorten@v0.0.0-20240419132333-1333f46ed8b6/pkg/database/migrations/032_existing_jupyterhubs_default_pypi_access.sql (about)

     1  -- +goose Up
     2  INSERT INTO chart_team_values ("key","value","chart_type","team_id")
     3  (SELECT DISTINCT ON (team_id) 'pypiAccess,omit', 'true', chart_type, team_id FROM chart_team_values WHERE chart_type = 'jupyterhub');
     4  
     5  -- +goose Down
     6  DELETE FROM chart_team_values WHERE "key" = 'pypiAccess,omit' AND chart_type = 'jupyterhub';