improved_mysql_schema_dumper

Rails plugin to dump and load complete mysql dumps with rake db:schema rails tasks. Handles mysql views.

MIT License

Stars
3

ImprovedMysqlSchemaDumper

Use mysqldump for rake schema operations. Necessary when using VIEWS or other database constructs rails doesn't understand.

Example

Get the code on github:

http://github.com/smtlaissezfaire/improved_mysql_schema_dumper

Add it to your rails project:

git submodule add git://github.com/smtlaissezfaire/improved_mysql_schema_dumper.git vendor/plugins/improved_mysql_schema_dumper

The following rake tasks are affected:

db:schema:dump db:schema:load db:structure:dump db:test:clone_structure

Copyright (c) 2008 Scott Taylor, released under the MIT and GPL v.3 licenses