mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #3406 from overleaf/timothee-sync-user-entitlements-doc
Update User Entitlements Sync Script README GitOrigin-RevId: 0bcdc9c79ab4ca9229f38ab57d71019508b5792d
This commit is contained in:
parent
7dd38f775b
commit
d5544f0626
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ Connect to postgres by running `heroku psql -a electric-leaf-4093`
|
|||
|
||||
Run the following v2_user_universities export comand.
|
||||
```
|
||||
\copy (select uu.user_id, uu.email, uu.cached_entitlement, ud.university_id from v2_user_universities uu LEFT JOIN university_domains ud ON uu.university_domain_id = ud.id) to 'cached-entitlements.csv' with csv;
|
||||
\copy (select uu.user_id, uu.email, uu.cached_entitlement, ud.university_id from v2_user_universities uu LEFT JOIN university_domains ud ON uu.university_domain_id = ud.id WHERE uu.removed_at IS NULL) to 'cached-entitlements.csv' with csv;
|
||||
```
|
||||
|
||||
**Note: this file contains PII and caution must be exercised to insure that it
|
||||
|
@ -37,4 +37,4 @@ is never transferred or stored insecurely and that it is deleted ASAP**
|
|||
|
||||
```
|
||||
node scripts/sync-user-entitlements/sync-user-entitlements --user-entitlements user-entitlements.json --cached-entitlements cached-entitlements.csv --commit
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue