aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration
Commit message (Expand)AuthorAgeFilesLines
* Add an invert method for remove_foreign_keyAster Ryan2015-06-111-0/+10
* Merge pull request #16305 from tomkadwill/documented_change_tableRafael Mendonça França2014-07-281-1/+1
|\
| * Added nodoc to change_tableTom Kadwill2014-07-281-1/+1
* | create_join_table uses same logic as HABTM reflectionsStefan Kanev2014-07-181-1/+1
* | fk: review corrections: indent, visibility, syntax, wording.Yves Senn2014-06-261-3/+3
* | fk: infere column name from table names.Yves Senn2014-06-261-1/+3
* | fk: make `add_foreign_key` reversible.Yves Senn2014-06-261-1/+16
|/
* Drop the correct index after reverting a migrationHubert Dąbrowski2014-02-131-1/+6
* make `change_column_null` reversible. Closes #13576.Yves Senn2014-01-081-1/+6
* Make change_table use object of current database adapterNishant Modak2014-01-071-4/+6
* Make 'enable_extension' revertibleEric Tipton2013-08-101-1/+2
* raise IrreversibleMigration if no column givenNeeraj Singh2013-05-061-1/+4
* Fixes for PR [#8267]Marc-Andre Lafortune2012-12-221-1/+2
* Remove duplicated methods in command recorder and duplicated test nameCarlos Antonio da Silva2012-12-211-3/+3
* Make execute, change_column and remove_columns methods actually irreversibleMarc-Andre Lafortune2012-12-211-1/+2
* Make change_table reversible when possible [#8267]Marc-Andre Lafortune2012-12-211-1/+5
* Factorize methods that are easily reversible [#8267]Marc-Andre Lafortune2012-12-211-34/+20
* Make remove_index reversible [#8267]Marc-Andre Lafortune2012-12-211-4/+10
* Differentiate between remove_column and remove_columns. Make remove_column re...Marc-Andre Lafortune2012-12-211-2/+7
* Make drop_table reversible [#8267]Marc-Andre Lafortune2012-12-211-3/+10
* Add drop_join_table [#8267]Marc-Andre Lafortune2012-12-211-3/+6
* Add Migration#reversible for reversible data operations [#8267]Marc-Andre Lafortune2012-12-211-1/+5
* Allow reverting of migration commands with Migration#revert [#8267]Marc-Andre Lafortune2012-12-211-17/+36
* Split ridiculously long lineMarc-Andre Lafortune2012-12-211-1/+4
* Coerce strings in create_join_table.Steve Klabnik2012-11-211-1/+1
* Create default join table name using a SymbolCarlos Antonio da Silva2012-07-191-1/+1
* Add fkey attributes to `join_table` migration generatorAleksey Magusev2012-07-191-1/+1
* Add join table migration generatorAleksey Magusev2012-07-181-4/+2
* Make references statements reversibleAleksey Magusev2012-07-031-1/+13
* Add `create_join_table` migration helper to create HABTM join tablesRafael Mendonça França2012-01-272-2/+27
* Fix GH #4285. Remove options when we record calling creat_tablekennyj2012-01-041-1/+1
* Fixed bad options order in ActiveRecord::Migration::CommandRecorder#invert_re...jbbarth2011-08-281-1/+1
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-051-1/+1
|\
| * fix typo in method nameVijay Dev2011-06-251-1/+1
| * Revert "add missing methods supported by reversible migrations using the chan...Vijay Dev2011-06-251-4/+1
| * add missing methods supported by reversible migrations using the change methodVijay Dev2011-06-241-1/+4
* | Reversing the changes done in c278a2c while still resolving #1857.Vijay Dev2011-07-021-9/+5
* | CommandRecorder should delegate in method_missing where possible. Fixes some ...Jon Leighton2011-06-301-1/+5
* | record unsupported methods in CommandRecorder instead of letting the unsuppor...Vijay Dev2011-06-251-4/+4
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-061-6/+6
|\
| * comment the recorder methodsVijay Dev2011-06-071-3/+3
| * styling changesVijay Dev2011-06-021-3/+3
* | Merge pull request #1229 from workmad3/masterAaron Patterson2011-05-271-2/+4
|\ \ | |/ |/|
| * Using .try to test for the existence of a method option in a nil-resistent ma...David Workman2011-05-231-5/+2
| * Neatened up the invert_add_index method as per suggestonDavid Workman2011-05-231-2/+3
| * Simple fix for correctly inverting an add_index migration when a name has bee...David Workman2011-05-231-2/+6
* | Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-3/+3
|/
* Add :bulk => true option to change_tablePratik Naik2011-01-311-4/+16
* adding documentation for reversible migrationsAaron Patterson2010-11-191-1/+11
* invertable migrations are workingAaron Patterson2010-11-191-1/+1