Skip to content

Instantly share code, notes, and snippets.

@rmanalan
Created May 6, 2009 22:02
Show Gist options
  • Select an option

  • Save rmanalan/107775 to your computer and use it in GitHub Desktop.

Select an option

Save rmanalan/107775 to your computer and use it in GitHub Desktop.
(in /Users/richmanalang/dev/connect)
== UpdateTimestamps: migrating ===============================================
-- execute(" update groups_posts set (created_at, updated_at) = \n (select created_at, created_at from posts where posts.id = groups_posts.post_id)\n where updated_at is null\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment