lib/wyrm/dump_schema.rb in wyrm-0.1.2 vs lib/wyrm/dump_schema.rb in wyrm-0.1.3
- old
+ new
@@ -16,9 +16,10 @@
# ds = DumpSchema.new src_db, Pathname('/var/data/lots')
# ds.dump_schema
# ds.dump_tables
class DumpSchema
def initialize( src_db, container = nil, pump: nil )
+ src_db.extension :schema_dumper
@src_db = src_db
@container = Pathname(container)
@pump = make_pump( pump )
end