Sha256: 8eaea4434272c1893791246fc6d2dcd9a3014f5c797199d154290990bd50f2de

Contents?: true

Size: 265 Bytes

Versions: 3

Compression:

Stored size: 265 Bytes

Contents

class RemoveDeployTypeAndCiFromProjects < ActiveRecord::Migration
  def up
    remove_column :projects, :ci
    remove_column :projects, :deploy_type
  end

  def down
    add_column :projects, :ci, :string
    add_column :projects, :deploy_type, :string
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deep_thought-0.2.1 db/migrate/20131127022704_remove_deploy_type_and_ci_from_projects.rb
deep_thought-0.1.1 db/migrate/20131127022704_remove_deploy_type_and_ci_from_projects.rb
deep_thought-0.1.0 db/migrate/20131127022704_remove_deploy_type_and_ci_from_projects.rb