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.4.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.4.0.rc6 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-3.0.0.beta.3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.4.0.rc5 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.4.0.rc4 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-3.0.0.beta.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.4.0.rc3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.4.0.rc2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.4.0.rc1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.3.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-3.0.0.beta.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.3.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-3.0.0.alpha.4 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-3.0.0.alpha.3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.3.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-3.0.0.alpha.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-3.0.0.alpha.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.2.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.1.3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-2.1.2 db/migrate/20150110023410_drop_workflow_states.rb