Class: ActualDbSchema::Commands::Rollback
- Defined in:
- lib/actual_db_schema/commands/rollback.rb
Overview
Rolls back all phantom migrations
Constant Summary collapse
- UNICODE_COLORS =
{ red: 31, green: 32, yellow: 33 }.freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(context, manual_mode: false) ⇒ Rollback
constructor
A new instance of Rollback.
Methods inherited from Base
Constructor Details
#initialize(context, manual_mode: false) ⇒ Rollback
Returns a new instance of Rollback.
13 14 15 16 |
# File 'lib/actual_db_schema/commands/rollback.rb', line 13 def initialize(context, manual_mode: false) @manual_mode = manual_mode || manual_mode_default? super(context) end |