schema_dumper.rb

lib/sequel/extensions/schema_dumper.rb
Last Update: 2016-05-23 09:14:19 -0700

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

Related module: Sequel::SchemaDumper