1 2 3 4 5 6 7 8 9 10 11 12 13
class AddStageIdToCiBuilds < ActiveRecord::Migration[4.2] include Gitlab::Database::MigrationHelpers DOWNTIME = false def up add_column :ci_builds, :stage_id, :integer end def down remove_column :ci_builds, :stage_id, :integer end end