aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations
Commit message (Collapse)AuthorAgeFilesLines
* 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