Created
February 28, 2013 13:50
-
-
Save torstello/5056854 to your computer and use it in GitHub Desktop.
snippet::ruby:sequel:migration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
#Sequel.extension :migration | |
Sequel.migration do | |
change do | |
create_table(:${1:}) do | |
primary_key :id | |
${2:} | |
end | |
end | |
end | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<!-- <tabTrigger>seqmig</tabTrigger> --> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.ruby</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment