Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | also rename indexes when a table or column is renamed | Yves Senn | 2013-02-20 | 1 | -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::RenameTableTest | Robb Kidd | 2012-07-10 | 1 | -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 Kidd | 2012-06-27 | 1 | -0/+13 |
| | |||||
* | fixing test class name | Aaron Patterson | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | adding a test class for table renaming | Aaron Patterson | 2012-01-13 | 1 | -0/+72 |