Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow global migrations_path configuration with using value from ↵ | Tobias Bielohlawek | 2015-09-07 | 1 | -1/+3 |
| | | | | database_tasks instead of Migrator | ||||
* | Fixes reference for schema_format to AR::Base from AS::Base | James Cox | 2015-03-03 | 1 | -0/+16 |
| | |||||
* | schema loading rake tasks maintain database connection for current env. | Yves Senn | 2014-09-03 | 1 | -0/+1 |
| | | | | | | | | | | [Joshua Cody & Yves Senn] Closes #16757. Prior to this patch schema loading rake tasks had the potential to leak a connection to a different database. This had side-effects when rake tasks operating on the current connection (like `db:seed`) were chained. | ||||
* | Add ActiveRecord::Tasks::DatabaseTasks.migrate | Jack Danger Canty | 2014-07-31 | 1 | -0/+13 |
| | | | | | | This extracts the logic that was embedded in a Rake task into a static method. Bonus: the first test for `rake db:migrate` | ||||
* | add `bin/rake db:purge` task to empty the current database. | Yves Senn | 2014-06-17 | 1 | -0/+28 |
| | |||||
* | fix typo in test method names. [ci skip] | Yves Senn | 2014-06-17 | 1 | -4/+4 |
| | |||||
* | create/drop test and development databases only if RAILS_ENV is nil | Damien Mathieu | 2014-01-08 | 1 | -2/+24 |
| | | | | Closes #13625 | ||||
* | Fix failure introduced from #13488 | schneems | 2013-12-25 | 1 | -1/+1 |
| | |||||
* | require the files we test | Aaron Patterson | 2013-11-25 | 1 | -0/+1 |
| | |||||
* | Abort a rake task when missing db/structure.sql like `db:schema:load` task. | kennyj | 2013-05-01 | 1 | -0/+7 |
| | |||||
* | Raise a specific exception with a useful message if a rake task is requested ↵ | Daniel Azuma | 2013-01-30 | 1 | -0/+6 |
| | | | | for an unknown adapter | ||||
* | Bring back "database already exists" messages when running rake tasks | Carlos Antonio da Silva | 2013-01-12 | 1 | -7/+7 |
| | | | | | | | | | | When running tasks such "rake db:setup", instead of showing messages like "db_development already exists", it was showing a big stack trace and a message "Couldn't create database for ..." with the configuration options, a very confusing message with a big trace. This brings back the functionality present in 3-2, showing the same message. | ||||
* | Merge pull request #6838 from kennyj/added_registration_task | Carlos Antonio da Silva | 2012-07-07 | 1 | -0/+16 |
|\ | | | | | Allow to register database tasks from different adapters | ||||
| * | Added a feature to add a database task. e.g. OracleDatabaseTasks | kennyj | 2012-06-24 | 1 | -0/+16 |
| | | |||||
* | | Extract collation tasks to database tasks. | kennyj | 2012-07-01 | 1 | -0/+11 |
|/ | |||||
* | Move tasks(rake) tests to under the tasks dir. | kennyj | 2012-06-24 | 1 | -0/+275 |