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

10 lines
228 B
Ruby
Raw Normal View History

# 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