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.1.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.1.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.1.0.rc2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.1.0.rc1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.rc6 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.rc5 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.rc4 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.rc3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.rc2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.17.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.rc1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.pre.5 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.17.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.pre.4 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.pre.3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.16.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.pre.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.0.0.pre.1 db/migrate/20150110023410_drop_workflow_states.rb