aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/rename_table_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added enable_extension! to helperAbdelkader Boudih2014-09-051-1/+2
|
* rename sequence only if it existsAbdelkader Boudih2014-06-271-0/+10
|
* pg, `reset_pk_sequence!` respects schemas. Closes #14719.Yves Senn2014-05-301-1/+1
|
* Remove dead test code for unsupported adaptersSean Griffin2014-05-171-8/+0
|
* Remove more skipRafael Mendonça França2013-11-081-2/+0
|
* Don't skip tests if we don't need to.Rafael Mendonça França2013-11-081-23/+25
| | | | | | | We can conditional define the tests depending on the adapter or connection. Lets keep the skip for fail tests that need to be fixed.
* 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