Guest User

Untitled

a guest
Sep 19th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. UPDATE users SET email = users.id || '@example.com',
  2. phone_number = NULL;
  3.  
  4. WHERE indrelid IN (
  5. SELECT oid
  6. FROM pg_class
  7. WHERE relname = 'users'
  8. );
Add Comment
Please, Sign In to add comment