aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railties/databases.rake
Commit message (Collapse)AuthorAgeFilesLines
* Do not treat information about skipped migrations as WARNINGs but as a ↵Piotr Sarnacki2010-10-141-1/+1
| | | | NOTEs, also puts to stdin
* Updated DOCS for engines and added a couple TODOs. Also, commented internal ↵José Valim2010-10-111-1/+1
| | | | railties rake tasks description.
* Rename rake railties:copy_migrations to rake railties:install:migrations and ↵Piotr Sarnacki2010-10-091-23/+25
| | | | fix it to work with new copying strategy
* Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-061-3/+3
| | | | method_missing.
* Fix 'rake db:create' is ignore encoding when using postgres [#5717 ↵yalab2010-09-301-1/+1
| | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* db:structure:dump should list current Rails.env adapter in errors, not ↵Nic Benders2010-09-261-1/+1
| | | | | | | | always the test adapter [#5710 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix warning message when db/schema.rb doesn't exist [#5625 state:resolved]Brian Candler2010-09-241-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Add helper for loading seed data for engine and applicationPiotr Sarnacki2010-09-201-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Exception handling more readableThiago Pradi2010-09-191-4/+4
| | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Use railties:copy_migrations instead of db:copy_migrationsPiotr Sarnacki2010-09-061-1/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* rake db:copy_migrations task, which copies railties migrations into ↵Piotr Sarnacki2010-09-031-0/+22
| | | | application's db/migrate directory
* Added Rails.application.config.paths.db.migrate to remove hardcoded ↵Piotr Sarnacki2010-09-031-6/+7
| | | | db/migrate paths
* Fix em_mysql2 error in rake db:createSam Aarons2010-08-271-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Catch mysql2 access denied errors in rake db:create [#5432 state:resolved]Andrew White2010-08-251-2/+4
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-051-1/+1
|
* rake db:seed should check if the database have pending migrations [#5163 ↵Thiago Pradi2010-07-211-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-011-1/+1
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Support any mysql-like adapterJeremy Kemper2010-06-301-7/+7
|
* Avoid "no such table" exception when schema migrations table does not existAkira Matsuda2010-06-271-0/+5
| | | | | | [#4990 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use ActiveRecord::Migrator.schema_migrations_table_name instead of ↵Akira Matsuda2010-06-271-1/+1
| | | | | | hardcoding "schema_migrations" Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* rake db:migrate:status displays status of migrations [#4947 state:resolved]Kevin Skoglund2010-06-281-0/+25
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Cut down even further on rake -T noiseDavid Heinemeier Hansson2010-06-091-13/+13
|
* Silence even more noisy rake task docsDavid Heinemeier Hansson2010-06-091-12/+12
|
* Configure generators before invoking.José Valim2010-06-031-0/+1
|
* Support fixtures for namespaced models [#2965 state:resolved]Andrew White2010-04-251-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* db:test:prepare for tasks only if AR is loadedSantiago Pastorino2010-04-091-0/+2
|
* Revert "When creating database with rake, create schemas in ↵Michael Koziarski2010-04-091-7/+1
| | | | | | | | | | | | | schema_search_path if it doesn't exist." This reverts commit 6c2a0675f11a9b5b8e88ed7dbccd65cb51be8029. Reverting because it breaks the ability to run tests using a non-superuser. Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb activerecord/lib/active_record/railties/databases.rake
* Read postgresql encoding using string key instead of symbol [#4304 ↵Doug Richardson2010-04-011-1/+1
| | | | | | state:resolved] Signed-off-by: wycats <wycats@gmail.com>
* When creating database with rake, create schemas in schema_search_path if it ↵Rizwan Reza2010-03-281-0/+6
| | | | doesn't exist.
* rake tasks should use the new app generator path [#4257 state:resolved]Sebastian Martinez2010-03-231-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Print database.rake errors to stderr.S. Christoffer Eliesen2010-02-271-5/+5
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Adding guard to make sure test database declarations exist before trying to ↵Mikel Lindsaar2010-02-041-2/+2
| | | | auto create
* Added encoding qery support for SQLite3 to make rake db:charset work on all ↵Mikel Lindsaar2010-02-031-0/+3
| | | | databases shipping with Rails 3
* Made rake db:create also create the test database if you are in development modeMikel Lindsaar2010-02-031-1/+5
|
* Fix AR's rake tasks to work with the Rails::Application refactorCarlhuda2010-01-251-1/+1
|
* Rake tasks should load generators from new paths.José Valim2010-01-181-1/+1
|
* Set deprecation warnings for RAILS_ENV and RAILS_DEFAULT_LOGGER.José Valim2010-01-131-29/+29
|
* Restore require of 'active_record/fixtures' for Rake tasks that use themJeffrey Hardy2010-01-061-0/+4
|
* Update db:migrate error message to reflect the removal of config.frameworksJeffrey Hardy2010-01-061-1/+1
|
* Autoload AR test caseJoshua Peek2010-01-041-4/+1
|
* Fix up AR extension by using Railties module instead of Rails and requiring ↵Jeremy Kemper2009-12-301-0/+469
ControllerRuntime at initialization time instead of boot