Skip to content

Instantly share code, notes, and snippets.

@sandinist
Created March 14, 2012 11:35
Show Gist options
  • Save sandinist/2035912 to your computer and use it in GitHub Desktop.
Save sandinist/2035912 to your computer and use it in GitHub Desktop.
[sed]replace migration column name int -> integer
sed -i.bak s/t.int\ :/t.integer\ :/ *.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment