debian-mirror-gitlab/db/migrate/20181129104854_add_token_encrypted_to_ci_builds.rb

16 lines
432 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
class AddTokenEncryptedToCiBuilds < ActiveRecord::Migration[5.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
2020-04-22 19:07:51 +05:30
# rubocop:disable Migration/AddColumnsToWideTables
2020-05-24 23:13:21 +05:30
# rubocop:disable Migration/PreventStrings
2019-02-15 15:39:39 +05:30
def change
2020-04-22 19:07:51 +05:30
add_column :ci_builds, :token_encrypted, :string
2019-02-15 15:39:39 +05:30
end
2020-05-24 23:13:21 +05:30
# rubocop:enable Migration/PreventStrings
2020-04-22 19:07:51 +05:30
# rubocop:enable Migration/AddColumnsToWideTables
2019-02-15 15:39:39 +05:30
end