Skip to content

Instantly share code, notes, and snippets.

@hassox
Forked from anonymous/gist:13751
Created September 30, 2008 06:19
Show Gist options
  • Save hassox/13752 to your computer and use it in GitHub Desktop.
Save hassox/13752 to your computer and use it in GitHub Desktop.
class ChangeTaxRate < ActiveRecord::Migration
def self.up
execute "ALTER TABLE `tax_rates` CHANGE `rate` `rate` DECIMAL( 8, 6 ) NULL DEFAULT '0.0000'"
end
def self.down
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment