Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `create_join_table` migration helper to create HABTM join tables | Rafael Mendonça França | 2012-01-27 | 2 | -2/+27 |
| | |||||
* | Fix GH #4285. Remove options when we record calling creat_table | kennyj | 2012-01-04 | 1 | -1/+1 |
| | |||||
* | Fixed bad options order in ↵ | jbbarth | 2011-08-28 | 1 | -1/+1 |
| | | | | ActiveRecord::Migration::CommandRecorder#invert_rename_index | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-05 | 1 | -1/+1 |
|\ | |||||
| * | fix typo in method name | Vijay Dev | 2011-06-25 | 1 | -1/+1 |
| | | |||||
| * | Revert "add missing methods supported by reversible migrations using the ↵ | Vijay Dev | 2011-06-25 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | change method" This reverts commit 7f91eebae361f2f3a1558f6d899b372524509a2d. Reason: Incorrect documenting. The newly added methods to the list are not actually supported by reversible migrations. | ||||
| * | add missing methods supported by reversible migrations using the change method | Vijay Dev | 2011-06-24 | 1 | -1/+4 |
| | | |||||
* | | Reversing the changes done in c278a2c while still resolving #1857. | Vijay Dev | 2011-07-02 | 1 | -9/+5 |
| | | | | | | | | | | | | | | | | | | The changes broke bulk migration tests and were fixed in 4d256bc6; however that brought back the issue of #1857 and so this commit goes back to the original scenario and just adds change_table to the list of methods which are to be recorded in the CommandRecorder. The method_missing now delegates all calls to the underlying connection as before. | ||||
* | | CommandRecorder should delegate in method_missing where possible. Fixes some ↵ | Jon Leighton | 2011-06-30 | 1 | -1/+5 |
| | | | | | | | | tests in migration_test.rb under mysql. The problem was introduced in c278a2c5e109204ec8a47fcbfdfc327aad7996ce. | ||||
* | | record unsupported methods in CommandRecorder instead of letting the ↵ | Vijay Dev | 2011-06-25 | 1 | -4/+4 |
|/ | | | | unsupported methods go through to the underlying db causing errors like duplicate columns to occur when rolling back migrations | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-06 | 1 | -6/+6 |
|\ | | | | | | | | | Conflicts: activerecord/RUNNING_UNIT_TESTS | ||||
| * | comment the recorder methods | Vijay Dev | 2011-06-07 | 1 | -3/+3 |
| | | |||||
| * | styling changes | Vijay Dev | 2011-06-02 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #1229 from workmad3/master | Aaron Patterson | 2011-05-27 | 1 | -2/+4 |
|\ \ | |/ |/| | Fix for Issue #1205 | ||||
| * | Using .try to test for the existence of a method option in a nil-resistent ↵ | David Workman | 2011-05-23 | 1 | -5/+2 |
| | | | | | | | | manner. Inlined the determination of the options hash for reversing using a ternary operator. Shortens the method in a way that keeps the code neat | ||||
| * | Neatened up the invert_add_index method as per suggeston | David Workman | 2011-05-23 | 1 | -2/+3 |
| | | |||||
| * | Simple fix for correctly inverting an add_index migration when a name has ↵ | David Workman | 2011-05-23 | 1 | -2/+6 |
| | | | | | | | | been provided | ||||
* | | Remove extra white spaces on ActiveRecord docs. | Sebastian Martinez | 2011-05-23 | 1 | -3/+3 |
|/ | |||||
* | Add :bulk => true option to change_table | Pratik Naik | 2011-01-31 | 1 | -4/+16 |
| | |||||
* | adding documentation for reversible migrations | Aaron Patterson | 2010-11-19 | 1 | -1/+11 |
| | |||||
* | invertable migrations are working | Aaron Patterson | 2010-11-19 | 1 | -1/+1 |
| | |||||
* | command recorder will record commands sent to a delegate object | Aaron Patterson | 2010-11-19 | 1 | -3/+13 |
| | |||||
* | updating documentation | Aaron Patterson | 2010-11-19 | 1 | -1/+7 |
| | |||||
* | IrreversibleMigration is raised if we cannot invert the command | Aaron Patterson | 2010-11-19 | 1 | -1/+5 |
| | |||||
* | commands are reversed | Aaron Patterson | 2010-11-19 | 1 | -1/+1 |
| | |||||
* | add and remove timestamps can be inverted | Aaron Patterson | 2010-11-19 | 1 | -0/+8 |
| | |||||
* | inverting add_index | Aaron Patterson | 2010-11-19 | 1 | -0/+5 |
| | |||||
* | partial implementation of the command recorder | Aaron Patterson | 2010-11-19 | 1 | -0/+48 |