Sha256: 3c48eac7b26c72e597efe3362819f7f024a44cd23c91fc5c118e615189e4f93a

Contents?: true

Size: 223 Bytes

Versions: 20

Compression:

Stored size: 223 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

20 entries across 20 versions & 1 rubygems

Version Path
ddr-models-1.13.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.13.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.13.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.8 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.12.3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.7 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.12.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.6 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.12.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.5 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.12.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.4 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.3 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.2 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.11.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.10.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.9.0 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.8.1 db/migrate/20150110023410_drop_workflow_states.rb
ddr-models-1.8.0 db/migrate/20150110023410_drop_workflow_states.rb