Skip to content

Instantly share code, notes, and snippets.

@workmaster2n
Created August 7, 2013 14:14
Show Gist options
  • Select an option

  • Save workmaster2n/6174433 to your computer and use it in GitHub Desktop.

Select an option

Save workmaster2n/6174433 to your computer and use it in GitHub Desktop.
Generating Fake Data
INSERT INTO locations (worker_id, site_id, recorded_at, created_at, updated_at) SELECT worker_id, site_id, recorded_at + interval '310 seconds', now(), now() FROM locations WHERE worker_id = 86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment