everzet/capifony — pull request #137 by xophm1 (2012-06-26 08:57:08+00:00)
Title: Make database:dump and database:move tasks work for a large project

Hi,

Here are a few improvements I had to make to `database:dump` and `database:move` tasks to make them work on a large symfony1 project I'm working on:
* Add support to multiple connections in database.yml
* Add full symfony "configuration cascade" support when reading database.yml
* Support optional host and port in database.yml
* Drop and recreate database after a database:move so that no old table persists
* Decrease memory print of database:move:to_local so that it becomes usable for a large database (using ruby methods to gunzip a large file reaches memory limit too quickly).
* Improve dump files time stamp readability