Sha256: 75a7191524f3f71dd2a5355f173c0cbe30e3a5193b280e0c3b8c64b67a572b82

Contents?: true

Size: 217 Bytes

Versions: 126

Compression:

Stored size: 217 Bytes

Contents

class DropWorkflowStates < 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

126 entries across 126 versions & 1 rubygems

Version Path
ddr-models-2.11.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.10.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.10.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.10.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.10.0.rc2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.10.0.rc1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.9.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.9.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.9.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.9.0.rc1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.8.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.8.0.rc1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.7.6 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.7.5 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.7.4 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.7.3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.7.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.7.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.7.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.7.0.rc1 db/migrate/20150110023410_drop_workflow_states.rb