Path: | lib/sequel/extensions/schema_dumper.rb |
Last Update: | Fri Oct 06 03:25:23 +0000 2017 |
frozen-string-literal: true
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