class PhilColumns::Command::Reset::Schema

Public Instance Methods

execute() click to toggle source
# File lib/phil_columns/command/reset/schema.rb, line 8
def execute
  load_environment
  migrator.mulligan
  archivist.clear_seeds
end

Protected Instance Methods

migrator() click to toggle source
# File lib/phil_columns/command/reset/schema.rb, line 16
def migrator
  @migrator ||= PhilColumns::Migrator.new( config.merge( schema_load_strategy: 'migrate' ))
end