Skip to content

Instantly share code, notes, and snippets.

@tom-lord
Created October 12, 2018 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tom-lord/8edeecf786d72c02dba0514a509f21a7 to your computer and use it in GitHub Desktop.
Save tom-lord/8edeecf786d72c02dba0514a509f21a7 to your computer and use it in GitHub Desktop.
UPDATE "lease_deals"
SET "expired_at" = '2018–10–08 23:50:50.138061'
WHERE "lease_deals"."expired_at" IS NULL
AND "lease_deals"."dealership_id" = 1234
AND ( updated_at < '2018–10–08 23:47:32.862470' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment