Skip to content

Instantly share code, notes, and snippets.

@MarkMenard
Created February 8, 2009 04:44
Show Gist options
  • Save MarkMenard/60190 to your computer and use it in GitHub Desktop.
Save MarkMenard/60190 to your computer and use it in GitHub Desktop.
create_table "billing_accounts", :id => false, :force => true do |t|
t.column "id", :string, :limit => '36'
t.column "name", :string
end
execute "ALTER TABLE billing_accounts ADD PRIMARY KEY (id)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment