aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* moving ordered hash to normal hash because ruby 1.9.3 hash defaultly ordered oneKarunakar (Ruby)2012-02-091-5/+5
|
* stop more ddl changesAaron Patterson2012-01-161-14/+0
|
* stop ddl modifications for another testAaron Patterson2012-01-161-12/+0
|
* stop making ddl changes for migrator testsAaron Patterson2012-01-161-55/+0
|
* move another migrator to use sensorsAaron Patterson2012-01-161-12/+0
|
* moving verbosity tests to the migrator test, removing ddl changesAaron Patterson2012-01-161-18/+0
|
* silencing migrator tests, refactoring the migration test helperAaron Patterson2012-01-161-22/+1
|
* fix tests on sqlite3Aaron Patterson2012-01-161-0/+4
|
* prefer method sensors over actual ddl changesAaron Patterson2012-01-161-69/+0
|
* test that migrations have connections, and method missing delegatesAaron Patterson2012-01-161-7/+16
|
* making sure the temp connection and the real connection are different after dupAaron Patterson2012-01-161-3/+3
|
* stop depending on the filesystem for interleaved migration testsAaron Patterson2012-01-131-21/+0
|
* refactor the migrate method to filter migrations before running themAaron Patterson2012-01-131-1/+1
|
* move schema dumper tests to the correct classAaron Patterson2012-01-131-9/+0
|
* move another migrator test, use schema migration modelAaron Patterson2012-01-131-10/+0
|
* move another migrator test to the correct classAaron Patterson2012-01-131-11/+0
|
* moving more migrator tests to the right test caseAaron Patterson2012-01-131-40/+0
|
* test code that finds migrationsAaron Patterson2012-01-131-6/+1
|
* moving migrator tests to a migrator test classAaron Patterson2012-01-131-18/+0
|
* adding a test class for table renamingAaron Patterson2012-01-131-70/+0
|
* moving more column renaming testsAaron Patterson2012-01-131-71/+0
|
* moving more renaming tests to the proper test caseAaron Patterson2012-01-131-93/+0
|
* moving rename column tests to their own classAaron Patterson2012-01-131-87/+11
|
* moving column attributes tests to their own classAaron Patterson2012-01-131-169/+0
|
* remove unused codeAaron Patterson2012-01-131-1/+0
|
* use ruby rather than mochaAaron Patterson2012-01-131-1/+3
|
* move tests regarding index modification to their own classAaron Patterson2012-01-131-18/+0
|
* decoupling more tests from AR::BaseAaron Patterson2012-01-131-24/+0
|
* use skip rather than conditionally define testsAaron Patterson2012-01-131-66/+68
|
* skip openbase testAaron Patterson2012-01-131-3/+3
|
* move more schema modification testsAaron Patterson2012-01-131-63/+0
|
* instantiate our own broken migration rather than relying on the filesystemAaron Patterson2012-01-131-5/+9
|
* use skip so we know what tests are being skippedAaron Patterson2012-01-131-10/+12
|
* moving logger test to its own fileAaron Patterson2012-01-131-13/+0
|
* construct a migrator with a list of migrations rather than a list of pathsAaron Patterson2012-01-131-4/+14
|
* moving the table and index test to it's own fileAaron Patterson2012-01-121-19/+0
|
* all tested database support migrations, so stop making the tests conditionalAaron Patterson2012-01-101-1436/+1434
|
* refactoring migration testAaron Patterson2012-01-101-447/+1
|
* Allow to filter migrations by passing a blockPiotr Sarnacki2011-12-091-0/+18
| | | | | | | | | | Example: ActiveRecord::Migrator.migrate(path) do |migration| migration.name =~ /User/ end The above example will migrate only migrations with User in the name
* Compare migrations for copying only by name and scopePiotr Sarnacki2011-12-091-26/+1
|
* Add suffix for migrations copied from enginesPiotr Sarnacki2011-12-091-23/+23
|
* String#to_a is not available in 1.9Piotr Sarnacki2011-12-091-1/+1
|
* Run also migrations in subdirectories.Piotr Sarnacki2011-12-091-0/+9
| | | | | With this commit, ActiveRecord will also look for migrations in db/migrate subdirectories.
* Ignore origin comment when checking for duplicates on Migration.copyPiotr Sarnacki2011-12-091-3/+29
| | | | | | | 49ebe51 fixed copying migrations, but existing migrations would still trigger warnings. The proper way to compare migrations is to ignore origin lines - if migration is identical it means that we can silently skip it, regardless where it comes from.
* Fix copying migrations from enginesPiotr Sarnacki2011-12-091-0/+21
| | | | | | | | | | There was a bug in ActiveRecord::Migration.copy method, which prevented adding special comment about the origin of migration. Because of that, the check if migration is identical or if it's not and should be skipped was always saying that migration is skipped, which was causing additional useless warnings about skipped migrations.
* avoid deprecated methodsAaron Patterson2011-12-061-1/+1
|
* add prefix and suffix to renamed tables, closes #1510Vasiliy Ermolovich2011-12-061-0/+31
|
* Deprecate set_table_name in favour of self.table_name= or defining your own ↵Jon Leighton2011-11-291-1/+1
| | | | method.
* Revert "Merge pull request #1163 from amatsuda/sexier_migration_31"Aaron Patterson2011-11-171-120/+0
| | | | | | | | | | This reverts commit 0e407a90413d8a19002b85508d811ccdf2190783, reversing changes made to 533a9f84b035756eedf9fdccf0c494dc9701ba72. Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/migration_test.rb
* Revert "Merge pull request #3603 from vijaydev/change_table_without_block_arg"Aaron Patterson2011-11-171-54/+0
| | | | | | | | | This reverts commit 81fad6a270ec3cbbb88553c9f2e8200c34fd4d13, reversing changes made to 23101de283de13517e30c4c3d1ecc65525264886. Conflicts: activerecord/test/cases/migration_test.rb