gitlabhq/db/migrate/20110928140106_add_project_id_for_note.rb
2011-10-09 00:36:38 +03:00

10 lines
182 B
Ruby

class AddProjectIdForNote < ActiveRecord::Migration
def up
add_column :notes, :project_id, :integer
end
def down
remove_column :notes, :project_id, :integer
end
end