aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railties/databases.rake
Commit message (Expand)AuthorAgeFilesLines
* Use AR::SchemaMigration.table_exists? call instead of longish AR::Base...etc,etcViktar Basharymau2014-06-271-1/+1
* Extract AR::SchemaMigration.normalized_versions methodViktar Basharymau2014-06-271-2/+1
* db:migrate:status refactoring: Rewrite hand-crafted SQL query with ActiveReco...Viktar Basharymau2014-06-271-1/+1
* Use Array#flat_map and Array#grep in db:migrate:status taskViktar Basharymau2014-06-271-10/+10
* Add explaining variables to db:migrate:statusViktar Basharymau2014-06-271-2/+2
* Replace String index juggling with Pathname goodness in db:fixtures:loadViktar Basharymau2014-06-271-1/+1
* db:fixtures:load refactoring: remove unnecessary loopViktar Basharymau2014-06-271-3/+1
* Extract `fixture_files` variable in fixtures:load rake taskViktar Basharymau2014-06-271-1/+7
* Replace a bit of cryptic code in fixtures:load rake task with plain stupid RubyViktar Basharymau2014-06-271-1/+5
* Get rid of duplication in db:fixtures:{identify,load}Viktar Basharymau2014-06-271-11/+2
* db:fixtures:{identify,load} tasks respect AR::Tasks::DatabaseTasks.rootViktar Basharymau2014-06-271-2/+2
* Simplify complex code in databases.rakeViktar Basharymau2014-06-271-2/+2
* add `bin/rake db:purge` task to empty the current database.Yves Senn2014-06-171-0/+11
* `bin/rake db:migrate:status` works with legacy migration numbers.Yves Senn2014-06-061-3/+4
* rake railties:install:migrations respects the order of railtiesArun Agrawal2014-05-271-1/+1
* Return a non zero code when db has never been setup on statusPaul B2014-05-071-2/+1
* make `db:structure:load` listed with `rake -T`Greg Molnar2014-05-021-1/+1
* Replace trivial regexp with string or index, twice as fastKelley Reynolds2014-03-281-1/+1
* only dump schema information if migration table exists. Closes #14217Yves Senn2014-03-201-1/+2
* Merge pull request #14048 from pcreux/better-error-message-db-migrate-downCarlos Antonio da Silva2014-02-141-1/+1
|\
| * Add hint to error message of task db:migrate:downPhilippe Creux2014-02-131-1/+1
* | Add config to disable schema dump after migrationEmil Soman2014-02-061-1/+1
|/
* Ensure Active Record connection consistencyschneems2014-01-091-1/+1
* create/drop test and development databases only if RAILS_ENV is nilDamien Mathieu2014-01-081-2/+2
* Add deprecation I accidentally missedJon Leighton2014-01-041-1/+1
* Automatically maintain test database schemaJon Leighton2014-01-021-17/+17
* Remove deprecation warning for FIXTURES_PATHPiotr Sarnacki2013-12-301-6/+0
* Guarantee the connection resolver handles string valuesJosé Valim2013-12-231-10/+2
* db:test:clone and prepare must load environmentArthur Neves2013-12-141-3/+2
* Revert "Explicitly exit with status "1" for create and drop failures"Rafael Mendonça França2013-11-191-26/+10
* Merge pull request #12531 from iamvery/database-tasks-exit-statusRafael Mendonça França2013-11-151-10/+26
|\
| * Explicitly exit with status "1" for create and drop failuresJay Hayes2013-11-111-10/+26
* | Warnings removed for ruby trunkArun Agrawal2013-11-011-1/+1
|/
* newline at end of structure.sql fileChad Jolly2013-10-131-0/+1
* only reconnect if there was already an active connectionAaron Patterson2013-08-111-1/+4
* Improved grammar and replaced 'dbs' slang with 'databases'Prathamesh Sonpatki2013-06-271-3/+3
* Properly namespace DatabaseTasksPiotr Sarnacki2013-06-141-1/+1
* Use DatabaseTasks.env instead of Rails.env in databases.rakePiotr Sarnacki2013-06-141-1/+1
* the rake task `db:test:prepare` needs to load the configurationYves Senn2013-05-211-1/+1
* rake:db:test:prepare falls back to original environment after execution.markevich2013-05-021-3/+7
* Abort a rake task when missing db/structure.sql like `db:schema:load` task.kennyj2013-05-011-5/+3
* Use DatabaseTasks.fixtures_path instead of FIXTURES_PATH in db.rakePiotr Sarnacki2013-04-241-2/+19
* Don't require having Rails.application to run database tasksPiotr Sarnacki2013-04-241-15/+9
* Merge pull request #10258 from thenickcox/pending_migrations_pluralRafael Mendonça França2013-04-181-3/+3
|\
| * Fix subject-verb agreement in error msg (and other grammar stuff)thenickcox2013-04-171-3/+3
* | Use db:test:load instead of db:test:load_schemaPiotr Sarnacki2013-04-161-1/+1
* | fix AP warning; remove unused variableVipul A M2013-04-091-1/+1
* | just check pending migrations in the current environmentAaron Patterson2013-04-051-2/+2
* | check pending migrations against the test dbAaron Patterson2013-04-031-11/+3
* | ensure the schema checking is done in the dev connectionAaron Patterson2013-04-031-0/+8
|/