aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations
Commit message (Collapse)AuthorAgeFilesLines
* recognize migrations, in folders containing numbers and 'rb'.Yves Senn2012-12-131-0/+11
| | | | Closes #8492
* Move to the schema-migrations-metadata branch.Jeremy Kemper2012-12-092-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | Pending work on graceful app upgrades. Revert "Merge pull request #8439 from joshsusser/fixes" This reverts commit ce8ac39338f86388e70356b3a470b3ea443802ae, reversing changes made to b0e7b6f67c984d4b1502e801781ed75fad681633. Revert "Merge pull request #8431 from joshsusser/schemadump" This reverts commit 036d3e1c2b65c4b8cbd23de2e20ad67b9b756182, reversing changes made to 0c692f4d121792117b6a71e5ed590a31c3b9d12e. Revert "Merge branch 'joshsusser-master' into merge" This reverts commit 0c692f4d121792117b6a71e5ed590a31c3b9d12e, reversing changes made to 2e299fca715b083a60222a85e48f9d3b8dd8ce93. Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/schema_dumper_test.rb
* Add migration history to schema.rb dumpJosh Susser2012-12-022-0/+10
|
* stop depending on the filesystem for interleaved migration testsAaron Patterson2012-01-136-62/+0
|
* removing migration files as they are no longer neededAaron Patterson2012-01-136-54/+0
|
* instantiate our own broken migration rather than relying on the filesystemAaron Patterson2012-01-131-10/+0
|
* Run also migrations in subdirectories.Piotr Sarnacki2011-12-093-0/+33
| | | | | 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-0/+9
| | | | | | | 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.
* add prefix and suffix to renamed tables, closes #1510Vasiliy Ermolovich2011-12-062-0/+20
|
* in the middle of refactoringAaron Patterson2010-12-0311-26/+26
|
* Change the method for copying migrations, do not add scope.Piotr Sarnacki2010-10-094-0/+28
| | | | | | | The purpose of this change is to allow copying fail on the same names. Migrations change database and they should be treated with caution, if 2 migrations are named the same it's much better to skip migration and allow user decide if it should be copied or not.
* Fix copying migrations to empty directoryPiotr Sarnacki2010-09-031-0/+0
|
* Implemented ActiveRecord::Migrations#copy based on James Adam's ideaPiotr Sarnacki2010-09-037-0/+69
| | | | | | | | | | | | | | | ActiveRecord::Migration#copy allows to copy migrations from one place to another, changing migrations versions and adding scope to filename. For example: ActiveRecord::Migration.copy("db/migrate", :blog_engine => "vendor/gems/blog/db/migrate") will copy all migrations from vendor/gems/blog/db/migrate to db/migrate with such format: Versions of copied migrations will be reversioned to be appended after migrations that already exists in db/migrate
* Made migrations transactional for PostgreSQL [#834 state:resolved]Tarmo Tänav2008-08-221-0/+10
| | | | Patch originally from http://dev.rubyonrails.org/ticket/5470
* Added protection against duplicate migration names (Aslak Hellesøy) [#112 ↵Aslak Hellesøy2008-05-112-0/+14
| | | | state:resolved]
* Add support for interleaving migrations by storing which migrations have run ↵Rick Olson2008-04-096-0/+62
| | | | | | in the new schema_migrations table. Closes #11493 [jordi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* move migrationsJeremy Kemper2008-01-1812-0/+130
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de