mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
8 lines
240 B
Plaintext
8 lines
240 B
Plaintext
# -*- mode: snippet -*-
|
|
# key: t.
|
|
# contributor: Translated from TextMate Snippet
|
|
# name: t.rename (tre)
|
|
# condition: (and (yas/rails-migration-p) (yas/rails-in-create-table))
|
|
# --
|
|
t.rename(:${1:old_column_name}, :${2:new_column_name})
|
|
t.$0 |