Sha256: 5c1fab073f40ca64dceff52f6dafd8a87545abd5a00131a79144f496fd379ef0

Contents?: true

Size: 216 Bytes

Versions: 2

Compression:

Stored size: 216 Bytes

Contents

class DropWorkflowState < ActiveRecord::Migration
  def up
    if table_exists?("workflow_states")
      drop_table "workflow_states"
    end
  end

  def down
    raise ActiveRecord::IrreversibleMigration
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddr-models-1.8.1 db/migrate/20150109192134_drop_workflow_state.rb~
ddr-models-1.8.0 db/migrate/20150109192134_drop_workflow_state.rb~