aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration.rb
Commit message (Collapse)AuthorAgeFilesLines
* require core_ext/array/wrap in active_record/migrationPiotr Sarnacki2010-12-101-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use Array.wrap instead of using ternaryPiotr Sarnacki2010-12-091-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow to run migrations from more than one directoryPiotr Sarnacki2010-12-091-24/+33
|
* in the middle of refactoringAaron Patterson2010-12-031-0/+4
|
* remove calls to deprecated methodsAaron Patterson2010-12-021-1/+2
|
* avoiding deprecated methods in arelAaron Patterson2010-12-021-1/+2
|
* rolling out migrated_at until I can fix the buildAaron Patterson2010-12-011-11/+7
|
* name in schema_migrations, migrations in schema dumpJosh Susser2010-12-011-0/+1
|
* record migration timestamp when migrations runJosh Susser2010-12-011-7/+10
|
* adding documentation for reversible migrationsAaron Patterson2010-11-191-0/+32
|
* invertable migrations are workingAaron Patterson2010-11-191-1/+19
|
* partial implementation of the command recorderAaron Patterson2010-11-191-0/+2
|
* this return value is not used, so stop returning itAaron Patterson2010-11-191-4/+1
|
* instantiate the delegate object after initialize is defined so that our ↵Aaron Patterson2010-11-191-3/+4
| | | | initialize method actually gets called
* connection is set from the connection pool during migrationsAaron Patterson2010-11-181-4/+10
|
* adding an initialize with name and version defaultsAaron Patterson2010-11-171-4/+5
|
* fixing more documentationAaron Patterson2010-11-171-3/+3
|
* fixing documentation, removing unused AS filesAaron Patterson2010-11-171-15/+12
|
* fixing indentation since these methods are not class methodsAaron Patterson2010-11-171-83/+83
|
* these methods are no longer neededAaron Patterson2010-11-171-8/+0
|
* do not need these accessorsAaron Patterson2010-11-171-8/+0
|
* testing instance based migrationsAaron Patterson2010-11-171-0/+2
|
* singleton method added is no longer neededAaron Patterson2010-11-171-19/+1
|
* schema migrations work as instancesAaron Patterson2010-11-171-4/+7
|
* converted migrations to support instance methodsAaron Patterson2010-11-171-6/+34
|
* Create directory before copying migrations if it does not existPiotr Sarnacki2010-11-161-0/+2
|
* Add callback on skipped migration while copying migrationsPiotr Sarnacki2010-10-091-7/+20
|
* Change the method for copying migrations, do not add scope.Piotr Sarnacki2010-10-091-9/+9
| | | | | | | 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.
* converting inject([]) to mapAaron Patterson2010-10-031-4/+3
|
* speed up duplicate migration detectionAaron Patterson2010-10-031-6/+5
|
* reduce the number of calls to camelizeAaron Patterson2010-10-031-3/+4
|
* convertion MigrationProxy to a Struct, initialize instance variablesAaron Patterson2010-10-031-7/+6
|
* dry up some migration logicAaron Patterson2010-10-031-2/+4
|
* no need to differentiate between nil and false in this caseAaron Patterson2010-10-031-2/+2
|
* Fix copying migrations to empty directoryPiotr Sarnacki2010-09-031-1/+1
|
* Implemented ActiveRecord::Migrations#copy based on James Adam's ideaPiotr Sarnacki2010-09-031-25/+61
| | | | | | | | | | | | | | | 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
* Added Rails.application.config.paths.db.migrate to remove hardcoded ↵Piotr Sarnacki2010-09-031-4/+6
| | | | db/migrate paths
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-021-1/+0
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-021-0/+1
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-33/+33
| | | | 's/[ \t]*$//' -i {} \;)
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-131-3/+3
| | | | This will hopefully make Active Record run a bit more faster.
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-1/+1
|
* migrations.rb requires active_support/core_ext/module/aliasing [#5008 ↵Tekin2010-06-301-0/+1
| | | | | | state:committed] Signed-off-by: Xavier Noria <fxn@hashref.com>
* Revert "Guides: Add :references to supported column types."rohit2010-06-241-1/+1
| | | | This reverts commit 41ed4db560bf50e0ccb99915a03c37d39bff135b.
* Guides: Add :references to supported column types.rohit2010-06-241-1/+1
|
* Adds title and minor changes.Rizwan Reza2010-06-161-1/+1
|
* Adds title.Rizwan Reza2010-06-151-36/+62
|
* making rake:migrate VERSION=0 a noop called in succession. [#2137 ↵Neeraj Singh2010-04-291-3/+7
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-051-1/+1
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* expand migration paths before requiring them. [#4240 state:resolved]Aaron Patterson2010-03-231-1/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>