Skip to content

Instantly share code, notes, and snippets.

@torstello
Created February 28, 2013 13:50
Show Gist options
  • Save torstello/5056854 to your computer and use it in GitHub Desktop.
Save torstello/5056854 to your computer and use it in GitHub Desktop.
snippet::ruby:sequel:migration
<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