gitlabhq/db/migrate/20110928140106_add_project_...

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