diff options
Diffstat (limited to 'db/migrate/20230809165212_add_path_prefix_and_build_ref_to_pages_deployments.rb')
-rw-r--r-- | db/migrate/20230809165212_add_path_prefix_and_build_ref_to_pages_deployments.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20230809165212_add_path_prefix_and_build_ref_to_pages_deployments.rb b/db/migrate/20230809165212_add_path_prefix_and_build_ref_to_pages_deployments.rb new file mode 100644 index 00000000000..d2fc8bfc9bc --- /dev/null +++ b/db/migrate/20230809165212_add_path_prefix_and_build_ref_to_pages_deployments.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class AddPathPrefixAndBuildRefToPagesDeployments < Gitlab::Database::Migration[2.1] + enable_lock_retries! + + # rubocop:disable Migration/AddLimitToTextColumns + # limit is added in 20230809165213_add_index_to_path_prefix_and_ref_to_pages_deployments + def change + add_column :pages_deployments, :path_prefix, :text + add_column :pages_deployments, :build_ref, :text + end + # rubocop:enable Migration/AddLimitToTextColumns +end |