mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
7 lines
311 B
Plaintext
7 lines
311 B
Plaintext
# -*- mode: snippet -*-
|
|
# key: mcol
|
|
# contributor: Translated from TextMate Snippet
|
|
# name: Remove / Add Column
|
|
## condition: "meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table"
|
|
# --
|
|
remove_column :${1:table}, :${2:column}${3: [press tab twice to generate add_column]} |