class BatchRollback::MigrationStep
Public Class Methods
create_table()
click to toggle source
# File lib/batch_rollback/migration_step.rb, line 8 def create_table return if table_exists? connection.create_table(table_name) do |t| t.string :current_version t.string :target_version t.integer :step end end
table_name()
click to toggle source
# File lib/batch_rollback/migration_step.rb, line 4 def table_name "br_migration_steps" end