aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Collapse)AuthorAgeFilesLines
* record unsupported methods in CommandRecorder instead of letting the ↵Vijay Dev2011-06-251-3/+5
| | | | unsupported methods go through to the underlying db causing errors like duplicate columns to occur when rolling back migrations
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* Added a test to check for correct behaviour with no options in add_index ↵David Workman2011-05-241-0/+6
| | | | command recorder
* Simple fix for correctly inverting an add_index migration when a name has ↵David Workman2011-05-231-0/+6
| | | | been provided
* Add :bulk => true option to change_tablePratik Naik2011-01-311-1/+1
|
* command recorder will record commands sent to a delegate objectAaron Patterson2010-11-191-0/+22
|
* IrreversibleMigration is raised if we cannot invert the commandAaron Patterson2010-11-191-0/+7
|
* commands are reversedAaron Patterson2010-11-191-0/+7
|
* partial implementation of the command recorderAaron Patterson2010-11-191-0/+72