Browse files

Add rename column to migrations (recol)

  • Loading branch information...
1 parent 43e969d commit 0517ffdcc57ca9cf03245c7bbeaafd15f221c5c2 @tadast committed Feb 12, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 Migration-Rename-Column.sublime-snippet
View
6 Migration-Rename-Column.sublime-snippet
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[rename_column :${1:table}, :${2:old_column_name}, :${3:new_column_name}]]></content>
+ <tabTrigger>recol</tabTrigger>
+ <scope>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</scope>
+ <description>Rename Column</description>
+</snippet>

0 comments on commit 0517ffd

Please sign in to comment.