Class: AddRepositoryIdToJob

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

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
# File 'lib/shipit/database/migrate/20120701080236_add_repository_id_to_job.rb', line 2

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