aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/rename_table_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* also rename indexes when a table or column is renamedYves Senn2013-02-201-1/+11
| | | | When a table or a column is renamed related indexes kept their name. This will lead to confusing names. This patch renames related indexes when a column or a table is renamed. Only indexes with names generated by rails will be renamed. Indexes with custom names will not be renamed.
* Add teardown method to AR::Mig::RenameTableTestRobb Kidd2012-07-101-18/+13
| | | | | | | Dry up reseting the renamed table after each test. Also made use of the AR::Base.connection object already available from AR::MigrationTest#connection.
* Update psql adapter to rename a default pkey sequence when renaming a table.Robb Kidd2012-06-271-0/+13
|
* fixing test class nameAaron Patterson2012-01-131-1/+1
|
* adding a test class for table renamingAaron Patterson2012-01-131-0/+72