Class: RemoveEnvFromJob

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/shipit/database/migrate/20120701085528_remove_env_from_job.rb

Instance Method Summary collapse

Instance Method Details

#downObject



7
8
# File 'lib/shipit/database/migrate/20120701085528_remove_env_from_job.rb', line 7

def down
end

#upObject



2
3
4
5
# File 'lib/shipit/database/migrate/20120701085528_remove_env_from_job.rb', line 2

def up
  remove_column :jobs, :env
  remove_column :jobs, :repository_id
end