Path: | lib/sequel/extensions/schema_dumper.rb |
Last Update: | Thu Nov 12 08:45:04 +0000 2015 |
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:
DB.extension :schema_dumper