mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-15 01:44:19 +00:00
a little bit more work done
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# key: t.
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: t.rename (tre)
|
||||
# condition: (and (yas/rails-migration-p) (yas/rails-in-create-table))
|
||||
# condition: (and (yas/rails-migration-p) (or (yas/rails-in-create-table) (yas/rails-in-change-table-p)))
|
||||
# --
|
||||
t.rename(:${1:old_column_name}, :${2:new_column_name})
|
||||
t.$0
|
||||
Reference in New Issue
Block a user