Last Update: 2020-09-28 09:41:24 -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