diff options
Diffstat (limited to 'db/migrate/20211105010101_add_archived_column_to_deployments.rb')
-rw-r--r-- | db/migrate/20211105010101_add_archived_column_to_deployments.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20211105010101_add_archived_column_to_deployments.rb b/db/migrate/20211105010101_add_archived_column_to_deployments.rb new file mode 100644 index 00000000000..f9ac81915b4 --- /dev/null +++ b/db/migrate/20211105010101_add_archived_column_to_deployments.rb @@ -0,0 +1,9 @@ +# 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 |