gitlab-org--gitlab-foss/db/migrate/20211105010101_add_archived_column_to_deployments.rb

9 lines
228 B
Ruby

# frozen_string_literal: true
class AddArchivedColumnToDeployments < Gitlab::Database::Migration[1.0]
enable_lock_retries!
def change
add_column :deployments, :archived, :boolean, default: false, null: false
end
end