lib/ardb/runner/migrate_command.rb in ardb-0.25.0 vs lib/ardb/runner/migrate_command.rb in ardb-0.26.0
- old
+ new
@@ -12,10 +12,10 @@
def run
begin
Ardb.init
@adapter.migrate_db
- @adapter.dump_schema
+ @adapter.dump_schema unless ENV['ARDB_MIGRATE_NO_SCHEMA']
rescue Ardb::Runner::CmdError => e
raise e
rescue StandardError => e
@err_io.puts "error migrating #{Ardb.config.db.database.inspect} database"
@err_io.puts e