Class: AddEnvironmentIdToJob

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

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
# File 'lib/shipit/database/migrate/20120701090245_add_environment_id_to_job.rb', line 2

def change
  add_column :jobs, :environment_id, :integer
end