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