gitlab-org--gitlab-foss/db/migrate/20151008130321_migrate_name...

7 lines
183 B
Ruby

# rubocop:disable all
class MigrateNameToDescriptionForBuilds < ActiveRecord::Migration
def change
execute("UPDATE ci_builds SET type='Ci::Build' WHERE type IS NULL")
end
end