aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railties/databases.rake
Commit message (Expand)AuthorAgeFilesLines
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* bring back `db:test:prepare`.Yves Senn2014-11-251-5/+5
* Add comment to point out String#[] is intentionalAndrew White2014-11-021-0/+1
* Revert "Replace String index juggling with Pathname goodness in db:fixtures:l...yuuji.yaginuma2014-11-021-1/+1
* Use Hash#each_key instead of Hash#keys.eachErik Michaels-Ober2014-09-291-1/+1
* schema rake tasks are specific about the configuration to act on.Yves Senn2014-08-061-10/+4
* Add ActiveRecord::Tasks::DatabaseTasks.migrateJack Danger Canty2014-07-311-4/+1
* 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