Class: ActualDbSchema::Commands::Rollback
- Includes:
- ActionView::Helpers::TextHelper, OutputFormatter
- Defined in:
- lib/actual_db_schema/commands/rollback.rb
Overview
Rolls back all phantom migrations
Constant Summary
Constants included from OutputFormatter
OutputFormatter::UNICODE_COLORS
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(context, manual_mode: false) ⇒ Rollback
constructor
A new instance of Rollback.
Methods included from OutputFormatter
Methods inherited from Base
Constructor Details
#initialize(context, manual_mode: false) ⇒ Rollback
Returns a new instance of Rollback.
10 11 12 13 |
# File 'lib/actual_db_schema/commands/rollback.rb', line 10 def initialize(context, manual_mode: false) @manual_mode = manual_mode || manual_mode_default? super(context) end |