From f50b93c373428d624cc2cabe98e4022dce846e67 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 27 Mar 2020 21:07:53 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .../20200213100530_add_verification_columns_to_packages.rb | 13 +++++++++++++ db/structure.sql | 6 ++++++ 2 files changed, 19 insertions(+) create mode 100644 db/migrate/20200213100530_add_verification_columns_to_packages.rb (limited to 'db') diff --git a/db/migrate/20200213100530_add_verification_columns_to_packages.rb b/db/migrate/20200213100530_add_verification_columns_to_packages.rb new file mode 100644 index 00000000000..4c4e9a88c60 --- /dev/null +++ b/db/migrate/20200213100530_add_verification_columns_to_packages.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class AddVerificationColumnsToPackages < ActiveRecord::Migration[6.0] + DOWNTIME = false + + def change + add_column :packages_package_files, :verification_retry_at, :datetime_with_timezone + add_column :packages_package_files, :verified_at, :datetime_with_timezone + add_column :packages_package_files, :verification_checksum, :string, limit: 255 + add_column :packages_package_files, :verification_failure, :string, limit: 255 + add_column :packages_package_files, :verification_retry_count, :integer + end +end diff --git a/db/structure.sql b/db/structure.sql index 7c6c883196c..f8c3e1d92b9 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -4364,6 +4364,11 @@ CREATE TABLE public.packages_package_files ( file_sha1 bytea, file_name character varying NOT NULL, file text NOT NULL, + verification_retry_at timestamp with time zone, + verified_at timestamp with time zone, + verification_checksum character varying(255), + verification_failure character varying(255), + verification_retry_count integer, file_sha256 bytea ); @@ -12720,6 +12725,7 @@ COPY "schema_migrations" (version) FROM STDIN; 20200212133945 20200212134201 20200213093702 +20200213100530 20200213155311 20200213204737 20200213220159 -- cgit v1.2.1