Path: | lib/sequel/extensions/schema_dumper.rb |
Last Update: | Thu May 02 03:47:59 +0000 2013 |
The schema_dumper extension supports dumping tables and indexes in a Sequel::Migration format, so they can be restored on another database (which can be the same type or a different type than the current database). The main interface is through Sequel::Database#dump_schema_migration.
To load the extension:
Sequel.extension :schema_dumper