aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/RUNNING_UNIT_TESTS
diff options
context:
space:
mode:
authorBen Marini <bmarini@gmail.com>2009-09-27 16:25:18 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-12-03 23:09:57 -0800
commite55284e8256461fc2440c41548ee9b4216f96b47 (patch)
tree1f70159ca25b71e1893adbfe55fdb8a327ca2842 /activerecord/RUNNING_UNIT_TESTS
parent96e0638ce2a287eb5c43266fb4eb3e656e9968cf (diff)
downloadrails-e55284e8256461fc2440c41548ee9b4216f96b47.tar.gz
rails-e55284e8256461fc2440c41548ee9b4216f96b47.tar.bz2
rails-e55284e8256461fc2440c41548ee9b4216f96b47.zip
Add support for Mysql column positioning via #add_column and #change_column
add_column and change_column in the Mysql adapter now accept some additional options: :first => true # Put the column in front of all the columns :after => column_name # Put the colmn after 'column_name' add_column :new_col, :string, :first => true add_column :another_col, :integer, :default => 0, :after => :new_col [#3286 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord/RUNNING_UNIT_TESTS')
0 files changed, 0 insertions, 0 deletions