diff --git a/db/migrate/20241029063914_add_deleted_at_to_namespace_details.rb b/db/migrate/20241029063914_add_deleted_at_to_namespace_details.rb new file mode 100644 index 0000000000000000000000000000000000000000..3e64b5ffd3887fb58801f9e09e2df781087e6775 --- /dev/null +++ b/db/migrate/20241029063914_add_deleted_at_to_namespace_details.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddDeletedAtToNamespaceDetails < Gitlab::Database::Migration[2.2] + milestone '17.6' + + def change + add_column :namespace_details, :deleted_at, :datetime_with_timezone + end +end diff --git a/db/schema_migrations/20241029063914 b/db/schema_migrations/20241029063914 new file mode 100644 index 0000000000000000000000000000000000000000..bd67f2011951343d2fd6b10a9576e561933861ad --- /dev/null +++ b/db/schema_migrations/20241029063914 @@ -0,0 +1 @@ +ef347416a77ffd7337d9d38ed191a18920e990bc168738a4058826c5113d7d61 \ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index f3aaf7324bcd8ffcf1b8c784b8b91ce333eb86c5..1e41680f9ed8aea073a1cd2d127c3b02fa40b7ee 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -14474,7 +14474,8 @@ CREATE TABLE namespace_details ( description text, description_html text, creator_id bigint, - pending_delete boolean DEFAULT false NOT NULL + pending_delete boolean DEFAULT false NOT NULL, + deleted_at timestamp with time zone ); CREATE TABLE namespace_import_users (