aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/tasks/mysql_database_tasks.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Use configuration['encoding'], because database configuration use not ↵kennyj2012-09-121-3/+3
| | | | charset but encoding.
* Use native mysqldump command for 'rake db:structure:dump'.kennyj2012-09-121-9/+19
|
* Use the 'mysql' binary for 'rake db:structure:load'.Seamus Abshere2012-09-051-4/+8
| | | | 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.
* Extract collation tasks to database tasks.kennyj2012-07-011-0/+4
|
* Refactor db:structure:load task.kennyj2012-06-211-0/+8
|
* Refactor db:structure:dump task.kennyj2012-06-201-0/+5
|
* Refactor db:charset taskSimon Jefford2012-06-191-1/+5
| | | | | In a similar vein to Pat's work on create, drop etc, the db:charset task is now a one liner in databases.rake
* add :nodoc: to AR::Tasks and update to follow the coding conventionsFrancesco Rodriguez2012-06-181-70/+75
|
* Cleaning up after some warnings, adding slightly higher-level tests.Pat Allan2012-06-171-2/+4
|
* db:drop and some of db:test:purge.Pat Allan2012-06-171-0/+10
|
* db:create for MySQL now much cleaner.Pat Allan2012-06-171-0/+76