Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove OracleDatabaseTasks was deprecated, because this was provided by ↵ | kennyj | 2013-06-05 | 1 | -93/+0 | |
| | | | | 3rd-party. | |||||
* | Mute psql output when running rake db:schema:load | Godfrey Chan | 2013-04-30 | 1 | -1/+1 | |
| | ||||||
* | Abort a rake task when missing db/structure.sql like `db:schema:load` task. | kennyj | 2013-05-01 | 1 | -0/+7 | |
| | ||||||
* | Show deprecated messages only when target database adapters defined | Yasuo Honda | 2013-04-03 | 3 | -3/+3 | |
| | ||||||
* | Fix tiny problem: change method order for consistency and fix wrong method name. | kennyj | 2013-04-03 | 1 | -1/+1 | |
| | ||||||
* | Suppress deprecation messages for deprecated database tasks, when executing ↵ | kennyj | 2013-04-03 | 3 | -0/+21 | |
| | | | | rails's testcases. | |||||
* | Extract Oracle database tasks. | kennyj | 2013-04-03 | 1 | -0/+86 | |
| | ||||||
* | Extract Sqlserver database tasks. | kennyj | 2013-04-03 | 1 | -0/+80 | |
| | ||||||
* | Extract Firebird database tasks. | kennyj | 2013-04-03 | 1 | -0/+93 | |
| | ||||||
* | `rake db:create` does not change permissions of root user. | Yves Senn | 2013-03-17 | 1 | -2/+18 | |
| | | | | | | | | Closes #8079. I had to rework some of the tests because the mock allowed any arguments for `connection.exeucte`. I think this is very dangerous as there could anything be executed without the tests noticing it. | |||||
* | rake db:structure:dump warns when `mysqldump` is not in PATH. | Yves Senn | 2013-03-06 | 1 | -1/+12 | |
| | | | | | | | | Closes #9518. The rake task used to fail silently and left an empty `structure.sql`. It's confusing for users to get to the root of the problem. The warning message tells them where to look. | |||||
* | 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 | |||||
* | Revert "Merge pull request #8942 from yahonda/tested_only_with_mysql" | Carlos Antonio da Silva | 2013-01-15 | 1 | -4/+0 | |
| | | | | | | | | | | | This reverts commit 1fc294f988e93ac59057a16b0e44b9cf93af9720, reversing changes made to fb9ac47c286fbdfe05263d4d0346e50892090603. Reason: these tests should run fine independent of database, since they should only take into account the configuration options. The problem was related to a change in the way "nil" is handled by the rescue clause, in Ruby 2.0 it raises an exception asking for class or module, in 1.9 it passes. | |||||
* | Address test_create_when_database_exists_outputs_info_to_stderr failures | Yasuo Honda | 2013-01-15 | 1 | -0/+4 | |
| | | | | | When tested with ruby-2.0.0-rc1 `rake test` executes this test even if the target adapter is not mysql nor mysql2. | |||||
* | Bring back "database already exists" messages when running rake tasks | Carlos Antonio da Silva | 2013-01-12 | 3 | -7/+27 | |
| | | | | | | | | | | 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. | |||||
* | Style: remove hash noise | Jeremy Kemper | 2012-09-21 | 1 | -10/+10 | |
| | ||||||
* | Correct default charset/collation for mysql dbs | Jeremy Kemper | 2012-09-21 | 1 | -9/+21 | |
| | ||||||
* | Use configuration['encoding'], because database configuration use not ↵ | kennyj | 2012-09-12 | 1 | -2/+2 | |
| | | | | charset but encoding. | |||||
* | Use native mysqldump command for 'rake db:structure:dump'. | kennyj | 2012-09-12 | 1 | -15/+2 | |
| | ||||||
* | Use the 'mysql' binary for 'rake db:structure:load'. | Seamus Abshere | 2012-09-05 | 1 | -5/+2 | |
| | | | | The previous implementation had the strange requirement that db/structure.sql contain only CREATE TABLE sql statements, one per table, separated by double newlines. SQLite3 and PostgreSQL database tasks, on the other hand, simply spawn 'sqlite3' and 'psql' binaries to load the file directly. The new implementation follows this and attempts to respect all current MySQL configuration settings. | |||||
* | Merge pull request #7196 from ↵ | Aaron Patterson | 2012-07-29 | 1 | -1/+5 | |
|\ | | | | | | | | | rimidl/fix-incorrect-require-mysql-in-mysql_rake_test Fix incorrect usage `require mysql` in the activerecord/.../mysql_rake_test | |||||
| * | fix incorrect usage `require mysql` in the ↵ | Vladimir Strakhov | 2012-07-29 | 1 | -1/+5 | |
| | | | | | | | | activerecord/test/.../mysql_rake_test.rb | |||||
* | | More polite cleanup for sqlite tests | Bogdan Gusiev | 2012-07-29 | 1 | -4/+4 | |
|/ | ||||||
* | 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 | |
| | | ||||||
* | | Unify the collation API for the database adpters | Rafael Mendonça França | 2012-07-01 | 1 | -4/+4 | |
| | | ||||||
* | | Extract collation tasks to database tasks. | kennyj | 2012-07-01 | 4 | -0/+68 | |
| | | ||||||
* | | Support collate and ctype on the PostgreSQL. | kennyj | 2012-06-29 | 1 | -0/+8 | |
|/ | ||||||
* | Move tasks(rake) tests to under the tasks dir. | kennyj | 2012-06-24 | 4 | -0/+891 | |