--
-- PostgreSQL database dump
--

-- Dumped from database version 12.7
-- Dumped by pg_dump version 12.7

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

ALTER TABLE IF EXISTS ONLY public.user_follow_users DROP CONSTRAINT IF EXISTS user_follow_users_follower_id_fkey;
ALTER TABLE IF EXISTS ONLY public.user_follow_users DROP CONSTRAINT IF EXISTS user_follow_users_followee_id_fkey;
ALTER TABLE IF EXISTS public.product_analytics_events_experimental DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_project_id_fkey;
ALTER TABLE IF EXISTS ONLY public.u2f_registrations DROP CONSTRAINT IF EXISTS fk_u2f_registrations_user_id;
ALTER TABLE IF EXISTS ONLY public.timelogs DROP CONSTRAINT IF EXISTS fk_timelogs_note_id;
ALTER TABLE IF EXISTS ONLY public.timelogs DROP CONSTRAINT IF EXISTS fk_timelogs_merge_requests_merge_request_id;
ALTER TABLE IF EXISTS ONLY public.timelogs DROP CONSTRAINT IF EXISTS fk_timelogs_issues_issue_id;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_source_project;
ALTER TABLE IF EXISTS ONLY public.integrations DROP CONSTRAINT IF EXISTS fk_services_inherit_from_id;
ALTER TABLE IF EXISTS ONLY public.ci_builds_metadata DROP CONSTRAINT IF EXISTS fk_rails_ffcf702a02;
ALTER TABLE IF EXISTS ONLY public.resource_label_events DROP CONSTRAINT IF EXISTS fk_rails_fe91ece594;
ALTER TABLE IF EXISTS ONLY public.project_tracing_settings DROP CONSTRAINT IF EXISTS fk_rails_fe56f57fc6;
ALTER TABLE IF EXISTS ONLY public.cluster_groups DROP CONSTRAINT IF EXISTS fk_rails_fdb8648a96;
ALTER TABLE IF EXISTS ONLY public.experiment_users DROP CONSTRAINT IF EXISTS fk_rails_fd805f771a;
ALTER TABLE IF EXISTS ONLY public.external_approval_rules DROP CONSTRAINT IF EXISTS fk_rails_fd4f9ac573;
ALTER TABLE IF EXISTS public.incident_management_pending_alert_escalations DROP CONSTRAINT IF EXISTS fk_rails_fcbfd9338b;
ALTER TABLE IF EXISTS ONLY public.packages_nuget_metadata DROP CONSTRAINT IF EXISTS fk_rails_fc0c19f5b4;
ALTER TABLE IF EXISTS ONLY public.ci_job_variables DROP CONSTRAINT IF EXISTS fk_rails_fbf3b34792;
ALTER TABLE IF EXISTS ONLY public.serverless_domain_cluster DROP CONSTRAINT IF EXISTS fk_rails_fbdba67eb1;
ALTER TABLE IF EXISTS ONLY public.board_project_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_fb6fc419cb;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flags_issues DROP CONSTRAINT IF EXISTS fk_rails_fb4d2a7cb1;
ALTER TABLE IF EXISTS ONLY public.requirements_management_test_reports DROP CONSTRAINT IF EXISTS fk_rails_fb3308ad55;
ALTER TABLE IF EXISTS ONLY public.banned_users DROP CONSTRAINT IF EXISTS fk_rails_fa5bb598e5;
ALTER TABLE IF EXISTS ONLY public.ci_runner_namespaces DROP CONSTRAINT IF EXISTS fk_rails_f9d9ed3308;
ALTER TABLE IF EXISTS ONLY public.merge_trains DROP CONSTRAINT IF EXISTS fk_rails_f90820cb08;
ALTER TABLE IF EXISTS ONLY public.merge_requests_closing_issues DROP CONSTRAINT IF EXISTS fk_rails_f8540692be;
ALTER TABLE IF EXISTS ONLY public.issues_self_managed_prometheus_alert_events DROP CONSTRAINT IF EXISTS fk_rails_f7db2d72eb;
ALTER TABLE IF EXISTS ONLY public.internal_ids DROP CONSTRAINT IF EXISTS fk_rails_f7d46b66c6;
ALTER TABLE IF EXISTS ONLY public.design_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_f7075a53c1;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_shifts DROP CONSTRAINT IF EXISTS fk_rails_f6eef06841;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_components DROP CONSTRAINT IF EXISTS fk_rails_f5f1ef54c6;
ALTER TABLE IF EXISTS ONLY public.resource_state_events DROP CONSTRAINT IF EXISTS fk_rails_f5827a7ccd;
ALTER TABLE IF EXISTS ONLY public.incident_management_issuable_escalation_statuses DROP CONSTRAINT IF EXISTS fk_rails_f4c811fd28;
ALTER TABLE IF EXISTS ONLY public.board_group_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_f410736518;
ALTER TABLE IF EXISTS public.incident_management_pending_alert_escalations DROP CONSTRAINT IF EXISTS fk_rails_f3d17bc8af;
ALTER TABLE IF EXISTS ONLY public.insights DROP CONSTRAINT IF EXISTS fk_rails_f36fda3932;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_users DROP CONSTRAINT IF EXISTS fk_rails_f365da8250;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_chat_data DROP CONSTRAINT IF EXISTS fk_rails_f300456b63;
ALTER TABLE IF EXISTS ONLY public.elastic_reindexing_subtasks DROP CONSTRAINT IF EXISTS fk_rails_f2cc190164;
ALTER TABLE IF EXISTS ONLY public.snippet_repositories DROP CONSTRAINT IF EXISTS fk_rails_f21f899728;
ALTER TABLE IF EXISTS ONLY public.requirements DROP CONSTRAINT IF EXISTS fk_rails_f212e67e63;
ALTER TABLE IF EXISTS ONLY public.jira_connect_subscriptions DROP CONSTRAINT IF EXISTS fk_rails_f1d617343f;
ALTER TABLE IF EXISTS ONLY public.import_export_uploads DROP CONSTRAINT IF EXISTS fk_rails_f129140f9e;
ALTER TABLE IF EXISTS ONLY public.prometheus_alerts DROP CONSTRAINT IF EXISTS fk_rails_f0e8db86aa;
ALTER TABLE IF EXISTS ONLY public.security_orchestration_policy_rule_schedules DROP CONSTRAINT IF EXISTS fk_rails_efe1d9b133;
ALTER TABLE IF EXISTS ONLY public.fork_network_members DROP CONSTRAINT IF EXISTS fk_rails_efccadc4ec;
ALTER TABLE IF EXISTS ONLY public.label_priorities DROP CONSTRAINT IF EXISTS fk_rails_ef916d14fa;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_architectures DROP CONSTRAINT IF EXISTS fk_rails_ef667d1b03;
ALTER TABLE IF EXISTS ONLY public.ci_daily_build_group_report_results DROP CONSTRAINT IF EXISTS fk_rails_ee072d13b3;
ALTER TABLE IF EXISTS ONLY public.experiment_subjects DROP CONSTRAINT IF EXISTS fk_rails_ede5754774;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_distributions DROP CONSTRAINT IF EXISTS fk_rails_ede0bb937f;
ALTER TABLE IF EXISTS ONLY public.project_security_settings DROP CONSTRAINT IF EXISTS fk_rails_ed4abe1338;
ALTER TABLE IF EXISTS ONLY public.dast_profiles DROP CONSTRAINT IF EXISTS fk_rails_ed1e66fbbf;
ALTER TABLE IF EXISTS ONLY public.iterations_cadences DROP CONSTRAINT IF EXISTS fk_rails_ece400c55a;
ALTER TABLE IF EXISTS ONLY public.snippet_statistics DROP CONSTRAINT IF EXISTS fk_rails_ebc283ccf1;
ALTER TABLE IF EXISTS ONLY public.alert_management_alert_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_eb2de0cdef;
ALTER TABLE IF EXISTS ONLY public.protected_branch_unprotect_access_levels DROP CONSTRAINT IF EXISTS fk_rails_e9eb8dc025;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_sources DROP CONSTRAINT IF EXISTS fk_rails_e9761bed4c;
ALTER TABLE IF EXISTS ONLY public.merge_request_blocks DROP CONSTRAINT IF EXISTS fk_rails_e9387863bc;
ALTER TABLE IF EXISTS ONLY public.vulnerability_issue_links DROP CONSTRAINT IF EXISTS fk_rails_e9180d534b;
ALTER TABLE IF EXISTS ONLY public.description_versions DROP CONSTRAINT IF EXISTS fk_rails_e8f4caf9c7;
ALTER TABLE IF EXISTS ONLY public.group_deploy_keys_groups DROP CONSTRAINT IF EXISTS fk_rails_e87145115d;
ALTER TABLE IF EXISTS ONLY public.dast_site_tokens DROP CONSTRAINT IF EXISTS fk_rails_e84f721a8e;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_e77911cf03;
ALTER TABLE IF EXISTS ONLY public.namespace_package_settings DROP CONSTRAINT IF EXISTS fk_rails_e773444769;
ALTER TABLE IF EXISTS ONLY public.draft_notes DROP CONSTRAINT IF EXISTS fk_rails_e753681674;
ALTER TABLE IF EXISTS ONLY public.merge_request_metrics DROP CONSTRAINT IF EXISTS fk_rails_e6d7c24d1b;
ALTER TABLE IF EXISTS ONLY public.requirements_management_test_reports DROP CONSTRAINT IF EXISTS fk_rails_e67d085910;
ALTER TABLE IF EXISTS ONLY public.prometheus_alerts DROP CONSTRAINT IF EXISTS fk_rails_e6351447ec;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rule_sources DROP CONSTRAINT IF EXISTS fk_rails_e605a04f76;
ALTER TABLE IF EXISTS ONLY public.vulnerability_external_issue_links DROP CONSTRAINT IF EXISTS fk_rails_e5ba7f7b13;
ALTER TABLE IF EXISTS ONLY public.incident_management_escalation_policies DROP CONSTRAINT IF EXISTS fk_rails_e5b513daa7;
ALTER TABLE IF EXISTS ONLY public.serverless_domain_cluster DROP CONSTRAINT IF EXISTS fk_rails_e59e868733;
ALTER TABLE IF EXISTS ONLY public.vulnerability_flags DROP CONSTRAINT IF EXISTS fk_rails_e59393b48b;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrence_identifiers DROP CONSTRAINT IF EXISTS fk_rails_e4ef6d027c;
ALTER TABLE IF EXISTS ONLY public.clusters_integration_prometheus DROP CONSTRAINT IF EXISTS fk_rails_e44472034c;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidences DROP CONSTRAINT IF EXISTS fk_rails_e3205a0c65;
ALTER TABLE IF EXISTS ONLY public.ci_builds_metadata DROP CONSTRAINT IF EXISTS fk_rails_e20479742e;
ALTER TABLE IF EXISTS ONLY public.cluster_platforms_kubernetes DROP CONSTRAINT IF EXISTS fk_rails_e1e2cf841a;
ALTER TABLE IF EXISTS ONLY public.packages_packages DROP CONSTRAINT IF EXISTS fk_rails_e1ac527425;
ALTER TABLE IF EXISTS ONLY public.label_priorities DROP CONSTRAINT IF EXISTS fk_rails_e161058b0f;
ALTER TABLE IF EXISTS ONLY public.ci_minutes_additional_packs DROP CONSTRAINT IF EXISTS fk_rails_e0e0c4e4b1;
ALTER TABLE IF EXISTS ONLY public.bulk_import_export_uploads DROP CONSTRAINT IF EXISTS fk_rails_dfbfb45eca;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_group_stages DROP CONSTRAINT IF EXISTS fk_rails_dfb37c880d;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_shifts DROP CONSTRAINT IF EXISTS fk_rails_df4feb286a;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_distributions DROP CONSTRAINT IF EXISTS fk_rails_df44271a30;
ALTER TABLE IF EXISTS ONLY public.vulnerability_feedback DROP CONSTRAINT IF EXISTS fk_rails_debd54e456;
ALTER TABLE IF EXISTS ONLY public.user_callouts DROP CONSTRAINT IF EXISTS fk_rails_ddfdd80f3d;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_component_files DROP CONSTRAINT IF EXISTS fk_rails_dd262386e9;
ALTER TABLE IF EXISTS ONLY public.deployment_merge_requests DROP CONSTRAINT IF EXISTS fk_rails_dcbce9f4df;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrence_pipelines DROP CONSTRAINT IF EXISTS fk_rails_dc3ae04693;
ALTER TABLE IF EXISTS ONLY public.ci_running_builds DROP CONSTRAINT IF EXISTS fk_rails_dc1d0801e8;
ALTER TABLE IF EXISTS ONLY public.board_user_preferences DROP CONSTRAINT IF EXISTS fk_rails_dbebdaa8fe;
ALTER TABLE IF EXISTS ONLY public.issues_prometheus_alert_events DROP CONSTRAINT IF EXISTS fk_rails_db5b756534;
ALTER TABLE IF EXISTS ONLY public.dependency_proxy_blobs DROP CONSTRAINT IF EXISTS fk_rails_db58bbc5d7;
ALTER TABLE IF EXISTS ONLY public.jira_imports DROP CONSTRAINT IF EXISTS fk_rails_da617096ce;
ALTER TABLE IF EXISTS ONLY public.ci_running_builds DROP CONSTRAINT IF EXISTS fk_rails_da45cfa165;
ALTER TABLE IF EXISTS ONLY public.merge_request_reviewers DROP CONSTRAINT IF EXISTS fk_rails_d9fec24b9d;
ALTER TABLE IF EXISTS ONLY public.geo_hashed_storage_attachments_events DROP CONSTRAINT IF EXISTS fk_rails_d496b088e9;
ALTER TABLE IF EXISTS ONLY public.alert_management_alert_assignees DROP CONSTRAINT IF EXISTS fk_rails_d47570ac62;
ALTER TABLE IF EXISTS ONLY public.vulnerability_issue_links DROP CONSTRAINT IF EXISTS fk_rails_d459c19036;
ALTER TABLE IF EXISTS ONLY public.group_group_links DROP CONSTRAINT IF EXISTS fk_rails_d3a0488427;
ALTER TABLE IF EXISTS ONLY public.web_hooks DROP CONSTRAINT IF EXISTS fk_rails_d35697648e;
ALTER TABLE IF EXISTS ONLY public.pool_repositories DROP CONSTRAINT IF EXISTS fk_rails_d2711daad4;
ALTER TABLE IF EXISTS ONLY public.requirements_management_test_reports DROP CONSTRAINT IF EXISTS fk_rails_d1e8b498bf;
ALTER TABLE IF EXISTS ONLY public.cluster_agent_tokens DROP CONSTRAINT IF EXISTS fk_rails_d1d26abc25;
ALTER TABLE IF EXISTS ONLY public.operations_strategies DROP CONSTRAINT IF EXISTS fk_rails_d183b6e6dd;
ALTER TABLE IF EXISTS ONLY public.subscriptions DROP CONSTRAINT IF EXISTS fk_rails_d0c8bda804;
ALTER TABLE IF EXISTS ONLY public.epic_metrics DROP CONSTRAINT IF EXISTS fk_rails_d071904753;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_requests DROP CONSTRAINT IF EXISTS fk_rails_cf0f278cb0;
ALTER TABLE IF EXISTS ONLY public.resource_iteration_events DROP CONSTRAINT IF EXISTS fk_rails_cee126f66c;
ALTER TABLE IF EXISTS ONLY public.resource_milestone_events DROP CONSTRAINT IF EXISTS fk_rails_cedf8cce4d;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_headers DROP CONSTRAINT IF EXISTS fk_rails_ce7f121a03;
ALTER TABLE IF EXISTS ONLY public.issue_tracker_data DROP CONSTRAINT IF EXISTS fk_rails_ccc0840427;
ALTER TABLE IF EXISTS ONLY public.operations_strategies_user_lists DROP CONSTRAINT IF EXISTS fk_rails_ccb7e4bc0b;
ALTER TABLE IF EXISTS ONLY public.issues_self_managed_prometheus_alert_events DROP CONSTRAINT IF EXISTS fk_rails_cc5d88bbb0;
ALTER TABLE IF EXISTS ONLY public.clusters_integration_elasticstack DROP CONSTRAINT IF EXISTS fk_rails_cc5ba8f658;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_links DROP CONSTRAINT IF EXISTS fk_rails_cbdfde27ce;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_positions DROP CONSTRAINT IF EXISTS fk_rails_cb4563dd6e;
ALTER TABLE IF EXISTS ONLY public.board_group_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_ca04c38720;
ALTER TABLE IF EXISTS ONLY public.gpg_signatures DROP CONSTRAINT IF EXISTS fk_rails_c97176f5f7;
ALTER TABLE IF EXISTS ONLY public.resource_milestone_events DROP CONSTRAINT IF EXISTS fk_rails_c940fb9fc5;
ALTER TABLE IF EXISTS ONLY public.resource_state_events DROP CONSTRAINT IF EXISTS fk_rails_c913c64977;
ALTER TABLE IF EXISTS ONLY public.project_export_jobs DROP CONSTRAINT IF EXISTS fk_rails_c88d8db2e1;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrences DROP CONSTRAINT IF EXISTS fk_rails_c8661a61eb;
ALTER TABLE IF EXISTS ONLY public.scim_oauth_access_tokens DROP CONSTRAINT IF EXISTS fk_rails_c84404fb6c;
ALTER TABLE IF EXISTS ONLY public.wiki_page_meta DROP CONSTRAINT IF EXISTS fk_rails_c7a0c59cf1;
ALTER TABLE IF EXISTS ONLY public.container_expiration_policies DROP CONSTRAINT IF EXISTS fk_rails_c7360f09ad;
ALTER TABLE IF EXISTS ONLY public.project_settings DROP CONSTRAINT IF EXISTS fk_rails_c6df6e6328;
ALTER TABLE IF EXISTS ONLY public.packages_events DROP CONSTRAINT IF EXISTS fk_rails_c6c20d0094;
ALTER TABLE IF EXISTS ONLY public.ci_job_artifacts DROP CONSTRAINT IF EXISTS fk_rails_c5137cb2c1;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_c4dcba4a3e;
ALTER TABLE IF EXISTS ONLY public.merge_request_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_c440b9ea31;
ALTER TABLE IF EXISTS ONLY public.pages_deployments DROP CONSTRAINT IF EXISTS fk_rails_c3a90cf29b;
ALTER TABLE IF EXISTS ONLY public.group_deploy_keys_groups DROP CONSTRAINT IF EXISTS fk_rails_c3854f19f5;
ALTER TABLE IF EXISTS ONLY public.packages_nuget_dependency_link_metadata DROP CONSTRAINT IF EXISTS fk_rails_c3313ee2e4;
ALTER TABLE IF EXISTS ONLY public.project_repositories DROP CONSTRAINT IF EXISTS fk_rails_c3258dc63b;
ALTER TABLE IF EXISTS ONLY public.user_canonical_emails DROP CONSTRAINT IF EXISTS fk_rails_c2bd828b51;
ALTER TABLE IF EXISTS ONLY public.project_feature_usages DROP CONSTRAINT IF EXISTS fk_rails_c22a50024b;
ALTER TABLE IF EXISTS ONLY public.labels DROP CONSTRAINT IF EXISTS fk_rails_c1ac5161d8;
ALTER TABLE IF EXISTS ONLY public.serverless_domain_cluster DROP CONSTRAINT IF EXISTS fk_rails_c09009dee1;
ALTER TABLE IF EXISTS ONLY public.atlassian_identities DROP CONSTRAINT IF EXISTS fk_rails_c02928bc18;
ALTER TABLE IF EXISTS ONLY public.design_management_designs DROP CONSTRAINT IF EXISTS fk_rails_bfe283ec3c;
ALTER TABLE IF EXISTS ONLY public.resource_weight_events DROP CONSTRAINT IF EXISTS fk_rails_bfc406b47c;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrences DROP CONSTRAINT IF EXISTS fk_rails_bf5b788ca7;
ALTER TABLE IF EXISTS ONLY public.alert_management_http_integrations DROP CONSTRAINT IF EXISTS fk_rails_bec49f52cc;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrence_identifiers DROP CONSTRAINT IF EXISTS fk_rails_be2e49e1d0;
ALTER TABLE IF EXISTS ONLY public.elasticsearch_indexed_namespaces DROP CONSTRAINT IF EXISTS fk_rails_bdcf044f37;
ALTER TABLE IF EXISTS ONLY public.elasticsearch_indexed_projects DROP CONSTRAINT IF EXISTS fk_rails_bd13bbdc3d;
ALTER TABLE IF EXISTS ONLY public.external_pull_requests DROP CONSTRAINT IF EXISTS fk_rails_bcae9b5c7b;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_users DROP CONSTRAINT IF EXISTS fk_rails_bc8972fa55;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_component_files DROP CONSTRAINT IF EXISTS fk_rails_bbe9ebfbd9;
ALTER TABLE IF EXISTS ONLY public.security_findings DROP CONSTRAINT IF EXISTS fk_rails_bb63863cf1;
ALTER TABLE IF EXISTS public.web_hook_logs DROP CONSTRAINT IF EXISTS fk_rails_bb3355782d;
ALTER TABLE IF EXISTS ONLY public.lists DROP CONSTRAINT IF EXISTS fk_rails_baed5f39b7;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_users DROP CONSTRAINT IF EXISTS fk_rails_b9e9394efb;
ALTER TABLE IF EXISTS ONLY public.merge_trains DROP CONSTRAINT IF EXISTS fk_rails_b9d67af01d;
ALTER TABLE IF EXISTS ONLY public.packages_composer_cache_files DROP CONSTRAINT IF EXISTS fk_rails_b82cea43a0;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_protected_branches DROP CONSTRAINT IF EXISTS fk_rails_b7567b031b;
ALTER TABLE IF EXISTS ONLY public.namespace_aggregation_schedules DROP CONSTRAINT IF EXISTS fk_rails_b565c8d16c;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_component_files DROP CONSTRAINT IF EXISTS fk_rails_b543a9622b;
ALTER TABLE IF EXISTS ONLY public.application_settings DROP CONSTRAINT IF EXISTS fk_rails_b53e481273;
ALTER TABLE IF EXISTS ONLY public.incident_management_escalation_rules DROP CONSTRAINT IF EXISTS fk_rails_b3c9c17bd4;
ALTER TABLE IF EXISTS ONLY public.merge_trains DROP CONSTRAINT IF EXISTS fk_rails_b374b5225d;
ALTER TABLE IF EXISTS ONLY public.issues_prometheus_alert_events DROP CONSTRAINT IF EXISTS fk_rails_b32edb790f;
ALTER TABLE IF EXISTS ONLY public.board_project_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_b315dd0c80;
ALTER TABLE IF EXISTS ONLY public.merge_trains DROP CONSTRAINT IF EXISTS fk_rails_b29261ce31;
ALTER TABLE IF EXISTS ONLY public.authentication_events DROP CONSTRAINT IF EXISTS fk_rails_b204656a54;
ALTER TABLE IF EXISTS ONLY public.packages_build_infos DROP CONSTRAINT IF EXISTS fk_rails_b18868292d;
ALTER TABLE IF EXISTS ONLY public.webauthn_registrations DROP CONSTRAINT IF EXISTS fk_rails_b15c016782;
ALTER TABLE IF EXISTS ONLY public.resource_label_events DROP CONSTRAINT IF EXISTS fk_rails_b126799f57;
ALTER TABLE IF EXISTS ONLY public.vulnerability_statistics DROP CONSTRAINT IF EXISTS fk_rails_af61a7df4c;
ALTER TABLE IF EXISTS ONLY public.pool_repositories DROP CONSTRAINT IF EXISTS fk_rails_af3f8c5d62;
ALTER TABLE IF EXISTS ONLY public.bulk_import_trackers DROP CONSTRAINT IF EXISTS fk_rails_aed566d3f3;
ALTER TABLE IF EXISTS ONLY public.ci_build_trace_metadata DROP CONSTRAINT IF EXISTS fk_rails_aebc78111f;
ALTER TABLE IF EXISTS ONLY public.metrics_dashboard_annotations DROP CONSTRAINT IF EXISTS fk_rails_aeb11a7643;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_group_stages DROP CONSTRAINT IF EXISTS fk_rails_ae5da3409b;
ALTER TABLE IF EXISTS ONLY public.packages_composer_metadata DROP CONSTRAINT IF EXISTS fk_rails_ad48c2e5bb;
ALTER TABLE IF EXISTS ONLY public.clusters DROP CONSTRAINT IF EXISTS fk_rails_ac3a663d79;
ALTER TABLE IF EXISTS ONLY public.resource_iteration_events DROP CONSTRAINT IF EXISTS fk_rails_abf5d4affa;
ALTER TABLE IF EXISTS ONLY public.x509_commit_signatures DROP CONSTRAINT IF EXISTS fk_rails_ab07452314;
ALTER TABLE IF EXISTS ONLY public.merge_request_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_aa1b2961b1;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_artifacts DROP CONSTRAINT IF EXISTS fk_rails_a9e811a466;
ALTER TABLE IF EXISTS ONLY public.term_agreements DROP CONSTRAINT IF EXISTS fk_rails_a88721bcdf;
ALTER TABLE IF EXISTS ONLY public.resource_milestone_events DROP CONSTRAINT IF EXISTS fk_rails_a788026e85;
ALTER TABLE IF EXISTS ONLY public.dependency_proxy_manifests DROP CONSTRAINT IF EXISTS fk_rails_a758021fb0;
ALTER TABLE IF EXISTS ONLY public.repository_languages DROP CONSTRAINT IF EXISTS fk_rails_a750ec87a8;
ALTER TABLE IF EXISTS ONLY public.user_permission_export_uploads DROP CONSTRAINT IF EXISTS fk_rails_a7130085e3;
ALTER TABLE IF EXISTS ONLY public.sentry_issues DROP CONSTRAINT IF EXISTS fk_rails_a6a9612965;
ALTER TABLE IF EXISTS ONLY public.user_preferences DROP CONSTRAINT IF EXISTS fk_rails_a69bfcfd81;
ALTER TABLE IF EXISTS ONLY public.vulnerability_identifiers DROP CONSTRAINT IF EXISTS fk_rails_a67a16c885;
ALTER TABLE IF EXISTS ONLY public.commit_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_a6760813e0;
ALTER TABLE IF EXISTS ONLY public.cluster_projects DROP CONSTRAINT IF EXISTS fk_rails_a5a958bca1;
ALTER TABLE IF EXISTS ONLY public.packages_helm_file_metadata DROP CONSTRAINT IF EXISTS fk_rails_a559865345;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flag_scopes DROP CONSTRAINT IF EXISTS fk_rails_a50a04d0a4;
ALTER TABLE IF EXISTS ONLY public.customer_relations_organizations DROP CONSTRAINT IF EXISTS fk_rails_a48597902f;
ALTER TABLE IF EXISTS ONLY public.fork_network_members DROP CONSTRAINT IF EXISTS fk_rails_a40860a1ca;
ALTER TABLE IF EXISTS ONLY public.jira_connect_subscriptions DROP CONSTRAINT IF EXISTS fk_rails_a3c10bcf7d;
ALTER TABLE IF EXISTS ONLY public.protected_environments DROP CONSTRAINT IF EXISTS fk_rails_a354313d11;
ALTER TABLE IF EXISTS ONLY public.jira_tracker_data DROP CONSTRAINT IF EXISTS fk_rails_a299066916;
ALTER TABLE IF EXISTS ONLY public.todos DROP CONSTRAINT IF EXISTS fk_rails_a27c483435;
ALTER TABLE IF EXISTS ONLY public.vulnerability_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_a18600f210;
ALTER TABLE IF EXISTS ONLY public.project_aliases DROP CONSTRAINT IF EXISTS fk_rails_a1804f74a7;
ALTER TABLE IF EXISTS ONLY public.elastic_reindexing_slices DROP CONSTRAINT IF EXISTS fk_rails_a17d86aeb9;
ALTER TABLE IF EXISTS ONLY public.namespace_root_storage_statistics DROP CONSTRAINT IF EXISTS fk_rails_a0702c430b;
ALTER TABLE IF EXISTS ONLY public.resource_milestone_events DROP CONSTRAINT IF EXISTS fk_rails_a006df5590;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_cert_managers DROP CONSTRAINT IF EXISTS fk_rails_9e4f2cb4b2;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_signatures DROP CONSTRAINT IF EXISTS fk_rails_9e0baf9dcd;
ALTER TABLE IF EXISTS ONLY public.badges DROP CONSTRAINT IF EXISTS fk_rails_9df4a56538;
ALTER TABLE IF EXISTS ONLY public.analytics_language_trend_repository_languages DROP CONSTRAINT IF EXISTS fk_rails_9d851d566c;
ALTER TABLE IF EXISTS ONLY public.gpg_keys DROP CONSTRAINT IF EXISTS fk_rails_9d1f5d8719;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_components DROP CONSTRAINT IF EXISTS fk_rails_9d072b5073;
ALTER TABLE IF EXISTS ONLY public.project_incident_management_settings DROP CONSTRAINT IF EXISTS fk_rails_9c2ea1b7dd;
ALTER TABLE IF EXISTS ONLY public.users_ops_dashboard_projects DROP CONSTRAINT IF EXISTS fk_rails_9b4ebf005b;
ALTER TABLE IF EXISTS ONLY public.vulnerability_exports DROP CONSTRAINT IF EXISTS fk_rails_9aff2c3b45;
ALTER TABLE IF EXISTS ONLY public.pages_deployments DROP CONSTRAINT IF EXISTS fk_rails_993b88f59a;
ALTER TABLE IF EXISTS ONLY public.error_tracking_client_keys DROP CONSTRAINT IF EXISTS fk_rails_99342d1d54;
ALTER TABLE IF EXISTS ONLY public.clusters_kubernetes_namespaces DROP CONSTRAINT IF EXISTS fk_rails_98fe21e486;
ALTER TABLE IF EXISTS ONLY public.board_project_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_98f8843922;
ALTER TABLE IF EXISTS ONLY public.ci_job_artifacts DROP CONSTRAINT IF EXISTS fk_rails_9862d392f9;
ALTER TABLE IF EXISTS ONLY public.resource_label_events DROP CONSTRAINT IF EXISTS fk_rails_9851a00031;
ALTER TABLE IF EXISTS ONLY public.group_repository_storage_moves DROP CONSTRAINT IF EXISTS fk_rails_982bb5daf1;
ALTER TABLE IF EXISTS ONLY public.packages_dependency_links DROP CONSTRAINT IF EXISTS fk_rails_96ef1c00d3;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_96c2c18642;
ALTER TABLE IF EXISTS ONLY public.packages_pypi_metadata DROP CONSTRAINT IF EXISTS fk_rails_9698717cdd;
ALTER TABLE IF EXISTS ONLY public.packages_rubygems_metadata DROP CONSTRAINT IF EXISTS fk_rails_95a3f5ce78;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_distributions DROP CONSTRAINT IF EXISTS fk_rails_94b95e1f84;
ALTER TABLE IF EXISTS ONLY public.scim_identities DROP CONSTRAINT IF EXISTS fk_rails_9421a0bffb;
ALTER TABLE IF EXISTS ONLY public.alert_management_alert_assignees DROP CONSTRAINT IF EXISTS fk_rails_93c0f6703b;
ALTER TABLE IF EXISTS ONLY public.board_labels DROP CONSTRAINT IF EXISTS fk_rails_9374a16edd;
ALTER TABLE IF EXISTS ONLY public.merge_request_cleanup_schedules DROP CONSTRAINT IF EXISTS fk_rails_92dd0e705c;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_responses DROP CONSTRAINT IF EXISTS fk_rails_929041a499;
ALTER TABLE IF EXISTS ONLY public.list_user_preferences DROP CONSTRAINT IF EXISTS fk_rails_916d72cafd;
ALTER TABLE IF EXISTS ONLY public.project_error_tracking_settings DROP CONSTRAINT IF EXISTS fk_rails_910a2b8bd9;
ALTER TABLE IF EXISTS ONLY public.geo_reset_checksum_events DROP CONSTRAINT IF EXISTS fk_rails_910a06f12b;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrences DROP CONSTRAINT IF EXISTS fk_rails_90fed4faba;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_groups DROP CONSTRAINT IF EXISTS fk_rails_9071e863d1;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines_config DROP CONSTRAINT IF EXISTS fk_rails_906c9a2533;
ALTER TABLE IF EXISTS ONLY public.project_daily_statistics DROP CONSTRAINT IF EXISTS fk_rails_8e549b272d;
ALTER TABLE IF EXISTS ONLY public.alert_management_alert_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_8e48eca0fe;
ALTER TABLE IF EXISTS ONLY public.clusters_kubernetes_namespaces DROP CONSTRAINT IF EXISTS fk_rails_8df789f3ab;
ALTER TABLE IF EXISTS ONLY public.design_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_8de8c6d632;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_approved_approvers DROP CONSTRAINT IF EXISTS fk_rails_8dc94cff4d;
ALTER TABLE IF EXISTS public.incident_management_pending_alert_escalations DROP CONSTRAINT IF EXISTS fk_rails_8d8de95da9;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_messages DROP CONSTRAINT IF EXISTS fk_rails_8d3b04e3e1;
ALTER TABLE IF EXISTS ONLY public.vulnerability_feedback DROP CONSTRAINT IF EXISTS fk_rails_8c77e5891a;
ALTER TABLE IF EXISTS ONLY public.packages_conan_metadata DROP CONSTRAINT IF EXISTS fk_rails_8c68cfec8b;
ALTER TABLE IF EXISTS ONLY public.project_pages_metadata DROP CONSTRAINT IF EXISTS fk_rails_8c28a61485;
ALTER TABLE IF EXISTS ONLY public.cluster_projects DROP CONSTRAINT IF EXISTS fk_rails_8b8c5caf07;
ALTER TABLE IF EXISTS ONLY public.allowed_email_domains DROP CONSTRAINT IF EXISTS fk_rails_8b5da859f9;
ALTER TABLE IF EXISTS ONLY public.board_user_preferences DROP CONSTRAINT IF EXISTS fk_rails_8b3b23ce82;
ALTER TABLE IF EXISTS ONLY public.gpg_key_subkeys DROP CONSTRAINT IF EXISTS fk_rails_8b2c90b046;
ALTER TABLE IF EXISTS ONLY public.snippet_repositories DROP CONSTRAINT IF EXISTS fk_rails_8afd7e2f71;
ALTER TABLE IF EXISTS ONLY public.protected_environment_deploy_access_levels DROP CONSTRAINT IF EXISTS fk_rails_898a13b650;
ALTER TABLE IF EXISTS ONLY public.software_license_policies DROP CONSTRAINT IF EXISTS fk_rails_87b2247ce5;
ALTER TABLE IF EXISTS ONLY public.ci_runner_namespaces DROP CONSTRAINT IF EXISTS fk_rails_8767676b7a;
ALTER TABLE IF EXISTS ONLY public.boards_epic_boards DROP CONSTRAINT IF EXISTS fk_rails_874c573878;
ALTER TABLE IF EXISTS ONLY public.packages_package_file_build_infos DROP CONSTRAINT IF EXISTS fk_rails_871ca3ae21;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_crossplane DROP CONSTRAINT IF EXISTS fk_rails_87186702df;
ALTER TABLE IF EXISTS ONLY public.merge_request_diff_details DROP CONSTRAINT IF EXISTS fk_rails_86f4d24ecd;
ALTER TABLE IF EXISTS ONLY public.analytics_language_trend_repository_languages DROP CONSTRAINT IF EXISTS fk_rails_86cc9aef5f;
ALTER TABLE IF EXISTS ONLY public.deployment_merge_requests DROP CONSTRAINT IF EXISTS fk_rails_86a6d8bf12;
ALTER TABLE IF EXISTS ONLY public.boards_epic_user_preferences DROP CONSTRAINT IF EXISTS fk_rails_851fe1510a;
ALTER TABLE IF EXISTS ONLY public.zentao_tracker_data DROP CONSTRAINT IF EXISTS fk_rails_84efda7be0;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles DROP CONSTRAINT IF EXISTS fk_rails_83e309d69e;
ALTER TABLE IF EXISTS ONLY public.required_code_owners_sections DROP CONSTRAINT IF EXISTS fk_rails_817708cf2d;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_users DROP CONSTRAINT IF EXISTS fk_rails_80e6801803;
ALTER TABLE IF EXISTS ONLY public.clusters_kubernetes_namespaces DROP CONSTRAINT IF EXISTS fk_rails_7e7688ecaf;
ALTER TABLE IF EXISTS ONLY public.application_settings DROP CONSTRAINT IF EXISTS fk_rails_7e112a9599;
ALTER TABLE IF EXISTS ONLY public.resource_state_events DROP CONSTRAINT IF EXISTS fk_rails_7ddc5f7457;
ALTER TABLE IF EXISTS ONLY public.milestone_releases DROP CONSTRAINT IF EXISTS fk_rails_7ae0756a2d;
ALTER TABLE IF EXISTS ONLY public.operations_scopes DROP CONSTRAINT IF EXISTS fk_rails_7a9358853b;
ALTER TABLE IF EXISTS ONLY public.project_repositories DROP CONSTRAINT IF EXISTS fk_rails_7a810d4121;
ALTER TABLE IF EXISTS ONLY public.software_license_policies DROP CONSTRAINT IF EXISTS fk_rails_7a7a2a92de;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_supporting_messages DROP CONSTRAINT IF EXISTS fk_rails_79e77f6c5c;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_project_stages DROP CONSTRAINT IF EXISTS fk_rails_796a7dbc9c;
ALTER TABLE IF EXISTS ONLY public.terraform_states DROP CONSTRAINT IF EXISTS fk_rails_78f54ca485;
ALTER TABLE IF EXISTS ONLY public.ci_subscriptions_projects DROP CONSTRAINT IF EXISTS fk_rails_7871f9a97b;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_distribution_keys DROP CONSTRAINT IF EXISTS fk_rails_779438f163;
ALTER TABLE IF EXISTS ONLY public.boards_epic_user_preferences DROP CONSTRAINT IF EXISTS fk_rails_76c4e9732d;
ALTER TABLE IF EXISTS ONLY public.packages_debian_publications DROP CONSTRAINT IF EXISTS fk_rails_7668c1d606;
ALTER TABLE IF EXISTS ONLY public.pages_domain_acme_orders DROP CONSTRAINT IF EXISTS fk_rails_76581b1c16;
ALTER TABLE IF EXISTS ONLY public.x509_certificates DROP CONSTRAINT IF EXISTS fk_rails_76479fb5b4;
ALTER TABLE IF EXISTS ONLY public.resource_label_events DROP CONSTRAINT IF EXISTS fk_rails_75efb0a653;
ALTER TABLE IF EXISTS ONLY public.geo_repositories_changed_events DROP CONSTRAINT IF EXISTS fk_rails_75ec0fefcc;
ALTER TABLE IF EXISTS ONLY public.milestone_releases DROP CONSTRAINT IF EXISTS fk_rails_754f27dbfa;
ALTER TABLE IF EXISTS ONLY public.release_links DROP CONSTRAINT IF EXISTS fk_rails_753be7ae29;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_ingress DROP CONSTRAINT IF EXISTS fk_rails_753a7b41c1;
ALTER TABLE IF EXISTS ONLY public.merge_request_context_commit_diff_files DROP CONSTRAINT IF EXISTS fk_rails_74a00a1787;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles DROP CONSTRAINT IF EXISTS fk_rails_747dc64abc;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_labels DROP CONSTRAINT IF EXISTS fk_rails_7471128a8e;
ALTER TABLE IF EXISTS ONLY public.custom_emoji DROP CONSTRAINT IF EXISTS fk_rails_745925b412;
ALTER TABLE IF EXISTS ONLY public.slack_integrations DROP CONSTRAINT IF EXISTS fk_rails_73db19721a;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_requests DROP CONSTRAINT IF EXISTS fk_rails_72c87c8eb6;
ALTER TABLE IF EXISTS ONLY public.vulnerability_historical_statistics DROP CONSTRAINT IF EXISTS fk_rails_72b73ed023;
ALTER TABLE IF EXISTS ONLY public.dast_scanner_profiles DROP CONSTRAINT IF EXISTS fk_rails_72a8ba7141;
ALTER TABLE IF EXISTS ONLY public.security_findings DROP CONSTRAINT IF EXISTS fk_rails_729b763a54;
ALTER TABLE IF EXISTS ONLY public.ci_pending_builds DROP CONSTRAINT IF EXISTS fk_rails_725a2644a3;
ALTER TABLE IF EXISTS ONLY public.project_custom_attributes DROP CONSTRAINT IF EXISTS fk_rails_719c3dccc5;
ALTER TABLE IF EXISTS ONLY public.list_user_preferences DROP CONSTRAINT IF EXISTS fk_rails_70b2ef5ce2;
ALTER TABLE IF EXISTS ONLY public.ci_builds_runner_session DROP CONSTRAINT IF EXISTS fk_rails_70707857d3;
ALTER TABLE IF EXISTS ONLY public.dast_sites DROP CONSTRAINT IF EXISTS fk_rails_6febb6ea9c;
ALTER TABLE IF EXISTS ONLY public.users_security_dashboard_projects DROP CONSTRAINT IF EXISTS fk_rails_6f6cf8e66e;
ALTER TABLE IF EXISTS ONLY public.project_compliance_framework_settings DROP CONSTRAINT IF EXISTS fk_rails_6f5294f16c;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_assets DROP CONSTRAINT IF EXISTS fk_rails_6edbbecba4;
ALTER TABLE IF EXISTS ONLY public.term_agreements DROP CONSTRAINT IF EXISTS fk_rails_6ea6520e4a;
ALTER TABLE IF EXISTS ONLY public.prometheus_alerts DROP CONSTRAINT IF EXISTS fk_rails_6d9b283465;
ALTER TABLE IF EXISTS ONLY public.error_tracking_errors DROP CONSTRAINT IF EXISTS fk_rails_6b41f837ba;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flags_issues DROP CONSTRAINT IF EXISTS fk_rails_6a8856ca4f;
ALTER TABLE IF EXISTS ONLY public.plan_limits DROP CONSTRAINT IF EXISTS fk_rails_69f8b6184f;
ALTER TABLE IF EXISTS ONLY public.ci_job_token_project_scope_links DROP CONSTRAINT IF EXISTS fk_rails_6904b38465;
ALTER TABLE IF EXISTS ONLY public.geo_hashed_storage_migrated_events DROP CONSTRAINT IF EXISTS fk_rails_687ed7d7c5;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_headers DROP CONSTRAINT IF EXISTS fk_rails_683b8e000c;
ALTER TABLE IF EXISTS ONLY public.resource_iteration_events DROP CONSTRAINT IF EXISTS fk_rails_6830c13ac1;
ALTER TABLE IF EXISTS ONLY public.vulnerability_findings_remediations DROP CONSTRAINT IF EXISTS fk_rails_681c85ae0f;
ALTER TABLE IF EXISTS ONLY public.jira_imports DROP CONSTRAINT IF EXISTS fk_rails_675d38c03b;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_project_value_streams DROP CONSTRAINT IF EXISTS fk_rails_669f4ba293;
ALTER TABLE IF EXISTS ONLY public.namespace_admin_notes DROP CONSTRAINT IF EXISTS fk_rails_666166ea7b;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flags_clients DROP CONSTRAINT IF EXISTS fk_rails_6650ed902c;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_approved_approvers DROP CONSTRAINT IF EXISTS fk_rails_6577725edb;
ALTER TABLE IF EXISTS ONLY public.design_management_versions DROP CONSTRAINT IF EXISTS fk_rails_6574200d99;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_protected_branches DROP CONSTRAINT IF EXISTS fk_rails_65203aa786;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_chat_data DROP CONSTRAINT IF EXISTS fk_rails_64ebfab6b3;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rule_sources DROP CONSTRAINT IF EXISTS fk_rails_64e8ed3c7e;
ALTER TABLE IF EXISTS ONLY public.board_group_recent_visits DROP CONSTRAINT IF EXISTS fk_rails_64bfc19bc5;
ALTER TABLE IF EXISTS ONLY public.ci_sources_projects DROP CONSTRAINT IF EXISTS fk_rails_64b6855cbc;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flags DROP CONSTRAINT IF EXISTS fk_rails_648e241be7;
ALTER TABLE IF EXISTS ONLY public.reviews DROP CONSTRAINT IF EXISTS fk_rails_64798be025;
ALTER TABLE IF EXISTS ONLY public.group_deploy_tokens DROP CONSTRAINT IF EXISTS fk_rails_6477b01f6b;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrence_pipelines DROP CONSTRAINT IF EXISTS fk_rails_6421e35d7d;
ALTER TABLE IF EXISTS ONLY public.jira_imports DROP CONSTRAINT IF EXISTS fk_rails_63cbe52ada;
ALTER TABLE IF EXISTS ONLY public.evidences DROP CONSTRAINT IF EXISTS fk_rails_6388b435a6;
ALTER TABLE IF EXISTS ONLY public.deployment_clusters DROP CONSTRAINT IF EXISTS fk_rails_6359a164df;
ALTER TABLE IF EXISTS ONLY public.status_page_published_incidents DROP CONSTRAINT IF EXISTS fk_rails_61e5493940;
ALTER TABLE IF EXISTS ONLY public.group_deploy_tokens DROP CONSTRAINT IF EXISTS fk_rails_61a572b41a;
ALTER TABLE IF EXISTS ONLY public.dependency_proxy_group_settings DROP CONSTRAINT IF EXISTS fk_rails_616ddd680a;
ALTER TABLE IF EXISTS ONLY public.user_highest_roles DROP CONSTRAINT IF EXISTS fk_rails_60f6c325a6;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_participants DROP CONSTRAINT IF EXISTS fk_rails_5fe86ea341;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules DROP CONSTRAINT IF EXISTS fk_rails_5fb4dd100b;
ALTER TABLE IF EXISTS ONLY public.resource_weight_events DROP CONSTRAINT IF EXISTS fk_rails_5eb5cb92a1;
ALTER TABLE IF EXISTS ONLY public.epic_issues DROP CONSTRAINT IF EXISTS fk_rails_5d942936b4;
ALTER TABLE IF EXISTS ONLY public.ci_running_builds DROP CONSTRAINT IF EXISTS fk_rails_5ca491d360;
ALTER TABLE IF EXISTS ONLY public.reviews DROP CONSTRAINT IF EXISTS fk_rails_5ca11d8c31;
ALTER TABLE IF EXISTS ONLY public.vulnerability_scanners DROP CONSTRAINT IF EXISTS fk_rails_5c9d42a221;
ALTER TABLE IF EXISTS ONLY public.insights DROP CONSTRAINT IF EXISTS fk_rails_5c4391f60a;
ALTER TABLE IF EXISTS ONLY public.cluster_providers_gcp DROP CONSTRAINT IF EXISTS fk_rails_5c2c3bc814;
ALTER TABLE IF EXISTS ONLY public.protected_branch_unprotect_access_levels DROP CONSTRAINT IF EXISTS fk_rails_5be1abfc25;
ALTER TABLE IF EXISTS ONLY public.protected_environment_deploy_access_levels DROP CONSTRAINT IF EXISTS fk_rails_5b9f6970fe;
ALTER TABLE IF EXISTS ONLY public.namespace_limits DROP CONSTRAINT IF EXISTS fk_rails_5b3f2bc334;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_groups DROP CONSTRAINT IF EXISTS fk_rails_5b2ecf6139;
ALTER TABLE IF EXISTS ONLY public.resource_label_events DROP CONSTRAINT IF EXISTS fk_rails_5ac1d2fc24;
ALTER TABLE IF EXISTS ONLY public.badges DROP CONSTRAINT IF EXISTS fk_rails_5a7c055bdc;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_group_stages DROP CONSTRAINT IF EXISTS fk_rails_5a22f40223;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_cilium DROP CONSTRAINT IF EXISTS fk_rails_59dc12eea6;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_architectures DROP CONSTRAINT IF EXISTS fk_rails_5808663adf;
ALTER TABLE IF EXISTS ONLY public.merge_request_assignees DROP CONSTRAINT IF EXISTS fk_rails_579d375628;
ALTER TABLE IF EXISTS ONLY public.issue_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_57581fda73;
ALTER TABLE IF EXISTS ONLY public.experiment_users DROP CONSTRAINT IF EXISTS fk_rails_56d4708b4a;
ALTER TABLE IF EXISTS ONLY public.group_deploy_keys DROP CONSTRAINT IF EXISTS fk_rails_5682fc07f8;
ALTER TABLE IF EXISTS ONLY public.issuable_metric_images DROP CONSTRAINT IF EXISTS fk_rails_56417a5a7f;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_knative DROP CONSTRAINT IF EXISTS fk_rails_54fc91e0a0;
ALTER TABLE IF EXISTS ONLY public.geo_node_namespace_links DROP CONSTRAINT IF EXISTS fk_rails_546bf08d3e;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_group_value_streams DROP CONSTRAINT IF EXISTS fk_rails_540627381a;
ALTER TABLE IF EXISTS ONLY public.x509_commit_signatures DROP CONSTRAINT IF EXISTS fk_rails_53fe41188f;
ALTER TABLE IF EXISTS ONLY public.bulk_import_configurations DROP CONSTRAINT IF EXISTS fk_rails_536b96bff1;
ALTER TABLE IF EXISTS ONLY public.project_repository_storage_moves DROP CONSTRAINT IF EXISTS fk_rails_5106dbd44a;
ALTER TABLE IF EXISTS ONLY public.ci_project_monthly_usages DROP CONSTRAINT IF EXISTS fk_rails_508bcd4aa6;
ALTER TABLE IF EXISTS ONLY public.status_page_settings DROP CONSTRAINT IF EXISTS fk_rails_506e5ba391;
ALTER TABLE IF EXISTS ONLY public.resource_iteration_events DROP CONSTRAINT IF EXISTS fk_rails_501fa15d69;
ALTER TABLE IF EXISTS ONLY public.merge_request_diff_files DROP CONSTRAINT IF EXISTS fk_rails_501aa0a391;
ALTER TABLE IF EXISTS ONLY public.packages_debian_publications DROP CONSTRAINT IF EXISTS fk_rails_4fc8ebd03e;
ALTER TABLE IF EXISTS ONLY public.security_scans DROP CONSTRAINT IF EXISTS fk_rails_4ef1e6b4c6;
ALTER TABLE IF EXISTS ONLY public.aws_roles DROP CONSTRAINT IF EXISTS fk_rails_4ed56f4720;
ALTER TABLE IF EXISTS ONLY public.geo_repository_renamed_events DROP CONSTRAINT IF EXISTS fk_rails_4e6524febb;
ALTER TABLE IF EXISTS ONLY public.deployment_clusters DROP CONSTRAINT IF EXISTS fk_rails_4e6243e120;
ALTER TABLE IF EXISTS ONLY public.snippet_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_4d3f96b2cb;
ALTER TABLE IF EXISTS ONLY public.scim_identities DROP CONSTRAINT IF EXISTS fk_rails_4d2056ebd9;
ALTER TABLE IF EXISTS ONLY public.prometheus_metrics DROP CONSTRAINT IF EXISTS fk_rails_4c8957a707;
ALTER TABLE IF EXISTS ONLY public.project_metrics_settings DROP CONSTRAINT IF EXISTS fk_rails_4c6037ee4f;
ALTER TABLE IF EXISTS ONLY public.issue_metrics DROP CONSTRAINT IF EXISTS fk_rails_4bb543d85d;
ALTER TABLE IF EXISTS ONLY public.design_management_designs DROP CONSTRAINT IF EXISTS fk_rails_4bb1073360;
ALTER TABLE IF EXISTS ONLY public.snippet_repository_storage_moves DROP CONSTRAINT IF EXISTS fk_rails_4b950f5b94;
ALTER TABLE IF EXISTS ONLY public.group_deletion_schedules DROP CONSTRAINT IF EXISTS fk_rails_4b8c694a6c;
ALTER TABLE IF EXISTS ONLY public.ci_job_token_project_scope_links DROP CONSTRAINT IF EXISTS fk_rails_4b2ee3290b;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_artifacts DROP CONSTRAINT IF EXISTS fk_rails_4a70390ca6;
ALTER TABLE IF EXISTS ONLY public.upcoming_reconciliations DROP CONSTRAINT IF EXISTS fk_rails_497b4938ac;
ALTER TABLE IF EXISTS ONLY public.ci_pending_builds DROP CONSTRAINT IF EXISTS fk_rails_480669c3b3;
ALTER TABLE IF EXISTS ONLY public.user_custom_attributes DROP CONSTRAINT IF EXISTS fk_rails_47b91868a8;
ALTER TABLE IF EXISTS ONLY public.vulnerability_feedback DROP CONSTRAINT IF EXISTS fk_rails_472f69b043;
ALTER TABLE IF EXISTS ONLY public.smartcard_identities DROP CONSTRAINT IF EXISTS fk_rails_4689f889a9;
ALTER TABLE IF EXISTS ONLY public.prometheus_alert_events DROP CONSTRAINT IF EXISTS fk_rails_4675865839;
ALTER TABLE IF EXISTS ONLY public.protected_environment_deploy_access_levels DROP CONSTRAINT IF EXISTS fk_rails_45cc02a931;
ALTER TABLE IF EXISTS ONLY public.merge_requests_closing_issues DROP CONSTRAINT IF EXISTS fk_rails_458eda8667;
ALTER TABLE IF EXISTS ONLY public.project_auto_devops DROP CONSTRAINT IF EXISTS fk_rails_45436b12b2;
ALTER TABLE IF EXISTS ONLY public.packages_dependency_links DROP CONSTRAINT IF EXISTS fk_rails_4437bf4070;
ALTER TABLE IF EXISTS ONLY public.merge_request_assignees DROP CONSTRAINT IF EXISTS fk_rails_443443ce6f;
ALTER TABLE IF EXISTS ONLY public.dast_site_profile_secret_variables DROP CONSTRAINT IF EXISTS fk_rails_43e2897950;
ALTER TABLE IF EXISTS ONLY public.lfs_file_locks DROP CONSTRAINT IF EXISTS fk_rails_43df7a0412;
ALTER TABLE IF EXISTS ONLY public.operations_strategies_user_lists DROP CONSTRAINT IF EXISTS fk_rails_43241e8d29;
ALTER TABLE IF EXISTS ONLY public.batched_background_migration_jobs DROP CONSTRAINT IF EXISTS fk_rails_432153b86d;
ALTER TABLE IF EXISTS ONLY public.ci_resources DROP CONSTRAINT IF EXISTS fk_rails_430336af2d;
ALTER TABLE IF EXISTS ONLY public.security_orchestration_policy_configurations DROP CONSTRAINT IF EXISTS fk_rails_42ed6c25ec;
ALTER TABLE IF EXISTS ONLY public.ci_refs DROP CONSTRAINT IF EXISTS fk_rails_4249db8cc3;
ALTER TABLE IF EXISTS ONLY public.epic_issues DROP CONSTRAINT IF EXISTS fk_rails_4209981af6;
ALTER TABLE IF EXISTS ONLY public.geo_node_namespace_links DROP CONSTRAINT IF EXISTS fk_rails_41ff5fb854;
ALTER TABLE IF EXISTS ONLY public.clusters_kubernetes_namespaces DROP CONSTRAINT IF EXISTS fk_rails_40cc7ccbc3;
ALTER TABLE IF EXISTS ONLY public.description_versions DROP CONSTRAINT IF EXISTS fk_rails_3ff658220b;
ALTER TABLE IF EXISTS ONLY public.board_assignees DROP CONSTRAINT IF EXISTS fk_rails_3f6f926bd5;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_project_stages DROP CONSTRAINT IF EXISTS fk_rails_3ec9fd7912;
ALTER TABLE IF EXISTS ONLY public.epic_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_3eaf4d88cc;
ALTER TABLE IF EXISTS ONLY public.packages_package_file_build_infos DROP CONSTRAINT IF EXISTS fk_rails_3e3f630188;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_helm DROP CONSTRAINT IF EXISTS fk_rails_3e2b1c06bc;
ALTER TABLE IF EXISTS ONLY public.snippet_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_3e00189191;
ALTER TABLE IF EXISTS ONLY public.note_diff_files DROP CONSTRAINT IF EXISTS fk_rails_3d66047aeb;
ALTER TABLE IF EXISTS ONLY public.cluster_groups DROP CONSTRAINT IF EXISTS fk_rails_3d28377556;
ALTER TABLE IF EXISTS ONLY public.ci_build_needs DROP CONSTRAINT IF EXISTS fk_rails_3cf221d4ed;
ALTER TABLE IF EXISTS ONLY public.chat_teams DROP CONSTRAINT IF EXISTS fk_rails_3b543909cb;
ALTER TABLE IF EXISTS ONLY public.self_managed_prometheus_alert_events DROP CONSTRAINT IF EXISTS fk_rails_39d83d1b65;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_groups DROP CONSTRAINT IF EXISTS fk_rails_396841e79e;
ALTER TABLE IF EXISTS ONLY public.self_managed_prometheus_alert_events DROP CONSTRAINT IF EXISTS fk_rails_3936dadc62;
ALTER TABLE IF EXISTS ONLY public.namespace_settings DROP CONSTRAINT IF EXISTS fk_rails_3896d4fae5;
ALTER TABLE IF EXISTS ONLY public.issue_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_3861d9fefa;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_distribution_keys DROP CONSTRAINT IF EXISTS fk_rails_3834a11264;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_project_stages DROP CONSTRAINT IF EXISTS fk_rails_3829e49b66;
ALTER TABLE IF EXISTS ONLY public.group_merge_request_approval_settings DROP CONSTRAINT IF EXISTS fk_rails_37b6b4cdba;
ALTER TABLE IF EXISTS ONLY public.merge_request_reviewers DROP CONSTRAINT IF EXISTS fk_rails_3704a66140;
ALTER TABLE IF EXISTS ONLY public.merge_request_blocks DROP CONSTRAINT IF EXISTS fk_rails_364d4bea8b;
ALTER TABLE IF EXISTS ONLY public.board_labels DROP CONSTRAINT IF EXISTS fk_rails_362b0600a3;
ALTER TABLE IF EXISTS ONLY public.ci_job_token_project_scope_links DROP CONSTRAINT IF EXISTS fk_rails_35f7f506ce;
ALTER TABLE IF EXISTS ONLY public.wiki_page_slugs DROP CONSTRAINT IF EXISTS fk_rails_358b46be14;
ALTER TABLE IF EXISTS ONLY public.metrics_dashboard_annotations DROP CONSTRAINT IF EXISTS fk_rails_345ab51043;
ALTER TABLE IF EXISTS ONLY public.requirements DROP CONSTRAINT IF EXISTS fk_rails_33fed8aa4e;
ALTER TABLE IF EXISTS ONLY public.suggestions DROP CONSTRAINT IF EXISTS fk_rails_33b03a535c;
ALTER TABLE IF EXISTS ONLY public.merge_request_metrics DROP CONSTRAINT IF EXISTS fk_rails_33ae169d48;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_jupyter DROP CONSTRAINT IF EXISTS fk_rails_331f0aff78;
ALTER TABLE IF EXISTS ONLY public.container_repositories DROP CONSTRAINT IF EXISTS fk_rails_32f7bf5aad;
ALTER TABLE IF EXISTS ONLY public.zoom_meetings DROP CONSTRAINT IF EXISTS fk_rails_3263f29616;
ALTER TABLE IF EXISTS ONLY public.group_import_states DROP CONSTRAINT IF EXISTS fk_rails_31c3e0503a;
ALTER TABLE IF EXISTS ONLY public.merge_request_diff_commits DROP CONSTRAINT IF EXISTS fk_rails_316aaceda3;
ALTER TABLE IF EXISTS ONLY public.resource_state_events DROP CONSTRAINT IF EXISTS fk_rails_3112bba7dc;
ALTER TABLE IF EXISTS ONLY public.saml_providers DROP CONSTRAINT IF EXISTS fk_rails_306d459be7;
ALTER TABLE IF EXISTS ONLY public.issuable_severities DROP CONSTRAINT IF EXISTS fk_rails_2fbb74ad6d;
ALTER TABLE IF EXISTS ONLY public.protected_branch_unprotect_access_levels DROP CONSTRAINT IF EXISTS fk_rails_2d2aba21ef;
ALTER TABLE IF EXISTS ONLY public.onboarding_progresses DROP CONSTRAINT IF EXISTS fk_rails_2ccfd420cc;
ALTER TABLE IF EXISTS ONLY public.error_tracking_error_events DROP CONSTRAINT IF EXISTS fk_rails_2c096c0076;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_labels DROP CONSTRAINT IF EXISTS fk_rails_2bedeb8799;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_component_files DROP CONSTRAINT IF EXISTS fk_rails_2b8992dd83;
ALTER TABLE IF EXISTS ONLY public.geo_repository_updated_events DROP CONSTRAINT IF EXISTS fk_rails_2b70854c08;
ALTER TABLE IF EXISTS ONLY public.group_group_links DROP CONSTRAINT IF EXISTS fk_rails_2b2353ca49;
ALTER TABLE IF EXISTS ONLY public.draft_notes DROP CONSTRAINT IF EXISTS fk_rails_2a8dac9901;
ALTER TABLE IF EXISTS ONLY public.reviews DROP CONSTRAINT IF EXISTS fk_rails_29e6f859c4;
ALTER TABLE IF EXISTS ONLY public.resource_state_events DROP CONSTRAINT IF EXISTS fk_rails_29af06892a;
ALTER TABLE IF EXISTS ONLY public.incident_management_issuable_escalation_statuses DROP CONSTRAINT IF EXISTS fk_rails_29abffe3b9;
ALTER TABLE IF EXISTS ONLY public.vulnerability_findings_remediations DROP CONSTRAINT IF EXISTS fk_rails_28a8d0cf93;
ALTER TABLE IF EXISTS ONLY public.dast_site_validations DROP CONSTRAINT IF EXISTS fk_rails_285c617324;
ALTER TABLE IF EXISTS ONLY public.user_credit_card_validations DROP CONSTRAINT IF EXISTS fk_rails_27ebc03cbf;
ALTER TABLE IF EXISTS ONLY public.project_alerting_settings DROP CONSTRAINT IF EXISTS fk_rails_27a84b407d;
ALTER TABLE IF EXISTS ONLY public.lfs_file_locks DROP CONSTRAINT IF EXISTS fk_rails_27a1d98fa8;
ALTER TABLE IF EXISTS ONLY public.group_wiki_repositories DROP CONSTRAINT IF EXISTS fk_rails_26f867598c;
ALTER TABLE IF EXISTS ONLY public.boards_epic_user_preferences DROP CONSTRAINT IF EXISTS fk_rails_268c57d62d;
ALTER TABLE IF EXISTS ONLY public.cluster_agents DROP CONSTRAINT IF EXISTS fk_rails_25e9fc2d5d;
ALTER TABLE IF EXISTS ONLY public.analytics_devops_adoption_snapshots DROP CONSTRAINT IF EXISTS fk_rails_25da9a92c0;
ALTER TABLE IF EXISTS ONLY public.ci_unit_test_failures DROP CONSTRAINT IF EXISTS fk_rails_259da3e79c;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_rotations DROP CONSTRAINT IF EXISTS fk_rails_256e0bc604;
ALTER TABLE IF EXISTS ONLY public.group_custom_attributes DROP CONSTRAINT IF EXISTS fk_rails_246e0db83a;
ALTER TABLE IF EXISTS ONLY public.dast_profiles DROP CONSTRAINT IF EXISTS fk_rails_23cae5abe1;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_responses DROP CONSTRAINT IF EXISTS fk_rails_2390a09723;
ALTER TABLE IF EXISTS ONLY public.saml_group_links DROP CONSTRAINT IF EXISTS fk_rails_22e312c530;
ALTER TABLE IF EXISTS ONLY public.service_desk_settings DROP CONSTRAINT IF EXISTS fk_rails_223a296a85;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_runners DROP CONSTRAINT IF EXISTS fk_rails_22388594e9;
ALTER TABLE IF EXISTS ONLY public.users_ops_dashboard_projects DROP CONSTRAINT IF EXISTS fk_rails_220a0562db;
ALTER TABLE IF EXISTS ONLY public.user_statuses DROP CONSTRAINT IF EXISTS fk_rails_2178592333;
ALTER TABLE IF EXISTS ONLY public.work_item_types DROP CONSTRAINT IF EXISTS fk_rails_20f694a960;
ALTER TABLE IF EXISTS ONLY public.vulnerability_feedback DROP CONSTRAINT IF EXISTS fk_rails_20976e6fd9;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_groups DROP CONSTRAINT IF EXISTS fk_rails_2020a7124a;
ALTER TABLE IF EXISTS ONLY public.boards_epic_lists DROP CONSTRAINT IF EXISTS fk_rails_1fe6b54909;
ALTER TABLE IF EXISTS ONLY public.dora_daily_metrics DROP CONSTRAINT IF EXISTS fk_rails_1fd07aff6f;
ALTER TABLE IF EXISTS ONLY public.external_status_checks DROP CONSTRAINT IF EXISTS fk_rails_1f5a8aa809;
ALTER TABLE IF EXISTS ONLY public.geo_repository_created_events DROP CONSTRAINT IF EXISTS fk_rails_1f49e46a61;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_positions DROP CONSTRAINT IF EXISTS fk_rails_1ecfd9f2de;
ALTER TABLE IF EXISTS ONLY public.packages_tags DROP CONSTRAINT IF EXISTS fk_rails_1dfc868911;
ALTER TABLE IF EXISTS ONLY public.project_ci_feature_usages DROP CONSTRAINT IF EXISTS fk_rails_1deedbf64b;
ALTER TABLE IF EXISTS ONLY public.approver_groups DROP CONSTRAINT IF EXISTS fk_rails_1cdcbd7723;
ALTER TABLE IF EXISTS ONLY public.epic_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_1c65976a49;
ALTER TABLE IF EXISTS ONLY public.board_assignees DROP CONSTRAINT IF EXISTS fk_rails_1c0ff59e82;
ALTER TABLE IF EXISTS ONLY public.issuable_slas DROP CONSTRAINT IF EXISTS fk_rails_1b8768cd63;
ALTER TABLE IF EXISTS ONLY public.packages_debian_file_metadata DROP CONSTRAINT IF EXISTS fk_rails_1ae85be112;
ALTER TABLE IF EXISTS ONLY public.vulnerability_user_mentions DROP CONSTRAINT IF EXISTS fk_rails_1a41c485cd;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_schedules DROP CONSTRAINT IF EXISTS fk_rails_19e83fdd65;
ALTER TABLE IF EXISTS ONLY public.gpg_signatures DROP CONSTRAINT IF EXISTS fk_rails_19d4f1c6f9;
ALTER TABLE IF EXISTS ONLY public.open_project_tracker_data DROP CONSTRAINT IF EXISTS fk_rails_1987546e48;
ALTER TABLE IF EXISTS ONLY public.group_wiki_repositories DROP CONSTRAINT IF EXISTS fk_rails_19755e374b;
ALTER TABLE IF EXISTS ONLY public.bulk_import_failures DROP CONSTRAINT IF EXISTS fk_rails_1964240b8c;
ALTER TABLE IF EXISTS ONLY public.grafana_integrations DROP CONSTRAINT IF EXISTS fk_rails_18d0e2b564;
ALTER TABLE IF EXISTS ONLY public.cluster_providers_aws DROP CONSTRAINT IF EXISTS fk_rails_18983d9ea4;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_jupyter DROP CONSTRAINT IF EXISTS fk_rails_17df21c98c;
ALTER TABLE IF EXISTS ONLY public.incident_management_escalation_rules DROP CONSTRAINT IF EXISTS fk_rails_17dbea07a6;
ALTER TABLE IF EXISTS ONLY public.security_orchestration_policy_rule_schedules DROP CONSTRAINT IF EXISTS fk_rails_17ade83f17;
ALTER TABLE IF EXISTS ONLY public.packages_build_infos DROP CONSTRAINT IF EXISTS fk_rails_17a9a0dffc;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_project_stages DROP CONSTRAINT IF EXISTS fk_rails_1722574860;
ALTER TABLE IF EXISTS ONLY public.project_deploy_tokens DROP CONSTRAINT IF EXISTS fk_rails_170e03cbaf;
ALTER TABLE IF EXISTS ONLY public.ci_build_report_results DROP CONSTRAINT IF EXISTS fk_rails_16cb1ff064;
ALTER TABLE IF EXISTS ONLY public.users_security_dashboard_projects DROP CONSTRAINT IF EXISTS fk_rails_150cd5682c;
ALTER TABLE IF EXISTS ONLY public.diff_note_positions DROP CONSTRAINT IF EXISTS fk_rails_13c7212859;
ALTER TABLE IF EXISTS ONLY public.bulk_imports DROP CONSTRAINT IF EXISTS fk_rails_130a09357d;
ALTER TABLE IF EXISTS ONLY public.user_details DROP CONSTRAINT IF EXISTS fk_rails_12e0b3043d;
ALTER TABLE IF EXISTS ONLY public.project_statistics DROP CONSTRAINT IF EXISTS fk_rails_12c471002f;
ALTER TABLE IF EXISTS ONLY public.description_versions DROP CONSTRAINT IF EXISTS fk_rails_12b144011c;
ALTER TABLE IF EXISTS ONLY public.project_authorizations DROP CONSTRAINT IF EXISTS fk_rails_11e7aa3ed9;
ALTER TABLE IF EXISTS ONLY public.gpg_signatures DROP CONSTRAINT IF EXISTS fk_rails_11ae8cb9a7;
ALTER TABLE IF EXISTS ONLY public.zoom_meetings DROP CONSTRAINT IF EXISTS fk_rails_1190f0e0fa;
ALTER TABLE IF EXISTS ONLY public.ci_sources_projects DROP CONSTRAINT IF EXISTS fk_rails_10a1eb379a;
ALTER TABLE IF EXISTS ONLY public.prometheus_alert_events DROP CONSTRAINT IF EXISTS fk_rails_106f901176;
ALTER TABLE IF EXISTS ONLY public.vulnerability_exports DROP CONSTRAINT IF EXISTS fk_rails_1019162882;
ALTER TABLE IF EXISTS ONLY public.ci_build_trace_chunks DROP CONSTRAINT IF EXISTS fk_rails_1013b761f2;
ALTER TABLE IF EXISTS ONLY public.merge_request_context_commits DROP CONSTRAINT IF EXISTS fk_rails_0fe0039f60;
ALTER TABLE IF EXISTS ONLY public.issue_email_participants DROP CONSTRAINT IF EXISTS fk_rails_0fdfd8b811;
ALTER TABLE IF EXISTS ONLY public.boards_epic_lists DROP CONSTRAINT IF EXISTS fk_rails_0f9c7f646f;
ALTER TABLE IF EXISTS ONLY public.project_authorizations DROP CONSTRAINT IF EXISTS fk_rails_0f84bb11f3;
ALTER TABLE IF EXISTS ONLY public.user_synced_attributes_metadata DROP CONSTRAINT IF EXISTS fk_rails_0f4aa0981f;
ALTER TABLE IF EXISTS ONLY public.project_repository_states DROP CONSTRAINT IF EXISTS fk_rails_0f2298ca8a;
ALTER TABLE IF EXISTS ONLY public.geo_node_statuses DROP CONSTRAINT IF EXISTS fk_rails_0ecc699c2a;
ALTER TABLE IF EXISTS ONLY public.operations_user_lists DROP CONSTRAINT IF EXISTS fk_rails_0c716e079b;
ALTER TABLE IF EXISTS ONLY public.ci_build_pending_states DROP CONSTRAINT IF EXISTS fk_rails_0bbbfeaf9d;
ALTER TABLE IF EXISTS ONLY public.packages_conan_file_metadata DROP CONSTRAINT IF EXISTS fk_rails_0afabd9328;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_distributions DROP CONSTRAINT IF EXISTS fk_rails_0adf75c347;
ALTER TABLE IF EXISTS ONLY public.project_deploy_tokens DROP CONSTRAINT IF EXISTS fk_rails_0aca134388;
ALTER TABLE IF EXISTS ONLY public.security_orchestration_policy_configurations DROP CONSTRAINT IF EXISTS fk_rails_0a22dcd52d;
ALTER TABLE IF EXISTS ONLY public.trending_projects DROP CONSTRAINT IF EXISTS fk_rails_09feecd872;
ALTER TABLE IF EXISTS ONLY public.ci_subscriptions_projects DROP CONSTRAINT IF EXISTS fk_rails_0818751483;
ALTER TABLE IF EXISTS ONLY public.ci_daily_build_group_report_results DROP CONSTRAINT IF EXISTS fk_rails_0667f7608c;
ALTER TABLE IF EXISTS ONLY public.ci_build_report_results DROP CONSTRAINT IF EXISTS fk_rails_056d298d48;
ALTER TABLE IF EXISTS ONLY public.terraform_state_versions DROP CONSTRAINT IF EXISTS fk_rails_04f176e239;
ALTER TABLE IF EXISTS ONLY public.ip_restrictions DROP CONSTRAINT IF EXISTS fk_rails_04a93778d5;
ALTER TABLE IF EXISTS ONLY public.events DROP CONSTRAINT IF EXISTS fk_rails_0434b48643;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_participants DROP CONSTRAINT IF EXISTS fk_rails_032b12996a;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_elastic_stacks DROP CONSTRAINT IF EXISTS fk_rails_026f219f46;
ALTER TABLE IF EXISTS ONLY public.namespace_statistics DROP CONSTRAINT IF EXISTS fk_rails_0062050394;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules DROP CONSTRAINT IF EXISTS fk_rails_004ce82224;
ALTER TABLE IF EXISTS ONLY public.protected_tag_create_access_levels DROP CONSTRAINT IF EXISTS fk_protected_tag_create_access_levels_user_id;
ALTER TABLE IF EXISTS ONLY public.protected_branch_push_access_levels DROP CONSTRAINT IF EXISTS fk_protected_branch_push_access_levels_user_id;
ALTER TABLE IF EXISTS ONLY public.protected_branch_merge_access_levels DROP CONSTRAINT IF EXISTS fk_protected_branch_merge_access_levels_user_id;
ALTER TABLE IF EXISTS ONLY public.projects DROP CONSTRAINT IF EXISTS fk_projects_namespace_id;
ALTER TABLE IF EXISTS ONLY public.project_settings DROP CONSTRAINT IF EXISTS fk_project_settings_push_rule_id;
ALTER TABLE IF EXISTS ONLY public.personal_access_tokens DROP CONSTRAINT IF EXISTS fk_personal_access_tokens_user_id;
ALTER TABLE IF EXISTS ONLY public.path_locks DROP CONSTRAINT IF EXISTS fk_path_locks_user_id;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_geo_event_log_on_geo_event_id;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_ffed080f01;
ALTER TABLE IF EXISTS ONLY public.project_import_data DROP CONSTRAINT IF EXISTS fk_ffb9ee3a10;
ALTER TABLE IF EXISTS ONLY public.ci_pending_builds DROP CONSTRAINT IF EXISTS fk_fdc0137e4a;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_fd82eae0b9;
ALTER TABLE IF EXISTS ONLY public.ci_daily_build_group_report_results DROP CONSTRAINT IF EXISTS fk_fd1858fefd;
ALTER TABLE IF EXISTS ONLY public.vulnerability_remediations DROP CONSTRAINT IF EXISTS fk_fc61a535a0;
ALTER TABLE IF EXISTS ONLY public.system_note_metadata DROP CONSTRAINT IF EXISTS fk_fbd87415c9;
ALTER TABLE IF EXISTS ONLY public.ci_stages DROP CONSTRAINT IF EXISTS fk_fb57e6cc56;
ALTER TABLE IF EXISTS ONLY public.dep_ci_build_trace_section_names DROP CONSTRAINT IF EXISTS fk_f8cd72cd26;
ALTER TABLE IF EXISTS ONLY public.protected_tag_create_access_levels DROP CONSTRAINT IF EXISTS fk_f7dfda8c51;
ALTER TABLE IF EXISTS ONLY public.cluster_agents DROP CONSTRAINT IF EXISTS fk_f7d43dee13;
ALTER TABLE IF EXISTS ONLY public.boards_epic_list_user_preferences DROP CONSTRAINT IF EXISTS fk_f5f2fe5c1f;
ALTER TABLE IF EXISTS ONLY public.analytics_devops_adoption_segments DROP CONSTRAINT IF EXISTS fk_f5aa768998;
ALTER TABLE IF EXISTS ONLY public.design_management_designs_versions DROP CONSTRAINT IF EXISTS fk_f4d25ba00c;
ALTER TABLE IF EXISTS ONLY public.status_check_responses DROP CONSTRAINT IF EXISTS fk_f3953d86c6;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_variables DROP CONSTRAINT IF EXISTS fk_f29c5f4380;
ALTER TABLE IF EXISTS ONLY public.boards DROP CONSTRAINT IF EXISTS fk_f15266b5f9;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_f081aa4489;
ALTER TABLE IF EXISTS ONLY public.vulnerability_external_issue_links DROP CONSTRAINT IF EXISTS fk_f07bb8233d;
ALTER TABLE IF EXISTS ONLY public.clusters DROP CONSTRAINT IF EXISTS fk_f05c5e5a42;
ALTER TABLE IF EXISTS ONLY public.emails DROP CONSTRAINT IF EXISTS fk_emails_user_id;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_efb96ab1e2;
ALTER TABLE IF EXISTS ONLY public.events DROP CONSTRAINT IF EXISTS fk_edfd187b6f;
ALTER TABLE IF EXISTS ONLY public.application_settings DROP CONSTRAINT IF EXISTS fk_ec757bd087;
ALTER TABLE IF EXISTS ONLY public.pages_domains DROP CONSTRAINT IF EXISTS fk_ea2f6dfc6f;
ALTER TABLE IF EXISTS ONLY public.integrations DROP CONSTRAINT IF EXISTS fk_e8fe908a34;
ALTER TABLE IF EXISTS ONLY public.ci_triggers DROP CONSTRAINT IF EXISTS fk_e8e10d1964;
ALTER TABLE IF EXISTS ONLY public.vulnerability_statistics DROP CONSTRAINT IF EXISTS fk_e8b13c928f;
ALTER TABLE IF EXISTS ONLY public.application_settings DROP CONSTRAINT IF EXISTS fk_e8a145f3a7;
ALTER TABLE IF EXISTS ONLY public.sprints DROP CONSTRAINT IF EXISTS fk_e8206c9686;
ALTER TABLE IF EXISTS ONLY public.fork_networks DROP CONSTRAINT IF EXISTS fk_e7b436b2b5;
ALTER TABLE IF EXISTS ONLY public.namespaces DROP CONSTRAINT IF EXISTS fk_e7a0b20a6b;
ALTER TABLE IF EXISTS ONLY public.csv_issue_imports DROP CONSTRAINT IF EXISTS fk_e71c0ae362;
ALTER TABLE IF EXISTS ONLY public.issue_links DROP CONSTRAINT IF EXISTS fk_e71bb44f1f;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_e719a85f8a;
ALTER TABLE IF EXISTS ONLY public.dast_scanner_profiles_builds DROP CONSTRAINT IF EXISTS fk_e4c49200f8;
ALTER TABLE IF EXISTS ONLY public.ci_triggers DROP CONSTRAINT IF EXISTS fk_e3e63f966e;
ALTER TABLE IF EXISTS ONLY public.gitlab_subscriptions DROP CONSTRAINT IF EXISTS fk_e2595d00a1;
ALTER TABLE IF EXISTS ONLY public.ci_sources_pipelines DROP CONSTRAINT IF EXISTS fk_e1bad85861;
ALTER TABLE IF EXISTS ONLY public.ci_resources DROP CONSTRAINT IF EXISTS fk_e169a8e3d5;
ALTER TABLE IF EXISTS ONLY public.experiment_subjects DROP CONSTRAINT IF EXISTS fk_dfc3e211d4;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_df75a7c8b8;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_dccd3f98fc;
ALTER TABLE IF EXISTS ONLY public.security_scans DROP CONSTRAINT IF EXISTS fk_dbc89265b9;
ALTER TABLE IF EXISTS ONLY public.project_group_links DROP CONSTRAINT IF EXISTS fk_daa8cee94c;
ALTER TABLE IF EXISTS ONLY public.label_links DROP CONSTRAINT IF EXISTS fk_d97dd08678;
ALTER TABLE IF EXISTS ONLY public.todos DROP CONSTRAINT IF EXISTS fk_d94154aa95;
ALTER TABLE IF EXISTS ONLY public.system_note_metadata DROP CONSTRAINT IF EXISTS fk_d83a918cb1;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines DROP CONSTRAINT IF EXISTS fk_d80e161c54;
ALTER TABLE IF EXISTS ONLY public.metrics_users_starred_dashboards DROP CONSTRAINT IF EXISTS fk_d76a2b9a8c;
ALTER TABLE IF EXISTS ONLY public.lists DROP CONSTRAINT IF EXISTS fk_d6cf4279f7;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_d5af95fcd9;
ALTER TABLE IF EXISTS ONLY public.ci_sources_pipelines DROP CONSTRAINT IF EXISTS fk_d4e29af7d7;
ALTER TABLE IF EXISTS ONLY public.web_hooks DROP CONSTRAINT IF EXISTS fk_d47999a98a;
ALTER TABLE IF EXISTS ONLY public.ci_builds DROP CONSTRAINT IF EXISTS fk_d3130c9a7f;
ALTER TABLE IF EXISTS ONLY public.environments DROP CONSTRAINT IF EXISTS fk_d1c8c1da6a;
ALTER TABLE IF EXISTS ONLY public.project_mirror_data DROP CONSTRAINT IF EXISTS fk_d1aad367d7;
ALTER TABLE IF EXISTS ONLY public.bulk_import_entities DROP CONSTRAINT IF EXISTS fk_d06d023c30;
ALTER TABLE IF EXISTS ONLY public.custom_emoji DROP CONSTRAINT IF EXISTS fk_custom_emoji_creator_id;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_cff7185ad2;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles_pipelines DROP CONSTRAINT IF EXISTS fk_cf05cf8fe1;
ALTER TABLE IF EXISTS ONLY public.todos DROP CONSTRAINT IF EXISTS fk_ccf0373936;
ALTER TABLE IF EXISTS ONLY public.experiment_subjects DROP CONSTRAINT IF EXISTS fk_ccc28f8ceb;
ALTER TABLE IF EXISTS ONLY public.dast_profiles_pipelines DROP CONSTRAINT IF EXISTS fk_cc206a8c13;
ALTER TABLE IF EXISTS ONLY public.external_status_checks_protected_branches DROP CONSTRAINT IF EXISTS fk_cc0dcc36d1;
ALTER TABLE IF EXISTS ONLY public.external_approval_rules_protected_branches DROP CONSTRAINT IF EXISTS fk_ca2ffb55e6;
ALTER TABLE IF EXISTS ONLY public.external_approval_rules_protected_branches DROP CONSTRAINT IF EXISTS fk_c9a037a926;
ALTER TABLE IF EXISTS ONLY public.issue_links DROP CONSTRAINT IF EXISTS fk_c900194ff2;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_c63cbf6c25;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_c4b1c1f66e;
ALTER TABLE IF EXISTS ONLY public.timelogs DROP CONSTRAINT IF EXISTS fk_c49c83dd77;
ALTER TABLE IF EXISTS ONLY public.vulnerability_exports DROP CONSTRAINT IF EXISTS fk_c3d3cb5d0f;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_project_stages DROP CONSTRAINT IF EXISTS fk_c3339bdfc9;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_c1f241c70d;
ALTER TABLE IF EXISTS ONLY public.packages_packages DROP CONSTRAINT IF EXISTS fk_c188f0dba4;
ALTER TABLE IF EXISTS ONLY public.design_management_versions DROP CONSTRAINT IF EXISTS fk_c1440b4896;
ALTER TABLE IF EXISTS ONLY public.ci_builds DROP CONSTRAINT IF EXISTS fk_befce0568a;
ALTER TABLE IF EXISTS ONLY public.packages_maven_metadata DROP CONSTRAINT IF EXISTS fk_be88aed360;
ALTER TABLE IF EXISTS ONLY public.ci_sources_pipelines DROP CONSTRAINT IF EXISTS fk_be5624bf37;
ALTER TABLE IF EXISTS ONLY public.snippets DROP CONSTRAINT IF EXISTS fk_be41fd4bb7;
ALTER TABLE IF EXISTS ONLY public.project_compliance_framework_settings DROP CONSTRAINT IF EXISTS fk_be413374a9;
ALTER TABLE IF EXISTS ONLY public.metrics_users_starred_dashboards DROP CONSTRAINT IF EXISTS fk_bd6ae32fac;
ALTER TABLE IF EXISTS ONLY public.gitlab_subscriptions DROP CONSTRAINT IF EXISTS fk_bd0c4019c3;
ALTER TABLE IF EXISTS ONLY public.deployments DROP CONSTRAINT IF EXISTS fk_b9a3851b82;
ALTER TABLE IF EXISTS ONLY public.ci_trigger_requests DROP CONSTRAINT IF EXISTS fk_b8ec8b7245;
ALTER TABLE IF EXISTS ONLY public.issue_assignees DROP CONSTRAINT IF EXISTS fk_b7d881734a;
ALTER TABLE IF EXISTS ONLY public.external_status_checks_protected_branches DROP CONSTRAINT IF EXISTS fk_b7d788e813;
ALTER TABLE IF EXISTS ONLY public.compliance_management_frameworks DROP CONSTRAINT IF EXISTS fk_b74c45b71f;
ALTER TABLE IF EXISTS ONLY public.bulk_import_entities DROP CONSTRAINT IF EXISTS fk_b69fa2b2df;
ALTER TABLE IF EXISTS ONLY public.protected_tag_create_access_levels DROP CONSTRAINT IF EXISTS fk_b4eb82fe3c;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_b37be69be6;
ALTER TABLE IF EXISTS ONLY public.project_access_tokens DROP CONSTRAINT IF EXISTS fk_b27801bfbf;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_b1de915a15;
ALTER TABLE IF EXISTS ONLY public.fork_network_members DROP CONSTRAINT IF EXISTS fk_b01280dae4;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_group_stages DROP CONSTRAINT IF EXISTS fk_analytics_cycle_analytics_group_stages_group_value_stream_id;
ALTER TABLE IF EXISTS ONLY public.dast_profile_schedules DROP CONSTRAINT IF EXISTS fk_aef03d62e5;
ALTER TABLE IF EXISTS ONLY public.merge_request_metrics DROP CONSTRAINT IF EXISTS fk_ae440388cc;
ALTER TABLE IF EXISTS ONLY public.ci_variables DROP CONSTRAINT IF EXISTS fk_ada5eb64b3;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_ad525e1f87;
ALTER TABLE IF EXISTS ONLY public.ci_sources_pipelines DROP CONSTRAINT IF EXISTS fk_acd9737679;
ALTER TABLE IF EXISTS ONLY public.dep_ci_build_trace_sections DROP CONSTRAINT IF EXISTS fk_ab7c104e26;
ALTER TABLE IF EXISTS ONLY public.identities DROP CONSTRAINT IF EXISTS fk_aade90f0fc;
ALTER TABLE IF EXISTS ONLY public.alert_management_alerts DROP CONSTRAINT IF EXISTS fk_aad61aedca;
ALTER TABLE IF EXISTS ONLY public.dast_profiles DROP CONSTRAINT IF EXISTS fk_aa76ef30e9;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_aa5798e761;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_a6963e8447;
ALTER TABLE IF EXISTS ONLY public.dast_profiles_pipelines DROP CONSTRAINT IF EXISTS fk_a60cad829d;
ALTER TABLE IF EXISTS ONLY public.lfs_objects_projects DROP CONSTRAINT IF EXISTS fk_a56e02279c;
ALTER TABLE IF EXISTS ONLY public.users DROP CONSTRAINT IF EXISTS fk_a4b8fefe3e;
ALTER TABLE IF EXISTS ONLY public.bulk_import_entities DROP CONSTRAINT IF EXISTS fk_a44ff95be5;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles_builds DROP CONSTRAINT IF EXISTS fk_a325505e99;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines DROP CONSTRAINT IF EXISTS fk_a23be95014;
ALTER TABLE IF EXISTS ONLY public.ci_builds DROP CONSTRAINT IF EXISTS fk_a2141b1522;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_a194299be1;
ALTER TABLE IF EXISTS ONLY public.deployment_merge_requests DROP CONSTRAINT IF EXISTS fk_a064ff4453;
ALTER TABLE IF EXISTS ONLY public.protected_branch_push_access_levels DROP CONSTRAINT IF EXISTS fk_9ffc86a3d9;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_schedules DROP CONSTRAINT IF EXISTS fk_9ea99f58d2;
ALTER TABLE IF EXISTS ONLY public.alert_management_alerts DROP CONSTRAINT IF EXISTS fk_9e49e5c2b7;
ALTER TABLE IF EXISTS ONLY public.protected_environments DROP CONSTRAINT IF EXISTS fk_9e112565b7;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_9d480c64b2;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_9c4516d665;
ALTER TABLE IF EXISTS ONLY public.milestones DROP CONSTRAINT IF EXISTS fk_9bd0a0c791;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_9b9afb1916;
ALTER TABLE IF EXISTS ONLY public.notes DROP CONSTRAINT IF EXISTS fk_99e097b079;
ALTER TABLE IF EXISTS ONLY public.protected_branch_merge_access_levels DROP CONSTRAINT IF EXISTS fk_98f3d044fe;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrences DROP CONSTRAINT IF EXISTS fk_97ffe77653;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_96b1dd429c;
ALTER TABLE IF EXISTS ONLY public.application_settings DROP CONSTRAINT IF EXISTS fk_964370041d;
ALTER TABLE IF EXISTS ONLY public.boards_epic_list_user_preferences DROP CONSTRAINT IF EXISTS fk_95eac55851;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_959d40ad0a;
ALTER TABLE IF EXISTS ONLY public.milestones DROP CONSTRAINT IF EXISTS fk_95650a40d4;
ALTER TABLE IF EXISTS ONLY public.vulnerability_feedback DROP CONSTRAINT IF EXISTS fk_94f7c8a81e;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles_builds DROP CONSTRAINT IF EXISTS fk_94e80df60e;
ALTER TABLE IF EXISTS ONLY public.todos DROP CONSTRAINT IF EXISTS fk_91d1f47b13;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_schedules DROP CONSTRAINT IF EXISTS fk_8ead60fcc4;
ALTER TABLE IF EXISTS ONLY public.protected_tags DROP CONSTRAINT IF EXISTS fk_8e4af87648;
ALTER TABLE IF EXISTS ONLY public.releases DROP CONSTRAINT IF EXISTS fk_8e4456f90f;
ALTER TABLE IF EXISTS ONLY public.bulk_import_exports DROP CONSTRAINT IF EXISTS fk_8c6f33cebe;
ALTER TABLE IF EXISTS ONLY public.protected_branch_merge_access_levels DROP CONSTRAINT IF EXISTS fk_8a3072ccb3;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_899c8f3231;
ALTER TABLE IF EXISTS ONLY public.requirements_management_test_reports DROP CONSTRAINT IF EXISTS fk_88f30752fc;
ALTER TABLE IF EXISTS ONLY public.bulk_import_entities DROP CONSTRAINT IF EXISTS fk_88c725229f;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_88b4d546ef;
ALTER TABLE IF EXISTS ONLY public.ci_builds DROP CONSTRAINT IF EXISTS fk_87f4cefcda;
ALTER TABLE IF EXISTS ONLY public.packages_package_files DROP CONSTRAINT IF EXISTS fk_86f0f182f8;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_86c84214ec;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines DROP CONSTRAINT IF EXISTS fk_86635dbd80;
ALTER TABLE IF EXISTS ONLY public.requirements DROP CONSTRAINT IF EXISTS fk_85044baef0;
ALTER TABLE IF EXISTS ONLY public.merge_request_diffs DROP CONSTRAINT IF EXISTS fk_8483f3258f;
ALTER TABLE IF EXISTS ONLY public.experiment_subjects DROP CONSTRAINT IF EXISTS fk_842649f2f5;
ALTER TABLE IF EXISTS ONLY public.push_rules DROP CONSTRAINT IF EXISTS fk_83b29894de;
ALTER TABLE IF EXISTS ONLY public.import_export_uploads DROP CONSTRAINT IF EXISTS fk_83319d9721;
ALTER TABLE IF EXISTS ONLY public.sprints DROP CONSTRAINT IF EXISTS fk_80aa8a1f95;
ALTER TABLE IF EXISTS ONLY public.group_import_states DROP CONSTRAINT IF EXISTS fk_8053b3ebd6;
ALTER TABLE IF EXISTS ONLY public.merge_request_metrics DROP CONSTRAINT IF EXISTS fk_7f28d925f3;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_7e85395a64;
ALTER TABLE IF EXISTS ONLY public.labels DROP CONSTRAINT IF EXISTS fk_7de4989a69;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_7c5bb22a22;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_7ac31eacb9;
ALTER TABLE IF EXISTS ONLY public.protected_branches DROP CONSTRAINT IF EXISTS fk_7a9c6d93e7;
ALTER TABLE IF EXISTS ONLY public.ci_unit_tests DROP CONSTRAINT IF EXISTS fk_7a8fabf0a8;
ALTER TABLE IF EXISTS ONLY public.lists DROP CONSTRAINT IF EXISTS fk_7a5553d60f;
ALTER TABLE IF EXISTS ONLY public.analytics_devops_adoption_snapshots DROP CONSTRAINT IF EXISTS fk_78c9eac821;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_78a6492f68;
ALTER TABLE IF EXISTS ONLY public.users DROP CONSTRAINT IF EXISTS fk_789cd90b35;
ALTER TABLE IF EXISTS ONLY public.ci_resource_groups DROP CONSTRAINT IF EXISTS fk_774722d144;
ALTER TABLE IF EXISTS ONLY public.oauth_openid_requests DROP CONSTRAINT IF EXISTS fk_77114b3b09;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_76bc5f5455;
ALTER TABLE IF EXISTS ONLY public.cluster_agent_tokens DROP CONSTRAINT IF EXISTS fk_75008f3553;
ALTER TABLE IF EXISTS ONLY public.index_statuses DROP CONSTRAINT IF EXISTS fk_74b2492545;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_725465b774;
ALTER TABLE IF EXISTS ONLY public.user_interacted_projects DROP CONSTRAINT IF EXISTS fk_722ceba4f7;
ALTER TABLE IF EXISTS ONLY public.integrations DROP CONSTRAINT IF EXISTS fk_71cce407f9;
ALTER TABLE IF EXISTS ONLY public.protected_branch_push_access_levels DROP CONSTRAINT IF EXISTS fk_7111b68cdb;
ALTER TABLE IF EXISTS ONLY public.terraform_state_versions DROP CONSTRAINT IF EXISTS fk_6e81384d7f;
ALTER TABLE IF EXISTS ONLY public.projects DROP CONSTRAINT IF EXISTS fk_6e5c14658a;
ALTER TABLE IF EXISTS ONLY public.dast_profile_schedules DROP CONSTRAINT IF EXISTS fk_6cca0d8800;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_6ada82d42a;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_6a5165a692;
ALTER TABLE IF EXISTS ONLY public.application_settings DROP CONSTRAINT IF EXISTS fk_693b8795e4;
ALTER TABLE IF EXISTS ONLY public.project_pages_metadata DROP CONSTRAINT IF EXISTS fk_69366a119e;
ALTER TABLE IF EXISTS ONLY public.ci_builds DROP CONSTRAINT IF EXISTS fk_6661f4f0e8;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_641731faff;
ALTER TABLE IF EXISTS ONLY public.events DROP CONSTRAINT IF EXISTS fk_61fbf6ca48;
ALTER TABLE IF EXISTS ONLY public.dast_profile_schedules DROP CONSTRAINT IF EXISTS fk_61d52aa0e7;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_6149611a04;
ALTER TABLE IF EXISTS ONLY public.project_access_tokens DROP CONSTRAINT IF EXISTS fk_5f7e8450e1;
ALTER TABLE IF EXISTS ONLY public.csv_issue_imports DROP CONSTRAINT IF EXISTS fk_5e1572387c;
ALTER TABLE IF EXISTS ONLY public.issue_assignees DROP CONSTRAINT IF EXISTS fk_5e0c8d9154;
ALTER TABLE IF EXISTS ONLY public.dast_scanner_profiles_builds DROP CONSTRAINT IF EXISTS fk_5d46286ad3;
ALTER TABLE IF EXISTS ONLY public.deploy_keys_projects DROP CONSTRAINT IF EXISTS fk_58a901ca7e;
ALTER TABLE IF EXISTS ONLY public.vulnerability_feedback DROP CONSTRAINT IF EXISTS fk_563ff1912e;
ALTER TABLE IF EXISTS ONLY public.merge_request_metrics DROP CONSTRAINT IF EXISTS fk_56067dcb44;
ALTER TABLE IF EXISTS ONLY public.status_check_responses DROP CONSTRAINT IF EXISTS fk_55bd2abc83;
ALTER TABLE IF EXISTS ONLY public.terraform_states DROP CONSTRAINT IF EXISTS fk_558901b030;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_prometheus DROP CONSTRAINT IF EXISTS fk_557e773639;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles_pipelines DROP CONSTRAINT IF EXISTS fk_53849b0ad5;
ALTER TABLE IF EXISTS ONLY public.path_locks DROP CONSTRAINT IF EXISTS fk_5265c98f24;
ALTER TABLE IF EXISTS ONLY public.alert_management_alerts DROP CONSTRAINT IF EXISTS fk_51ab4b6089;
ALTER TABLE IF EXISTS ONLY public.dep_ci_build_trace_sections DROP CONSTRAINT IF EXISTS fk_4ebe41f502;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_4a99ebfd60;
ALTER TABLE IF EXISTS ONLY public.releases DROP CONSTRAINT IF EXISTS fk_47fe2a0596;
ALTER TABLE IF EXISTS ONLY public.todos DROP CONSTRAINT IF EXISTS fk_45054f9c45;
ALTER TABLE IF EXISTS ONLY public.ci_runner_projects DROP CONSTRAINT IF EXISTS fk_4478a6f1e4;
ALTER TABLE IF EXISTS ONLY public.remote_mirrors DROP CONSTRAINT IF EXISTS fk_43a9aa4ca8;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_42c3b54bed;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_schedule_variables DROP CONSTRAINT IF EXISTS fk_41c35fda51;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines DROP CONSTRAINT IF EXISTS fk_3d34ab2e06;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_3c1fd1cccc;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_3b8c72ea56;
ALTER TABLE IF EXISTS ONLY public.ci_builds DROP CONSTRAINT IF EXISTS fk_3a9eaa254d;
ALTER TABLE IF EXISTS ONLY public.bulk_import_exports DROP CONSTRAINT IF EXISTS fk_39c726d3b5;
ALTER TABLE IF EXISTS ONLY public.push_event_payloads DROP CONSTRAINT IF EXISTS fk_36c74129da;
ALTER TABLE IF EXISTS ONLY public.sprints DROP CONSTRAINT IF EXISTS fk_365d1db505;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_3654b61b03;
ALTER TABLE IF EXISTS ONLY public.in_product_marketing_emails DROP CONSTRAINT IF EXISTS fk_35c9101b63;
ALTER TABLE IF EXISTS ONLY public.namespaces DROP CONSTRAINT IF EXISTS fk_3448c97865;
ALTER TABLE IF EXISTS ONLY public.ci_group_variables DROP CONSTRAINT IF EXISTS fk_33ae4d58d8;
ALTER TABLE IF EXISTS ONLY public.namespaces DROP CONSTRAINT IF EXISTS fk_319256d87a;
ALTER TABLE IF EXISTS ONLY public.approvals DROP CONSTRAINT IF EXISTS fk_310d714958;
ALTER TABLE IF EXISTS ONLY public.lists DROP CONSTRAINT IF EXISTS fk_30f2a831f4;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_group_stages DROP CONSTRAINT IF EXISTS fk_3078345d6d;
ALTER TABLE IF EXISTS ONLY public.lfs_objects_projects DROP CONSTRAINT IF EXISTS fk_2eb33f7a78;
ALTER TABLE IF EXISTS ONLY public.members DROP CONSTRAINT IF EXISTS fk_2e88fb7ce9;
ALTER TABLE IF EXISTS ONLY public.notes DROP CONSTRAINT IF EXISTS fk_2e82291620;
ALTER TABLE IF EXISTS ONLY public.ci_freeze_periods DROP CONSTRAINT IF EXISTS fk_2e02bbd1a6;
ALTER TABLE IF EXISTS ONLY public.deployments DROP CONSTRAINT IF EXISTS fk_289bba3222;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_27548c6db3;
ALTER TABLE IF EXISTS ONLY public.dep_ci_build_trace_sections DROP CONSTRAINT IF EXISTS fk_264e112c66;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines DROP CONSTRAINT IF EXISTS fk_262d4c2d19;
ALTER TABLE IF EXISTS ONLY public.projects DROP CONSTRAINT IF EXISTS fk_25d8780d11;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_25b99c1be3;
ALTER TABLE IF EXISTS ONLY public.project_ci_cd_settings DROP CONSTRAINT IF EXISTS fk_24c15d2f2e;
ALTER TABLE IF EXISTS ONLY public.import_failures DROP CONSTRAINT IF EXISTS fk_24b824da43;
ALTER TABLE IF EXISTS ONLY public.ci_stages DROP CONSTRAINT IF EXISTS fk_2360681d1d;
ALTER TABLE IF EXISTS ONLY public.alert_management_alerts DROP CONSTRAINT IF EXISTS fk_2358b75436;
ALTER TABLE IF EXISTS ONLY public.users_star_projects DROP CONSTRAINT IF EXISTS fk_22cd27ddfc;
ALTER TABLE IF EXISTS ONLY public.ci_build_trace_metadata DROP CONSTRAINT IF EXISTS fk_21d25cac1a;
ALTER TABLE IF EXISTS ONLY public.geo_container_repository_updated_events DROP CONSTRAINT IF EXISTS fk_212c89c706;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_1fbed67632;
ALTER TABLE IF EXISTS ONLY public.boards DROP CONSTRAINT IF EXISTS fk_1e9a074a35;
ALTER TABLE IF EXISTS ONLY public.ci_sources_pipelines DROP CONSTRAINT IF EXISTS fk_1e53c97c0a;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_1d37cddf91;
ALTER TABLE IF EXISTS ONLY public.user_details DROP CONSTRAINT IF EXISTS fk_190e4fcc88;
ALTER TABLE IF EXISTS ONLY public.analytics_devops_adoption_segments DROP CONSTRAINT IF EXISTS fk_190a24754d;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines DROP CONSTRAINT IF EXISTS fk_190998ef09;
ALTER TABLE IF EXISTS ONLY public.project_features DROP CONSTRAINT IF EXISTS fk_18513d9b92;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS fk_176d3fbb5d;
ALTER TABLE IF EXISTS ONLY public.internal_ids DROP CONSTRAINT IF EXISTS fk_162941d509;
ALTER TABLE IF EXISTS ONLY public.protected_branch_push_access_levels DROP CONSTRAINT IF EXISTS fk_15d2a7a4ae;
ALTER TABLE IF EXISTS ONLY public.webauthn_registrations DROP CONSTRAINT IF EXISTS fk_13e04d719a;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_131d289c65;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS fk_1302949740;
ALTER TABLE IF EXISTS ONLY public.group_deletion_schedules DROP CONSTRAINT IF EXISTS fk_11e3ebfcdd;
ALTER TABLE IF EXISTS ONLY public.project_pages_metadata DROP CONSTRAINT IF EXISTS fk_0fd5b22688;
ALTER TABLE IF EXISTS ONLY public.ci_unit_test_failures DROP CONSTRAINT IF EXISTS fk_0f09856e1f;
ALTER TABLE IF EXISTS ONLY public.lists DROP CONSTRAINT IF EXISTS fk_0d3f677137;
ALTER TABLE IF EXISTS ONLY public.notification_settings DROP CONSTRAINT IF EXISTS fk_0c95e91db7;
ALTER TABLE IF EXISTS ONLY public.web_hooks DROP CONSTRAINT IF EXISTS fk_0c8ca6d9d1;
ALTER TABLE IF EXISTS ONLY public.dast_sites DROP CONSTRAINT IF EXISTS fk_0a57f2271b;
ALTER TABLE IF EXISTS ONLY public.user_interacted_projects DROP CONSTRAINT IF EXISTS fk_0894651f08;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS fk_06067f5644;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS fk_05f1e72feb;
ALTER TABLE IF EXISTS ONLY public.terraform_state_versions DROP CONSTRAINT IF EXISTS fk_04b91e4a9f;
ALTER TABLE IF EXISTS ONLY public.design_management_designs_versions DROP CONSTRAINT IF EXISTS fk_03c671965c;
ALTER TABLE IF EXISTS ONLY public.incident_management_escalation_rules DROP CONSTRAINT IF EXISTS fk_0314ee86eb;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_runners DROP CONSTRAINT IF EXISTS fk_02de2ded36;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS fk_013c9f36ca;
ALTER TABLE IF EXISTS ONLY public.deployments DROP CONSTRAINT IF EXISTS fk_009fd21147;
ALTER TABLE IF EXISTS ONLY public.chat_names DROP CONSTRAINT IF EXISTS fk_00797a2bf9;
DROP TRIGGER IF EXISTS trigger_type_new_on_insert ON public.integrations;
DROP TRIGGER IF EXISTS trigger_has_external_wiki_on_update ON public.integrations;
DROP TRIGGER IF EXISTS trigger_has_external_wiki_on_insert ON public.integrations;
DROP TRIGGER IF EXISTS trigger_has_external_wiki_on_delete ON public.integrations;
DROP TRIGGER IF EXISTS trigger_has_external_issue_tracker_on_update ON public.integrations;
DROP TRIGGER IF EXISTS trigger_has_external_issue_tracker_on_insert ON public.integrations;
DROP TRIGGER IF EXISTS trigger_has_external_issue_tracker_on_delete ON public.integrations;
DROP TRIGGER IF EXISTS trigger_f1ca8ec18d78 ON public.geo_job_artifact_deleted_events;
DROP TRIGGER IF EXISTS trigger_cf2f9e35f002 ON public.ci_build_trace_chunks;
DROP TRIGGER IF EXISTS trigger_be1804f21693 ON public.ci_job_artifacts;
DROP TRIGGER IF EXISTS trigger_aebe8b822ad3 ON public.taggings;
DROP TRIGGER IF EXISTS trigger_91dc388a5fe6 ON public.dep_ci_build_trace_sections;
DROP TRIGGER IF EXISTS trigger_8487d4de3e7b ON public.ci_builds_metadata;
DROP TRIGGER IF EXISTS trigger_8485e97c00e3 ON public.ci_sources_pipelines;
DROP TRIGGER IF EXISTS trigger_77f5e1d20482 ON public.deployments;
DROP TRIGGER IF EXISTS trigger_69523443cc10 ON public.events;
DROP TRIGGER IF EXISTS trigger_542d6c2ad72e ON public.ci_builds_metadata;
DROP TRIGGER IF EXISTS trigger_51ab7cef8934 ON public.ci_builds_runner_session;
DROP TRIGGER IF EXISTS trigger_490d204c00b3 ON public.ci_stages;
DROP TRIGGER IF EXISTS trigger_3f6129be01d2 ON public.ci_builds;
DROP TRIGGER IF EXISTS trigger_21e7a2602957 ON public.ci_build_needs;
DROP TRIGGER IF EXISTS trigger_07c94931164e ON public.push_event_payloads;
DROP INDEX IF EXISTS public.work_item_types_namespace_id_and_name_unique;
DROP INDEX IF EXISTS public.vulnerability_occurrence_pipelines_on_unique_keys;
DROP INDEX IF EXISTS public.vulnerability_feedback_unique_idx;
DROP INDEX IF EXISTS public.user_follow_users_followee_id_idx;
DROP INDEX IF EXISTS public.unique_merge_request_metrics_by_merge_request_id;
DROP INDEX IF EXISTS public.uniq_pkgs_debian_project_distributions_project_id_and_suite;
DROP INDEX IF EXISTS public.uniq_pkgs_debian_project_distributions_project_id_and_codename;
DROP INDEX IF EXISTS public.uniq_pkgs_debian_group_distributions_group_id_and_suite;
DROP INDEX IF EXISTS public.uniq_pkgs_debian_group_distributions_group_id_and_codename;
DROP INDEX IF EXISTS public.uniq_pkgs_deb_proj_components_on_distribution_id_and_name;
DROP INDEX IF EXISTS public.uniq_pkgs_deb_proj_architectures_on_distribution_id_and_name;
DROP INDEX IF EXISTS public.uniq_pkgs_deb_grp_components_on_distribution_id_and_name;
DROP INDEX IF EXISTS public.uniq_pkgs_deb_grp_architectures_on_distribution_id_and_name;
DROP INDEX IF EXISTS public.tmp_index_on_vulnerabilities_non_dismissed;
DROP INDEX IF EXISTS public.tmp_index_namespaces_empty_traversal_ids_with_root_namespaces;
DROP INDEX IF EXISTS public.tmp_index_namespaces_empty_traversal_ids_with_child_namespaces;
DROP INDEX IF EXISTS public.tmp_index_approval_project_rules_scanners;
DROP INDEX IF EXISTS public.tmp_idx_on_namespaces_delayed_project_removal;
DROP INDEX IF EXISTS public.tmp_idx_deduplicate_vulnerability_occurrences;
DROP INDEX IF EXISTS public.term_agreements_unique_index;
DROP INDEX IF EXISTS public.taggings_idx;
DROP INDEX IF EXISTS public.snippet_user_mentions_on_snippet_id_index;
DROP INDEX IF EXISTS public.snippet_user_mentions_on_snippet_id_and_note_id_index;
DROP INDEX IF EXISTS public.partial_index_deployments_for_project_id_and_tag;
DROP INDEX IF EXISTS public.partial_index_deployments_for_legacy_successful_deployments;
DROP INDEX IF EXISTS public.partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs;
DROP INDEX IF EXISTS public.partial_index_bulk_import_exports_on_project_id_and_relation;
DROP INDEX IF EXISTS public.partial_index_bulk_import_exports_on_group_id_and_relation;
DROP INDEX IF EXISTS public.packages_packages_pending_verification;
DROP INDEX IF EXISTS public.packages_packages_needs_verification;
DROP INDEX IF EXISTS public.packages_packages_failed_verification;
DROP INDEX IF EXISTS public.package_name_index;
DROP INDEX IF EXISTS public.one_canonical_wiki_page_slug_per_metadata;
DROP INDEX IF EXISTS public.note_mentions_temp_index;
DROP INDEX IF EXISTS public.merge_requests_state_id_temp_index;
DROP INDEX IF EXISTS public.merge_request_user_mentions_on_mr_id_index;
DROP INDEX IF EXISTS public.merge_request_user_mentions_on_mr_id_and_note_id_index;
DROP INDEX IF EXISTS public.merge_request_mentions_temp_index;
DROP INDEX IF EXISTS public.kubernetes_namespaces_cluster_and_namespace;
DROP INDEX IF EXISTS public.issue_user_mentions_on_issue_id_index;
DROP INDEX IF EXISTS public.issue_user_mentions_on_issue_id_and_note_id_index;
DROP INDEX IF EXISTS public.issue_id_issues_self_managed_rometheus_alert_events_index;
DROP INDEX IF EXISTS public.issue_id_issues_prometheus_alert_events_index;
DROP INDEX IF EXISTS public.index_zoom_meetings_on_project_id;
DROP INDEX IF EXISTS public.index_zoom_meetings_on_issue_status;
DROP INDEX IF EXISTS public.index_zoom_meetings_on_issue_id_and_issue_status;
DROP INDEX IF EXISTS public.index_zoom_meetings_on_issue_id;
DROP INDEX IF EXISTS public.index_zentao_tracker_data_on_integration_id;
DROP INDEX IF EXISTS public.index_x509_issuers_on_subject_key_identifier;
DROP INDEX IF EXISTS public.index_x509_commit_signatures_on_x509_certificate_id;
DROP INDEX IF EXISTS public.index_x509_commit_signatures_on_project_id;
DROP INDEX IF EXISTS public.index_x509_commit_signatures_on_commit_sha;
DROP INDEX IF EXISTS public.index_x509_certificates_on_x509_issuer_id;
DROP INDEX IF EXISTS public.index_x509_certificates_on_subject_key_identifier;
DROP INDEX IF EXISTS public.index_wiki_page_slugs_on_wiki_page_meta_id;
DROP INDEX IF EXISTS public.index_wiki_page_slugs_on_slug_and_wiki_page_meta_id;
DROP INDEX IF EXISTS public.index_wiki_page_meta_on_project_id;
DROP INDEX IF EXISTS public.index_webauthn_registrations_on_user_id;
DROP INDEX IF EXISTS public.index_webauthn_registrations_on_u2f_registration_id;
DROP INDEX IF EXISTS public.index_webauthn_registrations_on_credential_xid;
DROP INDEX IF EXISTS public.index_web_hooks_on_type;
DROP INDEX IF EXISTS public.index_web_hooks_on_service_id;
DROP INDEX IF EXISTS public.index_web_hooks_on_project_id_recent_failures;
DROP INDEX IF EXISTS public.index_web_hooks_on_project_id;
DROP INDEX IF EXISTS public.index_web_hooks_on_group_id;
DROP INDEX IF EXISTS public.index_vulns_user_mentions_on_vulnerability_id_and_note_id;
DROP INDEX IF EXISTS public.index_vulns_user_mentions_on_vulnerability_id;
DROP INDEX IF EXISTS public.index_vulnerability_user_mentions_on_note_id;
DROP INDEX IF EXISTS public.index_vulnerability_statistics_on_unique_project_id;
DROP INDEX IF EXISTS public.index_vulnerability_statistics_on_letter_grade;
DROP INDEX IF EXISTS public.index_vulnerability_statistics_on_latest_pipeline_id;
DROP INDEX IF EXISTS public.index_vulnerability_scanners_on_project_id_and_external_id;
DROP INDEX IF EXISTS public.index_vulnerability_remediations_on_project_id_and_checksum;
DROP INDEX IF EXISTS public.index_vulnerability_occurrences_on_vulnerability_id;
DROP INDEX IF EXISTS public.index_vulnerability_occurrences_on_uuid;
DROP INDEX IF EXISTS public.index_vulnerability_occurrences_on_unique_keys;
DROP INDEX IF EXISTS public.index_vulnerability_occurrences_on_scanner_id;
DROP INDEX IF EXISTS public.index_vulnerability_occurrences_on_project_fingerprint;
DROP INDEX IF EXISTS public.index_vulnerability_occurrences_on_primary_identifier_id;
DROP INDEX IF EXISTS public.index_vulnerability_occurrences_for_issue_links_migration;
DROP INDEX IF EXISTS public.index_vulnerability_occurrences_deduplication;
DROP INDEX IF EXISTS public.index_vulnerability_occurrence_pipelines_on_pipeline_id;
DROP INDEX IF EXISTS public.index_vulnerability_occurrence_identifiers_on_unique_keys;
DROP INDEX IF EXISTS public.index_vulnerability_occurrence_identifiers_on_identifier_id;
DROP INDEX IF EXISTS public.index_vulnerability_issue_links_on_issue_id;
DROP INDEX IF EXISTS public.index_vulnerability_identifiers_on_project_id_and_fingerprint;
DROP INDEX IF EXISTS public.index_vulnerability_historical_statistics_on_date_and_id;
DROP INDEX IF EXISTS public.index_vulnerability_flags_on_vulnerability_occurrence_id;
DROP INDEX IF EXISTS public.index_vulnerability_flags_on_unique_columns;
DROP INDEX IF EXISTS public.index_vulnerability_findings_remediations_on_unique_keys;
DROP INDEX IF EXISTS public.index_vulnerability_findings_remediations_on_remediation_id;
DROP INDEX IF EXISTS public.index_vulnerability_finding_signatures_on_finding_id;
DROP INDEX IF EXISTS public.index_vulnerability_feedback_on_pipeline_id;
DROP INDEX IF EXISTS public.index_vulnerability_feedback_on_merge_request_id;
DROP INDEX IF EXISTS public.index_vulnerability_feedback_on_issue_id_not_null;
DROP INDEX IF EXISTS public.index_vulnerability_feedback_on_issue_id;
DROP INDEX IF EXISTS public.index_vulnerability_feedback_on_comment_author_id;
DROP INDEX IF EXISTS public.index_vulnerability_feedback_on_author_id;
DROP INDEX IF EXISTS public.index_vulnerability_external_issue_links_on_vulnerability_id;
DROP INDEX IF EXISTS public.index_vulnerability_external_issue_links_on_author_id;
DROP INDEX IF EXISTS public.index_vulnerability_exports_on_project_id_not_null;
DROP INDEX IF EXISTS public.index_vulnerability_exports_on_group_id_not_null;
DROP INDEX IF EXISTS public.index_vulnerability_exports_on_file_store;
DROP INDEX IF EXISTS public.index_vulnerability_exports_on_author_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_updated_by_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_state_case_id_desc;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_state_case_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_start_date_sourcing_milestone_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_resolved_by_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_project_id_and_state_and_severity;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_milestone_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_last_edited_by_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_epic_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_due_date_sourcing_milestone_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_dismissed_by_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_confirmed_by_id;
DROP INDEX IF EXISTS public.index_vulnerabilities_on_author_id;
DROP INDEX IF EXISTS public.index_vuln_historical_statistics_on_project_id_and_date;
DROP INDEX IF EXISTS public.index_users_star_projects_on_user_id_and_project_id;
DROP INDEX IF EXISTS public.index_users_star_projects_on_project_id;
DROP INDEX IF EXISTS public.index_users_security_dashboard_projects_on_user_id;
DROP INDEX IF EXISTS public.index_users_require_two_factor_authentication_from_group_false;
DROP INDEX IF EXISTS public.index_users_ops_dashboard_projects_on_user_id_and_project_id;
DROP INDEX IF EXISTS public.index_users_ops_dashboard_projects_on_project_id;
DROP INDEX IF EXISTS public.index_users_on_username_trigram;
DROP INDEX IF EXISTS public.index_users_on_username;
DROP INDEX IF EXISTS public.index_users_on_user_type;
DROP INDEX IF EXISTS public.index_users_on_unlock_token;
DROP INDEX IF EXISTS public.index_users_on_unconfirmed_email;
DROP INDEX IF EXISTS public.index_users_on_static_object_token;
DROP INDEX IF EXISTS public.index_users_on_state_and_user_type;
DROP INDEX IF EXISTS public.index_users_on_state;
DROP INDEX IF EXISTS public.index_users_on_reset_password_token;
DROP INDEX IF EXISTS public.index_users_on_require_two_factor_authentication_from_group;
DROP INDEX IF EXISTS public.index_users_on_public_email;
DROP INDEX IF EXISTS public.index_users_on_name_trigram;
DROP INDEX IF EXISTS public.index_users_on_name;
DROP INDEX IF EXISTS public.index_users_on_managing_group_id;
DROP INDEX IF EXISTS public.index_users_on_incoming_email_token;
DROP INDEX IF EXISTS public.index_users_on_id_and_last_activity_on_for_non_internal_active;
DROP INDEX IF EXISTS public.index_users_on_group_view;
DROP INDEX IF EXISTS public.index_users_on_feed_token;
DROP INDEX IF EXISTS public.index_users_on_email_trigram;
DROP INDEX IF EXISTS public.index_users_on_email;
DROP INDEX IF EXISTS public.index_users_on_created_at;
DROP INDEX IF EXISTS public.index_users_on_confirmation_token;
DROP INDEX IF EXISTS public.index_users_on_admin;
DROP INDEX IF EXISTS public.index_users_on_accepted_term_id;
DROP INDEX IF EXISTS public.index_user_synced_attributes_metadata_on_user_id;
DROP INDEX IF EXISTS public.index_user_statuses_on_user_id;
DROP INDEX IF EXISTS public.index_user_statuses_on_clear_status_at_not_null;
DROP INDEX IF EXISTS public.index_user_preferences_on_user_id;
DROP INDEX IF EXISTS public.index_user_preferences_on_gitpod_enabled;
DROP INDEX IF EXISTS public.index_user_permission_export_uploads_on_user_id_and_status;
DROP INDEX IF EXISTS public.index_user_interacted_projects_on_user_id;
DROP INDEX IF EXISTS public.index_user_highest_roles_on_user_id_and_highest_access_level;
DROP INDEX IF EXISTS public.index_user_details_on_user_id;
DROP INDEX IF EXISTS public.index_user_details_on_provisioned_by_group_id;
DROP INDEX IF EXISTS public.index_user_custom_attributes_on_user_id_and_key;
DROP INDEX IF EXISTS public.index_user_custom_attributes_on_key_and_value;
DROP INDEX IF EXISTS public.index_user_canonical_emails_on_user_id_and_canonical_email;
DROP INDEX IF EXISTS public.index_user_canonical_emails_on_user_id;
DROP INDEX IF EXISTS public.index_user_canonical_emails_on_canonical_email;
DROP INDEX IF EXISTS public.index_user_callouts_on_user_id_and_feature_name;
DROP INDEX IF EXISTS public.index_user_callouts_on_user_id;
DROP INDEX IF EXISTS public.index_user_agent_details_on_subject_id_and_subject_type;
DROP INDEX IF EXISTS public.index_uploads_on_uploader_and_path;
DROP INDEX IF EXISTS public.index_uploads_on_store;
DROP INDEX IF EXISTS public.index_uploads_on_model_id_and_model_type;
DROP INDEX IF EXISTS public.index_uploads_on_checksum;
DROP INDEX IF EXISTS public.index_upcoming_reconciliations_on_namespace_id;
DROP INDEX IF EXISTS public.index_unit_test_failures_unique_columns;
DROP INDEX IF EXISTS public.index_unit_test_failures_failed_at;
DROP INDEX IF EXISTS public.index_unique_issue_metrics_issue_id;
DROP INDEX IF EXISTS public.index_uniq_im_issuable_escalation_statuses_on_issue_id;
DROP INDEX IF EXISTS public.index_u2f_registrations_on_user_id;
DROP INDEX IF EXISTS public.index_u2f_registrations_on_key_handle;
DROP INDEX IF EXISTS public.index_trending_projects_on_project_id;
DROP INDEX IF EXISTS public.index_token_with_ivs_on_hashed_token;
DROP INDEX IF EXISTS public.index_token_with_ivs_on_hashed_plaintext_token;
DROP INDEX IF EXISTS public.index_todos_on_user_id_and_id_pending;
DROP INDEX IF EXISTS public.index_todos_on_user_id_and_id_done;
DROP INDEX IF EXISTS public.index_todos_on_user_id;
DROP INDEX IF EXISTS public.index_todos_on_target_type_and_target_id;
DROP INDEX IF EXISTS public.index_todos_on_project_id;
DROP INDEX IF EXISTS public.index_todos_on_note_id;
DROP INDEX IF EXISTS public.index_todos_on_group_id;
DROP INDEX IF EXISTS public.index_todos_on_commit_id;
DROP INDEX IF EXISTS public.index_todos_on_author_id_and_created_at;
DROP INDEX IF EXISTS public.index_todos_on_author_id;
DROP INDEX IF EXISTS public.index_timelogs_on_user_id;
DROP INDEX IF EXISTS public.index_timelogs_on_spent_at;
DROP INDEX IF EXISTS public.index_timelogs_on_project_id_and_spent_at;
DROP INDEX IF EXISTS public.index_timelogs_on_note_id;
DROP INDEX IF EXISTS public.index_timelogs_on_merge_request_id;
DROP INDEX IF EXISTS public.index_timelogs_on_issue_id;
DROP INDEX IF EXISTS public.index_terraform_states_on_uuid;
DROP INDEX IF EXISTS public.index_terraform_states_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_terraform_states_on_locked_by_user_id;
DROP INDEX IF EXISTS public.index_terraform_states_on_file_store;
DROP INDEX IF EXISTS public.index_terraform_state_versions_pending_verification;
DROP INDEX IF EXISTS public.index_terraform_state_versions_on_verification_state;
DROP INDEX IF EXISTS public.index_terraform_state_versions_on_state_id_and_version;
DROP INDEX IF EXISTS public.index_terraform_state_versions_on_created_by_user_id;
DROP INDEX IF EXISTS public.index_terraform_state_versions_on_ci_build_id;
DROP INDEX IF EXISTS public.index_terraform_state_versions_needs_verification;
DROP INDEX IF EXISTS public.index_terraform_state_versions_failed_verification;
DROP INDEX IF EXISTS public.index_term_agreements_on_user_id;
DROP INDEX IF EXISTS public.index_term_agreements_on_term_id;
DROP INDEX IF EXISTS public.index_tags_on_name_trigram;
DROP INDEX IF EXISTS public.index_tags_on_name;
DROP INDEX IF EXISTS public.index_taggings_on_taggable_id_and_taggable_type_and_context;
DROP INDEX IF EXISTS public.index_taggings_on_taggable_id_and_taggable_type;
DROP INDEX IF EXISTS public.index_taggings_on_tag_id;
DROP INDEX IF EXISTS public.index_system_note_metadata_on_note_id;
DROP INDEX IF EXISTS public.index_system_note_metadata_on_description_version_id;
DROP INDEX IF EXISTS public.index_suggestions_on_note_id_and_relative_order;
DROP INDEX IF EXISTS public.index_successful_deployments_on_cluster_id_and_environment_id;
DROP INDEX IF EXISTS public.index_subscriptions_on_subscribable_and_user_id_and_project_id;
DROP INDEX IF EXISTS public.index_subscriptions_on_project_id;
DROP INDEX IF EXISTS public.index_status_page_settings_on_project_id;
DROP INDEX IF EXISTS public.index_status_page_published_incidents_on_issue_id;
DROP INDEX IF EXISTS public.index_status_check_responses_on_merge_request_id;
DROP INDEX IF EXISTS public.index_status_check_responses_on_external_status_check_id;
DROP INDEX IF EXISTS public.index_status_check_responses_on_external_approval_rule_id;
DROP INDEX IF EXISTS public.index_sprints_on_title_trigram;
DROP INDEX IF EXISTS public.index_sprints_on_title;
DROP INDEX IF EXISTS public.index_sprints_on_project_id_and_title;
DROP INDEX IF EXISTS public.index_sprints_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_sprints_on_iterations_cadence_id_and_title;
DROP INDEX IF EXISTS public.index_sprints_on_group_id;
DROP INDEX IF EXISTS public.index_sprints_on_due_date;
DROP INDEX IF EXISTS public.index_sprints_on_description_trigram;
DROP INDEX IF EXISTS public.index_sprints_iterations_cadence_id;
DROP INDEX IF EXISTS public.index_spam_logs_on_user_id;
DROP INDEX IF EXISTS public.index_sop_schedules_on_user_id;
DROP INDEX IF EXISTS public.index_sop_schedules_on_sop_configuration_id;
DROP INDEX IF EXISTS public.index_sop_configurations_project_id_policy_project_id;
DROP INDEX IF EXISTS public.index_sop_configs_on_project_id;
DROP INDEX IF EXISTS public.index_software_licenses_on_unique_name;
DROP INDEX IF EXISTS public.index_software_licenses_on_spdx_identifier;
DROP INDEX IF EXISTS public.index_software_license_policies_unique_per_project;
DROP INDEX IF EXISTS public.index_software_license_policies_on_software_license_id;
DROP INDEX IF EXISTS public.index_snippets_on_visibility_level_and_secret;
DROP INDEX IF EXISTS public.index_snippets_on_updated_at;
DROP INDEX IF EXISTS public.index_snippets_on_title_trigram;
DROP INDEX IF EXISTS public.index_snippets_on_project_id_and_visibility_level;
DROP INDEX IF EXISTS public.index_snippets_on_id_and_type;
DROP INDEX IF EXISTS public.index_snippets_on_id_and_created_at;
DROP INDEX IF EXISTS public.index_snippets_on_file_name_trigram;
DROP INDEX IF EXISTS public.index_snippets_on_description_trigram;
DROP INDEX IF EXISTS public.index_snippets_on_created_at;
DROP INDEX IF EXISTS public.index_snippets_on_content_trigram;
DROP INDEX IF EXISTS public.index_snippets_on_author_id;
DROP INDEX IF EXISTS public.index_snippet_user_mentions_on_note_id;
DROP INDEX IF EXISTS public.index_snippet_repository_storage_moves_on_snippet_id;
DROP INDEX IF EXISTS public.index_snippet_repositories_verification_state;
DROP INDEX IF EXISTS public.index_snippet_repositories_pending_verification;
DROP INDEX IF EXISTS public.index_snippet_repositories_on_shard_id;
DROP INDEX IF EXISTS public.index_snippet_repositories_on_disk_path;
DROP INDEX IF EXISTS public.index_snippet_repositories_needs_verification;
DROP INDEX IF EXISTS public.index_snippet_repositories_failed_verification;
DROP INDEX IF EXISTS public.index_snippet_on_id_and_project_id;
DROP INDEX IF EXISTS public.index_smartcard_identities_on_user_id;
DROP INDEX IF EXISTS public.index_smartcard_identities_on_subject_and_issuer;
DROP INDEX IF EXISTS public.index_slack_integrations_on_team_id_and_alias;
DROP INDEX IF EXISTS public.index_slack_integrations_on_service_id;
DROP INDEX IF EXISTS public.index_site_profile_secret_variables_on_site_profile_id_and_key;
DROP INDEX IF EXISTS public.index_shards_on_name;
DROP INDEX IF EXISTS public.index_service_desk_enabled_projects_on_id_creator_id_created_at;
DROP INDEX IF EXISTS public.index_serverless_domain_cluster_on_pages_domain_id;
DROP INDEX IF EXISTS public.index_serverless_domain_cluster_on_creator_id;
DROP INDEX IF EXISTS public.index_sentry_issues_on_sentry_issue_identifier;
DROP INDEX IF EXISTS public.index_sentry_issues_on_issue_id;
DROP INDEX IF EXISTS public.index_sent_notifications_on_reply_key;
DROP INDEX IF EXISTS public.index_sent_notifications_on_noteable_type_noteable_id;
DROP INDEX IF EXISTS public.index_self_managed_prometheus_alert_events_on_environment_id;
DROP INDEX IF EXISTS public.index_security_scans_on_project_id;
DROP INDEX IF EXISTS public.index_security_scans_on_pipeline_id;
DROP INDEX IF EXISTS public.index_security_scans_on_date_created_at_and_id;
DROP INDEX IF EXISTS public.index_security_scans_on_created_at;
DROP INDEX IF EXISTS public.index_security_findings_on_uuid_and_scan_id;
DROP INDEX IF EXISTS public.index_security_findings_on_severity;
DROP INDEX IF EXISTS public.index_security_findings_on_scanner_id;
DROP INDEX IF EXISTS public.index_security_findings_on_scan_id_and_position;
DROP INDEX IF EXISTS public.index_security_findings_on_scan_id_and_deduplicated;
DROP INDEX IF EXISTS public.index_security_findings_on_project_fingerprint;
DROP INDEX IF EXISTS public.index_security_findings_on_confidence;
DROP INDEX IF EXISTS public.index_security_ci_builds_on_name_and_id_parser_features;
DROP INDEX IF EXISTS public.index_secure_ci_builds_on_user_id_name_created_at;
DROP INDEX IF EXISTS public.index_scim_oauth_access_tokens_on_group_id_and_token_encrypted;
DROP INDEX IF EXISTS public.index_scim_identities_on_user_id_and_group_id;
DROP INDEX IF EXISTS public.index_scim_identities_on_lower_extern_uid_and_group_id;
DROP INDEX IF EXISTS public.index_scim_identities_on_group_id;
DROP INDEX IF EXISTS public.index_saml_providers_on_group_id;
DROP INDEX IF EXISTS public.index_saml_group_links_on_group_id_and_saml_group_name;
DROP INDEX IF EXISTS public.index_routes_on_source_type_and_source_id;
DROP INDEX IF EXISTS public.index_routes_on_path_trigram;
DROP INDEX IF EXISTS public.index_routes_on_path_text_pattern_ops;
DROP INDEX IF EXISTS public.index_routes_on_path;
DROP INDEX IF EXISTS public.index_route_on_name_trigram;
DROP INDEX IF EXISTS public.index_reviews_on_project_id;
DROP INDEX IF EXISTS public.index_reviews_on_merge_request_id;
DROP INDEX IF EXISTS public.index_reviews_on_author_id;
DROP INDEX IF EXISTS public.index_resource_weight_events_on_user_id;
DROP INDEX IF EXISTS public.index_resource_weight_events_on_issue_id_and_weight;
DROP INDEX IF EXISTS public.index_resource_weight_events_on_issue_id_and_created_at;
DROP INDEX IF EXISTS public.index_resource_state_events_on_user_id;
DROP INDEX IF EXISTS public.index_resource_state_events_on_source_merge_request_id;
DROP INDEX IF EXISTS public.index_resource_state_events_on_merge_request_id;
DROP INDEX IF EXISTS public.index_resource_state_events_on_issue_id_and_created_at;
DROP INDEX IF EXISTS public.index_resource_state_events_on_epic_id;
DROP INDEX IF EXISTS public.index_resource_milestone_events_on_user_id;
DROP INDEX IF EXISTS public.index_resource_milestone_events_on_milestone_id_and_add_action;
DROP INDEX IF EXISTS public.index_resource_milestone_events_on_milestone_id;
DROP INDEX IF EXISTS public.index_resource_milestone_events_on_merge_request_id;
DROP INDEX IF EXISTS public.index_resource_milestone_events_on_issue_id;
DROP INDEX IF EXISTS public.index_resource_milestone_events_created_at;
DROP INDEX IF EXISTS public.index_resource_label_events_on_user_id;
DROP INDEX IF EXISTS public.index_resource_label_events_on_merge_request_id_label_id_action;
DROP INDEX IF EXISTS public.index_resource_label_events_on_label_id_and_action;
DROP INDEX IF EXISTS public.index_resource_label_events_on_epic_id;
DROP INDEX IF EXISTS public.index_resource_label_events_issue_id_label_id_action;
DROP INDEX IF EXISTS public.index_resource_iteration_events_on_user_id;
DROP INDEX IF EXISTS public.index_resource_iteration_events_on_merge_request_id;
DROP INDEX IF EXISTS public.index_resource_iteration_events_on_iteration_id_and_add_action;
DROP INDEX IF EXISTS public.index_resource_iteration_events_on_iteration_id;
DROP INDEX IF EXISTS public.index_resource_iteration_events_on_issue_id;
DROP INDEX IF EXISTS public.index_requirements_on_updated_at;
DROP INDEX IF EXISTS public.index_requirements_on_title_trigram;
DROP INDEX IF EXISTS public.index_requirements_on_state;
DROP INDEX IF EXISTS public.index_requirements_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_requirements_on_project_id;
DROP INDEX IF EXISTS public.index_requirements_on_issue_id;
DROP INDEX IF EXISTS public.index_requirements_on_created_at;
DROP INDEX IF EXISTS public.index_requirements_on_author_id;
DROP INDEX IF EXISTS public.index_requirements_management_test_reports_on_requirement_id;
DROP INDEX IF EXISTS public.index_requirements_management_test_reports_on_issue_id;
DROP INDEX IF EXISTS public.index_requirements_management_test_reports_on_build_id;
DROP INDEX IF EXISTS public.index_requirements_management_test_reports_on_author_id;
DROP INDEX IF EXISTS public.index_required_code_owners_sections_on_protected_branch_id;
DROP INDEX IF EXISTS public.index_remote_mirrors_on_project_id;
DROP INDEX IF EXISTS public.index_remote_mirrors_on_last_successful_update_at;
DROP INDEX IF EXISTS public.index_releases_on_released_at;
DROP INDEX IF EXISTS public.index_releases_on_project_id_and_tag;
DROP INDEX IF EXISTS public.index_releases_on_author_id;
DROP INDEX IF EXISTS public.index_release_links_on_release_id_and_url;
DROP INDEX IF EXISTS public.index_release_links_on_release_id_and_name;
DROP INDEX IF EXISTS public.index_redirect_routes_on_source_type_and_source_id;
DROP INDEX IF EXISTS public.index_redirect_routes_on_path_unique_text_pattern_ops;
DROP INDEX IF EXISTS public.index_redirect_routes_on_path;
DROP INDEX IF EXISTS public.index_raw_usage_data_on_recorded_at;
DROP INDEX IF EXISTS public.index_push_rules_on_project_id;
DROP INDEX IF EXISTS public.index_push_rules_on_is_sample;
DROP INDEX IF EXISTS public.index_protected_tags_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_protected_tags_on_project_id;
DROP INDEX IF EXISTS public.index_protected_tag_create_access_levels_on_user_id;
DROP INDEX IF EXISTS public.index_protected_tag_create_access_levels_on_group_id;
DROP INDEX IF EXISTS public.index_protected_tag_create_access;
DROP INDEX IF EXISTS public.index_protected_environments_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_protected_environments_on_project_id;
DROP INDEX IF EXISTS public.index_protected_environments_on_group_id_and_name;
DROP INDEX IF EXISTS public.index_protected_environment_deploy_access_levels_on_user_id;
DROP INDEX IF EXISTS public.index_protected_environment_deploy_access_levels_on_group_id;
DROP INDEX IF EXISTS public.index_protected_environment_deploy_access;
DROP INDEX IF EXISTS public.index_protected_branches_on_project_id;
DROP INDEX IF EXISTS public.index_protected_branch_unprotect_access_levels_on_user_id;
DROP INDEX IF EXISTS public.index_protected_branch_unprotect_access_levels_on_group_id;
DROP INDEX IF EXISTS public.index_protected_branch_unprotect_access;
DROP INDEX IF EXISTS public.index_protected_branch_push_access_levels_on_user_id;
DROP INDEX IF EXISTS public.index_protected_branch_push_access_levels_on_group_id;
DROP INDEX IF EXISTS public.index_protected_branch_push_access;
DROP INDEX IF EXISTS public.index_protected_branch_merge_access_levels_on_user_id;
DROP INDEX IF EXISTS public.index_protected_branch_merge_access_levels_on_group_id;
DROP INDEX IF EXISTS public.index_protected_branch_merge_access;
DROP INDEX IF EXISTS public.index_prometheus_metrics_on_project_id;
DROP INDEX IF EXISTS public.index_prometheus_metrics_on_identifier_and_project_id;
DROP INDEX IF EXISTS public.index_prometheus_metrics_on_identifier_and_null_project;
DROP INDEX IF EXISTS public.index_prometheus_metrics_on_group;
DROP INDEX IF EXISTS public.index_prometheus_metrics_on_common;
DROP INDEX IF EXISTS public.index_prometheus_alerts_on_prometheus_metric_id;
DROP INDEX IF EXISTS public.index_prometheus_alerts_on_environment_id;
DROP INDEX IF EXISTS public.index_prometheus_alerts_metric_environment;
DROP INDEX IF EXISTS public.index_prometheus_alert_events_on_project_id_and_status;
DROP INDEX IF EXISTS public.index_prometheus_alert_event_scoped_payload_key;
DROP INDEX IF EXISTS public.index_projects_on_updated_at_and_id;
DROP INDEX IF EXISTS public.index_projects_on_star_count;
DROP INDEX IF EXISTS public.index_projects_on_runners_token_encrypted;
DROP INDEX IF EXISTS public.index_projects_on_runners_token;
DROP INDEX IF EXISTS public.index_projects_on_repository_storage;
DROP INDEX IF EXISTS public.index_projects_on_pool_repository_id;
DROP INDEX IF EXISTS public.index_projects_on_pending_delete;
DROP INDEX IF EXISTS public.index_projects_on_path_trigram;
DROP INDEX IF EXISTS public.index_projects_on_path_and_id;
DROP INDEX IF EXISTS public.index_projects_on_namespace_id_and_id;
DROP INDEX IF EXISTS public.index_projects_on_name_trigram;
DROP INDEX IF EXISTS public.index_projects_on_name_and_id;
DROP INDEX IF EXISTS public.index_projects_on_mirror_user_id;
DROP INDEX IF EXISTS public.index_projects_on_mirror_last_successful_update_at;
DROP INDEX IF EXISTS public.index_projects_on_mirror_id_where_mirror_and_trigger_builds;
DROP INDEX IF EXISTS public.index_projects_on_mirror_creator_id_created_at;
DROP INDEX IF EXISTS public.index_projects_on_marked_for_deletion_by_user_id;
DROP INDEX IF EXISTS public.index_projects_on_lower_name;
DROP INDEX IF EXISTS public.index_projects_on_last_repository_updated_at;
DROP INDEX IF EXISTS public.index_projects_on_last_repository_check_failed;
DROP INDEX IF EXISTS public.index_projects_on_last_repository_check_at;
DROP INDEX IF EXISTS public.index_projects_on_last_activity_at_and_id;
DROP INDEX IF EXISTS public.index_projects_on_id_service_desk_enabled;
DROP INDEX IF EXISTS public.index_projects_on_id_partial_for_visibility;
DROP INDEX IF EXISTS public.index_projects_on_id_and_archived_and_pending_delete;
DROP INDEX IF EXISTS public.index_projects_on_description_trigram;
DROP INDEX IF EXISTS public.index_projects_on_creator_id_import_type_and_created_at_partial;
DROP INDEX IF EXISTS public.index_projects_on_creator_id_and_id;
DROP INDEX IF EXISTS public.index_projects_on_creator_id_and_created_at_and_id;
DROP INDEX IF EXISTS public.index_projects_on_created_at_and_id;
DROP INDEX IF EXISTS public.index_projects_api_vis20_updated_at;
DROP INDEX IF EXISTS public.index_projects_api_vis20_path;
DROP INDEX IF EXISTS public.index_projects_api_vis20_name;
DROP INDEX IF EXISTS public.index_projects_api_vis20_last_activity_at;
DROP INDEX IF EXISTS public.index_projects_api_vis20_created_at;
DROP INDEX IF EXISTS public.index_projects_api_updated_at_id_desc;
DROP INDEX IF EXISTS public.index_projects_api_path_id_desc;
DROP INDEX IF EXISTS public.index_projects_api_name_id_desc;
DROP INDEX IF EXISTS public.index_projects_api_last_activity_at_id_desc;
DROP INDEX IF EXISTS public.index_projects_api_created_at_id_for_vis10;
DROP INDEX IF EXISTS public.index_projects_api_created_at_id_for_archived_vis20;
DROP INDEX IF EXISTS public.index_projects_api_created_at_id_for_archived;
DROP INDEX IF EXISTS public.index_projects_api_created_at_id_desc;
DROP INDEX IF EXISTS public.index_projects_aimed_for_deletion;
DROP INDEX IF EXISTS public.index_project_tracing_settings_on_project_id;
DROP INDEX IF EXISTS public.index_project_statistics_on_wiki_size_and_project_id;
DROP INDEX IF EXISTS public.index_project_statistics_on_storage_size_and_project_id;
DROP INDEX IF EXISTS public.index_project_statistics_on_repository_size_and_project_id;
DROP INDEX IF EXISTS public.index_project_statistics_on_project_id;
DROP INDEX IF EXISTS public.index_project_statistics_on_packages_size_and_project_id;
DROP INDEX IF EXISTS public.index_project_statistics_on_namespace_id;
DROP INDEX IF EXISTS public.index_project_stages_on_stage_event_hash_id;
DROP INDEX IF EXISTS public.index_project_settings_on_push_rule_id;
DROP INDEX IF EXISTS public.index_project_settings_on_project_id_partially;
DROP INDEX IF EXISTS public.index_project_repository_storage_moves_on_project_id;
DROP INDEX IF EXISTS public.index_project_repository_states_on_project_id;
DROP INDEX IF EXISTS public.index_project_repositories_on_shard_id_and_project_id;
DROP INDEX IF EXISTS public.index_project_repositories_on_shard_id;
DROP INDEX IF EXISTS public.index_project_repositories_on_project_id;
DROP INDEX IF EXISTS public.index_project_repositories_on_disk_path;
DROP INDEX IF EXISTS public.index_project_pages_metadata_on_project_id_and_deployed_is_true;
DROP INDEX IF EXISTS public.index_project_pages_metadata_on_pages_deployment_id;
DROP INDEX IF EXISTS public.index_project_pages_metadata_on_artifacts_archive_id;
DROP INDEX IF EXISTS public.index_project_mirror_data_on_status;
DROP INDEX IF EXISTS public.index_project_mirror_data_on_project_id;
DROP INDEX IF EXISTS public.index_project_mirror_data_on_last_update_at_and_retry_count;
DROP INDEX IF EXISTS public.index_project_mirror_data_on_last_successful_update_at;
DROP INDEX IF EXISTS public.index_project_import_data_on_project_id;
DROP INDEX IF EXISTS public.index_project_group_links_on_project_id;
DROP INDEX IF EXISTS public.index_project_group_links_on_group_id;
DROP INDEX IF EXISTS public.index_project_features_on_project_id_ral_20;
DROP INDEX IF EXISTS public.index_project_features_on_project_id_include_container_registry;
DROP INDEX IF EXISTS public.index_project_features_on_project_id_bal_20;
DROP INDEX IF EXISTS public.index_project_features_on_project_id;
DROP INDEX IF EXISTS public.index_project_feature_usages_on_project_id;
DROP INDEX IF EXISTS public.index_project_export_jobs_on_status;
DROP INDEX IF EXISTS public.index_project_export_jobs_on_project_id_and_status;
DROP INDEX IF EXISTS public.index_project_export_jobs_on_project_id_and_jid;
DROP INDEX IF EXISTS public.index_project_export_jobs_on_jid;
DROP INDEX IF EXISTS public.index_project_deploy_tokens_on_project_id_and_deploy_token_id;
DROP INDEX IF EXISTS public.index_project_deploy_tokens_on_deploy_token_id;
DROP INDEX IF EXISTS public.index_project_daily_statistics_on_project_id_and_date;
DROP INDEX IF EXISTS public.index_project_custom_attributes_on_project_id_and_key;
DROP INDEX IF EXISTS public.index_project_custom_attributes_on_key_and_value;
DROP INDEX IF EXISTS public.index_project_compliance_framework_settings_on_project_id;
DROP INDEX IF EXISTS public.index_project_compliance_framework_settings_on_framework_id;
DROP INDEX IF EXISTS public.index_project_ci_feature_usages_unique_columns;
DROP INDEX IF EXISTS public.index_project_ci_cd_settings_on_project_id;
DROP INDEX IF EXISTS public.index_project_auto_devops_on_project_id;
DROP INDEX IF EXISTS public.index_project_authorizations_on_project_id_user_id;
DROP INDEX IF EXISTS public.index_project_aliases_on_project_id;
DROP INDEX IF EXISTS public.index_project_aliases_on_name;
DROP INDEX IF EXISTS public.index_project_access_tokens_on_project_id;
DROP INDEX IF EXISTS public.index_programming_languages_on_name;
DROP INDEX IF EXISTS public.index_postgres_reindex_actions_on_index_identifier;
DROP INDEX IF EXISTS public.index_postgres_async_indexes_on_name;
DROP INDEX IF EXISTS public.index_pool_repositories_on_source_project_id_and_shard_id;
DROP INDEX IF EXISTS public.index_pool_repositories_on_shard_id;
DROP INDEX IF EXISTS public.index_pool_repositories_on_disk_path;
DROP INDEX IF EXISTS public.index_plans_on_name;
DROP INDEX IF EXISTS public.index_plan_limits_on_plan_id;
DROP INDEX IF EXISTS public.index_personal_access_tokens_on_user_id;
DROP INDEX IF EXISTS public.index_personal_access_tokens_on_token_digest;
DROP INDEX IF EXISTS public.index_path_locks_on_user_id;
DROP INDEX IF EXISTS public.index_path_locks_on_project_id;
DROP INDEX IF EXISTS public.index_path_locks_on_path;
DROP INDEX IF EXISTS public.index_pat_on_user_id_and_expires_at;
DROP INDEX IF EXISTS public.index_partitioned_foreign_keys_unique_index;
DROP INDEX IF EXISTS public.index_partial_ci_builds_on_user_id_name_parser_features;
DROP INDEX IF EXISTS public.index_partial_am_alerts_on_project_id_and_fingerprint;
DROP INDEX IF EXISTS public.index_pages_domains_on_wildcard;
DROP INDEX IF EXISTS public.index_pages_domains_on_verified_at_and_enabled_until;
DROP INDEX IF EXISTS public.index_pages_domains_on_verified_at;
DROP INDEX IF EXISTS public.index_pages_domains_on_usage;
DROP INDEX IF EXISTS public.index_pages_domains_on_scope;
DROP INDEX IF EXISTS public.index_pages_domains_on_remove_at;
DROP INDEX IF EXISTS public.index_pages_domains_on_project_id_and_enabled_until;
DROP INDEX IF EXISTS public.index_pages_domains_on_project_id;
DROP INDEX IF EXISTS public.index_pages_domains_on_domain_lowercase;
DROP INDEX IF EXISTS public.index_pages_domains_on_domain_and_wildcard;
DROP INDEX IF EXISTS public.index_pages_domains_need_auto_ssl_renewal_valid_not_after;
DROP INDEX IF EXISTS public.index_pages_domains_need_auto_ssl_renewal_user_provided;
DROP INDEX IF EXISTS public.index_pages_domain_acme_orders_on_pages_domain_id;
DROP INDEX IF EXISTS public.index_pages_domain_acme_orders_on_challenge_token;
DROP INDEX IF EXISTS public.index_pages_deployments_on_project_id;
DROP INDEX IF EXISTS public.index_pages_deployments_on_file_store_and_id;
DROP INDEX IF EXISTS public.index_pages_deployments_on_ci_build_id;
DROP INDEX IF EXISTS public.index_packages_tags_on_package_id_and_updated_at;
DROP INDEX IF EXISTS public.index_packages_tags_on_package_id;
DROP INDEX IF EXISTS public.index_packages_project_id_name_partial_for_nuget;
DROP INDEX IF EXISTS public.index_packages_packages_on_project_id_and_version;
DROP INDEX IF EXISTS public.index_packages_packages_on_project_id_and_status;
DROP INDEX IF EXISTS public.index_packages_packages_on_project_id_and_package_type;
DROP INDEX IF EXISTS public.index_packages_packages_on_project_id_and_created_at;
DROP INDEX IF EXISTS public.index_packages_packages_on_name_trigram;
DROP INDEX IF EXISTS public.index_packages_packages_on_id_and_created_at;
DROP INDEX IF EXISTS public.index_packages_packages_on_creator_id;
DROP INDEX IF EXISTS public.index_packages_package_files_on_verification_state;
DROP INDEX IF EXISTS public.index_packages_package_files_on_package_id_and_file_name;
DROP INDEX IF EXISTS public.index_packages_package_files_on_file_store;
DROP INDEX IF EXISTS public.index_packages_package_file_build_infos_on_pipeline_id;
DROP INDEX IF EXISTS public.index_packages_package_file_build_infos_on_package_file_id;
DROP INDEX IF EXISTS public.index_packages_on_project_id_name_version_unique_when_helm;
DROP INDEX IF EXISTS public.index_packages_on_project_id_name_version_unique_when_golang;
DROP INDEX IF EXISTS public.index_packages_on_project_id_name_version_unique_when_generic;
DROP INDEX IF EXISTS public.index_packages_nuget_dl_metadata_on_dependency_link_id;
DROP INDEX IF EXISTS public.index_packages_maven_metadata_on_path;
DROP INDEX IF EXISTS public.index_packages_maven_metadata_on_package_id_and_path;
DROP INDEX IF EXISTS public.index_packages_helm_file_metadata_on_channel;
DROP INDEX IF EXISTS public.index_packages_events_on_package_id;
DROP INDEX IF EXISTS public.index_packages_dependency_links_on_dependency_id;
DROP INDEX IF EXISTS public.index_packages_dependencies_on_name_and_version_pattern;
DROP INDEX IF EXISTS public.index_packages_debian_publications_on_package_id;
DROP INDEX IF EXISTS public.index_packages_debian_publications_on_distribution_id;
DROP INDEX IF EXISTS public.index_packages_debian_project_distributions_on_project_id;
DROP INDEX IF EXISTS public.index_packages_debian_project_distributions_on_creator_id;
DROP INDEX IF EXISTS public.index_packages_debian_project_component_files_on_component_id;
DROP INDEX IF EXISTS public.index_packages_debian_group_distributions_on_group_id;
DROP INDEX IF EXISTS public.index_packages_debian_group_distributions_on_creator_id;
DROP INDEX IF EXISTS public.index_packages_debian_group_component_files_on_component_id;
DROP INDEX IF EXISTS public.index_packages_conan_metadata_on_package_id_username_channel;
DROP INDEX IF EXISTS public.index_packages_conan_file_metadata_on_package_file_id;
DROP INDEX IF EXISTS public.index_packages_composer_metadata_on_package_id_and_target_sha;
DROP INDEX IF EXISTS public.index_packages_composer_cache_namespace_and_sha;
DROP INDEX IF EXISTS public.index_packages_build_infos_on_pipeline_id;
DROP INDEX IF EXISTS public.index_ops_strategies_user_lists_on_strategy_id_and_user_list_id;
DROP INDEX IF EXISTS public.index_ops_feature_flags_issues_on_feature_flag_id_and_issue_id;
DROP INDEX IF EXISTS public.index_operations_user_lists_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_operations_user_lists_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_operations_strategies_user_lists_on_user_list_id;
DROP INDEX IF EXISTS public.index_operations_strategies_on_feature_flag_id;
DROP INDEX IF EXISTS public.index_operations_scopes_on_strategy_id_and_environment_scope;
DROP INDEX IF EXISTS public.index_operations_feature_flags_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_operations_feature_flags_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_operations_feature_flags_issues_on_issue_id;
DROP INDEX IF EXISTS public.index_open_project_tracker_data_on_service_id;
DROP INDEX IF EXISTS public.index_oncall_shifts_on_rotation_id_and_starts_at_and_ends_at;
DROP INDEX IF EXISTS public.index_onboarding_progresses_on_namespace_id;
DROP INDEX IF EXISTS public.index_onboarding_progresses_for_verify_track;
DROP INDEX IF EXISTS public.index_onboarding_progresses_for_trial_track;
DROP INDEX IF EXISTS public.index_onboarding_progresses_for_team_track;
DROP INDEX IF EXISTS public.index_onboarding_progresses_for_create_track;
DROP INDEX IF EXISTS public.index_on_users_name_lower;
DROP INDEX IF EXISTS public.index_on_users_lower_username;
DROP INDEX IF EXISTS public.index_on_users_lower_email;
DROP INDEX IF EXISTS public.index_on_snapshots_segment_id_recorded_at;
DROP INDEX IF EXISTS public.index_on_snapshots_segment_id_end_time;
DROP INDEX IF EXISTS public.index_on_routes_lower_path;
DROP INDEX IF EXISTS public.index_on_projects_lower_path;
DROP INDEX IF EXISTS public.index_on_project_id_escalation_policy_name_unique;
DROP INDEX IF EXISTS public.index_on_pages_metadata_not_migrated;
DROP INDEX IF EXISTS public.index_on_oncall_schedule_escalation_rule;
DROP INDEX IF EXISTS public.index_on_namespaces_lower_path;
DROP INDEX IF EXISTS public.index_on_namespaces_lower_name;
DROP INDEX IF EXISTS public.index_on_merge_requests_for_latest_diffs;
DROP INDEX IF EXISTS public.index_on_label_links_all_columns;
DROP INDEX IF EXISTS public.index_on_instance_statistics_recorded_at_and_identifier;
DROP INDEX IF EXISTS public.index_on_identities_lower_extern_uid_and_provider;
DROP INDEX IF EXISTS public.index_on_deploy_keys_id_and_type_and_public;
DROP INDEX IF EXISTS public.index_oauth_openid_requests_on_access_grant_id;
DROP INDEX IF EXISTS public.index_oauth_applications_on_uid;
DROP INDEX IF EXISTS public.index_oauth_applications_on_owner_id_and_owner_type;
DROP INDEX IF EXISTS public.index_oauth_access_tokens_on_token;
DROP INDEX IF EXISTS public.index_oauth_access_tokens_on_resource_owner_id;
DROP INDEX IF EXISTS public.index_oauth_access_tokens_on_refresh_token;
DROP INDEX IF EXISTS public.index_oauth_access_tokens_on_application_id;
DROP INDEX IF EXISTS public.index_oauth_access_grants_on_token;
DROP INDEX IF EXISTS public.index_oauth_access_grants_on_resource_owner_id;
DROP INDEX IF EXISTS public.index_notifications_on_user_id_and_source_id_and_source_type;
DROP INDEX IF EXISTS public.index_notification_settings_on_source_and_level_and_user;
DROP INDEX IF EXISTS public.index_notes_on_review_id;
DROP INDEX IF EXISTS public.index_notes_on_project_id_and_noteable_type;
DROP INDEX IF EXISTS public.index_notes_on_project_id_and_id_and_system_false;
DROP INDEX IF EXISTS public.index_notes_on_noteable_id_and_noteable_type_and_system;
DROP INDEX IF EXISTS public.index_notes_on_note_trigram;
DROP INDEX IF EXISTS public.index_notes_on_line_code;
DROP INDEX IF EXISTS public.index_notes_on_discussion_id;
DROP INDEX IF EXISTS public.index_notes_on_created_at;
DROP INDEX IF EXISTS public.index_notes_on_commit_id;
DROP INDEX IF EXISTS public.index_notes_on_author_id_and_created_at_and_id;
DROP INDEX IF EXISTS public.index_notes_for_cherry_picked_merge_requests;
DROP INDEX IF EXISTS public.index_note_diff_files_on_diff_note_id;
DROP INDEX IF EXISTS public.index_non_requested_project_members_on_source_id_and_type;
DROP INDEX IF EXISTS public.index_namespaces_on_type_and_id_partial;
DROP INDEX IF EXISTS public.index_namespaces_on_traversal_ids;
DROP INDEX IF EXISTS public.index_namespaces_on_shared_and_extra_runners_minutes_limit;
DROP INDEX IF EXISTS public.index_namespaces_on_runners_token_encrypted;
DROP INDEX IF EXISTS public.index_namespaces_on_runners_token;
DROP INDEX IF EXISTS public.index_namespaces_on_require_two_factor_authentication;
DROP INDEX IF EXISTS public.index_namespaces_on_push_rule_id;
DROP INDEX IF EXISTS public.index_namespaces_on_path_trigram;
DROP INDEX IF EXISTS public.index_namespaces_on_path;
DROP INDEX IF EXISTS public.index_namespaces_on_parent_id_and_id;
DROP INDEX IF EXISTS public.index_namespaces_on_owner_id;
DROP INDEX IF EXISTS public.index_namespaces_on_name_trigram;
DROP INDEX IF EXISTS public.index_namespaces_on_name_and_parent_id;
DROP INDEX IF EXISTS public.index_namespaces_on_ldap_sync_last_update_at;
DROP INDEX IF EXISTS public.index_namespaces_on_ldap_sync_last_successful_update_at;
DROP INDEX IF EXISTS public.index_namespaces_on_file_template_project_id;
DROP INDEX IF EXISTS public.index_namespaces_on_custom_project_templates_group_id_and_type;
DROP INDEX IF EXISTS public.index_namespaces_on_created_at;
DROP INDEX IF EXISTS public.index_namespaces_id_parent_id_is_null;
DROP INDEX IF EXISTS public.index_namespaces_id_parent_id_is_not_null;
DROP INDEX IF EXISTS public.index_namespace_statistics_on_namespace_id;
DROP INDEX IF EXISTS public.index_namespace_root_storage_statistics_on_namespace_id;
DROP INDEX IF EXISTS public.index_namespace_aggregation_schedules_on_namespace_id;
DROP INDEX IF EXISTS public.index_namespace_admin_notes_on_namespace_id;
DROP INDEX IF EXISTS public.index_mr_metrics_on_target_project_id_merged_at_time_to_merge;
DROP INDEX IF EXISTS public.index_mr_metrics_on_target_project_id_merged_at_nulls_last;
DROP INDEX IF EXISTS public.index_mr_context_commits_on_merge_request_id_and_sha;
DROP INDEX IF EXISTS public.index_mr_cleanup_schedules_timestamps_status;
DROP INDEX IF EXISTS public.index_mr_blocks_on_blocking_and_blocked_mr_ids;
DROP INDEX IF EXISTS public.index_mirror_data_non_scheduled_or_started;
DROP INDEX IF EXISTS public.index_milestones_on_title_trigram;
DROP INDEX IF EXISTS public.index_milestones_on_title;
DROP INDEX IF EXISTS public.index_milestones_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_milestones_on_group_id;
DROP INDEX IF EXISTS public.index_milestones_on_due_date;
DROP INDEX IF EXISTS public.index_milestones_on_description_trigram;
DROP INDEX IF EXISTS public.index_milestone_releases_on_release_id;
DROP INDEX IF EXISTS public.index_migration_jobs_on_migration_id_and_max_value;
DROP INDEX IF EXISTS public.index_migration_jobs_on_migration_id_and_finished_at;
DROP INDEX IF EXISTS public.index_metrics_users_starred_dashboards_on_project_id;
DROP INDEX IF EXISTS public.index_metrics_dashboard_annotations_on_timespan_end;
DROP INDEX IF EXISTS public.index_metrics_dashboard_annotations_on_environment_id_and_3_col;
DROP INDEX IF EXISTS public.index_metrics_dashboard_annotations_on_cluster_id_and_3_columns;
DROP INDEX IF EXISTS public.index_merge_trains_on_user_id;
DROP INDEX IF EXISTS public.index_merge_trains_on_pipeline_id;
DROP INDEX IF EXISTS public.index_merge_trains_on_merge_request_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_updated_by_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_tp_id_and_merge_commit_sha_and_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_title_trigram;
DROP INDEX IF EXISTS public.index_merge_requests_on_title;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_iid_jira_description;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_and_updated_at_and_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_and_target_branch;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_and_squash_commit_sha;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_and_source_branch;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_and_iid_jira_title;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_and_iid_and_state_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_and_iid;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_project_id_and_created_at_and_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_target_branch;
DROP INDEX IF EXISTS public.index_merge_requests_on_sprint_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_source_project_id_and_source_branch;
DROP INDEX IF EXISTS public.index_merge_requests_on_source_branch;
DROP INDEX IF EXISTS public.index_merge_requests_on_milestone_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_merge_user_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_latest_merge_request_diff_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_head_pipeline_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_description_trigram;
DROP INDEX IF EXISTS public.index_merge_requests_on_created_at;
DROP INDEX IF EXISTS public.index_merge_requests_on_author_id;
DROP INDEX IF EXISTS public.index_merge_requests_on_assignee_id;
DROP INDEX IF EXISTS public.index_merge_requests_closing_issues_on_merge_request_id;
DROP INDEX IF EXISTS public.index_merge_requests_closing_issues_on_issue_id;
DROP INDEX IF EXISTS public.index_merge_request_user_mentions_on_note_id;
DROP INDEX IF EXISTS public.index_merge_request_reviewers_on_user_id;
DROP INDEX IF EXISTS public.index_merge_request_reviewers_on_merge_request_id_and_user_id;
DROP INDEX IF EXISTS public.index_merge_request_metrics_on_target_project_id;
DROP INDEX IF EXISTS public.index_merge_request_metrics_on_pipeline_id;
DROP INDEX IF EXISTS public.index_merge_request_metrics_on_merged_by_id;
DROP INDEX IF EXISTS public.index_merge_request_metrics_on_merged_at;
DROP INDEX IF EXISTS public.index_merge_request_metrics_on_merge_request_id_and_merged_at;
DROP INDEX IF EXISTS public.index_merge_request_metrics_on_latest_closed_by_id;
DROP INDEX IF EXISTS public.index_merge_request_metrics_on_latest_closed_at;
DROP INDEX IF EXISTS public.index_merge_request_metrics_on_first_deployed_to_production_at;
DROP INDEX IF EXISTS public.index_merge_request_diffs_on_unique_merge_request_id;
DROP INDEX IF EXISTS public.index_merge_request_diffs_on_merge_request_id_and_id;
DROP INDEX IF EXISTS public.index_merge_request_diffs_on_external_diff_store;
DROP INDEX IF EXISTS public.index_merge_request_diffs_by_id_partial;
DROP INDEX IF EXISTS public.index_merge_request_diff_details_pending_verification;
DROP INDEX IF EXISTS public.index_merge_request_diff_details_on_verification_state;
DROP INDEX IF EXISTS public.index_merge_request_diff_details_on_merge_request_diff_id;
DROP INDEX IF EXISTS public.index_merge_request_diff_details_needs_verification;
DROP INDEX IF EXISTS public.index_merge_request_diff_details_failed_verification;
DROP INDEX IF EXISTS public.index_merge_request_diff_commits_on_sha;
DROP INDEX IF EXISTS public.index_merge_request_diff_commit_users_on_name_and_email;
DROP INDEX IF EXISTS public.index_merge_request_cleanup_schedules_on_status;
DROP INDEX IF EXISTS public.index_merge_request_cleanup_schedules_on_merge_request_id;
DROP INDEX IF EXISTS public.index_merge_request_blocks_on_blocked_merge_request_id;
DROP INDEX IF EXISTS public.index_merge_request_assignees_on_user_id;
DROP INDEX IF EXISTS public.index_merge_request_assignees_on_merge_request_id_and_user_id;
DROP INDEX IF EXISTS public.index_merge_request_assignees_on_merge_request_id;
DROP INDEX IF EXISTS public.index_members_on_user_id_source_id_source_type;
DROP INDEX IF EXISTS public.index_members_on_user_id_created_at;
DROP INDEX IF EXISTS public.index_members_on_user_id_and_access_level_requested_at_is_null;
DROP INDEX IF EXISTS public.index_members_on_source_id_and_source_type;
DROP INDEX IF EXISTS public.index_members_on_requested_at;
DROP INDEX IF EXISTS public.index_members_on_invite_token;
DROP INDEX IF EXISTS public.index_members_on_invite_email;
DROP INDEX IF EXISTS public.index_members_on_expires_at;
DROP INDEX IF EXISTS public.index_members_on_access_level;
DROP INDEX IF EXISTS public.index_lists_on_user_id;
DROP INDEX IF EXISTS public.index_lists_on_milestone_id;
DROP INDEX IF EXISTS public.index_lists_on_list_type;
DROP INDEX IF EXISTS public.index_lists_on_label_id;
DROP INDEX IF EXISTS public.index_lists_on_iteration_id;
DROP INDEX IF EXISTS public.index_lists_on_board_id_and_label_id;
DROP INDEX IF EXISTS public.index_list_user_preferences_on_user_id_and_list_id;
DROP INDEX IF EXISTS public.index_list_user_preferences_on_user_id;
DROP INDEX IF EXISTS public.index_list_user_preferences_on_list_id;
DROP INDEX IF EXISTS public.index_lfs_objects_projects_on_project_id_and_lfs_object_id;
DROP INDEX IF EXISTS public.index_lfs_objects_projects_on_lfs_object_id;
DROP INDEX IF EXISTS public.index_lfs_objects_on_oid;
DROP INDEX IF EXISTS public.index_lfs_objects_on_file_store;
DROP INDEX IF EXISTS public.index_lfs_file_locks_on_user_id;
DROP INDEX IF EXISTS public.index_lfs_file_locks_on_project_id_and_path;
DROP INDEX IF EXISTS public.index_labels_on_type_and_project_id;
DROP INDEX IF EXISTS public.index_labels_on_title;
DROP INDEX IF EXISTS public.index_labels_on_template;
DROP INDEX IF EXISTS public.index_labels_on_project_id_and_title_unique;
DROP INDEX IF EXISTS public.index_labels_on_project_id;
DROP INDEX IF EXISTS public.index_labels_on_group_id_and_title_unique;
DROP INDEX IF EXISTS public.index_labels_on_group_id_and_project_id_and_title;
DROP INDEX IF EXISTS public.index_label_priorities_on_project_id_and_label_id;
DROP INDEX IF EXISTS public.index_label_priorities_on_priority;
DROP INDEX IF EXISTS public.index_label_priorities_on_label_id;
DROP INDEX IF EXISTS public.index_label_links_on_target_id_and_target_type;
DROP INDEX IF EXISTS public.index_label_links_on_label_id_and_target_type;
DROP INDEX IF EXISTS public.index_kubernetes_namespaces_on_cluster_project_environment_id;
DROP INDEX IF EXISTS public.index_keys_on_user_id;
DROP INDEX IF EXISTS public.index_keys_on_last_used_at;
DROP INDEX IF EXISTS public.index_keys_on_id_and_ldap_key_type;
DROP INDEX IF EXISTS public.index_keys_on_fingerprint_sha256;
DROP INDEX IF EXISTS public.index_keys_on_fingerprint;
DROP INDEX IF EXISTS public.index_keys_on_expires_at_and_id;
DROP INDEX IF EXISTS public.index_keys_on_expires_at_and_expiry_notification_undelivered;
DROP INDEX IF EXISTS public.index_jira_tracker_data_on_service_id;
DROP INDEX IF EXISTS public.index_jira_imports_on_user_id;
DROP INDEX IF EXISTS public.index_jira_imports_on_project_id_and_jira_project_key;
DROP INDEX IF EXISTS public.index_jira_imports_on_label_id;
DROP INDEX IF EXISTS public.index_jira_connect_subscriptions_on_namespace_id;
DROP INDEX IF EXISTS public.index_jira_connect_installations_on_client_key;
DROP INDEX IF EXISTS public.index_iterations_cadences_on_group_id;
DROP INDEX IF EXISTS public.index_issues_on_work_item_type_id;
DROP INDEX IF EXISTS public.index_issues_on_updated_by_id;
DROP INDEX IF EXISTS public.index_issues_on_updated_at;
DROP INDEX IF EXISTS public.index_issues_on_title_trigram;
DROP INDEX IF EXISTS public.index_issues_on_sprint_id;
DROP INDEX IF EXISTS public.index_issues_on_promoted_to_epic_id;
DROP INDEX IF EXISTS public.index_issues_on_project_id_and_upvotes_count;
DROP INDEX IF EXISTS public.index_issues_on_project_id_and_state_id_and_created_at_and_id;
DROP INDEX IF EXISTS public.index_issues_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_issues_on_project_id_and_external_key;
DROP INDEX IF EXISTS public.index_issues_on_project_id_and_created_at_issue_type_incident;
DROP INDEX IF EXISTS public.index_issues_on_project_id_and_closed_at;
DROP INDEX IF EXISTS public.index_issues_on_moved_to_id;
DROP INDEX IF EXISTS public.index_issues_on_milestone_id;
DROP INDEX IF EXISTS public.index_issues_on_last_edited_by_id;
DROP INDEX IF EXISTS public.index_issues_on_incident_issue_type;
DROP INDEX IF EXISTS public.index_issues_on_duplicated_to_id;
DROP INDEX IF EXISTS public.index_issues_on_description_trigram;
DROP INDEX IF EXISTS public.index_issues_on_confidential;
DROP INDEX IF EXISTS public.index_issues_on_closed_by_id;
DROP INDEX IF EXISTS public.index_issues_on_author_id_and_id_and_created_at;
DROP INDEX IF EXISTS public.index_issues_on_author_id;
DROP INDEX IF EXISTS public.index_issue_user_mentions_on_note_id;
DROP INDEX IF EXISTS public.index_issue_tracker_data_on_service_id;
DROP INDEX IF EXISTS public.index_issue_on_project_id_state_id_and_blocking_issues_count;
DROP INDEX IF EXISTS public.index_issue_metrics_on_issue_id_and_timestamps;
DROP INDEX IF EXISTS public.index_issue_links_on_target_id;
DROP INDEX IF EXISTS public.index_issue_links_on_source_id_and_target_id;
DROP INDEX IF EXISTS public.index_issue_links_on_source_id;
DROP INDEX IF EXISTS public.index_issue_email_participants_on_issue_id_and_lower_email;
DROP INDEX IF EXISTS public.index_issue_assignees_on_user_id;
DROP INDEX IF EXISTS public.index_issuable_slas_on_issue_id;
DROP INDEX IF EXISTS public.index_issuable_slas_on_due_at_id_label_applied_issuable_closed;
DROP INDEX IF EXISTS public.index_issuable_severities_on_issue_id;
DROP INDEX IF EXISTS public.index_issuable_metric_images_on_issue_id;
DROP INDEX IF EXISTS public.index_ip_restrictions_on_group_id;
DROP INDEX IF EXISTS public.index_internal_ids_on_usage_and_project_id;
DROP INDEX IF EXISTS public.index_internal_ids_on_usage_and_namespace_id;
DROP INDEX IF EXISTS public.index_internal_ids_on_project_id;
DROP INDEX IF EXISTS public.index_internal_ids_on_namespace_id;
DROP INDEX IF EXISTS public.index_integrations_on_unique_group_id_and_type;
DROP INDEX IF EXISTS public.index_integrations_on_type_id_when_active_and_project_id_not_nu;
DROP INDEX IF EXISTS public.index_integrations_on_type_and_template_partial;
DROP INDEX IF EXISTS public.index_integrations_on_type_and_instance_partial;
DROP INDEX IF EXISTS public.index_integrations_on_type;
DROP INDEX IF EXISTS public.index_integrations_on_template;
DROP INDEX IF EXISTS public.index_integrations_on_project_id_and_type_unique;
DROP INDEX IF EXISTS public.index_integrations_on_project_and_type_where_inherit_null;
DROP INDEX IF EXISTS public.index_integrations_on_inherit_from_id;
DROP INDEX IF EXISTS public.index_insights_on_project_id;
DROP INDEX IF EXISTS public.index_insights_on_namespace_id;
DROP INDEX IF EXISTS public.index_index_statuses_on_project_id;
DROP INDEX IF EXISTS public.index_incident_management_pending_alert_escalations_on_schedule;
DROP INDEX IF EXISTS public.index_incident_management_pending_alert_escalations_on_rule_id;
DROP INDEX IF EXISTS public.index_incident_management_pending_alert_escalations_on_alert_id;
DROP INDEX IF EXISTS public.index_incident_management_oncall_shifts_on_participant_id;
DROP INDEX IF EXISTS public.index_incident_management_oncall_schedules_on_project_id;
DROP INDEX IF EXISTS public.index_inc_mgmnt_oncall_rotations_on_oncall_schedule_id_and_name;
DROP INDEX IF EXISTS public.index_inc_mgmnt_oncall_rotations_on_oncall_schedule_id_and_id;
DROP INDEX IF EXISTS public.index_inc_mgmnt_oncall_pcpnt_on_oncall_rotation_id_is_removed;
DROP INDEX IF EXISTS public.index_inc_mgmnt_oncall_participants_on_user_id_and_rotation_id;
DROP INDEX IF EXISTS public.index_inc_mgmnt_oncall_participants_on_oncall_user_id;
DROP INDEX IF EXISTS public.index_in_product_marketing_emails_on_user_track_series;
DROP INDEX IF EXISTS public.index_in_product_marketing_emails_on_user_id;
DROP INDEX IF EXISTS public.index_imported_projects_on_import_type_creator_id_created_at;
DROP INDEX IF EXISTS public.index_import_failures_on_project_id_not_null;
DROP INDEX IF EXISTS public.index_import_failures_on_project_id_and_correlation_id_value;
DROP INDEX IF EXISTS public.index_import_failures_on_group_id_not_null;
DROP INDEX IF EXISTS public.index_import_failures_on_correlation_id_value;
DROP INDEX IF EXISTS public.index_import_export_uploads_on_updated_at;
DROP INDEX IF EXISTS public.index_import_export_uploads_on_project_id;
DROP INDEX IF EXISTS public.index_import_export_uploads_on_group_id;
DROP INDEX IF EXISTS public.index_im_oncall_schedules_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_im_issuable_escalation_statuses_on_policy_id;
DROP INDEX IF EXISTS public.index_identities_on_user_id;
DROP INDEX IF EXISTS public.index_identities_on_saml_provider_id;
DROP INDEX IF EXISTS public.index_http_integrations_on_active_and_project_and_endpoint;
DROP INDEX IF EXISTS public.index_historical_data_on_recorded_at;
DROP INDEX IF EXISTS public.index_group_wiki_repositories_on_shard_id;
DROP INDEX IF EXISTS public.index_group_wiki_repositories_on_disk_path;
DROP INDEX IF EXISTS public.index_group_stages_on_stage_event_hash_id;
DROP INDEX IF EXISTS public.index_group_stages_on_group_id_group_value_stream_id_and_name;
DROP INDEX IF EXISTS public.index_group_repository_storage_moves_on_group_id;
DROP INDEX IF EXISTS public.index_group_import_states_on_user_id;
DROP INDEX IF EXISTS public.index_group_import_states_on_group_id;
DROP INDEX IF EXISTS public.index_group_group_links_on_shared_with_group_id;
DROP INDEX IF EXISTS public.index_group_group_links_on_shared_group_and_shared_with_group;
DROP INDEX IF EXISTS public.index_group_deploy_tokens_on_group_and_deploy_token_ids;
DROP INDEX IF EXISTS public.index_group_deploy_tokens_on_deploy_token_id;
DROP INDEX IF EXISTS public.index_group_deploy_keys_on_user_id;
DROP INDEX IF EXISTS public.index_group_deploy_keys_on_fingerprint_sha256;
DROP INDEX IF EXISTS public.index_group_deploy_keys_on_fingerprint;
DROP INDEX IF EXISTS public.index_group_deploy_keys_groups_on_group_deploy_key_id;
DROP INDEX IF EXISTS public.index_group_deploy_keys_group_on_group_deploy_key_and_group_ids;
DROP INDEX IF EXISTS public.index_group_deletion_schedules_on_user_id;
DROP INDEX IF EXISTS public.index_group_deletion_schedules_on_marked_for_deletion_on;
DROP INDEX IF EXISTS public.index_group_custom_attributes_on_key_and_value;
DROP INDEX IF EXISTS public.index_group_custom_attributes_on_group_id_and_key;
DROP INDEX IF EXISTS public.index_grafana_integrations_on_project_id;
DROP INDEX IF EXISTS public.index_grafana_integrations_on_enabled;
DROP INDEX IF EXISTS public.index_gpg_signatures_on_project_id;
DROP INDEX IF EXISTS public.index_gpg_signatures_on_gpg_key_subkey_id;
DROP INDEX IF EXISTS public.index_gpg_signatures_on_gpg_key_primary_keyid;
DROP INDEX IF EXISTS public.index_gpg_signatures_on_gpg_key_id;
DROP INDEX IF EXISTS public.index_gpg_signatures_on_commit_sha;
DROP INDEX IF EXISTS public.index_gpg_keys_on_user_id;
DROP INDEX IF EXISTS public.index_gpg_keys_on_primary_keyid;
DROP INDEX IF EXISTS public.index_gpg_keys_on_fingerprint;
DROP INDEX IF EXISTS public.index_gpg_key_subkeys_on_keyid;
DROP INDEX IF EXISTS public.index_gpg_key_subkeys_on_gpg_key_id;
DROP INDEX IF EXISTS public.index_gpg_key_subkeys_on_fingerprint;
DROP INDEX IF EXISTS public.index_gitlab_subscriptions_on_namespace_id;
DROP INDEX IF EXISTS public.index_gitlab_subscriptions_on_hosted_plan_id;
DROP INDEX IF EXISTS public.index_gitlab_subscriptions_on_end_date_and_namespace_id;
DROP INDEX IF EXISTS public.index_gitlab_subscription_histories_on_gitlab_subscription_id;
DROP INDEX IF EXISTS public.index_geo_upload_deleted_events_on_upload_id;
DROP INDEX IF EXISTS public.index_geo_reset_checksum_events_on_project_id;
DROP INDEX IF EXISTS public.index_geo_repository_updated_events_on_source;
DROP INDEX IF EXISTS public.index_geo_repository_updated_events_on_project_id;
DROP INDEX IF EXISTS public.index_geo_repository_renamed_events_on_project_id;
DROP INDEX IF EXISTS public.index_geo_repository_deleted_events_on_project_id;
DROP INDEX IF EXISTS public.index_geo_repository_created_events_on_project_id;
DROP INDEX IF EXISTS public.index_geo_repositories_changed_events_on_geo_node_id;
DROP INDEX IF EXISTS public.index_geo_nodes_on_primary;
DROP INDEX IF EXISTS public.index_geo_nodes_on_name;
DROP INDEX IF EXISTS public.index_geo_nodes_on_access_key;
DROP INDEX IF EXISTS public.index_geo_node_statuses_on_geo_node_id;
DROP INDEX IF EXISTS public.index_geo_node_namespace_links_on_namespace_id;
DROP INDEX IF EXISTS public.index_geo_node_namespace_links_on_geo_node_id_and_namespace_id;
DROP INDEX IF EXISTS public.index_geo_node_namespace_links_on_geo_node_id;
DROP INDEX IF EXISTS public.index_geo_lfs_object_deleted_events_on_lfs_object_id;
DROP INDEX IF EXISTS public.index_geo_job_artifact_deleted_events_on_job_artifact_id;
DROP INDEX IF EXISTS public.index_geo_hashed_storage_migrated_events_on_project_id;
DROP INDEX IF EXISTS public.index_geo_hashed_storage_attachments_events_on_project_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_upload_deleted_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_reset_checksum_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_repository_updated_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_repository_renamed_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_repository_deleted_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_repository_created_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_repositories_changed_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_lfs_object_deleted_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_job_artifact_deleted_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_hashed_storage_migrated_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_hashed_storage_attachments_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_geo_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_container_repository_updated_event_id;
DROP INDEX IF EXISTS public.index_geo_event_log_on_cache_invalidation_event_id;
DROP INDEX IF EXISTS public.index_fork_networks_on_root_project_id;
DROP INDEX IF EXISTS public.index_fork_network_members_on_project_id;
DROP INDEX IF EXISTS public.index_fork_network_members_on_forked_from_project_id;
DROP INDEX IF EXISTS public.index_fork_network_members_on_fork_network_id;
DROP INDEX IF EXISTS public.index_for_status_per_branch_per_project;
DROP INDEX IF EXISTS public.index_for_resource_group;
DROP INDEX IF EXISTS public.index_features_on_key;
DROP INDEX IF EXISTS public.index_feature_gates_on_feature_key_and_key_and_value;
DROP INDEX IF EXISTS public.index_feature_flags_clients_on_project_id_and_token_encrypted;
DROP INDEX IF EXISTS public.index_feature_flag_scopes_on_flag_id_and_environment_scope;
DROP INDEX IF EXISTS public.index_external_pull_requests_on_project_and_branches;
DROP INDEX IF EXISTS public.index_expired_and_not_notified_personal_access_tokens;
DROP INDEX IF EXISTS public.index_experiments_on_name;
DROP INDEX IF EXISTS public.index_experiment_users_on_user_id;
DROP INDEX IF EXISTS public.index_experiment_users_on_experiment_id;
DROP INDEX IF EXISTS public.index_experiment_subjects_on_user_id;
DROP INDEX IF EXISTS public.index_experiment_subjects_on_project_id;
DROP INDEX IF EXISTS public.index_experiment_subjects_on_namespace_id;
DROP INDEX IF EXISTS public.index_experiment_subjects_on_experiment_id;
DROP INDEX IF EXISTS public.index_evidences_on_release_id;
DROP INDEX IF EXISTS public.index_events_on_target_type_and_target_id_and_fingerprint;
DROP INDEX IF EXISTS public.index_events_on_target_type_and_target_id;
DROP INDEX IF EXISTS public.index_events_on_project_id_and_id_desc_on_merged_action;
DROP INDEX IF EXISTS public.index_events_on_project_id_and_id;
DROP INDEX IF EXISTS public.index_events_on_project_id_and_created_at;
DROP INDEX IF EXISTS public.index_events_on_group_id_partial;
DROP INDEX IF EXISTS public.index_events_on_author_id_and_project_id;
DROP INDEX IF EXISTS public.index_events_on_author_id_and_created_at_merge_requests;
DROP INDEX IF EXISTS public.index_events_on_author_id_and_created_at;
DROP INDEX IF EXISTS public.index_events_on_action;
DROP INDEX IF EXISTS public.index_escalation_rules_on_user;
DROP INDEX IF EXISTS public.index_escalation_rules_on_all_attributes;
DROP INDEX IF EXISTS public.index_esc_protected_branches_on_protected_branch_id;
DROP INDEX IF EXISTS public.index_esc_protected_branches_on_external_status_check_id;
DROP INDEX IF EXISTS public.index_error_tracking_errors_on_project_id;
DROP INDEX IF EXISTS public.index_error_tracking_error_events_on_error_id;
DROP INDEX IF EXISTS public.index_error_tracking_client_keys_on_project_id;
DROP INDEX IF EXISTS public.index_epics_on_start_date_sourcing_milestone_id;
DROP INDEX IF EXISTS public.index_epics_on_start_date_sourcing_epic_id;
DROP INDEX IF EXISTS public.index_epics_on_start_date;
DROP INDEX IF EXISTS public.index_epics_on_parent_id;
DROP INDEX IF EXISTS public.index_epics_on_last_edited_by_id;
DROP INDEX IF EXISTS public.index_epics_on_iid;
DROP INDEX IF EXISTS public.index_epics_on_group_id_and_iid_varchar_pattern;
DROP INDEX IF EXISTS public.index_epics_on_group_id_and_iid;
DROP INDEX IF EXISTS public.index_epics_on_group_id_and_external_key;
DROP INDEX IF EXISTS public.index_epics_on_end_date;
DROP INDEX IF EXISTS public.index_epics_on_due_date_sourcing_milestone_id;
DROP INDEX IF EXISTS public.index_epics_on_due_date_sourcing_epic_id;
DROP INDEX IF EXISTS public.index_epics_on_confidential;
DROP INDEX IF EXISTS public.index_epics_on_closed_by_id;
DROP INDEX IF EXISTS public.index_epics_on_author_id;
DROP INDEX IF EXISTS public.index_epics_on_assignee_id;
DROP INDEX IF EXISTS public.index_epic_user_mentions_on_note_id;
DROP INDEX IF EXISTS public.index_epic_metrics;
DROP INDEX IF EXISTS public.index_epic_issues_on_issue_id;
DROP INDEX IF EXISTS public.index_epic_issues_on_epic_id_and_issue_id;
DROP INDEX IF EXISTS public.index_epic_issues_on_epic_id;
DROP INDEX IF EXISTS public.index_epic_board_recent_visits_on_user_group_and_board;
DROP INDEX IF EXISTS public.index_epic_board_list_preferences_on_user_and_list;
DROP INDEX IF EXISTS public.index_environments_on_state_and_auto_stop_at;
DROP INDEX IF EXISTS public.index_environments_on_state_and_auto_delete_at;
DROP INDEX IF EXISTS public.index_environments_on_project_id_state_environment_type;
DROP INDEX IF EXISTS public.index_environments_on_project_id_and_tier;
DROP INDEX IF EXISTS public.index_environments_on_project_id_and_slug;
DROP INDEX IF EXISTS public.index_environments_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_environments_on_name_varchar_pattern_ops;
DROP INDEX IF EXISTS public.index_environments_on_auto_stop_at;
DROP INDEX IF EXISTS public.index_enabled_clusters_on_id;
DROP INDEX IF EXISTS public.index_emails_on_user_id;
DROP INDEX IF EXISTS public.index_emails_on_email;
DROP INDEX IF EXISTS public.index_emails_on_confirmation_token;
DROP INDEX IF EXISTS public.index_elasticsearch_indexed_namespaces_on_created_at;
DROP INDEX IF EXISTS public.index_elastic_reindexing_tasks_on_state;
DROP INDEX IF EXISTS public.index_elastic_reindexing_tasks_on_in_progress;
DROP INDEX IF EXISTS public.index_elastic_reindexing_subtasks_on_elastic_reindexing_task_id;
DROP INDEX IF EXISTS public.index_elastic_index_settings_on_alias_name;
DROP INDEX IF EXISTS public.index_draft_notes_on_merge_request_id;
DROP INDEX IF EXISTS public.index_draft_notes_on_discussion_id;
DROP INDEX IF EXISTS public.index_draft_notes_on_author_id;
DROP INDEX IF EXISTS public.index_dora_daily_metrics_on_environment_id_and_date;
DROP INDEX IF EXISTS public.index_diff_note_positions_on_note_id_and_diff_type;
DROP INDEX IF EXISTS public.index_design_user_mentions_on_note_id;
DROP INDEX IF EXISTS public.index_design_management_versions_on_sha_and_issue_id;
DROP INDEX IF EXISTS public.index_design_management_versions_on_issue_id;
DROP INDEX IF EXISTS public.index_design_management_versions_on_author_id;
DROP INDEX IF EXISTS public.index_design_management_designs_versions_on_version_id;
DROP INDEX IF EXISTS public.index_design_management_designs_versions_on_event;
DROP INDEX IF EXISTS public.index_design_management_designs_versions_on_design_id;
DROP INDEX IF EXISTS public.index_design_management_designs_on_project_id;
DROP INDEX IF EXISTS public.index_design_management_designs_on_issue_id_and_filename;
DROP INDEX IF EXISTS public.index_design_management_designs_on_iid_and_project_id;
DROP INDEX IF EXISTS public.index_design_management_designs_issue_id_relative_position_id;
DROP INDEX IF EXISTS public.index_description_versions_on_merge_request_id;
DROP INDEX IF EXISTS public.index_description_versions_on_issue_id;
DROP INDEX IF EXISTS public.index_description_versions_on_epic_id;
DROP INDEX IF EXISTS public.index_deployments_on_user_id_and_status_and_created_at;
DROP INDEX IF EXISTS public.index_deployments_on_project_id_sha;
DROP INDEX IF EXISTS public.index_deployments_on_project_id_and_updated_at_and_id;
DROP INDEX IF EXISTS public.index_deployments_on_project_id_and_status_and_created_at;
DROP INDEX IF EXISTS public.index_deployments_on_project_id_and_status;
DROP INDEX IF EXISTS public.index_deployments_on_project_id_and_ref;
DROP INDEX IF EXISTS public.index_deployments_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_deployments_on_project_id_and_id;
DROP INDEX IF EXISTS public.index_deployments_on_project_and_finished;
DROP INDEX IF EXISTS public.index_deployments_on_project_and_environment_and_updated_at_id;
DROP INDEX IF EXISTS public.index_deployments_on_id_where_cluster_id_present;
DROP INDEX IF EXISTS public.index_deployments_on_id_and_status_and_created_at;
DROP INDEX IF EXISTS public.index_deployments_on_environment_status_sha;
DROP INDEX IF EXISTS public.index_deployments_on_environment_id_status_and_id;
DROP INDEX IF EXISTS public.index_deployments_on_environment_id_status_and_finished_at;
DROP INDEX IF EXISTS public.index_deployments_on_environment_id_and_iid_and_project_id;
DROP INDEX IF EXISTS public.index_deployments_on_environment_id_and_id;
DROP INDEX IF EXISTS public.index_deployments_on_deployable_type_and_deployable_id;
DROP INDEX IF EXISTS public.index_deployments_on_created_at;
DROP INDEX IF EXISTS public.index_deployments_on_cluster_id_and_status;
DROP INDEX IF EXISTS public.index_deployment_merge_requests_on_merge_request_id;
DROP INDEX IF EXISTS public.index_deployment_clusters_on_cluster_id_and_deployment_id;
DROP INDEX IF EXISTS public.index_deploy_tokens_on_token_encrypted;
DROP INDEX IF EXISTS public.index_deploy_tokens_on_token_and_expires_at_and_id;
DROP INDEX IF EXISTS public.index_deploy_tokens_on_token;
DROP INDEX IF EXISTS public.index_deploy_keys_projects_on_project_id;
DROP INDEX IF EXISTS public.index_deploy_keys_projects_on_deploy_key_id;
DROP INDEX IF EXISTS public.index_deploy_key_id_on_protected_branch_push_access_levels;
DROP INDEX IF EXISTS public.index_dependency_proxy_manifests_on_group_id_and_file_name;
DROP INDEX IF EXISTS public.index_dependency_proxy_group_settings_on_group_id;
DROP INDEX IF EXISTS public.index_dependency_proxy_blobs_on_group_id_and_file_name;
DROP INDEX IF EXISTS public.index_dep_ci_build_trace_sections_on_section_name_id;
DROP INDEX IF EXISTS public.index_dep_ci_build_trace_sections_on_project_id;
DROP INDEX IF EXISTS public.index_dep_ci_build_trace_section_names_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_dast_sites_on_project_id_and_url;
DROP INDEX IF EXISTS public.index_dast_sites_on_dast_site_validation_id;
DROP INDEX IF EXISTS public.index_dast_site_validations_on_url_base_and_state;
DROP INDEX IF EXISTS public.index_dast_site_validations_on_dast_site_token_id;
DROP INDEX IF EXISTS public.index_dast_site_tokens_on_project_id;
DROP INDEX IF EXISTS public.index_dast_site_profiles_pipelines_on_ci_pipeline_id;
DROP INDEX IF EXISTS public.index_dast_site_profiles_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_dast_site_profiles_on_dast_site_id;
DROP INDEX IF EXISTS public.index_dast_scanner_profiles_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_dast_profiles_pipelines_on_ci_pipeline_id;
DROP INDEX IF EXISTS public.index_dast_profiles_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_dast_profiles_on_dast_site_profile_id;
DROP INDEX IF EXISTS public.index_dast_profiles_on_dast_scanner_profile_id;
DROP INDEX IF EXISTS public.index_dast_profile_schedules_on_user_id;
DROP INDEX IF EXISTS public.index_dast_profile_schedules_on_project_id_and_dast_profile_id;
DROP INDEX IF EXISTS public.index_dast_profile_schedules_on_dast_profile_id;
DROP INDEX IF EXISTS public.index_dast_profile_schedules_active_next_run_at;
DROP INDEX IF EXISTS public.index_daily_build_group_report_results_unique_columns;
DROP INDEX IF EXISTS public.index_cycle_analytics_stage_event_hashes_on_hash_sha_256;
DROP INDEX IF EXISTS public.index_customer_relations_organizations_on_unique_name_per_group;
DROP INDEX IF EXISTS public.index_custom_emoji_on_namespace_id_and_name;
DROP INDEX IF EXISTS public.index_custom_emoji_on_creator_id;
DROP INDEX IF EXISTS public.index_csv_issue_imports_on_user_id;
DROP INDEX IF EXISTS public.index_csv_issue_imports_on_project_id;
DROP INDEX IF EXISTS public.index_created_at_on_codeowner_approval_merge_request_rules;
DROP INDEX IF EXISTS public.index_container_repository_on_name_trigram;
DROP INDEX IF EXISTS public.index_container_repositories_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_container_repositories_on_project_id_and_id;
DROP INDEX IF EXISTS public.index_container_repositories_on_project_id;
DROP INDEX IF EXISTS public.index_container_expiration_policies_on_next_run_at_and_enabled;
DROP INDEX IF EXISTS public.index_composer_cache_files_where_namespace_id_is_null;
DROP INDEX IF EXISTS public.index_compliance_frameworks_id_where_frameworks_not_null;
DROP INDEX IF EXISTS public.index_commit_user_mentions_on_note_id;
DROP INDEX IF EXISTS public.index_clusters_on_user_id;
DROP INDEX IF EXISTS public.index_clusters_on_management_project_id;
DROP INDEX IF EXISTS public.index_clusters_on_enabled_cluster_type_id_and_created_at;
DROP INDEX IF EXISTS public.index_clusters_on_enabled_and_provider_type_and_id;
DROP INDEX IF EXISTS public.index_clusters_kubernetes_namespaces_on_project_id;
DROP INDEX IF EXISTS public.index_clusters_kubernetes_namespaces_on_environment_id;
DROP INDEX IF EXISTS public.index_clusters_kubernetes_namespaces_on_cluster_project_id;
DROP INDEX IF EXISTS public.index_clusters_kubernetes_namespaces_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_runners_on_runner_id;
DROP INDEX IF EXISTS public.index_clusters_applications_runners_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_prometheus_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_knative_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_jupyter_on_oauth_application_id;
DROP INDEX IF EXISTS public.index_clusters_applications_jupyter_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_ingress_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_helm_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_elastic_stacks_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_crossplane_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_cilium_on_cluster_id;
DROP INDEX IF EXISTS public.index_clusters_applications_cert_managers_on_cluster_id;
DROP INDEX IF EXISTS public.index_cluster_providers_gcp_on_cluster_id;
DROP INDEX IF EXISTS public.index_cluster_providers_gcp_on_cloud_run;
DROP INDEX IF EXISTS public.index_cluster_providers_aws_on_cluster_id_and_status;
DROP INDEX IF EXISTS public.index_cluster_providers_aws_on_cluster_id;
DROP INDEX IF EXISTS public.index_cluster_projects_on_project_id;
DROP INDEX IF EXISTS public.index_cluster_projects_on_cluster_id;
DROP INDEX IF EXISTS public.index_cluster_platforms_kubernetes_on_cluster_id;
DROP INDEX IF EXISTS public.index_cluster_groups_on_group_id;
DROP INDEX IF EXISTS public.index_cluster_groups_on_cluster_id_and_group_id;
DROP INDEX IF EXISTS public.index_cluster_agents_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_cluster_agents_on_created_by_user_id;
DROP INDEX IF EXISTS public.index_cluster_agent_tokens_on_token_encrypted;
DROP INDEX IF EXISTS public.index_cluster_agent_tokens_on_created_by_user_id;
DROP INDEX IF EXISTS public.index_cluster_agent_tokens_on_agent_id_and_last_used_at;
DROP INDEX IF EXISTS public.index_ci_variables_on_project_id_and_key_and_environment_scope;
DROP INDEX IF EXISTS public.index_ci_variables_on_key;
DROP INDEX IF EXISTS public.index_ci_unit_tests_on_project_id_and_key_hash;
DROP INDEX IF EXISTS public.index_ci_unit_test_failures_on_build_id;
DROP INDEX IF EXISTS public.index_ci_triggers_on_project_id;
DROP INDEX IF EXISTS public.index_ci_triggers_on_owner_id;
DROP INDEX IF EXISTS public.index_ci_trigger_requests_on_trigger_id_and_id;
DROP INDEX IF EXISTS public.index_ci_trigger_requests_on_commit_id;
DROP INDEX IF EXISTS public.index_ci_subscriptions_projects_unique_subscription;
DROP INDEX IF EXISTS public.index_ci_subscriptions_projects_on_upstream_project_id;
DROP INDEX IF EXISTS public.index_ci_stages_on_project_id;
DROP INDEX IF EXISTS public.index_ci_stages_on_pipeline_id_and_position;
DROP INDEX IF EXISTS public.index_ci_stages_on_pipeline_id_and_name;
DROP INDEX IF EXISTS public.index_ci_stages_on_pipeline_id_and_id;
DROP INDEX IF EXISTS public.index_ci_stages_on_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_sources_projects_on_source_project_id_and_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_sources_projects_on_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_sources_pipelines_on_source_project_id;
DROP INDEX IF EXISTS public.index_ci_sources_pipelines_on_source_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_sources_pipelines_on_source_job_id;
DROP INDEX IF EXISTS public.index_ci_sources_pipelines_on_project_id;
DROP INDEX IF EXISTS public.index_ci_sources_pipelines_on_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_running_builds_on_runner_id;
DROP INDEX IF EXISTS public.index_ci_running_builds_on_project_id;
DROP INDEX IF EXISTS public.index_ci_running_builds_on_build_id;
DROP INDEX IF EXISTS public.index_ci_runners_on_token_encrypted;
DROP INDEX IF EXISTS public.index_ci_runners_on_token;
DROP INDEX IF EXISTS public.index_ci_runners_on_runner_type;
DROP INDEX IF EXISTS public.index_ci_runners_on_locked;
DROP INDEX IF EXISTS public.index_ci_runners_on_description_trigram;
DROP INDEX IF EXISTS public.index_ci_runners_on_created_at_desc_and_id_desc;
DROP INDEX IF EXISTS public.index_ci_runners_on_created_at_and_id_desc;
DROP INDEX IF EXISTS public.index_ci_runners_on_contacted_at_desc_and_id_desc;
DROP INDEX IF EXISTS public.index_ci_runners_on_contacted_at_and_id_desc;
DROP INDEX IF EXISTS public.index_ci_runner_projects_on_runner_id;
DROP INDEX IF EXISTS public.index_ci_runner_projects_on_project_id;
DROP INDEX IF EXISTS public.index_ci_runner_namespaces_on_runner_id_and_namespace_id;
DROP INDEX IF EXISTS public.index_ci_runner_namespaces_on_namespace_id;
DROP INDEX IF EXISTS public.index_ci_resources_on_resource_group_id_and_build_id;
DROP INDEX IF EXISTS public.index_ci_resources_on_build_id;
DROP INDEX IF EXISTS public.index_ci_resource_groups_on_project_id_and_key;
DROP INDEX IF EXISTS public.index_ci_refs_on_project_id_and_ref_path;
DROP INDEX IF EXISTS public.index_ci_project_monthly_usages_on_project_id_and_date;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_user_id_and_id_and_cancelable_status;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_user_id_and_created_at_and_source;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_user_id_and_created_at_and_config_source;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_status_and_id;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_idandrefandiddesc;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_user_id_and_status_and_ref;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_status_and_updated_at;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_status_and_created_at;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_status_and_config_source;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_source;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_sha;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_ref_and_status_and_id;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_project_id_and_id_desc;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_pipeline_schedule_id_and_id;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_merge_request_id;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_external_pull_request_id;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_ci_ref_id_and_more;
DROP INDEX IF EXISTS public.index_ci_pipelines_on_auto_canceled_by_id;
DROP INDEX IF EXISTS public.index_ci_pipelines_for_ondemand_dast_scans;
DROP INDEX IF EXISTS public.index_ci_pipelines_config_on_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_pipeline_variables_on_pipeline_id_and_key;
DROP INDEX IF EXISTS public.index_ci_pipeline_schedules_on_project_id;
DROP INDEX IF EXISTS public.index_ci_pipeline_schedules_on_owner_id_and_id_and_active;
DROP INDEX IF EXISTS public.index_ci_pipeline_schedules_on_owner_id;
DROP INDEX IF EXISTS public.index_ci_pipeline_schedules_on_next_run_at_and_active;
DROP INDEX IF EXISTS public.index_ci_pipeline_schedule_variables_on_schedule_id_and_key;
DROP INDEX IF EXISTS public.index_ci_pipeline_messages_on_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_pipeline_chat_data_on_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_pipeline_chat_data_on_chat_name_id;
DROP INDEX IF EXISTS public.index_ci_pipeline_artifacts_verification_state;
DROP INDEX IF EXISTS public.index_ci_pipeline_artifacts_pending_verification;
DROP INDEX IF EXISTS public.index_ci_pipeline_artifacts_on_project_id;
DROP INDEX IF EXISTS public.index_ci_pipeline_artifacts_on_pipeline_id_and_file_type;
DROP INDEX IF EXISTS public.index_ci_pipeline_artifacts_on_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_pipeline_artifacts_on_expire_at;
DROP INDEX IF EXISTS public.index_ci_pipeline_artifacts_needs_verification;
DROP INDEX IF EXISTS public.index_ci_pipeline_artifacts_failed_verification;
DROP INDEX IF EXISTS public.index_ci_pending_builds_on_project_id;
DROP INDEX IF EXISTS public.index_ci_pending_builds_on_namespace_id;
DROP INDEX IF EXISTS public.index_ci_pending_builds_on_build_id;
DROP INDEX IF EXISTS public.index_ci_pending_builds_id_on_protected_partial;
DROP INDEX IF EXISTS public.index_ci_namespace_monthly_usages_on_namespace_id_and_date;
DROP INDEX IF EXISTS public.index_ci_minutes_additional_packs_on_namespace_id_purchase_xid;
DROP INDEX IF EXISTS public.index_ci_job_variables_on_key_and_job_id;
DROP INDEX IF EXISTS public.index_ci_job_variables_on_job_id;
DROP INDEX IF EXISTS public.index_ci_job_token_project_scope_links_on_target_project_id;
DROP INDEX IF EXISTS public.index_ci_job_token_project_scope_links_on_added_by_id;
DROP INDEX IF EXISTS public.index_ci_job_artifacts_on_project_id_for_security_reports;
DROP INDEX IF EXISTS public.index_ci_job_artifacts_on_project_id;
DROP INDEX IF EXISTS public.index_ci_job_artifacts_on_job_id_and_file_type;
DROP INDEX IF EXISTS public.index_ci_job_artifacts_on_file_type_for_devops_adoption;
DROP INDEX IF EXISTS public.index_ci_job_artifacts_on_file_store;
DROP INDEX IF EXISTS public.index_ci_job_artifacts_on_expire_at_and_job_id;
DROP INDEX IF EXISTS public.index_ci_job_artifacts_id_for_terraform_reports;
DROP INDEX IF EXISTS public.index_ci_job_artifacts_for_terraform_reports;
DROP INDEX IF EXISTS public.index_ci_instance_variables_on_key;
DROP INDEX IF EXISTS public.index_ci_group_variables_on_group_id_and_key_and_environment;
DROP INDEX IF EXISTS public.index_ci_freeze_periods_on_project_id;
DROP INDEX IF EXISTS public.index_ci_deleted_objects_on_pick_up_at;
DROP INDEX IF EXISTS public.index_ci_daily_build_group_report_results_on_project_and_date;
DROP INDEX IF EXISTS public.index_ci_daily_build_group_report_results_on_last_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_daily_build_group_report_results_on_group_id;
DROP INDEX IF EXISTS public.index_ci_builds_runner_session_on_build_id;
DROP INDEX IF EXISTS public.index_ci_builds_runner_id_running;
DROP INDEX IF EXISTS public.index_ci_builds_runner_id_pending_covering;
DROP INDEX IF EXISTS public.index_ci_builds_project_id_and_status_for_live_jobs_partial2;
DROP INDEX IF EXISTS public.index_ci_builds_on_user_id_and_created_at_and_type_eq_ci_build;
DROP INDEX IF EXISTS public.index_ci_builds_on_user_id;
DROP INDEX IF EXISTS public.index_ci_builds_on_upstream_pipeline_id;
DROP INDEX IF EXISTS public.index_ci_builds_on_updated_at;
DROP INDEX IF EXISTS public.index_ci_builds_on_token_partial;
DROP INDEX IF EXISTS public.index_ci_builds_on_token_encrypted;
DROP INDEX IF EXISTS public.index_ci_builds_on_status_and_type_and_runner_id;
DROP INDEX IF EXISTS public.index_ci_builds_on_stage_id;
DROP INDEX IF EXISTS public.index_ci_builds_on_runner_id_and_id_desc;
DROP INDEX IF EXISTS public.index_ci_builds_on_queued_at;
DROP INDEX IF EXISTS public.index_ci_builds_on_project_id_for_successfull_pages_deploy;
DROP INDEX IF EXISTS public.index_ci_builds_on_project_id_and_name_and_ref;
DROP INDEX IF EXISTS public.index_ci_builds_on_project_id_and_id;
DROP INDEX IF EXISTS public.index_ci_builds_on_commit_id_artifacts_expired_at_and_id;
DROP INDEX IF EXISTS public.index_ci_builds_on_commit_id_and_type_and_ref;
DROP INDEX IF EXISTS public.index_ci_builds_on_commit_id_and_type_and_name_and_ref;
DROP INDEX IF EXISTS public.index_ci_builds_on_commit_id_and_status_and_type;
DROP INDEX IF EXISTS public.index_ci_builds_on_commit_id_and_stage_idx_and_created_at;
DROP INDEX IF EXISTS public.index_ci_builds_on_auto_canceled_by_id;
DROP INDEX IF EXISTS public.index_ci_builds_metadata_on_project_id;
DROP INDEX IF EXISTS public.index_ci_builds_metadata_on_build_id_and_id_and_interruptible;
DROP INDEX IF EXISTS public.index_ci_builds_metadata_on_build_id_and_has_exposed_artifacts;
DROP INDEX IF EXISTS public.index_ci_builds_metadata_on_build_id;
DROP INDEX IF EXISTS public.index_ci_build_trace_metadata_on_trace_artifact_id;
DROP INDEX IF EXISTS public.index_ci_build_trace_chunks_on_build_id_and_chunk_index;
DROP INDEX IF EXISTS public.index_ci_build_report_results_on_project_id;
DROP INDEX IF EXISTS public.index_ci_build_pending_states_on_build_id;
DROP INDEX IF EXISTS public.index_ci_build_needs_on_build_id_and_name;
DROP INDEX IF EXISTS public.index_chat_teams_on_namespace_id;
DROP INDEX IF EXISTS public.index_chat_names_on_user_id_and_service_id;
DROP INDEX IF EXISTS public.index_chat_names_on_service_id_and_team_id_and_chat_id;
DROP INDEX IF EXISTS public.index_bulk_imports_on_user_id;
DROP INDEX IF EXISTS public.index_bulk_import_failures_on_correlation_id_value;
DROP INDEX IF EXISTS public.index_bulk_import_failures_on_bulk_import_entity_id;
DROP INDEX IF EXISTS public.index_bulk_import_export_uploads_on_export_id;
DROP INDEX IF EXISTS public.index_bulk_import_entities_on_project_id;
DROP INDEX IF EXISTS public.index_bulk_import_entities_on_parent_id;
DROP INDEX IF EXISTS public.index_bulk_import_entities_on_namespace_id;
DROP INDEX IF EXISTS public.index_bulk_import_entities_on_bulk_import_id_and_status;
DROP INDEX IF EXISTS public.index_bulk_import_configurations_on_bulk_import_id;
DROP INDEX IF EXISTS public.index_broadcast_message_on_ends_at_and_broadcast_type_and_id;
DROP INDEX IF EXISTS public.index_boards_on_project_id;
DROP INDEX IF EXISTS public.index_boards_on_milestone_id;
DROP INDEX IF EXISTS public.index_boards_on_iteration_id;
DROP INDEX IF EXISTS public.index_boards_on_group_id;
DROP INDEX IF EXISTS public.index_boards_epic_user_preferences_on_user_id;
DROP INDEX IF EXISTS public.index_boards_epic_user_preferences_on_epic_id;
DROP INDEX IF EXISTS public.index_boards_epic_user_preferences_on_board_user_epic_unique;
DROP INDEX IF EXISTS public.index_boards_epic_user_preferences_on_board_id;
DROP INDEX IF EXISTS public.index_boards_epic_lists_on_label_id;
DROP INDEX IF EXISTS public.index_boards_epic_lists_on_epic_board_id_and_label_id;
DROP INDEX IF EXISTS public.index_boards_epic_lists_on_epic_board_id;
DROP INDEX IF EXISTS public.index_boards_epic_list_user_preferences_on_epic_list_id;
DROP INDEX IF EXISTS public.index_boards_epic_boards_on_group_id;
DROP INDEX IF EXISTS public.index_boards_epic_board_recent_visits_on_user_id;
DROP INDEX IF EXISTS public.index_boards_epic_board_recent_visits_on_group_id;
DROP INDEX IF EXISTS public.index_boards_epic_board_recent_visits_on_epic_board_id;
DROP INDEX IF EXISTS public.index_boards_epic_board_positions_on_scoped_relative_position;
DROP INDEX IF EXISTS public.index_boards_epic_board_positions_on_epic_id;
DROP INDEX IF EXISTS public.index_boards_epic_board_positions_on_epic_board_id_and_epic_id;
DROP INDEX IF EXISTS public.index_boards_epic_board_labels_on_label_id;
DROP INDEX IF EXISTS public.index_boards_epic_board_labels_on_epic_board_id;
DROP INDEX IF EXISTS public.index_board_user_preferences_on_user_id_and_board_id;
DROP INDEX IF EXISTS public.index_board_user_preferences_on_user_id;
DROP INDEX IF EXISTS public.index_board_user_preferences_on_board_id;
DROP INDEX IF EXISTS public.index_board_project_recent_visits_on_user_project_and_board;
DROP INDEX IF EXISTS public.index_board_project_recent_visits_on_user_id;
DROP INDEX IF EXISTS public.index_board_project_recent_visits_on_project_id;
DROP INDEX IF EXISTS public.index_board_project_recent_visits_on_board_id;
DROP INDEX IF EXISTS public.index_board_labels_on_label_id;
DROP INDEX IF EXISTS public.index_board_labels_on_board_id_and_label_id;
DROP INDEX IF EXISTS public.index_board_group_recent_visits_on_user_id;
DROP INDEX IF EXISTS public.index_board_group_recent_visits_on_user_group_and_board;
DROP INDEX IF EXISTS public.index_board_group_recent_visits_on_group_id;
DROP INDEX IF EXISTS public.index_board_group_recent_visits_on_board_id;
DROP INDEX IF EXISTS public.index_board_assignees_on_board_id_and_assignee_id;
DROP INDEX IF EXISTS public.index_board_assignees_on_assignee_id;
DROP INDEX IF EXISTS public.index_batched_jobs_on_batched_migration_id_and_status;
DROP INDEX IF EXISTS public.index_batched_jobs_by_batched_migration_id_and_id;
DROP INDEX IF EXISTS public.index_batched_background_migrations_on_unique_configuration;
DROP INDEX IF EXISTS public.index_badges_on_project_id;
DROP INDEX IF EXISTS public.index_badges_on_group_id;
DROP INDEX IF EXISTS public.index_background_migration_jobs_on_class_name_and_status_and_id;
DROP INDEX IF EXISTS public.index_background_migration_jobs_on_class_name_and_arguments;
DROP INDEX IF EXISTS public.index_background_migration_jobs_for_partitioning_migrations;
DROP INDEX IF EXISTS public.index_aws_roles_on_user_id;
DROP INDEX IF EXISTS public.index_aws_roles_on_role_external_id;
DROP INDEX IF EXISTS public.index_award_emoji_on_awardable_type_and_awardable_id;
DROP INDEX IF EXISTS public.index_authentication_events_on_user_id;
DROP INDEX IF EXISTS public.index_authentication_events_on_provider_user_id_created_at;
DROP INDEX IF EXISTS public.index_authentication_events_on_provider;
DROP INDEX IF EXISTS public.index_atlassian_identities_on_extern_uid;
DROP INDEX IF EXISTS public.index_approvers_on_user_id;
DROP INDEX IF EXISTS public.index_approvers_on_target_id_and_target_type;
DROP INDEX IF EXISTS public.index_approver_groups_on_target_id_and_target_type;
DROP INDEX IF EXISTS public.index_approver_groups_on_group_id;
DROP INDEX IF EXISTS public.index_approvals_on_user_id_and_merge_request_id;
DROP INDEX IF EXISTS public.index_approvals_on_merge_request_id_and_created_at;
DROP INDEX IF EXISTS public.index_approvals_on_merge_request_id;
DROP INDEX IF EXISTS public.index_approval_rules_code_owners_rule_type;
DROP INDEX IF EXISTS public.index_approval_rule_name_for_sectional_code_owners_rule_type;
DROP INDEX IF EXISTS public.index_approval_rule_name_for_code_owners_rule_type;
DROP INDEX IF EXISTS public.index_approval_project_rules_users_on_approval_project_rule_id;
DROP INDEX IF EXISTS public.index_approval_project_rules_users_2;
DROP INDEX IF EXISTS public.index_approval_project_rules_users_1;
DROP INDEX IF EXISTS public.index_approval_project_rules_protected_branches_pb_id;
DROP INDEX IF EXISTS public.index_approval_project_rules_on_rule_type;
DROP INDEX IF EXISTS public.index_approval_project_rules_on_project_id;
DROP INDEX IF EXISTS public.index_approval_project_rules_on_id_with_regular_type;
DROP INDEX IF EXISTS public.index_approval_project_rules_groups_2;
DROP INDEX IF EXISTS public.index_approval_project_rules_groups_1;
DROP INDEX IF EXISTS public.index_approval_merge_request_rules_users_2;
DROP INDEX IF EXISTS public.index_approval_merge_request_rules_users_1;
DROP INDEX IF EXISTS public.index_approval_merge_request_rules_groups_2;
DROP INDEX IF EXISTS public.index_approval_merge_request_rules_groups_1;
DROP INDEX IF EXISTS public.index_approval_merge_request_rules_approved_approvers_2;
DROP INDEX IF EXISTS public.index_approval_merge_request_rules_approved_approvers_1;
DROP INDEX IF EXISTS public.index_approval_merge_request_rule_sources_2;
DROP INDEX IF EXISTS public.index_approval_merge_request_rule_sources_1;
DROP INDEX IF EXISTS public.index_applicationsettings_on_instance_administration_project_id;
DROP INDEX IF EXISTS public.index_application_settings_on_usage_stats_set_by_user_id;
DROP INDEX IF EXISTS public.index_application_settings_on_push_rule_id;
DROP INDEX IF EXISTS public.index_application_settings_on_instance_administrators_group_id;
DROP INDEX IF EXISTS public.index_application_settings_on_file_template_project_id;
DROP INDEX IF EXISTS public.index_application_settings_on_custom_project_templates_group_id;
DROP INDEX IF EXISTS public.index_analytics_cycle_analytics_group_stages_custom_only;
DROP INDEX IF EXISTS public.index_analytics_ca_project_value_streams_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_analytics_ca_project_stages_on_value_stream_id;
DROP INDEX IF EXISTS public.index_analytics_ca_project_stages_on_start_event_label_id;
DROP INDEX IF EXISTS public.index_analytics_ca_project_stages_on_relative_position;
DROP INDEX IF EXISTS public.index_analytics_ca_project_stages_on_project_id_and_name;
DROP INDEX IF EXISTS public.index_analytics_ca_project_stages_on_project_id;
DROP INDEX IF EXISTS public.index_analytics_ca_project_stages_on_end_event_label_id;
DROP INDEX IF EXISTS public.index_analytics_ca_group_value_streams_on_group_id_and_name;
DROP INDEX IF EXISTS public.index_analytics_ca_group_stages_on_value_stream_id;
DROP INDEX IF EXISTS public.index_analytics_ca_group_stages_on_start_event_label_id;
DROP INDEX IF EXISTS public.index_analytics_ca_group_stages_on_relative_position;
DROP INDEX IF EXISTS public.index_analytics_ca_group_stages_on_group_id;
DROP INDEX IF EXISTS public.index_analytics_ca_group_stages_on_end_event_label_id;
DROP INDEX IF EXISTS public.index_allowed_email_domains_on_group_id;
DROP INDEX IF EXISTS public.index_alert_user_mentions_on_note_id;
DROP INDEX IF EXISTS public.index_alert_user_mentions_on_alert_id_and_note_id;
DROP INDEX IF EXISTS public.index_alert_user_mentions_on_alert_id;
DROP INDEX IF EXISTS public.index_alert_management_http_integrations_on_project_id;
DROP INDEX IF EXISTS public.index_alert_management_alerts_on_prometheus_alert_id;
DROP INDEX IF EXISTS public.index_alert_management_alerts_on_project_id_and_iid;
DROP INDEX IF EXISTS public.index_alert_management_alerts_on_issue_id;
DROP INDEX IF EXISTS public.index_alert_management_alerts_on_environment_id;
DROP INDEX IF EXISTS public.index_alert_management_alerts_on_domain;
DROP INDEX IF EXISTS public.index_alert_assignees_on_user_id_and_alert_id;
DROP INDEX IF EXISTS public.index_alert_assignees_on_alert_id;
DROP INDEX IF EXISTS public.index_abuse_reports_on_user_id;
DROP INDEX IF EXISTS public.idx_vulnerability_issue_links_on_vulnerability_id_and_link_type;
DROP INDEX IF EXISTS public.idx_vulnerability_issue_links_on_vulnerability_id_and_issue_id;
DROP INDEX IF EXISTS public.idx_vulnerability_ext_issue_links_on_vulne_id_and_link_type;
DROP INDEX IF EXISTS public.idx_vulnerability_ext_issue_links_on_vulne_id_and_ext_issue;
DROP INDEX IF EXISTS public.idx_vulnerabilities_partial_devops_adoption;
DROP INDEX IF EXISTS public.idx_vuln_signatures_uniqueness_signature_sha;
DROP INDEX IF EXISTS public.idx_vuln_signatures_on_occurrences_id_and_signature_sha;
DROP INDEX IF EXISTS public.idx_serverless_domain_cluster_on_clusters_applications_knative;
DROP INDEX IF EXISTS public.idx_security_scans_on_scan_type;
DROP INDEX IF EXISTS public.idx_security_scans_on_build_and_scan_type;
DROP INDEX IF EXISTS public.idx_repository_states_outdated_checksums;
DROP INDEX IF EXISTS public.idx_repository_states_on_wiki_failure_partial;
DROP INDEX IF EXISTS public.idx_repository_states_on_repository_failure_partial;
DROP INDEX IF EXISTS public.idx_repository_states_on_last_wiki_verification_ran_at;
DROP INDEX IF EXISTS public.idx_repository_states_on_last_repository_verification_ran_at;
DROP INDEX IF EXISTS public.idx_protected_branch_id_external_approval_rule_id;
DROP INDEX IF EXISTS public.idx_projects_on_repository_storage_last_repository_updated_at;
DROP INDEX IF EXISTS public.idx_projects_id_created_at_disable_overriding_approvers_true;
DROP INDEX IF EXISTS public.idx_projects_id_created_at_disable_overriding_approvers_false;
DROP INDEX IF EXISTS public.idx_project_repository_check_partial;
DROP INDEX IF EXISTS public.idx_project_id_payload_key_self_managed_prometheus_alert_events;
DROP INDEX IF EXISTS public.idx_proj_feat_usg_on_jira_dvcs_server_last_sync_at_and_proj_id;
DROP INDEX IF EXISTS public.idx_proj_feat_usg_on_jira_dvcs_cloud_last_sync_at_and_proj_id;
DROP INDEX IF EXISTS public.idx_pkgs_dep_links_on_pkg_id_dependency_id_dependency_type;
DROP INDEX IF EXISTS public.idx_pkgs_debian_project_distribution_keys_on_distribution_id;
DROP INDEX IF EXISTS public.idx_pkgs_debian_group_distribution_keys_on_distribution_id;
DROP INDEX IF EXISTS public.idx_packages_packages_on_project_id_name_version_package_type;
DROP INDEX IF EXISTS public.idx_packages_debian_project_component_files_on_architecture_id;
DROP INDEX IF EXISTS public.idx_packages_debian_group_component_files_on_architecture_id;
DROP INDEX IF EXISTS public.idx_packages_build_infos_on_package_id;
DROP INDEX IF EXISTS public.idx_on_external_status_checks_project_id_name;
DROP INDEX IF EXISTS public.idx_on_external_status_checks_project_id_external_url;
DROP INDEX IF EXISTS public.idx_on_external_approval_rules_project_id_name;
DROP INDEX IF EXISTS public.idx_on_external_approval_rules_project_id_external_url;
DROP INDEX IF EXISTS public.idx_on_compliance_management_frameworks_namespace_id_name;
DROP INDEX IF EXISTS public.idx_mrs_on_target_id_and_created_at_and_state_id;
DROP INDEX IF EXISTS public.idx_mr_cc_diff_files_on_mr_cc_id_and_sha;
DROP INDEX IF EXISTS public.idx_metrics_users_starred_dashboard_on_user_project_dashboard;
DROP INDEX IF EXISTS public.idx_merge_requests_on_target_project_id_and_locked_state;
DROP INDEX IF EXISTS public.idx_merge_requests_on_target_project_id_and_iid_opened;
DROP INDEX IF EXISTS public.idx_merge_requests_on_state_id_and_merge_status;
DROP INDEX IF EXISTS public.idx_merge_requests_on_source_project_and_branch_state_opened;
DROP INDEX IF EXISTS public.idx_merge_requests_on_merged_state;
DROP INDEX IF EXISTS public.idx_merge_requests_on_id_and_merge_jid;
DROP INDEX IF EXISTS public.idx_members_created_at_user_id_invite_token;
DROP INDEX IF EXISTS public.idx_keys_expires_at_and_before_expiry_notification_undelivered;
DROP INDEX IF EXISTS public.idx_jira_connect_subscriptions_on_installation_id_namespace_id;
DROP INDEX IF EXISTS public.idx_jira_connect_subscriptions_on_installation_id;
DROP INDEX IF EXISTS public.idx_issues_on_state_id;
DROP INDEX IF EXISTS public.idx_issues_on_project_id_and_updated_at_and_id_and_state_id;
DROP INDEX IF EXISTS public.idx_issues_on_project_id_and_rel_position_and_state_id_and_id;
DROP INDEX IF EXISTS public.idx_issues_on_project_id_and_rel_asc_and_id;
DROP INDEX IF EXISTS public.idx_issues_on_project_id_and_due_date_and_id_and_state_id;
DROP INDEX IF EXISTS public.idx_issues_on_project_id_and_created_at_and_id_and_state_id;
DROP INDEX IF EXISTS public.idx_issues_on_health_status_not_null;
DROP INDEX IF EXISTS public.idx_geo_con_rep_updated_events_on_container_repository_id;
DROP INDEX IF EXISTS public.idx_environment_merge_requests_unique_index;
DROP INDEX IF EXISTS public.idx_elastic_reindexing_slices_on_elastic_reindexing_subtask_id;
DROP INDEX IF EXISTS public.idx_eaprpb_external_approval_rule_id;
DROP INDEX IF EXISTS public.idx_devops_adoption_segments_namespaces_pair;
DROP INDEX IF EXISTS public.idx_devops_adoption_segments_namespace_recorded_at;
DROP INDEX IF EXISTS public.idx_devops_adoption_segments_namespace_end_time;
DROP INDEX IF EXISTS public.idx_deployment_clusters_on_cluster_id_and_kubernetes_namespace;
DROP INDEX IF EXISTS public.idx_container_repos_on_exp_cleanup_status_project_id_start_date;
DROP INDEX IF EXISTS public.idx_container_exp_policies_on_project_id_next_run_at_enabled;
DROP INDEX IF EXISTS public.idx_container_exp_policies_on_project_id_next_run_at;
DROP INDEX IF EXISTS public.idx_ci_pipelines_artifacts_locked;
DROP INDEX IF EXISTS public.idx_award_emoji_on_user_emoji_name_awardable_type_awardable_id;
DROP INDEX IF EXISTS public.idx_analytics_devops_adoption_snapshots_finalized;
DROP INDEX IF EXISTS public.idx_analytics_devops_adoption_segments_on_namespace_id;
DROP INDEX IF EXISTS public.i_ci_job_token_project_scope_links_on_source_and_target_project;
DROP INDEX IF EXISTS public.finding_links_on_vulnerability_occurrence_id;
DROP INDEX IF EXISTS public.finding_evidences_on_vulnerability_occurrence_id;
DROP INDEX IF EXISTS public.finding_evidence_supporting_messages_on_finding_evidence_id;
DROP INDEX IF EXISTS public.finding_evidence_sources_on_finding_evidence_id;
DROP INDEX IF EXISTS public.finding_evidence_responses_on_supporting_evidence_id;
DROP INDEX IF EXISTS public.finding_evidence_responses_on_finding_evidences_id;
DROP INDEX IF EXISTS public.finding_evidence_requests_on_supporting_evidence_id;
DROP INDEX IF EXISTS public.finding_evidence_requests_on_finding_evidence_id;
DROP INDEX IF EXISTS public.finding_evidence_header_on_finding_evidence_response_id;
DROP INDEX IF EXISTS public.finding_evidence_header_on_finding_evidence_request_id;
DROP INDEX IF EXISTS public.finding_evidence_assets_on_finding_evidence_id;
DROP INDEX IF EXISTS public.epic_user_mentions_on_epic_id_index;
DROP INDEX IF EXISTS public.epic_user_mentions_on_epic_id_and_note_id_index;
DROP INDEX IF EXISTS public.design_user_mentions_on_design_id_and_note_id_unique_index;
DROP INDEX IF EXISTS public.design_management_designs_versions_uniqueness;
DROP INDEX IF EXISTS public.dast_site_profiles_builds_on_ci_build_id;
DROP INDEX IF EXISTS public.dast_scanner_profiles_builds_on_ci_build_id;
DROP INDEX IF EXISTS public.composer_cache_files_index_on_deleted_at;
DROP INDEX IF EXISTS public.commit_user_mentions_on_commit_id_and_note_id_unique_index;
DROP INDEX IF EXISTS public.code_owner_approval_required;
DROP INDEX IF EXISTS public.ci_builds_gitlab_monitor_metrics;
DROP INDEX IF EXISTS public.cadence_create_iterations_automation;
DROP INDEX IF EXISTS public.bulk_import_trackers_uniq_relation_by_entity;
DROP INDEX IF EXISTS public.approval_mr_rule_index_merge_request_id;
DROP INDEX IF EXISTS public.any_approver_project_rule_type_unique_index;
DROP INDEX IF EXISTS public.any_approver_merge_request_rule_type_unique_index;
DROP INDEX IF EXISTS public.analytics_repository_languages_on_project_id;
DROP INDEX IF EXISTS public.analytics_index_events_on_created_at_and_author_id;
DROP INDEX IF EXISTS public.active_billable_users;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_experi_project_id_collector_tstamp_idx;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx9;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx8;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx7;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx6;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx5;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx4;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx3;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx2;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx1;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx63;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx62;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx61;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx60;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx59;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx58;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx57;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx56;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx55;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx54;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx53;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx52;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx51;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx50;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx49;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx48;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx47;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx46;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx45;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx44;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx43;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx42;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx41;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx40;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx39;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx38;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx37;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx36;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx35;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx34;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx33;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx32;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx31;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx30;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx29;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx28;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx27;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx26;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx25;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx24;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx23;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx22;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx21;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx20;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx19;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx18;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx17;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx16;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx15;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx14;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx13;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx12;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx11;
DROP INDEX IF EXISTS gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx10;
DROP INDEX IF EXISTS public.index_product_analytics_events_experimental_project_and_time;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202203_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202203_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202202_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202202_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202201_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202201_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202112_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202112_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202111_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202111_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202110_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202110_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202109_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202109_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202108_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202108_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202107_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202107_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202106_web_hook_id_idx;
DROP INDEX IF EXISTS public.index_web_hook_logs_part_on_web_hook_id;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202106_created_at_web_hook_id_idx;
DROP INDEX IF EXISTS public.index_web_hook_logs_part_on_created_at_and_web_hook_id;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202203_entity_id_entity_type_id_author_id_crea_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202203_created_at_author_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202202_entity_id_entity_type_id_author_id_crea_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202202_created_at_author_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202201_entity_id_entity_type_id_author_id_crea_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202201_created_at_author_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202112_entity_id_entity_type_id_author_id_crea_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202112_created_at_author_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202111_entity_id_entity_type_id_author_id_crea_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202111_created_at_author_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202110_entity_id_entity_type_id_author_id_crea_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202110_created_at_author_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202109_entity_id_entity_type_id_author_id_crea_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_202109_created_at_author_id_idx;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_000000_entity_id_entity_type_id_author_id_crea_idx;
DROP INDEX IF EXISTS public.idx_audit_events_part_on_entity_id_desc_author_id_created_at;
DROP INDEX IF EXISTS gitlab_partitions_dynamic.audit_events_000000_created_at_author_id_idx;
DROP INDEX IF EXISTS public.analytics_index_audit_events_part_on_created_at_and_author_id;
ALTER TABLE IF EXISTS ONLY public.zoom_meetings DROP CONSTRAINT IF EXISTS zoom_meetings_pkey;
ALTER TABLE IF EXISTS ONLY public.zentao_tracker_data DROP CONSTRAINT IF EXISTS zentao_tracker_data_pkey;
ALTER TABLE IF EXISTS ONLY public.x509_issuers DROP CONSTRAINT IF EXISTS x509_issuers_pkey;
ALTER TABLE IF EXISTS ONLY public.x509_commit_signatures DROP CONSTRAINT IF EXISTS x509_commit_signatures_pkey;
ALTER TABLE IF EXISTS ONLY public.x509_certificates DROP CONSTRAINT IF EXISTS x509_certificates_pkey;
ALTER TABLE IF EXISTS ONLY public.work_item_types DROP CONSTRAINT IF EXISTS work_item_types_pkey;
ALTER TABLE IF EXISTS ONLY public.wiki_page_slugs DROP CONSTRAINT IF EXISTS wiki_page_slugs_pkey;
ALTER TABLE IF EXISTS ONLY public.wiki_page_meta DROP CONSTRAINT IF EXISTS wiki_page_meta_pkey;
ALTER TABLE IF EXISTS ONLY public.webauthn_registrations DROP CONSTRAINT IF EXISTS webauthn_registrations_pkey;
ALTER TABLE IF EXISTS ONLY public.web_hooks DROP CONSTRAINT IF EXISTS web_hooks_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_user_mentions DROP CONSTRAINT IF EXISTS vulnerability_user_mentions_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_statistics DROP CONSTRAINT IF EXISTS vulnerability_statistics_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_scanners DROP CONSTRAINT IF EXISTS vulnerability_scanners_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_remediations DROP CONSTRAINT IF EXISTS vulnerability_remediations_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrences DROP CONSTRAINT IF EXISTS vulnerability_occurrences_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrence_pipelines DROP CONSTRAINT IF EXISTS vulnerability_occurrence_pipelines_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_occurrence_identifiers DROP CONSTRAINT IF EXISTS vulnerability_occurrence_identifiers_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_issue_links DROP CONSTRAINT IF EXISTS vulnerability_issue_links_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_identifiers DROP CONSTRAINT IF EXISTS vulnerability_identifiers_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_historical_statistics DROP CONSTRAINT IF EXISTS vulnerability_historical_statistics_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_flags DROP CONSTRAINT IF EXISTS vulnerability_flags_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_findings_remediations DROP CONSTRAINT IF EXISTS vulnerability_findings_remediations_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_signatures DROP CONSTRAINT IF EXISTS vulnerability_finding_signatures_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_links DROP CONSTRAINT IF EXISTS vulnerability_finding_links_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidences DROP CONSTRAINT IF EXISTS vulnerability_finding_evidences_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_supporting_messages DROP CONSTRAINT IF EXISTS vulnerability_finding_evidence_supporting_messages_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_sources DROP CONSTRAINT IF EXISTS vulnerability_finding_evidence_sources_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_responses DROP CONSTRAINT IF EXISTS vulnerability_finding_evidence_responses_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_requests DROP CONSTRAINT IF EXISTS vulnerability_finding_evidence_requests_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_headers DROP CONSTRAINT IF EXISTS vulnerability_finding_evidence_headers_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_finding_evidence_assets DROP CONSTRAINT IF EXISTS vulnerability_finding_evidence_assets_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_feedback DROP CONSTRAINT IF EXISTS vulnerability_feedback_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_external_issue_links DROP CONSTRAINT IF EXISTS vulnerability_external_issue_links_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerability_exports DROP CONSTRAINT IF EXISTS vulnerability_exports_pkey;
ALTER TABLE IF EXISTS ONLY public.vulnerabilities DROP CONSTRAINT IF EXISTS vulnerabilities_pkey;
ALTER TABLE IF EXISTS ONLY public.users_statistics DROP CONSTRAINT IF EXISTS users_statistics_pkey;
ALTER TABLE IF EXISTS ONLY public.users_star_projects DROP CONSTRAINT IF EXISTS users_star_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.users_security_dashboard_projects DROP CONSTRAINT IF EXISTS users_security_dashboard_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.users DROP CONSTRAINT IF EXISTS users_pkey;
ALTER TABLE IF EXISTS ONLY public.users_ops_dashboard_projects DROP CONSTRAINT IF EXISTS users_ops_dashboard_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.user_synced_attributes_metadata DROP CONSTRAINT IF EXISTS user_synced_attributes_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.user_statuses DROP CONSTRAINT IF EXISTS user_statuses_pkey;
ALTER TABLE IF EXISTS ONLY public.user_preferences DROP CONSTRAINT IF EXISTS user_preferences_pkey;
ALTER TABLE IF EXISTS ONLY public.user_permission_export_uploads DROP CONSTRAINT IF EXISTS user_permission_export_uploads_pkey;
ALTER TABLE IF EXISTS ONLY public.user_interacted_projects DROP CONSTRAINT IF EXISTS user_interacted_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.user_highest_roles DROP CONSTRAINT IF EXISTS user_highest_roles_pkey;
ALTER TABLE IF EXISTS ONLY public.user_follow_users DROP CONSTRAINT IF EXISTS user_follow_users_pkey;
ALTER TABLE IF EXISTS ONLY public.user_details DROP CONSTRAINT IF EXISTS user_details_pkey;
ALTER TABLE IF EXISTS ONLY public.user_custom_attributes DROP CONSTRAINT IF EXISTS user_custom_attributes_pkey;
ALTER TABLE IF EXISTS ONLY public.user_credit_card_validations DROP CONSTRAINT IF EXISTS user_credit_card_validations_pkey;
ALTER TABLE IF EXISTS ONLY public.user_canonical_emails DROP CONSTRAINT IF EXISTS user_canonical_emails_pkey;
ALTER TABLE IF EXISTS ONLY public.user_callouts DROP CONSTRAINT IF EXISTS user_callouts_pkey;
ALTER TABLE IF EXISTS ONLY public.user_agent_details DROP CONSTRAINT IF EXISTS user_agent_details_pkey;
ALTER TABLE IF EXISTS ONLY public.uploads DROP CONSTRAINT IF EXISTS uploads_pkey;
ALTER TABLE IF EXISTS ONLY public.upcoming_reconciliations DROP CONSTRAINT IF EXISTS upcoming_reconciliations_pkey;
ALTER TABLE IF EXISTS ONLY public.u2f_registrations DROP CONSTRAINT IF EXISTS u2f_registrations_pkey;
ALTER TABLE IF EXISTS ONLY public.trending_projects DROP CONSTRAINT IF EXISTS trending_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.token_with_ivs DROP CONSTRAINT IF EXISTS token_with_ivs_pkey;
ALTER TABLE IF EXISTS ONLY public.todos DROP CONSTRAINT IF EXISTS todos_pkey;
ALTER TABLE IF EXISTS ONLY public.timelogs DROP CONSTRAINT IF EXISTS timelogs_pkey;
ALTER TABLE IF EXISTS ONLY public.terraform_states DROP CONSTRAINT IF EXISTS terraform_states_pkey;
ALTER TABLE IF EXISTS ONLY public.terraform_state_versions DROP CONSTRAINT IF EXISTS terraform_state_versions_pkey;
ALTER TABLE IF EXISTS ONLY public.term_agreements DROP CONSTRAINT IF EXISTS term_agreements_pkey;
ALTER TABLE IF EXISTS ONLY public.tags DROP CONSTRAINT IF EXISTS tags_pkey;
ALTER TABLE IF EXISTS ONLY public.taggings DROP CONSTRAINT IF EXISTS taggings_pkey;
ALTER TABLE IF EXISTS ONLY public.system_note_metadata DROP CONSTRAINT IF EXISTS system_note_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.suggestions DROP CONSTRAINT IF EXISTS suggestions_pkey;
ALTER TABLE IF EXISTS ONLY public.subscriptions DROP CONSTRAINT IF EXISTS subscriptions_pkey;
ALTER TABLE IF EXISTS ONLY public.status_page_settings DROP CONSTRAINT IF EXISTS status_page_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.status_page_published_incidents DROP CONSTRAINT IF EXISTS status_page_published_incidents_pkey;
ALTER TABLE IF EXISTS ONLY public.status_check_responses DROP CONSTRAINT IF EXISTS status_check_responses_pkey;
ALTER TABLE IF EXISTS ONLY public.sprints DROP CONSTRAINT IF EXISTS sprints_pkey;
ALTER TABLE IF EXISTS ONLY public.spam_logs DROP CONSTRAINT IF EXISTS spam_logs_pkey;
ALTER TABLE IF EXISTS ONLY public.software_licenses DROP CONSTRAINT IF EXISTS software_licenses_pkey;
ALTER TABLE IF EXISTS ONLY public.software_license_policies DROP CONSTRAINT IF EXISTS software_license_policies_pkey;
ALTER TABLE IF EXISTS ONLY public.snippets DROP CONSTRAINT IF EXISTS snippets_pkey;
ALTER TABLE IF EXISTS ONLY public.snippet_user_mentions DROP CONSTRAINT IF EXISTS snippet_user_mentions_pkey;
ALTER TABLE IF EXISTS ONLY public.snippet_statistics DROP CONSTRAINT IF EXISTS snippet_statistics_pkey;
ALTER TABLE IF EXISTS ONLY public.snippet_repository_storage_moves DROP CONSTRAINT IF EXISTS snippet_repository_storage_moves_pkey;
ALTER TABLE IF EXISTS ONLY public.snippet_repositories DROP CONSTRAINT IF EXISTS snippet_repositories_pkey;
ALTER TABLE IF EXISTS ONLY public.smartcard_identities DROP CONSTRAINT IF EXISTS smartcard_identities_pkey;
ALTER TABLE IF EXISTS ONLY public.slack_integrations DROP CONSTRAINT IF EXISTS slack_integrations_pkey;
ALTER TABLE IF EXISTS ONLY public.shards DROP CONSTRAINT IF EXISTS shards_pkey;
ALTER TABLE IF EXISTS ONLY public.service_desk_settings DROP CONSTRAINT IF EXISTS service_desk_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.serverless_domain_cluster DROP CONSTRAINT IF EXISTS serverless_domain_cluster_pkey;
ALTER TABLE IF EXISTS ONLY public.sentry_issues DROP CONSTRAINT IF EXISTS sentry_issues_pkey;
ALTER TABLE IF EXISTS ONLY public.sent_notifications DROP CONSTRAINT IF EXISTS sent_notifications_pkey;
ALTER TABLE IF EXISTS ONLY public.self_managed_prometheus_alert_events DROP CONSTRAINT IF EXISTS self_managed_prometheus_alert_events_pkey;
ALTER TABLE IF EXISTS ONLY public.security_scans DROP CONSTRAINT IF EXISTS security_scans_pkey;
ALTER TABLE IF EXISTS ONLY public.security_orchestration_policy_rule_schedules DROP CONSTRAINT IF EXISTS security_orchestration_policy_rule_schedules_pkey;
ALTER TABLE IF EXISTS ONLY public.security_orchestration_policy_configurations DROP CONSTRAINT IF EXISTS security_orchestration_policy_configurations_pkey;
ALTER TABLE IF EXISTS ONLY public.security_findings DROP CONSTRAINT IF EXISTS security_findings_pkey;
ALTER TABLE IF EXISTS ONLY public.scim_oauth_access_tokens DROP CONSTRAINT IF EXISTS scim_oauth_access_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.scim_identities DROP CONSTRAINT IF EXISTS scim_identities_pkey;
ALTER TABLE IF EXISTS ONLY public.schema_migrations DROP CONSTRAINT IF EXISTS schema_migrations_pkey;
ALTER TABLE IF EXISTS ONLY public.saml_providers DROP CONSTRAINT IF EXISTS saml_providers_pkey;
ALTER TABLE IF EXISTS ONLY public.saml_group_links DROP CONSTRAINT IF EXISTS saml_group_links_pkey;
ALTER TABLE IF EXISTS ONLY public.routes DROP CONSTRAINT IF EXISTS routes_pkey;
ALTER TABLE IF EXISTS ONLY public.reviews DROP CONSTRAINT IF EXISTS reviews_pkey;
ALTER TABLE IF EXISTS ONLY public.resource_weight_events DROP CONSTRAINT IF EXISTS resource_weight_events_pkey;
ALTER TABLE IF EXISTS ONLY public.resource_state_events DROP CONSTRAINT IF EXISTS resource_state_events_pkey;
ALTER TABLE IF EXISTS ONLY public.resource_milestone_events DROP CONSTRAINT IF EXISTS resource_milestone_events_pkey;
ALTER TABLE IF EXISTS ONLY public.resource_label_events DROP CONSTRAINT IF EXISTS resource_label_events_pkey;
ALTER TABLE IF EXISTS ONLY public.resource_iteration_events DROP CONSTRAINT IF EXISTS resource_iteration_events_pkey;
ALTER TABLE IF EXISTS ONLY public.requirements DROP CONSTRAINT IF EXISTS requirements_pkey;
ALTER TABLE IF EXISTS ONLY public.requirements_management_test_reports DROP CONSTRAINT IF EXISTS requirements_management_test_reports_pkey;
ALTER TABLE IF EXISTS ONLY public.required_code_owners_sections DROP CONSTRAINT IF EXISTS required_code_owners_sections_pkey;
ALTER TABLE IF EXISTS ONLY public.repository_languages DROP CONSTRAINT IF EXISTS repository_languages_pkey;
ALTER TABLE IF EXISTS ONLY public.remote_mirrors DROP CONSTRAINT IF EXISTS remote_mirrors_pkey;
ALTER TABLE IF EXISTS ONLY public.releases DROP CONSTRAINT IF EXISTS releases_pkey;
ALTER TABLE IF EXISTS ONLY public.release_links DROP CONSTRAINT IF EXISTS release_links_pkey;
ALTER TABLE IF EXISTS ONLY public.redirect_routes DROP CONSTRAINT IF EXISTS redirect_routes_pkey;
ALTER TABLE IF EXISTS ONLY public.raw_usage_data DROP CONSTRAINT IF EXISTS raw_usage_data_pkey;
ALTER TABLE IF EXISTS ONLY public.push_rules DROP CONSTRAINT IF EXISTS push_rules_pkey;
ALTER TABLE IF EXISTS ONLY public.push_event_payloads DROP CONSTRAINT IF EXISTS push_event_payloads_pkey;
ALTER TABLE IF EXISTS ONLY public.protected_tags DROP CONSTRAINT IF EXISTS protected_tags_pkey;
ALTER TABLE IF EXISTS ONLY public.protected_tag_create_access_levels DROP CONSTRAINT IF EXISTS protected_tag_create_access_levels_pkey;
ALTER TABLE IF EXISTS ONLY public.protected_environments DROP CONSTRAINT IF EXISTS protected_environments_pkey;
ALTER TABLE IF EXISTS ONLY public.protected_environment_deploy_access_levels DROP CONSTRAINT IF EXISTS protected_environment_deploy_access_levels_pkey;
ALTER TABLE IF EXISTS ONLY public.protected_branches DROP CONSTRAINT IF EXISTS protected_branches_pkey;
ALTER TABLE IF EXISTS ONLY public.protected_branch_unprotect_access_levels DROP CONSTRAINT IF EXISTS protected_branch_unprotect_access_levels_pkey;
ALTER TABLE IF EXISTS ONLY public.protected_branch_push_access_levels DROP CONSTRAINT IF EXISTS protected_branch_push_access_levels_pkey;
ALTER TABLE IF EXISTS ONLY public.protected_branch_merge_access_levels DROP CONSTRAINT IF EXISTS protected_branch_merge_access_levels_pkey;
ALTER TABLE IF EXISTS ONLY public.prometheus_metrics DROP CONSTRAINT IF EXISTS prometheus_metrics_pkey;
ALTER TABLE IF EXISTS ONLY public.prometheus_alerts DROP CONSTRAINT IF EXISTS prometheus_alerts_pkey;
ALTER TABLE IF EXISTS ONLY public.prometheus_alert_events DROP CONSTRAINT IF EXISTS prometheus_alert_events_pkey;
ALTER TABLE IF EXISTS ONLY public.projects DROP CONSTRAINT IF EXISTS projects_pkey;
ALTER TABLE IF EXISTS ONLY public.project_tracing_settings DROP CONSTRAINT IF EXISTS project_tracing_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_statistics DROP CONSTRAINT IF EXISTS project_statistics_pkey;
ALTER TABLE IF EXISTS ONLY public.project_settings DROP CONSTRAINT IF EXISTS project_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_security_settings DROP CONSTRAINT IF EXISTS project_security_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_repository_storage_moves DROP CONSTRAINT IF EXISTS project_repository_storage_moves_pkey;
ALTER TABLE IF EXISTS ONLY public.project_repository_states DROP CONSTRAINT IF EXISTS project_repository_states_pkey;
ALTER TABLE IF EXISTS ONLY public.project_repositories DROP CONSTRAINT IF EXISTS project_repositories_pkey;
ALTER TABLE IF EXISTS ONLY public.project_pages_metadata DROP CONSTRAINT IF EXISTS project_pages_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.project_mirror_data DROP CONSTRAINT IF EXISTS project_mirror_data_pkey;
ALTER TABLE IF EXISTS ONLY public.project_metrics_settings DROP CONSTRAINT IF EXISTS project_metrics_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_incident_management_settings DROP CONSTRAINT IF EXISTS project_incident_management_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_import_data DROP CONSTRAINT IF EXISTS project_import_data_pkey;
ALTER TABLE IF EXISTS ONLY public.project_group_links DROP CONSTRAINT IF EXISTS project_group_links_pkey;
ALTER TABLE IF EXISTS ONLY public.project_features DROP CONSTRAINT IF EXISTS project_features_pkey;
ALTER TABLE IF EXISTS ONLY public.project_feature_usages DROP CONSTRAINT IF EXISTS project_feature_usages_pkey;
ALTER TABLE IF EXISTS ONLY public.project_export_jobs DROP CONSTRAINT IF EXISTS project_export_jobs_pkey;
ALTER TABLE IF EXISTS ONLY public.project_error_tracking_settings DROP CONSTRAINT IF EXISTS project_error_tracking_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_deploy_tokens DROP CONSTRAINT IF EXISTS project_deploy_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.project_daily_statistics DROP CONSTRAINT IF EXISTS project_daily_statistics_pkey;
ALTER TABLE IF EXISTS ONLY public.project_custom_attributes DROP CONSTRAINT IF EXISTS project_custom_attributes_pkey;
ALTER TABLE IF EXISTS ONLY public.project_compliance_framework_settings DROP CONSTRAINT IF EXISTS project_compliance_framework_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_ci_feature_usages DROP CONSTRAINT IF EXISTS project_ci_feature_usages_pkey;
ALTER TABLE IF EXISTS ONLY public.project_ci_cd_settings DROP CONSTRAINT IF EXISTS project_ci_cd_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_auto_devops DROP CONSTRAINT IF EXISTS project_auto_devops_pkey;
ALTER TABLE IF EXISTS ONLY public.project_authorizations DROP CONSTRAINT IF EXISTS project_authorizations_pkey;
ALTER TABLE IF EXISTS ONLY public.project_aliases DROP CONSTRAINT IF EXISTS project_aliases_pkey;
ALTER TABLE IF EXISTS ONLY public.project_alerting_settings DROP CONSTRAINT IF EXISTS project_alerting_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.project_access_tokens DROP CONSTRAINT IF EXISTS project_access_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.programming_languages DROP CONSTRAINT IF EXISTS programming_languages_pkey;
ALTER TABLE IF EXISTS ONLY public.postgres_reindex_actions DROP CONSTRAINT IF EXISTS postgres_reindex_actions_pkey;
ALTER TABLE IF EXISTS ONLY public.postgres_async_indexes DROP CONSTRAINT IF EXISTS postgres_async_indexes_pkey;
ALTER TABLE IF EXISTS ONLY public.pool_repositories DROP CONSTRAINT IF EXISTS pool_repositories_pkey;
ALTER TABLE IF EXISTS ONLY public.plans DROP CONSTRAINT IF EXISTS plans_pkey;
ALTER TABLE IF EXISTS ONLY public.plan_limits DROP CONSTRAINT IF EXISTS plan_limits_pkey;
ALTER TABLE IF EXISTS ONLY public.personal_access_tokens DROP CONSTRAINT IF EXISTS personal_access_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.path_locks DROP CONSTRAINT IF EXISTS path_locks_pkey;
ALTER TABLE IF EXISTS ONLY public.partitioned_foreign_keys DROP CONSTRAINT IF EXISTS partitioned_foreign_keys_pkey;
ALTER TABLE IF EXISTS ONLY public.pages_domains DROP CONSTRAINT IF EXISTS pages_domains_pkey;
ALTER TABLE IF EXISTS ONLY public.pages_domain_acme_orders DROP CONSTRAINT IF EXISTS pages_domain_acme_orders_pkey;
ALTER TABLE IF EXISTS ONLY public.pages_deployments DROP CONSTRAINT IF EXISTS pages_deployments_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_tags DROP CONSTRAINT IF EXISTS packages_tags_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_rubygems_metadata DROP CONSTRAINT IF EXISTS packages_rubygems_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_pypi_metadata DROP CONSTRAINT IF EXISTS packages_pypi_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_packages DROP CONSTRAINT IF EXISTS packages_packages_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_package_files DROP CONSTRAINT IF EXISTS packages_package_files_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_package_file_build_infos DROP CONSTRAINT IF EXISTS packages_package_file_build_infos_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_nuget_metadata DROP CONSTRAINT IF EXISTS packages_nuget_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_nuget_dependency_link_metadata DROP CONSTRAINT IF EXISTS packages_nuget_dependency_link_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_maven_metadata DROP CONSTRAINT IF EXISTS packages_maven_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_helm_file_metadata DROP CONSTRAINT IF EXISTS packages_helm_file_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_events DROP CONSTRAINT IF EXISTS packages_events_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_dependency_links DROP CONSTRAINT IF EXISTS packages_dependency_links_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_dependencies DROP CONSTRAINT IF EXISTS packages_dependencies_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_publications DROP CONSTRAINT IF EXISTS packages_debian_publications_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_distributions DROP CONSTRAINT IF EXISTS packages_debian_project_distributions_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_distribution_keys DROP CONSTRAINT IF EXISTS packages_debian_project_distribution_keys_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_components DROP CONSTRAINT IF EXISTS packages_debian_project_components_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_component_files DROP CONSTRAINT IF EXISTS packages_debian_project_component_files_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_project_architectures DROP CONSTRAINT IF EXISTS packages_debian_project_architectures_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_distributions DROP CONSTRAINT IF EXISTS packages_debian_group_distributions_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_distribution_keys DROP CONSTRAINT IF EXISTS packages_debian_group_distribution_keys_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_components DROP CONSTRAINT IF EXISTS packages_debian_group_components_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_component_files DROP CONSTRAINT IF EXISTS packages_debian_group_component_files_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_group_architectures DROP CONSTRAINT IF EXISTS packages_debian_group_architectures_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_debian_file_metadata DROP CONSTRAINT IF EXISTS packages_debian_file_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_conan_metadata DROP CONSTRAINT IF EXISTS packages_conan_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_conan_file_metadata DROP CONSTRAINT IF EXISTS packages_conan_file_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_composer_metadata DROP CONSTRAINT IF EXISTS packages_composer_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_composer_cache_files DROP CONSTRAINT IF EXISTS packages_composer_cache_files_pkey;
ALTER TABLE IF EXISTS ONLY public.packages_build_infos DROP CONSTRAINT IF EXISTS packages_build_infos_pkey;
ALTER TABLE IF EXISTS ONLY public.operations_user_lists DROP CONSTRAINT IF EXISTS operations_user_lists_pkey;
ALTER TABLE IF EXISTS ONLY public.operations_strategies_user_lists DROP CONSTRAINT IF EXISTS operations_strategies_user_lists_pkey;
ALTER TABLE IF EXISTS ONLY public.operations_strategies DROP CONSTRAINT IF EXISTS operations_strategies_pkey;
ALTER TABLE IF EXISTS ONLY public.operations_scopes DROP CONSTRAINT IF EXISTS operations_scopes_pkey;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flags DROP CONSTRAINT IF EXISTS operations_feature_flags_pkey;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flags_issues DROP CONSTRAINT IF EXISTS operations_feature_flags_issues_pkey;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flags_clients DROP CONSTRAINT IF EXISTS operations_feature_flags_clients_pkey;
ALTER TABLE IF EXISTS ONLY public.operations_feature_flag_scopes DROP CONSTRAINT IF EXISTS operations_feature_flag_scopes_pkey;
ALTER TABLE IF EXISTS ONLY public.open_project_tracker_data DROP CONSTRAINT IF EXISTS open_project_tracker_data_pkey;
ALTER TABLE IF EXISTS ONLY public.onboarding_progresses DROP CONSTRAINT IF EXISTS onboarding_progresses_pkey;
ALTER TABLE IF EXISTS ONLY public.oauth_openid_requests DROP CONSTRAINT IF EXISTS oauth_openid_requests_pkey;
ALTER TABLE IF EXISTS ONLY public.oauth_applications DROP CONSTRAINT IF EXISTS oauth_applications_pkey;
ALTER TABLE IF EXISTS ONLY public.oauth_access_tokens DROP CONSTRAINT IF EXISTS oauth_access_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.oauth_access_grants DROP CONSTRAINT IF EXISTS oauth_access_grants_pkey;
ALTER TABLE IF EXISTS ONLY public.notification_settings DROP CONSTRAINT IF EXISTS notification_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.notes DROP CONSTRAINT IF EXISTS notes_pkey;
ALTER TABLE IF EXISTS ONLY public.note_diff_files DROP CONSTRAINT IF EXISTS note_diff_files_pkey;
ALTER TABLE IF EXISTS ONLY public.namespaces DROP CONSTRAINT IF EXISTS namespaces_pkey;
ALTER TABLE IF EXISTS ONLY public.namespace_statistics DROP CONSTRAINT IF EXISTS namespace_statistics_pkey;
ALTER TABLE IF EXISTS ONLY public.namespace_settings DROP CONSTRAINT IF EXISTS namespace_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.namespace_root_storage_statistics DROP CONSTRAINT IF EXISTS namespace_root_storage_statistics_pkey;
ALTER TABLE IF EXISTS ONLY public.namespace_package_settings DROP CONSTRAINT IF EXISTS namespace_package_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.namespace_limits DROP CONSTRAINT IF EXISTS namespace_limits_pkey;
ALTER TABLE IF EXISTS ONLY public.namespace_aggregation_schedules DROP CONSTRAINT IF EXISTS namespace_aggregation_schedules_pkey;
ALTER TABLE IF EXISTS ONLY public.namespace_admin_notes DROP CONSTRAINT IF EXISTS namespace_admin_notes_pkey;
ALTER TABLE IF EXISTS ONLY public.milestones DROP CONSTRAINT IF EXISTS milestones_pkey;
ALTER TABLE IF EXISTS ONLY public.milestone_releases DROP CONSTRAINT IF EXISTS milestone_releases_pkey;
ALTER TABLE IF EXISTS ONLY public.metrics_users_starred_dashboards DROP CONSTRAINT IF EXISTS metrics_users_starred_dashboards_pkey;
ALTER TABLE IF EXISTS ONLY public.metrics_dashboard_annotations DROP CONSTRAINT IF EXISTS metrics_dashboard_annotations_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_trains DROP CONSTRAINT IF EXISTS merge_trains_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_requests DROP CONSTRAINT IF EXISTS merge_requests_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_requests_closing_issues DROP CONSTRAINT IF EXISTS merge_requests_closing_issues_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_user_mentions DROP CONSTRAINT IF EXISTS merge_request_user_mentions_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_reviewers DROP CONSTRAINT IF EXISTS merge_request_reviewers_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_metrics DROP CONSTRAINT IF EXISTS merge_request_metrics_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_diffs DROP CONSTRAINT IF EXISTS merge_request_diffs_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_diff_files DROP CONSTRAINT IF EXISTS merge_request_diff_files_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_diff_details DROP CONSTRAINT IF EXISTS merge_request_diff_details_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_diff_commits DROP CONSTRAINT IF EXISTS merge_request_diff_commits_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_diff_commit_users DROP CONSTRAINT IF EXISTS merge_request_diff_commit_users_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_context_commits DROP CONSTRAINT IF EXISTS merge_request_context_commits_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_context_commit_diff_files DROP CONSTRAINT IF EXISTS merge_request_context_commit_diff_files_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_cleanup_schedules DROP CONSTRAINT IF EXISTS merge_request_cleanup_schedules_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_blocks DROP CONSTRAINT IF EXISTS merge_request_blocks_pkey;
ALTER TABLE IF EXISTS ONLY public.merge_request_assignees DROP CONSTRAINT IF EXISTS merge_request_assignees_pkey;
ALTER TABLE IF EXISTS ONLY public.members DROP CONSTRAINT IF EXISTS members_pkey;
ALTER TABLE IF EXISTS ONLY public.lists DROP CONSTRAINT IF EXISTS lists_pkey;
ALTER TABLE IF EXISTS ONLY public.list_user_preferences DROP CONSTRAINT IF EXISTS list_user_preferences_pkey;
ALTER TABLE IF EXISTS ONLY public.licenses DROP CONSTRAINT IF EXISTS licenses_pkey;
ALTER TABLE IF EXISTS ONLY public.lfs_objects_projects DROP CONSTRAINT IF EXISTS lfs_objects_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.lfs_objects DROP CONSTRAINT IF EXISTS lfs_objects_pkey;
ALTER TABLE IF EXISTS ONLY public.lfs_file_locks DROP CONSTRAINT IF EXISTS lfs_file_locks_pkey;
ALTER TABLE IF EXISTS ONLY public.ldap_group_links DROP CONSTRAINT IF EXISTS ldap_group_links_pkey;
ALTER TABLE IF EXISTS ONLY public.labels DROP CONSTRAINT IF EXISTS labels_pkey;
ALTER TABLE IF EXISTS ONLY public.label_priorities DROP CONSTRAINT IF EXISTS label_priorities_pkey;
ALTER TABLE IF EXISTS ONLY public.label_links DROP CONSTRAINT IF EXISTS label_links_pkey;
ALTER TABLE IF EXISTS ONLY public.keys DROP CONSTRAINT IF EXISTS keys_pkey;
ALTER TABLE IF EXISTS ONLY public.jira_tracker_data DROP CONSTRAINT IF EXISTS jira_tracker_data_pkey;
ALTER TABLE IF EXISTS ONLY public.jira_imports DROP CONSTRAINT IF EXISTS jira_imports_pkey;
ALTER TABLE IF EXISTS ONLY public.jira_connect_subscriptions DROP CONSTRAINT IF EXISTS jira_connect_subscriptions_pkey;
ALTER TABLE IF EXISTS ONLY public.jira_connect_installations DROP CONSTRAINT IF EXISTS jira_connect_installations_pkey;
ALTER TABLE IF EXISTS ONLY public.iterations_cadences DROP CONSTRAINT IF EXISTS iterations_cadences_pkey;
ALTER TABLE IF EXISTS ONLY public.sprints DROP CONSTRAINT IF EXISTS iteration_start_and_due_daterange_project_id_constraint;
ALTER TABLE IF EXISTS ONLY public.sprints DROP CONSTRAINT IF EXISTS iteration_start_and_due_date_iterations_cadence_id_constraint;
ALTER TABLE IF EXISTS ONLY public.issues_self_managed_prometheus_alert_events DROP CONSTRAINT IF EXISTS issues_self_managed_prometheus_alert_events_pkey;
ALTER TABLE IF EXISTS ONLY public.issues_prometheus_alert_events DROP CONSTRAINT IF EXISTS issues_prometheus_alert_events_pkey;
ALTER TABLE IF EXISTS ONLY public.issues DROP CONSTRAINT IF EXISTS issues_pkey;
ALTER TABLE IF EXISTS ONLY public.issue_user_mentions DROP CONSTRAINT IF EXISTS issue_user_mentions_pkey;
ALTER TABLE IF EXISTS ONLY public.issue_tracker_data DROP CONSTRAINT IF EXISTS issue_tracker_data_pkey;
ALTER TABLE IF EXISTS ONLY public.issue_metrics DROP CONSTRAINT IF EXISTS issue_metrics_pkey;
ALTER TABLE IF EXISTS ONLY public.issue_links DROP CONSTRAINT IF EXISTS issue_links_pkey;
ALTER TABLE IF EXISTS ONLY public.issue_email_participants DROP CONSTRAINT IF EXISTS issue_email_participants_pkey;
ALTER TABLE IF EXISTS ONLY public.issue_assignees DROP CONSTRAINT IF EXISTS issue_assignees_pkey;
ALTER TABLE IF EXISTS ONLY public.issuable_slas DROP CONSTRAINT IF EXISTS issuable_slas_pkey;
ALTER TABLE IF EXISTS ONLY public.issuable_severities DROP CONSTRAINT IF EXISTS issuable_severities_pkey;
ALTER TABLE IF EXISTS ONLY public.issuable_metric_images DROP CONSTRAINT IF EXISTS issuable_metric_images_pkey;
ALTER TABLE IF EXISTS ONLY public.ip_restrictions DROP CONSTRAINT IF EXISTS ip_restrictions_pkey;
ALTER TABLE IF EXISTS ONLY public.internal_ids DROP CONSTRAINT IF EXISTS internal_ids_pkey;
ALTER TABLE IF EXISTS ONLY public.integrations DROP CONSTRAINT IF EXISTS integrations_pkey;
ALTER TABLE IF EXISTS ONLY public.insights DROP CONSTRAINT IF EXISTS insights_pkey;
ALTER TABLE IF EXISTS ONLY public.index_statuses DROP CONSTRAINT IF EXISTS index_statuses_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_pending_alert_escalations DROP CONSTRAINT IF EXISTS incident_management_pending_alert_escalations_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_shifts DROP CONSTRAINT IF EXISTS incident_management_oncall_shifts_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_schedules DROP CONSTRAINT IF EXISTS incident_management_oncall_schedules_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_rotations DROP CONSTRAINT IF EXISTS incident_management_oncall_rotations_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_participants DROP CONSTRAINT IF EXISTS incident_management_oncall_participants_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_issuable_escalation_statuses DROP CONSTRAINT IF EXISTS incident_management_issuable_escalation_statuses_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_escalation_rules DROP CONSTRAINT IF EXISTS incident_management_escalation_rules_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_escalation_policies DROP CONSTRAINT IF EXISTS incident_management_escalation_policies_pkey;
ALTER TABLE IF EXISTS ONLY public.incident_management_oncall_shifts DROP CONSTRAINT IF EXISTS inc_mgmnt_no_overlapping_oncall_shifts;
ALTER TABLE IF EXISTS ONLY public.in_product_marketing_emails DROP CONSTRAINT IF EXISTS in_product_marketing_emails_pkey;
ALTER TABLE IF EXISTS ONLY public.import_failures DROP CONSTRAINT IF EXISTS import_failures_pkey;
ALTER TABLE IF EXISTS ONLY public.import_export_uploads DROP CONSTRAINT IF EXISTS import_export_uploads_pkey;
ALTER TABLE IF EXISTS ONLY public.identities DROP CONSTRAINT IF EXISTS identities_pkey;
ALTER TABLE IF EXISTS ONLY public.historical_data DROP CONSTRAINT IF EXISTS historical_data_pkey;
ALTER TABLE IF EXISTS ONLY public.group_wiki_repositories DROP CONSTRAINT IF EXISTS group_wiki_repositories_pkey;
ALTER TABLE IF EXISTS ONLY public.group_repository_storage_moves DROP CONSTRAINT IF EXISTS group_repository_storage_moves_pkey;
ALTER TABLE IF EXISTS ONLY public.group_merge_request_approval_settings DROP CONSTRAINT IF EXISTS group_merge_request_approval_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.group_import_states DROP CONSTRAINT IF EXISTS group_import_states_pkey;
ALTER TABLE IF EXISTS ONLY public.group_group_links DROP CONSTRAINT IF EXISTS group_group_links_pkey;
ALTER TABLE IF EXISTS ONLY public.group_deploy_tokens DROP CONSTRAINT IF EXISTS group_deploy_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.group_deploy_keys DROP CONSTRAINT IF EXISTS group_deploy_keys_pkey;
ALTER TABLE IF EXISTS ONLY public.group_deploy_keys_groups DROP CONSTRAINT IF EXISTS group_deploy_keys_groups_pkey;
ALTER TABLE IF EXISTS ONLY public.group_deletion_schedules DROP CONSTRAINT IF EXISTS group_deletion_schedules_pkey;
ALTER TABLE IF EXISTS ONLY public.group_custom_attributes DROP CONSTRAINT IF EXISTS group_custom_attributes_pkey;
ALTER TABLE IF EXISTS ONLY public.grafana_integrations DROP CONSTRAINT IF EXISTS grafana_integrations_pkey;
ALTER TABLE IF EXISTS ONLY public.gpg_signatures DROP CONSTRAINT IF EXISTS gpg_signatures_pkey;
ALTER TABLE IF EXISTS ONLY public.gpg_keys DROP CONSTRAINT IF EXISTS gpg_keys_pkey;
ALTER TABLE IF EXISTS ONLY public.gpg_key_subkeys DROP CONSTRAINT IF EXISTS gpg_key_subkeys_pkey;
ALTER TABLE IF EXISTS ONLY public.gitlab_subscriptions DROP CONSTRAINT IF EXISTS gitlab_subscriptions_pkey;
ALTER TABLE IF EXISTS ONLY public.gitlab_subscription_histories DROP CONSTRAINT IF EXISTS gitlab_subscription_histories_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_upload_deleted_events DROP CONSTRAINT IF EXISTS geo_upload_deleted_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_reset_checksum_events DROP CONSTRAINT IF EXISTS geo_reset_checksum_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_repository_updated_events DROP CONSTRAINT IF EXISTS geo_repository_updated_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_repository_renamed_events DROP CONSTRAINT IF EXISTS geo_repository_renamed_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_repository_deleted_events DROP CONSTRAINT IF EXISTS geo_repository_deleted_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_repository_created_events DROP CONSTRAINT IF EXISTS geo_repository_created_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_repositories_changed_events DROP CONSTRAINT IF EXISTS geo_repositories_changed_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_nodes DROP CONSTRAINT IF EXISTS geo_nodes_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_node_statuses DROP CONSTRAINT IF EXISTS geo_node_statuses_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_node_namespace_links DROP CONSTRAINT IF EXISTS geo_node_namespace_links_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_lfs_object_deleted_events DROP CONSTRAINT IF EXISTS geo_lfs_object_deleted_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_job_artifact_deleted_events DROP CONSTRAINT IF EXISTS geo_job_artifact_deleted_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_hashed_storage_migrated_events DROP CONSTRAINT IF EXISTS geo_hashed_storage_migrated_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_hashed_storage_attachments_events DROP CONSTRAINT IF EXISTS geo_hashed_storage_attachments_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_events DROP CONSTRAINT IF EXISTS geo_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_event_log DROP CONSTRAINT IF EXISTS geo_event_log_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_container_repository_updated_events DROP CONSTRAINT IF EXISTS geo_container_repository_updated_events_pkey;
ALTER TABLE IF EXISTS ONLY public.geo_cache_invalidation_events DROP CONSTRAINT IF EXISTS geo_cache_invalidation_events_pkey;
ALTER TABLE IF EXISTS ONLY public.fork_networks DROP CONSTRAINT IF EXISTS fork_networks_pkey;
ALTER TABLE IF EXISTS ONLY public.fork_network_members DROP CONSTRAINT IF EXISTS fork_network_members_pkey;
ALTER TABLE IF EXISTS ONLY public.features DROP CONSTRAINT IF EXISTS features_pkey;
ALTER TABLE IF EXISTS ONLY public.feature_gates DROP CONSTRAINT IF EXISTS feature_gates_pkey;
ALTER TABLE IF EXISTS ONLY public.external_status_checks_protected_branches DROP CONSTRAINT IF EXISTS external_status_checks_protected_branches_pkey;
ALTER TABLE IF EXISTS ONLY public.external_status_checks DROP CONSTRAINT IF EXISTS external_status_checks_pkey;
ALTER TABLE IF EXISTS ONLY public.external_pull_requests DROP CONSTRAINT IF EXISTS external_pull_requests_pkey;
ALTER TABLE IF EXISTS ONLY public.external_approval_rules_protected_branches DROP CONSTRAINT IF EXISTS external_approval_rules_protected_branches_pkey;
ALTER TABLE IF EXISTS ONLY public.external_approval_rules DROP CONSTRAINT IF EXISTS external_approval_rules_pkey;
ALTER TABLE IF EXISTS ONLY public.experiments DROP CONSTRAINT IF EXISTS experiments_pkey;
ALTER TABLE IF EXISTS ONLY public.experiment_users DROP CONSTRAINT IF EXISTS experiment_users_pkey;
ALTER TABLE IF EXISTS ONLY public.experiment_subjects DROP CONSTRAINT IF EXISTS experiment_subjects_pkey;
ALTER TABLE IF EXISTS ONLY public.evidences DROP CONSTRAINT IF EXISTS evidences_pkey;
ALTER TABLE IF EXISTS ONLY public.events DROP CONSTRAINT IF EXISTS events_pkey;
ALTER TABLE IF EXISTS ONLY public.error_tracking_errors DROP CONSTRAINT IF EXISTS error_tracking_errors_pkey;
ALTER TABLE IF EXISTS ONLY public.error_tracking_error_events DROP CONSTRAINT IF EXISTS error_tracking_error_events_pkey;
ALTER TABLE IF EXISTS ONLY public.error_tracking_client_keys DROP CONSTRAINT IF EXISTS error_tracking_client_keys_pkey;
ALTER TABLE IF EXISTS ONLY public.epics DROP CONSTRAINT IF EXISTS epics_pkey;
ALTER TABLE IF EXISTS ONLY public.epic_user_mentions DROP CONSTRAINT IF EXISTS epic_user_mentions_pkey;
ALTER TABLE IF EXISTS ONLY public.epic_metrics DROP CONSTRAINT IF EXISTS epic_metrics_pkey;
ALTER TABLE IF EXISTS ONLY public.epic_issues DROP CONSTRAINT IF EXISTS epic_issues_pkey;
ALTER TABLE IF EXISTS ONLY public.environments DROP CONSTRAINT IF EXISTS environments_pkey;
ALTER TABLE IF EXISTS ONLY public.emails DROP CONSTRAINT IF EXISTS emails_pkey;
ALTER TABLE IF EXISTS ONLY public.elasticsearch_indexed_projects DROP CONSTRAINT IF EXISTS elasticsearch_indexed_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.elasticsearch_indexed_namespaces DROP CONSTRAINT IF EXISTS elasticsearch_indexed_namespaces_pkey;
ALTER TABLE IF EXISTS ONLY public.elastic_reindexing_tasks DROP CONSTRAINT IF EXISTS elastic_reindexing_tasks_pkey;
ALTER TABLE IF EXISTS ONLY public.elastic_reindexing_subtasks DROP CONSTRAINT IF EXISTS elastic_reindexing_subtasks_pkey;
ALTER TABLE IF EXISTS ONLY public.elastic_reindexing_slices DROP CONSTRAINT IF EXISTS elastic_reindexing_slices_pkey;
ALTER TABLE IF EXISTS ONLY public.elastic_index_settings DROP CONSTRAINT IF EXISTS elastic_index_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.draft_notes DROP CONSTRAINT IF EXISTS draft_notes_pkey;
ALTER TABLE IF EXISTS ONLY public.dora_daily_metrics DROP CONSTRAINT IF EXISTS dora_daily_metrics_pkey;
ALTER TABLE IF EXISTS ONLY public.diff_note_positions DROP CONSTRAINT IF EXISTS diff_note_positions_pkey;
ALTER TABLE IF EXISTS ONLY public.detached_partitions DROP CONSTRAINT IF EXISTS detached_partitions_pkey;
ALTER TABLE IF EXISTS ONLY public.design_user_mentions DROP CONSTRAINT IF EXISTS design_user_mentions_pkey;
ALTER TABLE IF EXISTS ONLY public.design_management_versions DROP CONSTRAINT IF EXISTS design_management_versions_pkey;
ALTER TABLE IF EXISTS ONLY public.design_management_designs_versions DROP CONSTRAINT IF EXISTS design_management_designs_versions_pkey;
ALTER TABLE IF EXISTS ONLY public.design_management_designs DROP CONSTRAINT IF EXISTS design_management_designs_pkey;
ALTER TABLE IF EXISTS ONLY public.description_versions DROP CONSTRAINT IF EXISTS description_versions_pkey;
ALTER TABLE IF EXISTS ONLY public.deployments DROP CONSTRAINT IF EXISTS deployments_pkey;
ALTER TABLE IF EXISTS ONLY public.deployment_merge_requests DROP CONSTRAINT IF EXISTS deployment_merge_requests_pkey;
ALTER TABLE IF EXISTS ONLY public.deployment_clusters DROP CONSTRAINT IF EXISTS deployment_clusters_pkey;
ALTER TABLE IF EXISTS ONLY public.deploy_tokens DROP CONSTRAINT IF EXISTS deploy_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.deploy_keys_projects DROP CONSTRAINT IF EXISTS deploy_keys_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.dependency_proxy_manifests DROP CONSTRAINT IF EXISTS dependency_proxy_manifests_pkey;
ALTER TABLE IF EXISTS ONLY public.dependency_proxy_group_settings DROP CONSTRAINT IF EXISTS dependency_proxy_group_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.dependency_proxy_blobs DROP CONSTRAINT IF EXISTS dependency_proxy_blobs_pkey;
ALTER TABLE IF EXISTS ONLY public.dep_ci_build_trace_section_names DROP CONSTRAINT IF EXISTS dep_ci_build_trace_section_names_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_sites DROP CONSTRAINT IF EXISTS dast_sites_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_site_validations DROP CONSTRAINT IF EXISTS dast_site_validations_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_site_tokens DROP CONSTRAINT IF EXISTS dast_site_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles DROP CONSTRAINT IF EXISTS dast_site_profiles_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles_pipelines DROP CONSTRAINT IF EXISTS dast_site_profiles_pipelines_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_site_profiles_builds DROP CONSTRAINT IF EXISTS dast_site_profiles_builds_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_site_profile_secret_variables DROP CONSTRAINT IF EXISTS dast_site_profile_secret_variables_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_scanner_profiles DROP CONSTRAINT IF EXISTS dast_scanner_profiles_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_scanner_profiles_builds DROP CONSTRAINT IF EXISTS dast_scanner_profiles_builds_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_profiles DROP CONSTRAINT IF EXISTS dast_profiles_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_profiles_pipelines DROP CONSTRAINT IF EXISTS dast_profiles_pipelines_pkey;
ALTER TABLE IF EXISTS ONLY public.dast_profile_schedules DROP CONSTRAINT IF EXISTS dast_profile_schedules_pkey;
ALTER TABLE IF EXISTS ONLY public.customer_relations_organizations DROP CONSTRAINT IF EXISTS customer_relations_organizations_pkey;
ALTER TABLE IF EXISTS ONLY public.custom_emoji DROP CONSTRAINT IF EXISTS custom_emoji_pkey;
ALTER TABLE IF EXISTS ONLY public.csv_issue_imports DROP CONSTRAINT IF EXISTS csv_issue_imports_pkey;
ALTER TABLE IF EXISTS ONLY public.conversational_development_index_metrics DROP CONSTRAINT IF EXISTS conversational_development_index_metrics_pkey;
ALTER TABLE IF EXISTS ONLY public.container_repositories DROP CONSTRAINT IF EXISTS container_repositories_pkey;
ALTER TABLE IF EXISTS ONLY public.container_expiration_policies DROP CONSTRAINT IF EXISTS container_expiration_policies_pkey;
ALTER TABLE IF EXISTS ONLY public.compliance_management_frameworks DROP CONSTRAINT IF EXISTS compliance_management_frameworks_pkey;
ALTER TABLE IF EXISTS ONLY public.commit_user_mentions DROP CONSTRAINT IF EXISTS commit_user_mentions_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters DROP CONSTRAINT IF EXISTS clusters_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_kubernetes_namespaces DROP CONSTRAINT IF EXISTS clusters_kubernetes_namespaces_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_integration_prometheus DROP CONSTRAINT IF EXISTS clusters_integration_prometheus_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_integration_elasticstack DROP CONSTRAINT IF EXISTS clusters_integration_elasticstack_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_runners DROP CONSTRAINT IF EXISTS clusters_applications_runners_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_prometheus DROP CONSTRAINT IF EXISTS clusters_applications_prometheus_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_knative DROP CONSTRAINT IF EXISTS clusters_applications_knative_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_jupyter DROP CONSTRAINT IF EXISTS clusters_applications_jupyter_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_ingress DROP CONSTRAINT IF EXISTS clusters_applications_ingress_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_helm DROP CONSTRAINT IF EXISTS clusters_applications_helm_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_elastic_stacks DROP CONSTRAINT IF EXISTS clusters_applications_elastic_stacks_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_crossplane DROP CONSTRAINT IF EXISTS clusters_applications_crossplane_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_cilium DROP CONSTRAINT IF EXISTS clusters_applications_cilium_pkey;
ALTER TABLE IF EXISTS ONLY public.clusters_applications_cert_managers DROP CONSTRAINT IF EXISTS clusters_applications_cert_managers_pkey;
ALTER TABLE IF EXISTS ONLY public.cluster_providers_gcp DROP CONSTRAINT IF EXISTS cluster_providers_gcp_pkey;
ALTER TABLE IF EXISTS ONLY public.cluster_providers_aws DROP CONSTRAINT IF EXISTS cluster_providers_aws_pkey;
ALTER TABLE IF EXISTS ONLY public.cluster_projects DROP CONSTRAINT IF EXISTS cluster_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.cluster_platforms_kubernetes DROP CONSTRAINT IF EXISTS cluster_platforms_kubernetes_pkey;
ALTER TABLE IF EXISTS ONLY public.cluster_groups DROP CONSTRAINT IF EXISTS cluster_groups_pkey;
ALTER TABLE IF EXISTS ONLY public.cluster_agents DROP CONSTRAINT IF EXISTS cluster_agents_pkey;
ALTER TABLE IF EXISTS ONLY public.cluster_agent_tokens DROP CONSTRAINT IF EXISTS cluster_agent_tokens_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_variables DROP CONSTRAINT IF EXISTS ci_variables_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_unit_tests DROP CONSTRAINT IF EXISTS ci_unit_tests_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_unit_test_failures DROP CONSTRAINT IF EXISTS ci_unit_test_failures_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_triggers DROP CONSTRAINT IF EXISTS ci_triggers_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_trigger_requests DROP CONSTRAINT IF EXISTS ci_trigger_requests_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_subscriptions_projects DROP CONSTRAINT IF EXISTS ci_subscriptions_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_stages DROP CONSTRAINT IF EXISTS ci_stages_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_sources_projects DROP CONSTRAINT IF EXISTS ci_sources_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_sources_pipelines DROP CONSTRAINT IF EXISTS ci_sources_pipelines_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_running_builds DROP CONSTRAINT IF EXISTS ci_running_builds_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_runners DROP CONSTRAINT IF EXISTS ci_runners_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_runner_projects DROP CONSTRAINT IF EXISTS ci_runner_projects_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_runner_namespaces DROP CONSTRAINT IF EXISTS ci_runner_namespaces_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_resources DROP CONSTRAINT IF EXISTS ci_resources_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_resource_groups DROP CONSTRAINT IF EXISTS ci_resource_groups_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_refs DROP CONSTRAINT IF EXISTS ci_refs_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_project_monthly_usages DROP CONSTRAINT IF EXISTS ci_project_monthly_usages_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_platform_metrics DROP CONSTRAINT IF EXISTS ci_platform_metrics_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines DROP CONSTRAINT IF EXISTS ci_pipelines_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pipelines_config DROP CONSTRAINT IF EXISTS ci_pipelines_config_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_variables DROP CONSTRAINT IF EXISTS ci_pipeline_variables_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_schedules DROP CONSTRAINT IF EXISTS ci_pipeline_schedules_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_schedule_variables DROP CONSTRAINT IF EXISTS ci_pipeline_schedule_variables_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_messages DROP CONSTRAINT IF EXISTS ci_pipeline_messages_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_chat_data DROP CONSTRAINT IF EXISTS ci_pipeline_chat_data_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pipeline_artifacts DROP CONSTRAINT IF EXISTS ci_pipeline_artifacts_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_pending_builds DROP CONSTRAINT IF EXISTS ci_pending_builds_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_namespace_monthly_usages DROP CONSTRAINT IF EXISTS ci_namespace_monthly_usages_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_minutes_additional_packs DROP CONSTRAINT IF EXISTS ci_minutes_additional_packs_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_job_variables DROP CONSTRAINT IF EXISTS ci_job_variables_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_job_token_project_scope_links DROP CONSTRAINT IF EXISTS ci_job_token_project_scope_links_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_job_artifacts DROP CONSTRAINT IF EXISTS ci_job_artifacts_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_instance_variables DROP CONSTRAINT IF EXISTS ci_instance_variables_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_group_variables DROP CONSTRAINT IF EXISTS ci_group_variables_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_freeze_periods DROP CONSTRAINT IF EXISTS ci_freeze_periods_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_deleted_objects DROP CONSTRAINT IF EXISTS ci_deleted_objects_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_daily_build_group_report_results DROP CONSTRAINT IF EXISTS ci_daily_build_group_report_results_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_builds_runner_session DROP CONSTRAINT IF EXISTS ci_builds_runner_session_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_builds DROP CONSTRAINT IF EXISTS ci_builds_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_builds_metadata DROP CONSTRAINT IF EXISTS ci_builds_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.dep_ci_build_trace_sections DROP CONSTRAINT IF EXISTS ci_build_trace_sections_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_build_trace_metadata DROP CONSTRAINT IF EXISTS ci_build_trace_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_build_trace_chunks DROP CONSTRAINT IF EXISTS ci_build_trace_chunks_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_build_report_results DROP CONSTRAINT IF EXISTS ci_build_report_results_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_build_pending_states DROP CONSTRAINT IF EXISTS ci_build_pending_states_pkey;
ALTER TABLE IF EXISTS ONLY public.ci_build_needs DROP CONSTRAINT IF EXISTS ci_build_needs_pkey;
ALTER TABLE IF EXISTS public.sprints DROP CONSTRAINT IF EXISTS check_df3816aed7;
ALTER TABLE IF EXISTS public.group_import_states DROP CONSTRAINT IF EXISTS check_cda75c7c3f;
ALTER TABLE IF EXISTS public.sprints DROP CONSTRAINT IF EXISTS check_ccd8a1eae0;
ALTER TABLE IF EXISTS public.vulnerability_scanners DROP CONSTRAINT IF EXISTS check_37608c9db5;
ALTER TABLE IF EXISTS ONLY public.chat_teams DROP CONSTRAINT IF EXISTS chat_teams_pkey;
ALTER TABLE IF EXISTS ONLY public.chat_names DROP CONSTRAINT IF EXISTS chat_names_pkey;
ALTER TABLE IF EXISTS ONLY public.bulk_imports DROP CONSTRAINT IF EXISTS bulk_imports_pkey;
ALTER TABLE IF EXISTS ONLY public.bulk_import_trackers DROP CONSTRAINT IF EXISTS bulk_import_trackers_pkey;
ALTER TABLE IF EXISTS ONLY public.bulk_import_failures DROP CONSTRAINT IF EXISTS bulk_import_failures_pkey;
ALTER TABLE IF EXISTS ONLY public.bulk_import_exports DROP CONSTRAINT IF EXISTS bulk_import_exports_pkey;
ALTER TABLE IF EXISTS ONLY public.bulk_import_export_uploads DROP CONSTRAINT IF EXISTS bulk_import_export_uploads_pkey;
ALTER TABLE IF EXISTS ONLY public.bulk_import_entities DROP CONSTRAINT IF EXISTS bulk_import_entities_pkey;
ALTER TABLE IF EXISTS ONLY public.bulk_import_configurations DROP CONSTRAINT IF EXISTS bulk_import_configurations_pkey;
ALTER TABLE IF EXISTS ONLY public.broadcast_messages DROP CONSTRAINT IF EXISTS broadcast_messages_pkey;
ALTER TABLE IF EXISTS ONLY public.boards DROP CONSTRAINT IF EXISTS boards_pkey;
ALTER TABLE IF EXISTS ONLY public.boards_epic_user_preferences DROP CONSTRAINT IF EXISTS boards_epic_user_preferences_pkey;
ALTER TABLE IF EXISTS ONLY public.boards_epic_lists DROP CONSTRAINT IF EXISTS boards_epic_lists_pkey;
ALTER TABLE IF EXISTS ONLY public.boards_epic_list_user_preferences DROP CONSTRAINT IF EXISTS boards_epic_list_user_preferences_pkey;
ALTER TABLE IF EXISTS ONLY public.boards_epic_boards DROP CONSTRAINT IF EXISTS boards_epic_boards_pkey;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_recent_visits DROP CONSTRAINT IF EXISTS boards_epic_board_recent_visits_pkey;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_positions DROP CONSTRAINT IF EXISTS boards_epic_board_positions_pkey;
ALTER TABLE IF EXISTS ONLY public.boards_epic_board_labels DROP CONSTRAINT IF EXISTS boards_epic_board_labels_pkey;
ALTER TABLE IF EXISTS ONLY public.board_user_preferences DROP CONSTRAINT IF EXISTS board_user_preferences_pkey;
ALTER TABLE IF EXISTS ONLY public.board_project_recent_visits DROP CONSTRAINT IF EXISTS board_project_recent_visits_pkey;
ALTER TABLE IF EXISTS ONLY public.board_labels DROP CONSTRAINT IF EXISTS board_labels_pkey;
ALTER TABLE IF EXISTS ONLY public.board_group_recent_visits DROP CONSTRAINT IF EXISTS board_group_recent_visits_pkey;
ALTER TABLE IF EXISTS ONLY public.board_assignees DROP CONSTRAINT IF EXISTS board_assignees_pkey;
ALTER TABLE IF EXISTS ONLY public.batched_background_migrations DROP CONSTRAINT IF EXISTS batched_background_migrations_pkey;
ALTER TABLE IF EXISTS ONLY public.batched_background_migration_jobs DROP CONSTRAINT IF EXISTS batched_background_migration_jobs_pkey;
ALTER TABLE IF EXISTS ONLY public.banned_users DROP CONSTRAINT IF EXISTS banned_users_pkey;
ALTER TABLE IF EXISTS ONLY public.badges DROP CONSTRAINT IF EXISTS badges_pkey;
ALTER TABLE IF EXISTS ONLY public.background_migration_jobs DROP CONSTRAINT IF EXISTS background_migration_jobs_pkey;
ALTER TABLE IF EXISTS ONLY public.aws_roles DROP CONSTRAINT IF EXISTS aws_roles_pkey;
ALTER TABLE IF EXISTS ONLY public.award_emoji DROP CONSTRAINT IF EXISTS award_emoji_pkey;
ALTER TABLE IF EXISTS ONLY public.authentication_events DROP CONSTRAINT IF EXISTS authentication_events_pkey;
ALTER TABLE IF EXISTS ONLY public.atlassian_identities DROP CONSTRAINT IF EXISTS atlassian_identities_pkey;
ALTER TABLE IF EXISTS ONLY public.ar_internal_metadata DROP CONSTRAINT IF EXISTS ar_internal_metadata_pkey;
ALTER TABLE IF EXISTS ONLY public.approvers DROP CONSTRAINT IF EXISTS approvers_pkey;
ALTER TABLE IF EXISTS ONLY public.approver_groups DROP CONSTRAINT IF EXISTS approver_groups_pkey;
ALTER TABLE IF EXISTS ONLY public.approvals DROP CONSTRAINT IF EXISTS approvals_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_users DROP CONSTRAINT IF EXISTS approval_project_rules_users_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_protected_branches DROP CONSTRAINT IF EXISTS approval_project_rules_protected_branches_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules DROP CONSTRAINT IF EXISTS approval_project_rules_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_project_rules_groups DROP CONSTRAINT IF EXISTS approval_project_rules_groups_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_users DROP CONSTRAINT IF EXISTS approval_merge_request_rules_users_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules DROP CONSTRAINT IF EXISTS approval_merge_request_rules_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_groups DROP CONSTRAINT IF EXISTS approval_merge_request_rules_groups_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rules_approved_approvers DROP CONSTRAINT IF EXISTS approval_merge_request_rules_approved_approvers_pkey;
ALTER TABLE IF EXISTS ONLY public.approval_merge_request_rule_sources DROP CONSTRAINT IF EXISTS approval_merge_request_rule_sources_pkey;
ALTER TABLE IF EXISTS ONLY public.application_settings DROP CONSTRAINT IF EXISTS application_settings_pkey;
ALTER TABLE IF EXISTS ONLY public.application_setting_terms DROP CONSTRAINT IF EXISTS application_setting_terms_pkey;
ALTER TABLE IF EXISTS ONLY public.appearances DROP CONSTRAINT IF EXISTS appearances_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_usage_trends_measurements DROP CONSTRAINT IF EXISTS analytics_usage_trends_measurements_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_language_trend_repository_languages DROP CONSTRAINT IF EXISTS analytics_language_trend_repository_languages_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_devops_adoption_snapshots DROP CONSTRAINT IF EXISTS analytics_devops_adoption_snapshots_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_devops_adoption_segments DROP CONSTRAINT IF EXISTS analytics_devops_adoption_segments_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_stage_event_hashes DROP CONSTRAINT IF EXISTS analytics_cycle_analytics_stage_event_hashes_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_project_value_streams DROP CONSTRAINT IF EXISTS analytics_cycle_analytics_project_value_streams_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_project_stages DROP CONSTRAINT IF EXISTS analytics_cycle_analytics_project_stages_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_group_value_streams DROP CONSTRAINT IF EXISTS analytics_cycle_analytics_group_value_streams_pkey;
ALTER TABLE IF EXISTS ONLY public.analytics_cycle_analytics_group_stages DROP CONSTRAINT IF EXISTS analytics_cycle_analytics_group_stages_pkey;
ALTER TABLE IF EXISTS ONLY public.allowed_email_domains DROP CONSTRAINT IF EXISTS allowed_email_domains_pkey;
ALTER TABLE IF EXISTS ONLY public.alert_management_http_integrations DROP CONSTRAINT IF EXISTS alert_management_http_integrations_pkey;
ALTER TABLE IF EXISTS ONLY public.alert_management_alerts DROP CONSTRAINT IF EXISTS alert_management_alerts_pkey;
ALTER TABLE IF EXISTS ONLY public.alert_management_alert_user_mentions DROP CONSTRAINT IF EXISTS alert_management_alert_user_mentions_pkey;
ALTER TABLE IF EXISTS ONLY public.alert_management_alert_assignees DROP CONSTRAINT IF EXISTS alert_management_alert_assignees_pkey;
ALTER TABLE IF EXISTS ONLY public.abuse_reports DROP CONSTRAINT IF EXISTS abuse_reports_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_63 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_63_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_62 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_62_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_61 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_61_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_60 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_60_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_59 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_59_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_58 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_58_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_57 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_57_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_56 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_56_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_55 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_55_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_54 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_54_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_53 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_53_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_52 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_52_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_51 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_51_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_50 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_50_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_49 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_49_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_48 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_48_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_47 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_47_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_46 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_46_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_45 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_45_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_44 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_44_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_43 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_43_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_42 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_42_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_41 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_41_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_40 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_40_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_39 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_39_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_38 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_38_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_37 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_37_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_36 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_36_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_35 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_35_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_34 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_34_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_33 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_33_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_32 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_32_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_31 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_31_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_30 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_30_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_29 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_29_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_28 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_28_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_27 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_27_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_26 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_26_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_25 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_25_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_24 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_24_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_23 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_23_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_22 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_22_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_21 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_21_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_20 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_20_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_19 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_19_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_18 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_18_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_17 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_17_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_16 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_16_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_15 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_15_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_14 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_14_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_13 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_13_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_12 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_12_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_11 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_11_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_10 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_10_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_09 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_09_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_08 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_08_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_07 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_07_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_06 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_06_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_05 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_05_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_04 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_04_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_03 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_03_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_02 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_02_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_01 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_01_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_static.product_analytics_events_experimental_00 DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_00_pkey;
ALTER TABLE IF EXISTS ONLY public.product_analytics_events_experimental DROP CONSTRAINT IF EXISTS product_analytics_events_experimental_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202203 DROP CONSTRAINT IF EXISTS web_hook_logs_202203_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202202 DROP CONSTRAINT IF EXISTS web_hook_logs_202202_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202201 DROP CONSTRAINT IF EXISTS web_hook_logs_202201_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202112 DROP CONSTRAINT IF EXISTS web_hook_logs_202112_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202111 DROP CONSTRAINT IF EXISTS web_hook_logs_202111_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202110 DROP CONSTRAINT IF EXISTS web_hook_logs_202110_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202109 DROP CONSTRAINT IF EXISTS web_hook_logs_202109_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202108 DROP CONSTRAINT IF EXISTS web_hook_logs_202108_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202107 DROP CONSTRAINT IF EXISTS web_hook_logs_202107_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.web_hook_logs_202106 DROP CONSTRAINT IF EXISTS web_hook_logs_202106_pkey;
ALTER TABLE IF EXISTS ONLY public.web_hook_logs DROP CONSTRAINT IF EXISTS web_hook_logs_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.audit_events_202203 DROP CONSTRAINT IF EXISTS audit_events_202203_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.audit_events_202202 DROP CONSTRAINT IF EXISTS audit_events_202202_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.audit_events_202201 DROP CONSTRAINT IF EXISTS audit_events_202201_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.audit_events_202112 DROP CONSTRAINT IF EXISTS audit_events_202112_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.audit_events_202111 DROP CONSTRAINT IF EXISTS audit_events_202111_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.audit_events_202110 DROP CONSTRAINT IF EXISTS audit_events_202110_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.audit_events_202109 DROP CONSTRAINT IF EXISTS audit_events_202109_pkey;
ALTER TABLE IF EXISTS ONLY gitlab_partitions_dynamic.audit_events_000000 DROP CONSTRAINT IF EXISTS audit_events_000000_pkey;
ALTER TABLE IF EXISTS ONLY public.audit_events DROP CONSTRAINT IF EXISTS audit_events_pkey;
ALTER TABLE IF EXISTS public.zoom_meetings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.zentao_tracker_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.x509_issuers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.x509_commit_signatures ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.x509_certificates ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.work_item_types ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.wiki_page_slugs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.wiki_page_meta ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.webauthn_registrations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.web_hooks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.web_hook_logs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_user_mentions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_statistics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_scanners ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_remediations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_occurrences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_occurrence_pipelines ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_occurrence_identifiers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_issue_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_identifiers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_historical_statistics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_flags ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_findings_remediations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_signatures ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_evidences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_evidence_supporting_messages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_evidence_sources ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_evidence_responses ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_evidence_requests ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_evidence_headers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_finding_evidence_assets ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_feedback ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_external_issue_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerability_exports ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.vulnerabilities ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.users_statistics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.users_star_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.users_ops_dashboard_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.users ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_synced_attributes_metadata ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_statuses ALTER COLUMN user_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_preferences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_permission_export_uploads ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_details ALTER COLUMN user_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_custom_attributes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_canonical_emails ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_callouts ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.user_agent_details ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.uploads ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.upcoming_reconciliations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.u2f_registrations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.trending_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.token_with_ivs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.todos ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.timelogs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.terraform_states ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.terraform_state_versions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.term_agreements ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.tags ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.taggings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.system_note_metadata ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.suggestions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.subscriptions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.status_page_settings ALTER COLUMN project_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.status_page_published_incidents ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.status_check_responses ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.sprints ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.spam_logs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.software_licenses ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.software_license_policies ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.snippets ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.snippet_user_mentions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.snippet_repository_storage_moves ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.smartcard_identities ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.slack_integrations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.shards ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.sentry_issues ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.sent_notifications ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.self_managed_prometheus_alert_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.security_scans ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.security_orchestration_policy_rule_schedules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.security_orchestration_policy_configurations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.security_findings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.scim_oauth_access_tokens ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.scim_identities ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.saml_providers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.saml_group_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.routes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.reviews ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.resource_weight_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.resource_state_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.resource_milestone_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.resource_label_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.resource_iteration_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.requirements_management_test_reports ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.requirements ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.required_code_owners_sections ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.remote_mirrors ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.releases ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.release_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.redirect_routes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.raw_usage_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.push_rules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.protected_tags ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.protected_tag_create_access_levels ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.protected_environments ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.protected_environment_deploy_access_levels ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.protected_branches ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.protected_branch_unprotect_access_levels ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.protected_branch_push_access_levels ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.protected_branch_merge_access_levels ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.prometheus_metrics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.prometheus_alerts ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.prometheus_alert_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_tracing_settings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_statistics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_security_settings ALTER COLUMN project_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_repository_storage_moves ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_repository_states ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_repositories ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_mirror_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_incident_management_settings ALTER COLUMN project_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_import_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_group_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_features ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_export_jobs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_deploy_tokens ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_daily_statistics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_custom_attributes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_compliance_framework_settings ALTER COLUMN project_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_ci_feature_usages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_ci_cd_settings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_auto_devops ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.project_aliases ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.programming_languages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.product_analytics_events_experimental ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.postgres_reindex_actions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.postgres_async_indexes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.pool_repositories ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.plans ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.plan_limits ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.personal_access_tokens ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.path_locks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.partitioned_foreign_keys ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.pages_domains ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.pages_domain_acme_orders ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.pages_deployments ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_tags ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_packages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_package_files ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_package_file_build_infos ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_maven_metadata ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_dependency_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_dependencies ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_publications ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_project_distributions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_project_distribution_keys ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_project_components ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_project_component_files ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_project_architectures ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_group_distributions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_group_distribution_keys ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_group_components ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_group_component_files ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_debian_group_architectures ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_conan_metadata ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_conan_file_metadata ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_composer_cache_files ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.packages_build_infos ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.operations_user_lists ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.operations_strategies_user_lists ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.operations_strategies ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.operations_scopes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.operations_feature_flags_issues ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.operations_feature_flags_clients ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.operations_feature_flags ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.operations_feature_flag_scopes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.open_project_tracker_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.onboarding_progresses ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.oauth_openid_requests ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.oauth_applications ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.oauth_access_tokens ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.oauth_access_grants ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.notification_settings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.notes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.note_diff_files ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.namespaces ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.namespace_statistics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.namespace_admin_notes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.milestones ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.metrics_users_starred_dashboards ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.metrics_dashboard_annotations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_trains ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_requests_closing_issues ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_requests ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_user_mentions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_reviewers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_metrics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_diffs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_diff_details ALTER COLUMN merge_request_diff_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_diff_commit_users ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_context_commits ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_cleanup_schedules ALTER COLUMN merge_request_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_blocks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.merge_request_assignees ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.members ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.lists ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.list_user_preferences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.licenses ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.lfs_objects_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.lfs_objects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.lfs_file_locks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ldap_group_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.labels ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.label_priorities ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.label_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.keys ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.jira_tracker_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.jira_imports ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.jira_connect_subscriptions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.jira_connect_installations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.iterations_cadences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issues ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issue_user_mentions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issue_tracker_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issue_metrics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issue_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issue_email_participants ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issuable_slas ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issuable_severities ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.issuable_metric_images ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ip_restrictions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.internal_ids ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.integrations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.insights ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.index_statuses ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.incident_management_pending_alert_escalations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.incident_management_oncall_shifts ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.incident_management_oncall_schedules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.incident_management_oncall_rotations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.incident_management_oncall_participants ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.incident_management_issuable_escalation_statuses ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.incident_management_escalation_rules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.incident_management_escalation_policies ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.in_product_marketing_emails ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.import_failures ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.import_export_uploads ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.identities ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.historical_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.group_repository_storage_moves ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.group_import_states ALTER COLUMN group_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.group_group_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.group_deploy_tokens ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.group_deploy_keys_groups ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.group_deploy_keys ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.group_custom_attributes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.grafana_integrations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.gpg_signatures ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.gpg_keys ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.gpg_key_subkeys ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.gitlab_subscriptions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.gitlab_subscription_histories ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_upload_deleted_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_reset_checksum_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_repository_updated_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_repository_renamed_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_repository_deleted_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_repository_created_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_repositories_changed_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_nodes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_node_statuses ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_node_namespace_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_lfs_object_deleted_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_job_artifact_deleted_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_hashed_storage_migrated_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_hashed_storage_attachments_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_event_log ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_container_repository_updated_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.geo_cache_invalidation_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.fork_networks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.fork_network_members ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.features ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.feature_gates ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.external_status_checks_protected_branches ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.external_status_checks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.external_pull_requests ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.external_approval_rules_protected_branches ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.external_approval_rules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.experiments ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.experiment_users ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.experiment_subjects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.evidences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.error_tracking_errors ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.error_tracking_error_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.error_tracking_client_keys ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.epics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.epic_user_mentions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.epic_metrics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.epic_issues ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.environments ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.emails ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.elastic_reindexing_tasks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.elastic_reindexing_subtasks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.elastic_reindexing_slices ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.elastic_index_settings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.draft_notes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dora_daily_metrics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.diff_note_positions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.detached_partitions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.design_user_mentions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.design_management_versions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.design_management_designs_versions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.design_management_designs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.description_versions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.deployments ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.deploy_tokens ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.deploy_keys_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dependency_proxy_manifests ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dependency_proxy_group_settings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dependency_proxy_blobs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dep_ci_build_trace_section_names ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dast_sites ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dast_site_validations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dast_site_tokens ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dast_site_profiles ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dast_site_profile_secret_variables ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dast_scanner_profiles ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dast_profiles ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.dast_profile_schedules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.customer_relations_organizations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.custom_emoji ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.csv_issue_imports ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.conversational_development_index_metrics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.container_repositories ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.compliance_management_frameworks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.commit_user_mentions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_kubernetes_namespaces ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_runners ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_prometheus ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_knative ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_jupyter ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_ingress ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_helm ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_elastic_stacks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_crossplane ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_cilium ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters_applications_cert_managers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.clusters ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.cluster_providers_gcp ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.cluster_providers_aws ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.cluster_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.cluster_platforms_kubernetes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.cluster_groups ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.cluster_agents ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.cluster_agent_tokens ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_variables ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_unit_tests ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_unit_test_failures ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_triggers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_trigger_requests ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_subscriptions_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_stages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_sources_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_sources_pipelines ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_running_builds ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_runners ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_runner_projects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_runner_namespaces ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_resources ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_resource_groups ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_refs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_project_monthly_usages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_platform_metrics ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pipelines_config ALTER COLUMN pipeline_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pipelines ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pipeline_variables ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pipeline_schedules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pipeline_schedule_variables ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pipeline_messages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pipeline_chat_data ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pipeline_artifacts ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_pending_builds ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_namespace_monthly_usages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_minutes_additional_packs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_job_variables ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_job_token_project_scope_links ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_job_artifacts ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_instance_variables ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_group_variables ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_freeze_periods ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_deleted_objects ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_daily_build_group_report_results ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_builds_runner_session ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_builds_metadata ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_builds ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_build_trace_chunks ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_build_report_results ALTER COLUMN build_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_build_pending_states ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.ci_build_needs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.chat_teams ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.chat_names ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.bulk_imports ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.bulk_import_trackers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.bulk_import_failures ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.bulk_import_exports ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.bulk_import_export_uploads ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.bulk_import_entities ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.bulk_import_configurations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.broadcast_messages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.boards_epic_user_preferences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.boards_epic_lists ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.boards_epic_list_user_preferences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.boards_epic_boards ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.boards_epic_board_recent_visits ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.boards_epic_board_positions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.boards_epic_board_labels ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.boards ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.board_user_preferences ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.board_project_recent_visits ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.board_labels ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.board_group_recent_visits ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.board_assignees ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.batched_background_migrations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.batched_background_migration_jobs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.badges ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.background_migration_jobs ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.award_emoji ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.authentication_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.audit_events ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.atlassian_identities ALTER COLUMN user_id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approvers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approver_groups ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approvals ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approval_project_rules_users ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approval_project_rules_groups ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approval_project_rules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approval_merge_request_rules_users ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approval_merge_request_rules_groups ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approval_merge_request_rules_approved_approvers ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approval_merge_request_rules ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.approval_merge_request_rule_sources ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.application_settings ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.application_setting_terms ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.appearances ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.analytics_usage_trends_measurements ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.analytics_devops_adoption_snapshots ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.analytics_devops_adoption_segments ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.analytics_cycle_analytics_stage_event_hashes ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.analytics_cycle_analytics_project_value_streams ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.analytics_cycle_analytics_project_stages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.analytics_cycle_analytics_group_value_streams ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.analytics_cycle_analytics_group_stages ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.allowed_email_domains ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.alert_management_http_integrations ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.alert_management_alerts ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.alert_management_alert_user_mentions ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.alert_management_alert_assignees ALTER COLUMN id DROP DEFAULT;
ALTER TABLE IF EXISTS public.abuse_reports ALTER COLUMN id DROP DEFAULT;
DROP SEQUENCE IF EXISTS public.zoom_meetings_id_seq;
DROP TABLE IF EXISTS public.zoom_meetings;
DROP SEQUENCE IF EXISTS public.zentao_tracker_data_id_seq;
DROP TABLE IF EXISTS public.zentao_tracker_data;
DROP SEQUENCE IF EXISTS public.x509_issuers_id_seq;
DROP TABLE IF EXISTS public.x509_issuers;
DROP SEQUENCE IF EXISTS public.x509_commit_signatures_id_seq;
DROP TABLE IF EXISTS public.x509_commit_signatures;
DROP SEQUENCE IF EXISTS public.x509_certificates_id_seq;
DROP TABLE IF EXISTS public.x509_certificates;
DROP SEQUENCE IF EXISTS public.work_item_types_id_seq;
DROP TABLE IF EXISTS public.work_item_types;
DROP SEQUENCE IF EXISTS public.wiki_page_slugs_id_seq;
DROP TABLE IF EXISTS public.wiki_page_slugs;
DROP SEQUENCE IF EXISTS public.wiki_page_meta_id_seq;
DROP TABLE IF EXISTS public.wiki_page_meta;
DROP SEQUENCE IF EXISTS public.webauthn_registrations_id_seq;
DROP TABLE IF EXISTS public.webauthn_registrations;
DROP SEQUENCE IF EXISTS public.web_hooks_id_seq;
DROP TABLE IF EXISTS public.web_hooks;
DROP SEQUENCE IF EXISTS public.vulnerability_user_mentions_id_seq;
DROP TABLE IF EXISTS public.vulnerability_user_mentions;
DROP SEQUENCE IF EXISTS public.vulnerability_statistics_id_seq;
DROP TABLE IF EXISTS public.vulnerability_statistics;
DROP SEQUENCE IF EXISTS public.vulnerability_scanners_id_seq;
DROP TABLE IF EXISTS public.vulnerability_scanners;
DROP SEQUENCE IF EXISTS public.vulnerability_remediations_id_seq;
DROP TABLE IF EXISTS public.vulnerability_remediations;
DROP SEQUENCE IF EXISTS public.vulnerability_occurrences_id_seq;
DROP TABLE IF EXISTS public.vulnerability_occurrences;
DROP SEQUENCE IF EXISTS public.vulnerability_occurrence_pipelines_id_seq;
DROP TABLE IF EXISTS public.vulnerability_occurrence_pipelines;
DROP SEQUENCE IF EXISTS public.vulnerability_occurrence_identifiers_id_seq;
DROP TABLE IF EXISTS public.vulnerability_occurrence_identifiers;
DROP SEQUENCE IF EXISTS public.vulnerability_issue_links_id_seq;
DROP TABLE IF EXISTS public.vulnerability_issue_links;
DROP SEQUENCE IF EXISTS public.vulnerability_identifiers_id_seq;
DROP TABLE IF EXISTS public.vulnerability_identifiers;
DROP SEQUENCE IF EXISTS public.vulnerability_historical_statistics_id_seq;
DROP TABLE IF EXISTS public.vulnerability_historical_statistics;
DROP SEQUENCE IF EXISTS public.vulnerability_flags_id_seq;
DROP TABLE IF EXISTS public.vulnerability_flags;
DROP SEQUENCE IF EXISTS public.vulnerability_findings_remediations_id_seq;
DROP TABLE IF EXISTS public.vulnerability_findings_remediations;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_signatures_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_signatures;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_links_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_links;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_evidences_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_evidences;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_evidence_supporting_messages_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_evidence_supporting_messages;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_evidence_sources_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_evidence_sources;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_evidence_responses_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_evidence_responses;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_evidence_requests_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_evidence_requests;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_evidence_headers_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_evidence_headers;
DROP SEQUENCE IF EXISTS public.vulnerability_finding_evidence_assets_id_seq;
DROP TABLE IF EXISTS public.vulnerability_finding_evidence_assets;
DROP SEQUENCE IF EXISTS public.vulnerability_feedback_id_seq;
DROP TABLE IF EXISTS public.vulnerability_feedback;
DROP SEQUENCE IF EXISTS public.vulnerability_external_issue_links_id_seq;
DROP TABLE IF EXISTS public.vulnerability_external_issue_links;
DROP SEQUENCE IF EXISTS public.vulnerability_exports_id_seq;
DROP TABLE IF EXISTS public.vulnerability_exports;
DROP SEQUENCE IF EXISTS public.vulnerabilities_id_seq;
DROP TABLE IF EXISTS public.vulnerabilities;
DROP SEQUENCE IF EXISTS public.users_statistics_id_seq;
DROP TABLE IF EXISTS public.users_statistics;
DROP SEQUENCE IF EXISTS public.users_star_projects_id_seq;
DROP TABLE IF EXISTS public.users_star_projects;
DROP TABLE IF EXISTS public.users_security_dashboard_projects;
DROP SEQUENCE IF EXISTS public.users_ops_dashboard_projects_id_seq;
DROP TABLE IF EXISTS public.users_ops_dashboard_projects;
DROP SEQUENCE IF EXISTS public.users_id_seq;
DROP TABLE IF EXISTS public.users;
DROP SEQUENCE IF EXISTS public.user_synced_attributes_metadata_id_seq;
DROP TABLE IF EXISTS public.user_synced_attributes_metadata;
DROP SEQUENCE IF EXISTS public.user_statuses_user_id_seq;
DROP TABLE IF EXISTS public.user_statuses;
DROP SEQUENCE IF EXISTS public.user_preferences_id_seq;
DROP TABLE IF EXISTS public.user_preferences;
DROP SEQUENCE IF EXISTS public.user_permission_export_uploads_id_seq;
DROP TABLE IF EXISTS public.user_permission_export_uploads;
DROP TABLE IF EXISTS public.user_interacted_projects;
DROP TABLE IF EXISTS public.user_highest_roles;
DROP TABLE IF EXISTS public.user_follow_users;
DROP SEQUENCE IF EXISTS public.user_details_user_id_seq;
DROP TABLE IF EXISTS public.user_details;
DROP SEQUENCE IF EXISTS public.user_custom_attributes_id_seq;
DROP TABLE IF EXISTS public.user_custom_attributes;
DROP TABLE IF EXISTS public.user_credit_card_validations;
DROP SEQUENCE IF EXISTS public.user_canonical_emails_id_seq;
DROP TABLE IF EXISTS public.user_canonical_emails;
DROP SEQUENCE IF EXISTS public.user_callouts_id_seq;
DROP TABLE IF EXISTS public.user_callouts;
DROP SEQUENCE IF EXISTS public.user_agent_details_id_seq;
DROP TABLE IF EXISTS public.user_agent_details;
DROP SEQUENCE IF EXISTS public.uploads_id_seq;
DROP TABLE IF EXISTS public.uploads;
DROP SEQUENCE IF EXISTS public.upcoming_reconciliations_id_seq;
DROP TABLE IF EXISTS public.upcoming_reconciliations;
DROP SEQUENCE IF EXISTS public.u2f_registrations_id_seq;
DROP TABLE IF EXISTS public.u2f_registrations;
DROP SEQUENCE IF EXISTS public.trending_projects_id_seq;
DROP TABLE IF EXISTS public.trending_projects;
DROP SEQUENCE IF EXISTS public.token_with_ivs_id_seq;
DROP TABLE IF EXISTS public.token_with_ivs;
DROP SEQUENCE IF EXISTS public.todos_id_seq;
DROP TABLE IF EXISTS public.todos;
DROP SEQUENCE IF EXISTS public.timelogs_id_seq;
DROP TABLE IF EXISTS public.timelogs;
DROP SEQUENCE IF EXISTS public.terraform_states_id_seq;
DROP TABLE IF EXISTS public.terraform_states;
DROP SEQUENCE IF EXISTS public.terraform_state_versions_id_seq;
DROP TABLE IF EXISTS public.terraform_state_versions;
DROP SEQUENCE IF EXISTS public.term_agreements_id_seq;
DROP TABLE IF EXISTS public.term_agreements;
DROP SEQUENCE IF EXISTS public.tags_id_seq;
DROP TABLE IF EXISTS public.tags;
DROP SEQUENCE IF EXISTS public.taggings_id_seq;
DROP TABLE IF EXISTS public.taggings;
DROP SEQUENCE IF EXISTS public.system_note_metadata_id_seq;
DROP TABLE IF EXISTS public.system_note_metadata;
DROP SEQUENCE IF EXISTS public.suggestions_id_seq;
DROP TABLE IF EXISTS public.suggestions;
DROP SEQUENCE IF EXISTS public.subscriptions_id_seq;
DROP TABLE IF EXISTS public.subscriptions;
DROP SEQUENCE IF EXISTS public.status_page_settings_project_id_seq;
DROP TABLE IF EXISTS public.status_page_settings;
DROP SEQUENCE IF EXISTS public.status_page_published_incidents_id_seq;
DROP TABLE IF EXISTS public.status_page_published_incidents;
DROP SEQUENCE IF EXISTS public.status_check_responses_id_seq;
DROP TABLE IF EXISTS public.status_check_responses;
DROP SEQUENCE IF EXISTS public.sprints_id_seq;
DROP TABLE IF EXISTS public.sprints;
DROP SEQUENCE IF EXISTS public.spam_logs_id_seq;
DROP TABLE IF EXISTS public.spam_logs;
DROP SEQUENCE IF EXISTS public.software_licenses_id_seq;
DROP TABLE IF EXISTS public.software_licenses;
DROP SEQUENCE IF EXISTS public.software_license_policies_id_seq;
DROP TABLE IF EXISTS public.software_license_policies;
DROP SEQUENCE IF EXISTS public.snippets_id_seq;
DROP TABLE IF EXISTS public.snippets;
DROP SEQUENCE IF EXISTS public.snippet_user_mentions_id_seq;
DROP TABLE IF EXISTS public.snippet_user_mentions;
DROP TABLE IF EXISTS public.snippet_statistics;
DROP SEQUENCE IF EXISTS public.snippet_repository_storage_moves_id_seq;
DROP TABLE IF EXISTS public.snippet_repository_storage_moves;
DROP TABLE IF EXISTS public.snippet_repositories;
DROP SEQUENCE IF EXISTS public.smartcard_identities_id_seq;
DROP TABLE IF EXISTS public.smartcard_identities;
DROP SEQUENCE IF EXISTS public.slack_integrations_id_seq;
DROP TABLE IF EXISTS public.slack_integrations;
DROP SEQUENCE IF EXISTS public.shards_id_seq;
DROP TABLE IF EXISTS public.shards;
DROP TABLE IF EXISTS public.service_desk_settings;
DROP TABLE IF EXISTS public.serverless_domain_cluster;
DROP SEQUENCE IF EXISTS public.sentry_issues_id_seq;
DROP TABLE IF EXISTS public.sentry_issues;
DROP SEQUENCE IF EXISTS public.sent_notifications_id_seq;
DROP TABLE IF EXISTS public.sent_notifications;
DROP SEQUENCE IF EXISTS public.self_managed_prometheus_alert_events_id_seq;
DROP TABLE IF EXISTS public.self_managed_prometheus_alert_events;
DROP SEQUENCE IF EXISTS public.security_scans_id_seq;
DROP TABLE IF EXISTS public.security_scans;
DROP SEQUENCE IF EXISTS public.security_orchestration_policy_rule_schedules_id_seq;
DROP TABLE IF EXISTS public.security_orchestration_policy_rule_schedules;
DROP SEQUENCE IF EXISTS public.security_orchestration_policy_configurations_id_seq;
DROP TABLE IF EXISTS public.security_orchestration_policy_configurations;
DROP SEQUENCE IF EXISTS public.security_findings_id_seq;
DROP TABLE IF EXISTS public.security_findings;
DROP SEQUENCE IF EXISTS public.scim_oauth_access_tokens_id_seq;
DROP TABLE IF EXISTS public.scim_oauth_access_tokens;
DROP SEQUENCE IF EXISTS public.scim_identities_id_seq;
DROP TABLE IF EXISTS public.scim_identities;
DROP TABLE IF EXISTS public.schema_migrations;
DROP SEQUENCE IF EXISTS public.saml_providers_id_seq;
DROP TABLE IF EXISTS public.saml_providers;
DROP SEQUENCE IF EXISTS public.saml_group_links_id_seq;
DROP TABLE IF EXISTS public.saml_group_links;
DROP SEQUENCE IF EXISTS public.routes_id_seq;
DROP TABLE IF EXISTS public.routes;
DROP SEQUENCE IF EXISTS public.reviews_id_seq;
DROP TABLE IF EXISTS public.reviews;
DROP SEQUENCE IF EXISTS public.resource_weight_events_id_seq;
DROP TABLE IF EXISTS public.resource_weight_events;
DROP SEQUENCE IF EXISTS public.resource_state_events_id_seq;
DROP TABLE IF EXISTS public.resource_state_events;
DROP SEQUENCE IF EXISTS public.resource_milestone_events_id_seq;
DROP TABLE IF EXISTS public.resource_milestone_events;
DROP SEQUENCE IF EXISTS public.resource_label_events_id_seq;
DROP TABLE IF EXISTS public.resource_label_events;
DROP SEQUENCE IF EXISTS public.resource_iteration_events_id_seq;
DROP TABLE IF EXISTS public.resource_iteration_events;
DROP SEQUENCE IF EXISTS public.requirements_management_test_reports_id_seq;
DROP TABLE IF EXISTS public.requirements_management_test_reports;
DROP SEQUENCE IF EXISTS public.requirements_id_seq;
DROP TABLE IF EXISTS public.requirements;
DROP SEQUENCE IF EXISTS public.required_code_owners_sections_id_seq;
DROP TABLE IF EXISTS public.required_code_owners_sections;
DROP TABLE IF EXISTS public.repository_languages;
DROP SEQUENCE IF EXISTS public.remote_mirrors_id_seq;
DROP TABLE IF EXISTS public.remote_mirrors;
DROP SEQUENCE IF EXISTS public.releases_id_seq;
DROP TABLE IF EXISTS public.releases;
DROP SEQUENCE IF EXISTS public.release_links_id_seq;
DROP TABLE IF EXISTS public.release_links;
DROP SEQUENCE IF EXISTS public.redirect_routes_id_seq;
DROP TABLE IF EXISTS public.redirect_routes;
DROP SEQUENCE IF EXISTS public.raw_usage_data_id_seq;
DROP TABLE IF EXISTS public.raw_usage_data;
DROP SEQUENCE IF EXISTS public.push_rules_id_seq;
DROP TABLE IF EXISTS public.push_rules;
DROP TABLE IF EXISTS public.push_event_payloads;
DROP SEQUENCE IF EXISTS public.protected_tags_id_seq;
DROP TABLE IF EXISTS public.protected_tags;
DROP SEQUENCE IF EXISTS public.protected_tag_create_access_levels_id_seq;
DROP TABLE IF EXISTS public.protected_tag_create_access_levels;
DROP SEQUENCE IF EXISTS public.protected_environments_id_seq;
DROP TABLE IF EXISTS public.protected_environments;
DROP SEQUENCE IF EXISTS public.protected_environment_deploy_access_levels_id_seq;
DROP TABLE IF EXISTS public.protected_environment_deploy_access_levels;
DROP SEQUENCE IF EXISTS public.protected_branches_id_seq;
DROP TABLE IF EXISTS public.protected_branches;
DROP SEQUENCE IF EXISTS public.protected_branch_unprotect_access_levels_id_seq;
DROP TABLE IF EXISTS public.protected_branch_unprotect_access_levels;
DROP SEQUENCE IF EXISTS public.protected_branch_push_access_levels_id_seq;
DROP TABLE IF EXISTS public.protected_branch_push_access_levels;
DROP SEQUENCE IF EXISTS public.protected_branch_merge_access_levels_id_seq;
DROP TABLE IF EXISTS public.protected_branch_merge_access_levels;
DROP SEQUENCE IF EXISTS public.prometheus_metrics_id_seq;
DROP TABLE IF EXISTS public.prometheus_metrics;
DROP SEQUENCE IF EXISTS public.prometheus_alerts_id_seq;
DROP TABLE IF EXISTS public.prometheus_alerts;
DROP SEQUENCE IF EXISTS public.prometheus_alert_events_id_seq;
DROP TABLE IF EXISTS public.prometheus_alert_events;
DROP SEQUENCE IF EXISTS public.projects_id_seq;
DROP TABLE IF EXISTS public.projects;
DROP SEQUENCE IF EXISTS public.project_tracing_settings_id_seq;
DROP TABLE IF EXISTS public.project_tracing_settings;
DROP SEQUENCE IF EXISTS public.project_statistics_id_seq;
DROP TABLE IF EXISTS public.project_statistics;
DROP TABLE IF EXISTS public.project_settings;
DROP SEQUENCE IF EXISTS public.project_security_settings_project_id_seq;
DROP TABLE IF EXISTS public.project_security_settings;
DROP SEQUENCE IF EXISTS public.project_repository_storage_moves_id_seq;
DROP TABLE IF EXISTS public.project_repository_storage_moves;
DROP SEQUENCE IF EXISTS public.project_repository_states_id_seq;
DROP TABLE IF EXISTS public.project_repository_states;
DROP SEQUENCE IF EXISTS public.project_repositories_id_seq;
DROP TABLE IF EXISTS public.project_repositories;
DROP TABLE IF EXISTS public.project_pages_metadata;
DROP SEQUENCE IF EXISTS public.project_mirror_data_id_seq;
DROP TABLE IF EXISTS public.project_mirror_data;
DROP TABLE IF EXISTS public.project_metrics_settings;
DROP SEQUENCE IF EXISTS public.project_incident_management_settings_project_id_seq;
DROP TABLE IF EXISTS public.project_incident_management_settings;
DROP SEQUENCE IF EXISTS public.project_import_data_id_seq;
DROP TABLE IF EXISTS public.project_import_data;
DROP SEQUENCE IF EXISTS public.project_group_links_id_seq;
DROP TABLE IF EXISTS public.project_group_links;
DROP SEQUENCE IF EXISTS public.project_features_id_seq;
DROP TABLE IF EXISTS public.project_features;
DROP TABLE IF EXISTS public.project_feature_usages;
DROP SEQUENCE IF EXISTS public.project_export_jobs_id_seq;
DROP TABLE IF EXISTS public.project_export_jobs;
DROP TABLE IF EXISTS public.project_error_tracking_settings;
DROP SEQUENCE IF EXISTS public.project_deploy_tokens_id_seq;
DROP TABLE IF EXISTS public.project_deploy_tokens;
DROP SEQUENCE IF EXISTS public.project_daily_statistics_id_seq;
DROP TABLE IF EXISTS public.project_daily_statistics;
DROP SEQUENCE IF EXISTS public.project_custom_attributes_id_seq;
DROP TABLE IF EXISTS public.project_custom_attributes;
DROP SEQUENCE IF EXISTS public.project_compliance_framework_settings_project_id_seq;
DROP TABLE IF EXISTS public.project_compliance_framework_settings;
DROP SEQUENCE IF EXISTS public.project_ci_feature_usages_id_seq;
DROP TABLE IF EXISTS public.project_ci_feature_usages;
DROP SEQUENCE IF EXISTS public.project_ci_cd_settings_id_seq;
DROP TABLE IF EXISTS public.project_ci_cd_settings;
DROP SEQUENCE IF EXISTS public.project_auto_devops_id_seq;
DROP TABLE IF EXISTS public.project_auto_devops;
DROP TABLE IF EXISTS public.project_authorizations;
DROP SEQUENCE IF EXISTS public.project_aliases_id_seq;
DROP TABLE IF EXISTS public.project_aliases;
DROP TABLE IF EXISTS public.project_alerting_settings;
DROP TABLE IF EXISTS public.project_access_tokens;
DROP SEQUENCE IF EXISTS public.programming_languages_id_seq;
DROP TABLE IF EXISTS public.programming_languages;
DROP SEQUENCE IF EXISTS public.postgres_reindex_actions_id_seq;
DROP TABLE IF EXISTS public.postgres_reindex_actions;
DROP VIEW IF EXISTS public.postgres_partitions;
DROP VIEW IF EXISTS public.postgres_partitioned_tables;
DROP VIEW IF EXISTS public.postgres_indexes;
DROP VIEW IF EXISTS public.postgres_index_bloat_estimates;
DROP VIEW IF EXISTS public.postgres_foreign_keys;
DROP SEQUENCE IF EXISTS public.postgres_async_indexes_id_seq;
DROP TABLE IF EXISTS public.postgres_async_indexes;
DROP SEQUENCE IF EXISTS public.pool_repositories_id_seq;
DROP TABLE IF EXISTS public.pool_repositories;
DROP SEQUENCE IF EXISTS public.plans_id_seq;
DROP TABLE IF EXISTS public.plans;
DROP SEQUENCE IF EXISTS public.plan_limits_id_seq;
DROP TABLE IF EXISTS public.plan_limits;
DROP SEQUENCE IF EXISTS public.personal_access_tokens_id_seq;
DROP TABLE IF EXISTS public.personal_access_tokens;
DROP SEQUENCE IF EXISTS public.path_locks_id_seq;
DROP TABLE IF EXISTS public.path_locks;
DROP SEQUENCE IF EXISTS public.partitioned_foreign_keys_id_seq;
DROP TABLE IF EXISTS public.partitioned_foreign_keys;
DROP SEQUENCE IF EXISTS public.pages_domains_id_seq;
DROP TABLE IF EXISTS public.pages_domains;
DROP SEQUENCE IF EXISTS public.pages_domain_acme_orders_id_seq;
DROP TABLE IF EXISTS public.pages_domain_acme_orders;
DROP SEQUENCE IF EXISTS public.pages_deployments_id_seq;
DROP TABLE IF EXISTS public.pages_deployments;
DROP SEQUENCE IF EXISTS public.packages_tags_id_seq;
DROP TABLE IF EXISTS public.packages_tags;
DROP TABLE IF EXISTS public.packages_rubygems_metadata;
DROP TABLE IF EXISTS public.packages_pypi_metadata;
DROP SEQUENCE IF EXISTS public.packages_packages_id_seq;
DROP TABLE IF EXISTS public.packages_packages;
DROP SEQUENCE IF EXISTS public.packages_package_files_id_seq;
DROP TABLE IF EXISTS public.packages_package_files;
DROP SEQUENCE IF EXISTS public.packages_package_file_build_infos_id_seq;
DROP TABLE IF EXISTS public.packages_package_file_build_infos;
DROP TABLE IF EXISTS public.packages_nuget_metadata;
DROP TABLE IF EXISTS public.packages_nuget_dependency_link_metadata;
DROP SEQUENCE IF EXISTS public.packages_maven_metadata_id_seq;
DROP TABLE IF EXISTS public.packages_maven_metadata;
DROP TABLE IF EXISTS public.packages_helm_file_metadata;
DROP SEQUENCE IF EXISTS public.packages_events_id_seq;
DROP TABLE IF EXISTS public.packages_events;
DROP SEQUENCE IF EXISTS public.packages_dependency_links_id_seq;
DROP TABLE IF EXISTS public.packages_dependency_links;
DROP SEQUENCE IF EXISTS public.packages_dependencies_id_seq;
DROP TABLE IF EXISTS public.packages_dependencies;
DROP SEQUENCE IF EXISTS public.packages_debian_publications_id_seq;
DROP TABLE IF EXISTS public.packages_debian_publications;
DROP SEQUENCE IF EXISTS public.packages_debian_project_distributions_id_seq;
DROP TABLE IF EXISTS public.packages_debian_project_distributions;
DROP SEQUENCE IF EXISTS public.packages_debian_project_distribution_keys_id_seq;
DROP TABLE IF EXISTS public.packages_debian_project_distribution_keys;
DROP SEQUENCE IF EXISTS public.packages_debian_project_components_id_seq;
DROP TABLE IF EXISTS public.packages_debian_project_components;
DROP SEQUENCE IF EXISTS public.packages_debian_project_component_files_id_seq;
DROP TABLE IF EXISTS public.packages_debian_project_component_files;
DROP SEQUENCE IF EXISTS public.packages_debian_project_architectures_id_seq;
DROP TABLE IF EXISTS public.packages_debian_project_architectures;
DROP SEQUENCE IF EXISTS public.packages_debian_group_distributions_id_seq;
DROP TABLE IF EXISTS public.packages_debian_group_distributions;
DROP SEQUENCE IF EXISTS public.packages_debian_group_distribution_keys_id_seq;
DROP TABLE IF EXISTS public.packages_debian_group_distribution_keys;
DROP SEQUENCE IF EXISTS public.packages_debian_group_components_id_seq;
DROP TABLE IF EXISTS public.packages_debian_group_components;
DROP SEQUENCE IF EXISTS public.packages_debian_group_component_files_id_seq;
DROP TABLE IF EXISTS public.packages_debian_group_component_files;
DROP SEQUENCE IF EXISTS public.packages_debian_group_architectures_id_seq;
DROP TABLE IF EXISTS public.packages_debian_group_architectures;
DROP TABLE IF EXISTS public.packages_debian_file_metadata;
DROP SEQUENCE IF EXISTS public.packages_conan_metadata_id_seq;
DROP TABLE IF EXISTS public.packages_conan_metadata;
DROP SEQUENCE IF EXISTS public.packages_conan_file_metadata_id_seq;
DROP TABLE IF EXISTS public.packages_conan_file_metadata;
DROP TABLE IF EXISTS public.packages_composer_metadata;
DROP SEQUENCE IF EXISTS public.packages_composer_cache_files_id_seq;
DROP TABLE IF EXISTS public.packages_composer_cache_files;
DROP SEQUENCE IF EXISTS public.packages_build_infos_id_seq;
DROP TABLE IF EXISTS public.packages_build_infos;
DROP SEQUENCE IF EXISTS public.operations_user_lists_id_seq;
DROP TABLE IF EXISTS public.operations_user_lists;
DROP SEQUENCE IF EXISTS public.operations_strategies_user_lists_id_seq;
DROP TABLE IF EXISTS public.operations_strategies_user_lists;
DROP SEQUENCE IF EXISTS public.operations_strategies_id_seq;
DROP TABLE IF EXISTS public.operations_strategies;
DROP SEQUENCE IF EXISTS public.operations_scopes_id_seq;
DROP TABLE IF EXISTS public.operations_scopes;
DROP SEQUENCE IF EXISTS public.operations_feature_flags_issues_id_seq;
DROP TABLE IF EXISTS public.operations_feature_flags_issues;
DROP SEQUENCE IF EXISTS public.operations_feature_flags_id_seq;
DROP SEQUENCE IF EXISTS public.operations_feature_flags_clients_id_seq;
DROP TABLE IF EXISTS public.operations_feature_flags_clients;
DROP TABLE IF EXISTS public.operations_feature_flags;
DROP SEQUENCE IF EXISTS public.operations_feature_flag_scopes_id_seq;
DROP TABLE IF EXISTS public.operations_feature_flag_scopes;
DROP SEQUENCE IF EXISTS public.open_project_tracker_data_id_seq;
DROP TABLE IF EXISTS public.open_project_tracker_data;
DROP SEQUENCE IF EXISTS public.onboarding_progresses_id_seq;
DROP TABLE IF EXISTS public.onboarding_progresses;
DROP SEQUENCE IF EXISTS public.oauth_openid_requests_id_seq;
DROP TABLE IF EXISTS public.oauth_openid_requests;
DROP SEQUENCE IF EXISTS public.oauth_applications_id_seq;
DROP TABLE IF EXISTS public.oauth_applications;
DROP SEQUENCE IF EXISTS public.oauth_access_tokens_id_seq;
DROP TABLE IF EXISTS public.oauth_access_tokens;
DROP SEQUENCE IF EXISTS public.oauth_access_grants_id_seq;
DROP TABLE IF EXISTS public.oauth_access_grants;
DROP SEQUENCE IF EXISTS public.notification_settings_id_seq;
DROP TABLE IF EXISTS public.notification_settings;
DROP SEQUENCE IF EXISTS public.notes_id_seq;
DROP TABLE IF EXISTS public.notes;
DROP SEQUENCE IF EXISTS public.note_diff_files_id_seq;
DROP TABLE IF EXISTS public.note_diff_files;
DROP SEQUENCE IF EXISTS public.namespaces_id_seq;
DROP TABLE IF EXISTS public.namespaces;
DROP SEQUENCE IF EXISTS public.namespace_statistics_id_seq;
DROP TABLE IF EXISTS public.namespace_statistics;
DROP TABLE IF EXISTS public.namespace_settings;
DROP TABLE IF EXISTS public.namespace_root_storage_statistics;
DROP TABLE IF EXISTS public.namespace_package_settings;
DROP TABLE IF EXISTS public.namespace_limits;
DROP TABLE IF EXISTS public.namespace_aggregation_schedules;
DROP SEQUENCE IF EXISTS public.namespace_admin_notes_id_seq;
DROP TABLE IF EXISTS public.namespace_admin_notes;
DROP SEQUENCE IF EXISTS public.milestones_id_seq;
DROP TABLE IF EXISTS public.milestones;
DROP TABLE IF EXISTS public.milestone_releases;
DROP SEQUENCE IF EXISTS public.metrics_users_starred_dashboards_id_seq;
DROP TABLE IF EXISTS public.metrics_users_starred_dashboards;
DROP SEQUENCE IF EXISTS public.metrics_dashboard_annotations_id_seq;
DROP TABLE IF EXISTS public.metrics_dashboard_annotations;
DROP SEQUENCE IF EXISTS public.merge_trains_id_seq;
DROP TABLE IF EXISTS public.merge_trains;
DROP SEQUENCE IF EXISTS public.merge_requests_id_seq;
DROP SEQUENCE IF EXISTS public.merge_requests_closing_issues_id_seq;
DROP TABLE IF EXISTS public.merge_requests_closing_issues;
DROP TABLE IF EXISTS public.merge_requests;
DROP SEQUENCE IF EXISTS public.merge_request_user_mentions_id_seq;
DROP TABLE IF EXISTS public.merge_request_user_mentions;
DROP SEQUENCE IF EXISTS public.merge_request_reviewers_id_seq;
DROP TABLE IF EXISTS public.merge_request_reviewers;
DROP SEQUENCE IF EXISTS public.merge_request_metrics_id_seq;
DROP TABLE IF EXISTS public.merge_request_metrics;
DROP SEQUENCE IF EXISTS public.merge_request_diffs_id_seq;
DROP TABLE IF EXISTS public.merge_request_diffs;
DROP TABLE IF EXISTS public.merge_request_diff_files;
DROP SEQUENCE IF EXISTS public.merge_request_diff_details_merge_request_diff_id_seq;
DROP TABLE IF EXISTS public.merge_request_diff_details;
DROP TABLE IF EXISTS public.merge_request_diff_commits;
DROP SEQUENCE IF EXISTS public.merge_request_diff_commit_users_id_seq;
DROP TABLE IF EXISTS public.merge_request_diff_commit_users;
DROP SEQUENCE IF EXISTS public.merge_request_context_commits_id_seq;
DROP TABLE IF EXISTS public.merge_request_context_commits;
DROP TABLE IF EXISTS public.merge_request_context_commit_diff_files;
DROP SEQUENCE IF EXISTS public.merge_request_cleanup_schedules_merge_request_id_seq;
DROP TABLE IF EXISTS public.merge_request_cleanup_schedules;
DROP SEQUENCE IF EXISTS public.merge_request_blocks_id_seq;
DROP TABLE IF EXISTS public.merge_request_blocks;
DROP SEQUENCE IF EXISTS public.merge_request_assignees_id_seq;
DROP TABLE IF EXISTS public.merge_request_assignees;
DROP SEQUENCE IF EXISTS public.members_id_seq;
DROP TABLE IF EXISTS public.members;
DROP SEQUENCE IF EXISTS public.lists_id_seq;
DROP TABLE IF EXISTS public.lists;
DROP SEQUENCE IF EXISTS public.list_user_preferences_id_seq;
DROP TABLE IF EXISTS public.list_user_preferences;
DROP SEQUENCE IF EXISTS public.licenses_id_seq;
DROP TABLE IF EXISTS public.licenses;
DROP SEQUENCE IF EXISTS public.lfs_objects_projects_id_seq;
DROP TABLE IF EXISTS public.lfs_objects_projects;
DROP SEQUENCE IF EXISTS public.lfs_objects_id_seq;
DROP TABLE IF EXISTS public.lfs_objects;
DROP SEQUENCE IF EXISTS public.lfs_file_locks_id_seq;
DROP TABLE IF EXISTS public.lfs_file_locks;
DROP SEQUENCE IF EXISTS public.ldap_group_links_id_seq;
DROP TABLE IF EXISTS public.ldap_group_links;
DROP SEQUENCE IF EXISTS public.labels_id_seq;
DROP TABLE IF EXISTS public.labels;
DROP SEQUENCE IF EXISTS public.label_priorities_id_seq;
DROP TABLE IF EXISTS public.label_priorities;
DROP SEQUENCE IF EXISTS public.label_links_id_seq;
DROP TABLE IF EXISTS public.label_links;
DROP SEQUENCE IF EXISTS public.keys_id_seq;
DROP TABLE IF EXISTS public.keys;
DROP SEQUENCE IF EXISTS public.jira_tracker_data_id_seq;
DROP TABLE IF EXISTS public.jira_tracker_data;
DROP SEQUENCE IF EXISTS public.jira_imports_id_seq;
DROP TABLE IF EXISTS public.jira_imports;
DROP SEQUENCE IF EXISTS public.jira_connect_subscriptions_id_seq;
DROP TABLE IF EXISTS public.jira_connect_subscriptions;
DROP SEQUENCE IF EXISTS public.jira_connect_installations_id_seq;
DROP TABLE IF EXISTS public.jira_connect_installations;
DROP SEQUENCE IF EXISTS public.iterations_cadences_id_seq;
DROP TABLE IF EXISTS public.iterations_cadences;
DROP TABLE IF EXISTS public.issues_self_managed_prometheus_alert_events;
DROP TABLE IF EXISTS public.issues_prometheus_alert_events;
DROP SEQUENCE IF EXISTS public.issues_id_seq;
DROP TABLE IF EXISTS public.issues;
DROP SEQUENCE IF EXISTS public.issue_user_mentions_id_seq;
DROP TABLE IF EXISTS public.issue_user_mentions;
DROP SEQUENCE IF EXISTS public.issue_tracker_data_id_seq;
DROP TABLE IF EXISTS public.issue_tracker_data;
DROP SEQUENCE IF EXISTS public.issue_metrics_id_seq;
DROP TABLE IF EXISTS public.issue_metrics;
DROP SEQUENCE IF EXISTS public.issue_links_id_seq;
DROP TABLE IF EXISTS public.issue_links;
DROP SEQUENCE IF EXISTS public.issue_email_participants_id_seq;
DROP TABLE IF EXISTS public.issue_email_participants;
DROP TABLE IF EXISTS public.issue_assignees;
DROP SEQUENCE IF EXISTS public.issuable_slas_id_seq;
DROP TABLE IF EXISTS public.issuable_slas;
DROP SEQUENCE IF EXISTS public.issuable_severities_id_seq;
DROP TABLE IF EXISTS public.issuable_severities;
DROP SEQUENCE IF EXISTS public.issuable_metric_images_id_seq;
DROP TABLE IF EXISTS public.issuable_metric_images;
DROP SEQUENCE IF EXISTS public.ip_restrictions_id_seq;
DROP TABLE IF EXISTS public.ip_restrictions;
DROP SEQUENCE IF EXISTS public.internal_ids_id_seq;
DROP TABLE IF EXISTS public.internal_ids;
DROP SEQUENCE IF EXISTS public.integrations_id_seq;
DROP TABLE IF EXISTS public.integrations;
DROP SEQUENCE IF EXISTS public.insights_id_seq;
DROP TABLE IF EXISTS public.insights;
DROP SEQUENCE IF EXISTS public.index_statuses_id_seq;
DROP TABLE IF EXISTS public.index_statuses;
DROP SEQUENCE IF EXISTS public.incident_management_pending_alert_escalations_id_seq;
DROP TABLE IF EXISTS public.incident_management_pending_alert_escalations;
DROP SEQUENCE IF EXISTS public.incident_management_oncall_shifts_id_seq;
DROP TABLE IF EXISTS public.incident_management_oncall_shifts;
DROP SEQUENCE IF EXISTS public.incident_management_oncall_schedules_id_seq;
DROP TABLE IF EXISTS public.incident_management_oncall_schedules;
DROP SEQUENCE IF EXISTS public.incident_management_oncall_rotations_id_seq;
DROP TABLE IF EXISTS public.incident_management_oncall_rotations;
DROP SEQUENCE IF EXISTS public.incident_management_oncall_participants_id_seq;
DROP TABLE IF EXISTS public.incident_management_oncall_participants;
DROP SEQUENCE IF EXISTS public.incident_management_issuable_escalation_statuses_id_seq;
DROP TABLE IF EXISTS public.incident_management_issuable_escalation_statuses;
DROP SEQUENCE IF EXISTS public.incident_management_escalation_rules_id_seq;
DROP TABLE IF EXISTS public.incident_management_escalation_rules;
DROP SEQUENCE IF EXISTS public.incident_management_escalation_policies_id_seq;
DROP TABLE IF EXISTS public.incident_management_escalation_policies;
DROP SEQUENCE IF EXISTS public.in_product_marketing_emails_id_seq;
DROP TABLE IF EXISTS public.in_product_marketing_emails;
DROP SEQUENCE IF EXISTS public.import_failures_id_seq;
DROP TABLE IF EXISTS public.import_failures;
DROP SEQUENCE IF EXISTS public.import_export_uploads_id_seq;
DROP TABLE IF EXISTS public.import_export_uploads;
DROP SEQUENCE IF EXISTS public.identities_id_seq;
DROP TABLE IF EXISTS public.identities;
DROP SEQUENCE IF EXISTS public.historical_data_id_seq;
DROP TABLE IF EXISTS public.historical_data;
DROP TABLE IF EXISTS public.group_wiki_repositories;
DROP SEQUENCE IF EXISTS public.group_repository_storage_moves_id_seq;
DROP TABLE IF EXISTS public.group_repository_storage_moves;
DROP TABLE IF EXISTS public.group_merge_request_approval_settings;
DROP SEQUENCE IF EXISTS public.group_import_states_group_id_seq;
DROP TABLE IF EXISTS public.group_import_states;
DROP SEQUENCE IF EXISTS public.group_group_links_id_seq;
DROP TABLE IF EXISTS public.group_group_links;
DROP SEQUENCE IF EXISTS public.group_deploy_tokens_id_seq;
DROP TABLE IF EXISTS public.group_deploy_tokens;
DROP SEQUENCE IF EXISTS public.group_deploy_keys_id_seq;
DROP SEQUENCE IF EXISTS public.group_deploy_keys_groups_id_seq;
DROP TABLE IF EXISTS public.group_deploy_keys_groups;
DROP TABLE IF EXISTS public.group_deploy_keys;
DROP TABLE IF EXISTS public.group_deletion_schedules;
DROP SEQUENCE IF EXISTS public.group_custom_attributes_id_seq;
DROP TABLE IF EXISTS public.group_custom_attributes;
DROP SEQUENCE IF EXISTS public.grafana_integrations_id_seq;
DROP TABLE IF EXISTS public.grafana_integrations;
DROP SEQUENCE IF EXISTS public.gpg_signatures_id_seq;
DROP TABLE IF EXISTS public.gpg_signatures;
DROP SEQUENCE IF EXISTS public.gpg_keys_id_seq;
DROP TABLE IF EXISTS public.gpg_keys;
DROP SEQUENCE IF EXISTS public.gpg_key_subkeys_id_seq;
DROP TABLE IF EXISTS public.gpg_key_subkeys;
DROP SEQUENCE IF EXISTS public.gitlab_subscriptions_id_seq;
DROP TABLE IF EXISTS public.gitlab_subscriptions;
DROP SEQUENCE IF EXISTS public.gitlab_subscription_histories_id_seq;
DROP TABLE IF EXISTS public.gitlab_subscription_histories;
DROP SEQUENCE IF EXISTS public.geo_upload_deleted_events_id_seq;
DROP TABLE IF EXISTS public.geo_upload_deleted_events;
DROP SEQUENCE IF EXISTS public.geo_reset_checksum_events_id_seq;
DROP TABLE IF EXISTS public.geo_reset_checksum_events;
DROP SEQUENCE IF EXISTS public.geo_repository_updated_events_id_seq;
DROP TABLE IF EXISTS public.geo_repository_updated_events;
DROP SEQUENCE IF EXISTS public.geo_repository_renamed_events_id_seq;
DROP TABLE IF EXISTS public.geo_repository_renamed_events;
DROP SEQUENCE IF EXISTS public.geo_repository_deleted_events_id_seq;
DROP TABLE IF EXISTS public.geo_repository_deleted_events;
DROP SEQUENCE IF EXISTS public.geo_repository_created_events_id_seq;
DROP TABLE IF EXISTS public.geo_repository_created_events;
DROP SEQUENCE IF EXISTS public.geo_repositories_changed_events_id_seq;
DROP TABLE IF EXISTS public.geo_repositories_changed_events;
DROP SEQUENCE IF EXISTS public.geo_nodes_id_seq;
DROP TABLE IF EXISTS public.geo_nodes;
DROP SEQUENCE IF EXISTS public.geo_node_statuses_id_seq;
DROP TABLE IF EXISTS public.geo_node_statuses;
DROP SEQUENCE IF EXISTS public.geo_node_namespace_links_id_seq;
DROP TABLE IF EXISTS public.geo_node_namespace_links;
DROP SEQUENCE IF EXISTS public.geo_lfs_object_deleted_events_id_seq;
DROP TABLE IF EXISTS public.geo_lfs_object_deleted_events;
DROP SEQUENCE IF EXISTS public.geo_job_artifact_deleted_events_id_seq;
DROP TABLE IF EXISTS public.geo_job_artifact_deleted_events;
DROP SEQUENCE IF EXISTS public.geo_hashed_storage_migrated_events_id_seq;
DROP TABLE IF EXISTS public.geo_hashed_storage_migrated_events;
DROP SEQUENCE IF EXISTS public.geo_hashed_storage_attachments_events_id_seq;
DROP TABLE IF EXISTS public.geo_hashed_storage_attachments_events;
DROP SEQUENCE IF EXISTS public.geo_events_id_seq;
DROP TABLE IF EXISTS public.geo_events;
DROP SEQUENCE IF EXISTS public.geo_event_log_id_seq;
DROP TABLE IF EXISTS public.geo_event_log;
DROP SEQUENCE IF EXISTS public.geo_container_repository_updated_events_id_seq;
DROP TABLE IF EXISTS public.geo_container_repository_updated_events;
DROP SEQUENCE IF EXISTS public.geo_cache_invalidation_events_id_seq;
DROP TABLE IF EXISTS public.geo_cache_invalidation_events;
DROP SEQUENCE IF EXISTS public.fork_networks_id_seq;
DROP TABLE IF EXISTS public.fork_networks;
DROP SEQUENCE IF EXISTS public.fork_network_members_id_seq;
DROP TABLE IF EXISTS public.fork_network_members;
DROP SEQUENCE IF EXISTS public.features_id_seq;
DROP TABLE IF EXISTS public.features;
DROP SEQUENCE IF EXISTS public.feature_gates_id_seq;
DROP TABLE IF EXISTS public.feature_gates;
DROP SEQUENCE IF EXISTS public.external_status_checks_protected_branches_id_seq;
DROP TABLE IF EXISTS public.external_status_checks_protected_branches;
DROP SEQUENCE IF EXISTS public.external_status_checks_id_seq;
DROP TABLE IF EXISTS public.external_status_checks;
DROP SEQUENCE IF EXISTS public.external_pull_requests_id_seq;
DROP TABLE IF EXISTS public.external_pull_requests;
DROP SEQUENCE IF EXISTS public.external_approval_rules_protected_branches_id_seq;
DROP TABLE IF EXISTS public.external_approval_rules_protected_branches;
DROP SEQUENCE IF EXISTS public.external_approval_rules_id_seq;
DROP TABLE IF EXISTS public.external_approval_rules;
DROP SEQUENCE IF EXISTS public.experiments_id_seq;
DROP TABLE IF EXISTS public.experiments;
DROP SEQUENCE IF EXISTS public.experiment_users_id_seq;
DROP TABLE IF EXISTS public.experiment_users;
DROP SEQUENCE IF EXISTS public.experiment_subjects_id_seq;
DROP TABLE IF EXISTS public.experiment_subjects;
DROP SEQUENCE IF EXISTS public.evidences_id_seq;
DROP TABLE IF EXISTS public.evidences;
DROP SEQUENCE IF EXISTS public.events_id_seq;
DROP TABLE IF EXISTS public.events;
DROP SEQUENCE IF EXISTS public.error_tracking_errors_id_seq;
DROP TABLE IF EXISTS public.error_tracking_errors;
DROP SEQUENCE IF EXISTS public.error_tracking_error_events_id_seq;
DROP TABLE IF EXISTS public.error_tracking_error_events;
DROP SEQUENCE IF EXISTS public.error_tracking_client_keys_id_seq;
DROP TABLE IF EXISTS public.error_tracking_client_keys;
DROP SEQUENCE IF EXISTS public.epics_id_seq;
DROP TABLE IF EXISTS public.epics;
DROP SEQUENCE IF EXISTS public.epic_user_mentions_id_seq;
DROP TABLE IF EXISTS public.epic_user_mentions;
DROP SEQUENCE IF EXISTS public.epic_metrics_id_seq;
DROP TABLE IF EXISTS public.epic_metrics;
DROP SEQUENCE IF EXISTS public.epic_issues_id_seq;
DROP TABLE IF EXISTS public.epic_issues;
DROP SEQUENCE IF EXISTS public.environments_id_seq;
DROP TABLE IF EXISTS public.environments;
DROP SEQUENCE IF EXISTS public.emails_id_seq;
DROP TABLE IF EXISTS public.emails;
DROP TABLE IF EXISTS public.elasticsearch_indexed_projects;
DROP TABLE IF EXISTS public.elasticsearch_indexed_namespaces;
DROP SEQUENCE IF EXISTS public.elastic_reindexing_tasks_id_seq;
DROP TABLE IF EXISTS public.elastic_reindexing_tasks;
DROP SEQUENCE IF EXISTS public.elastic_reindexing_subtasks_id_seq;
DROP TABLE IF EXISTS public.elastic_reindexing_subtasks;
DROP SEQUENCE IF EXISTS public.elastic_reindexing_slices_id_seq;
DROP TABLE IF EXISTS public.elastic_reindexing_slices;
DROP SEQUENCE IF EXISTS public.elastic_index_settings_id_seq;
DROP TABLE IF EXISTS public.elastic_index_settings;
DROP SEQUENCE IF EXISTS public.draft_notes_id_seq;
DROP TABLE IF EXISTS public.draft_notes;
DROP SEQUENCE IF EXISTS public.dora_daily_metrics_id_seq;
DROP TABLE IF EXISTS public.dora_daily_metrics;
DROP SEQUENCE IF EXISTS public.diff_note_positions_id_seq;
DROP TABLE IF EXISTS public.diff_note_positions;
DROP SEQUENCE IF EXISTS public.detached_partitions_id_seq;
DROP TABLE IF EXISTS public.detached_partitions;
DROP SEQUENCE IF EXISTS public.design_user_mentions_id_seq;
DROP TABLE IF EXISTS public.design_user_mentions;
DROP SEQUENCE IF EXISTS public.design_management_versions_id_seq;
DROP TABLE IF EXISTS public.design_management_versions;
DROP SEQUENCE IF EXISTS public.design_management_designs_versions_id_seq;
DROP TABLE IF EXISTS public.design_management_designs_versions;
DROP SEQUENCE IF EXISTS public.design_management_designs_id_seq;
DROP TABLE IF EXISTS public.design_management_designs;
DROP SEQUENCE IF EXISTS public.description_versions_id_seq;
DROP TABLE IF EXISTS public.description_versions;
DROP SEQUENCE IF EXISTS public.deployments_id_seq;
DROP TABLE IF EXISTS public.deployments;
DROP TABLE IF EXISTS public.deployment_merge_requests;
DROP TABLE IF EXISTS public.deployment_clusters;
DROP SEQUENCE IF EXISTS public.deploy_tokens_id_seq;
DROP TABLE IF EXISTS public.deploy_tokens;
DROP SEQUENCE IF EXISTS public.deploy_keys_projects_id_seq;
DROP TABLE IF EXISTS public.deploy_keys_projects;
DROP SEQUENCE IF EXISTS public.dependency_proxy_manifests_id_seq;
DROP TABLE IF EXISTS public.dependency_proxy_manifests;
DROP SEQUENCE IF EXISTS public.dependency_proxy_group_settings_id_seq;
DROP TABLE IF EXISTS public.dependency_proxy_group_settings;
DROP SEQUENCE IF EXISTS public.dependency_proxy_blobs_id_seq;
DROP TABLE IF EXISTS public.dependency_proxy_blobs;
DROP TABLE IF EXISTS public.dep_ci_build_trace_sections;
DROP SEQUENCE IF EXISTS public.dep_ci_build_trace_section_names_id_seq;
DROP TABLE IF EXISTS public.dep_ci_build_trace_section_names;
DROP SEQUENCE IF EXISTS public.dast_sites_id_seq;
DROP TABLE IF EXISTS public.dast_sites;
DROP SEQUENCE IF EXISTS public.dast_site_validations_id_seq;
DROP TABLE IF EXISTS public.dast_site_validations;
DROP SEQUENCE IF EXISTS public.dast_site_tokens_id_seq;
DROP TABLE IF EXISTS public.dast_site_tokens;
DROP TABLE IF EXISTS public.dast_site_profiles_pipelines;
DROP SEQUENCE IF EXISTS public.dast_site_profiles_id_seq;
DROP TABLE IF EXISTS public.dast_site_profiles_builds;
DROP TABLE IF EXISTS public.dast_site_profiles;
DROP SEQUENCE IF EXISTS public.dast_site_profile_secret_variables_id_seq;
DROP TABLE IF EXISTS public.dast_site_profile_secret_variables;
DROP SEQUENCE IF EXISTS public.dast_scanner_profiles_id_seq;
DROP TABLE IF EXISTS public.dast_scanner_profiles_builds;
DROP TABLE IF EXISTS public.dast_scanner_profiles;
DROP TABLE IF EXISTS public.dast_profiles_pipelines;
DROP SEQUENCE IF EXISTS public.dast_profiles_id_seq;
DROP TABLE IF EXISTS public.dast_profiles;
DROP SEQUENCE IF EXISTS public.dast_profile_schedules_id_seq;
DROP TABLE IF EXISTS public.dast_profile_schedules;
DROP SEQUENCE IF EXISTS public.customer_relations_organizations_id_seq;
DROP TABLE IF EXISTS public.customer_relations_organizations;
DROP SEQUENCE IF EXISTS public.custom_emoji_id_seq;
DROP TABLE IF EXISTS public.custom_emoji;
DROP SEQUENCE IF EXISTS public.csv_issue_imports_id_seq;
DROP TABLE IF EXISTS public.csv_issue_imports;
DROP SEQUENCE IF EXISTS public.conversational_development_index_metrics_id_seq;
DROP TABLE IF EXISTS public.conversational_development_index_metrics;
DROP SEQUENCE IF EXISTS public.container_repositories_id_seq;
DROP TABLE IF EXISTS public.container_repositories;
DROP TABLE IF EXISTS public.container_expiration_policies;
DROP SEQUENCE IF EXISTS public.compliance_management_frameworks_id_seq;
DROP TABLE IF EXISTS public.compliance_management_frameworks;
DROP SEQUENCE IF EXISTS public.commit_user_mentions_id_seq;
DROP TABLE IF EXISTS public.commit_user_mentions;
DROP SEQUENCE IF EXISTS public.clusters_kubernetes_namespaces_id_seq;
DROP TABLE IF EXISTS public.clusters_kubernetes_namespaces;
DROP TABLE IF EXISTS public.clusters_integration_prometheus;
DROP TABLE IF EXISTS public.clusters_integration_elasticstack;
DROP SEQUENCE IF EXISTS public.clusters_id_seq;
DROP SEQUENCE IF EXISTS public.clusters_applications_runners_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_runners;
DROP SEQUENCE IF EXISTS public.clusters_applications_prometheus_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_prometheus;
DROP SEQUENCE IF EXISTS public.clusters_applications_knative_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_knative;
DROP SEQUENCE IF EXISTS public.clusters_applications_jupyter_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_jupyter;
DROP SEQUENCE IF EXISTS public.clusters_applications_ingress_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_ingress;
DROP SEQUENCE IF EXISTS public.clusters_applications_helm_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_helm;
DROP SEQUENCE IF EXISTS public.clusters_applications_elastic_stacks_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_elastic_stacks;
DROP SEQUENCE IF EXISTS public.clusters_applications_crossplane_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_crossplane;
DROP SEQUENCE IF EXISTS public.clusters_applications_cilium_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_cilium;
DROP SEQUENCE IF EXISTS public.clusters_applications_cert_managers_id_seq;
DROP TABLE IF EXISTS public.clusters_applications_cert_managers;
DROP TABLE IF EXISTS public.clusters;
DROP SEQUENCE IF EXISTS public.cluster_providers_gcp_id_seq;
DROP TABLE IF EXISTS public.cluster_providers_gcp;
DROP SEQUENCE IF EXISTS public.cluster_providers_aws_id_seq;
DROP TABLE IF EXISTS public.cluster_providers_aws;
DROP SEQUENCE IF EXISTS public.cluster_projects_id_seq;
DROP TABLE IF EXISTS public.cluster_projects;
DROP SEQUENCE IF EXISTS public.cluster_platforms_kubernetes_id_seq;
DROP TABLE IF EXISTS public.cluster_platforms_kubernetes;
DROP SEQUENCE IF EXISTS public.cluster_groups_id_seq;
DROP TABLE IF EXISTS public.cluster_groups;
DROP SEQUENCE IF EXISTS public.cluster_agents_id_seq;
DROP TABLE IF EXISTS public.cluster_agents;
DROP SEQUENCE IF EXISTS public.cluster_agent_tokens_id_seq;
DROP TABLE IF EXISTS public.cluster_agent_tokens;
DROP SEQUENCE IF EXISTS public.ci_variables_id_seq;
DROP TABLE IF EXISTS public.ci_variables;
DROP SEQUENCE IF EXISTS public.ci_unit_tests_id_seq;
DROP TABLE IF EXISTS public.ci_unit_tests;
DROP SEQUENCE IF EXISTS public.ci_unit_test_failures_id_seq;
DROP TABLE IF EXISTS public.ci_unit_test_failures;
DROP SEQUENCE IF EXISTS public.ci_triggers_id_seq;
DROP TABLE IF EXISTS public.ci_triggers;
DROP SEQUENCE IF EXISTS public.ci_trigger_requests_id_seq;
DROP TABLE IF EXISTS public.ci_trigger_requests;
DROP SEQUENCE IF EXISTS public.ci_subscriptions_projects_id_seq;
DROP TABLE IF EXISTS public.ci_subscriptions_projects;
DROP SEQUENCE IF EXISTS public.ci_stages_id_seq;
DROP TABLE IF EXISTS public.ci_stages;
DROP SEQUENCE IF EXISTS public.ci_sources_projects_id_seq;
DROP TABLE IF EXISTS public.ci_sources_projects;
DROP SEQUENCE IF EXISTS public.ci_sources_pipelines_id_seq;
DROP TABLE IF EXISTS public.ci_sources_pipelines;
DROP SEQUENCE IF EXISTS public.ci_running_builds_id_seq;
DROP TABLE IF EXISTS public.ci_running_builds;
DROP SEQUENCE IF EXISTS public.ci_runners_id_seq;
DROP TABLE IF EXISTS public.ci_runners;
DROP SEQUENCE IF EXISTS public.ci_runner_projects_id_seq;
DROP TABLE IF EXISTS public.ci_runner_projects;
DROP SEQUENCE IF EXISTS public.ci_runner_namespaces_id_seq;
DROP TABLE IF EXISTS public.ci_runner_namespaces;
DROP SEQUENCE IF EXISTS public.ci_resources_id_seq;
DROP TABLE IF EXISTS public.ci_resources;
DROP SEQUENCE IF EXISTS public.ci_resource_groups_id_seq;
DROP TABLE IF EXISTS public.ci_resource_groups;
DROP SEQUENCE IF EXISTS public.ci_refs_id_seq;
DROP TABLE IF EXISTS public.ci_refs;
DROP SEQUENCE IF EXISTS public.ci_project_monthly_usages_id_seq;
DROP TABLE IF EXISTS public.ci_project_monthly_usages;
DROP SEQUENCE IF EXISTS public.ci_platform_metrics_id_seq;
DROP TABLE IF EXISTS public.ci_platform_metrics;
DROP SEQUENCE IF EXISTS public.ci_pipelines_id_seq;
DROP SEQUENCE IF EXISTS public.ci_pipelines_config_pipeline_id_seq;
DROP TABLE IF EXISTS public.ci_pipelines_config;
DROP TABLE IF EXISTS public.ci_pipelines;
DROP SEQUENCE IF EXISTS public.ci_pipeline_variables_id_seq;
DROP TABLE IF EXISTS public.ci_pipeline_variables;
DROP SEQUENCE IF EXISTS public.ci_pipeline_schedules_id_seq;
DROP TABLE IF EXISTS public.ci_pipeline_schedules;
DROP SEQUENCE IF EXISTS public.ci_pipeline_schedule_variables_id_seq;
DROP TABLE IF EXISTS public.ci_pipeline_schedule_variables;
DROP SEQUENCE IF EXISTS public.ci_pipeline_messages_id_seq;
DROP TABLE IF EXISTS public.ci_pipeline_messages;
DROP SEQUENCE IF EXISTS public.ci_pipeline_chat_data_id_seq;
DROP TABLE IF EXISTS public.ci_pipeline_chat_data;
DROP SEQUENCE IF EXISTS public.ci_pipeline_artifacts_id_seq;
DROP TABLE IF EXISTS public.ci_pipeline_artifacts;
DROP SEQUENCE IF EXISTS public.ci_pending_builds_id_seq;
DROP TABLE IF EXISTS public.ci_pending_builds;
DROP SEQUENCE IF EXISTS public.ci_namespace_monthly_usages_id_seq;
DROP TABLE IF EXISTS public.ci_namespace_monthly_usages;
DROP SEQUENCE IF EXISTS public.ci_minutes_additional_packs_id_seq;
DROP TABLE IF EXISTS public.ci_minutes_additional_packs;
DROP SEQUENCE IF EXISTS public.ci_job_variables_id_seq;
DROP TABLE IF EXISTS public.ci_job_variables;
DROP SEQUENCE IF EXISTS public.ci_job_token_project_scope_links_id_seq;
DROP TABLE IF EXISTS public.ci_job_token_project_scope_links;
DROP SEQUENCE IF EXISTS public.ci_job_artifacts_id_seq;
DROP TABLE IF EXISTS public.ci_job_artifacts;
DROP SEQUENCE IF EXISTS public.ci_instance_variables_id_seq;
DROP TABLE IF EXISTS public.ci_instance_variables;
DROP SEQUENCE IF EXISTS public.ci_group_variables_id_seq;
DROP TABLE IF EXISTS public.ci_group_variables;
DROP SEQUENCE IF EXISTS public.ci_freeze_periods_id_seq;
DROP TABLE IF EXISTS public.ci_freeze_periods;
DROP SEQUENCE IF EXISTS public.ci_deleted_objects_id_seq;
DROP TABLE IF EXISTS public.ci_deleted_objects;
DROP SEQUENCE IF EXISTS public.ci_daily_build_group_report_results_id_seq;
DROP TABLE IF EXISTS public.ci_daily_build_group_report_results;
DROP SEQUENCE IF EXISTS public.ci_builds_runner_session_id_seq;
DROP TABLE IF EXISTS public.ci_builds_runner_session;
DROP SEQUENCE IF EXISTS public.ci_builds_metadata_id_seq;
DROP TABLE IF EXISTS public.ci_builds_metadata;
DROP SEQUENCE IF EXISTS public.ci_builds_id_seq;
DROP TABLE IF EXISTS public.ci_builds;
DROP TABLE IF EXISTS public.ci_build_trace_metadata;
DROP SEQUENCE IF EXISTS public.ci_build_trace_chunks_id_seq;
DROP TABLE IF EXISTS public.ci_build_trace_chunks;
DROP SEQUENCE IF EXISTS public.ci_build_report_results_build_id_seq;
DROP TABLE IF EXISTS public.ci_build_report_results;
DROP SEQUENCE IF EXISTS public.ci_build_pending_states_id_seq;
DROP TABLE IF EXISTS public.ci_build_pending_states;
DROP SEQUENCE IF EXISTS public.ci_build_needs_id_seq;
DROP TABLE IF EXISTS public.ci_build_needs;
DROP SEQUENCE IF EXISTS public.chat_teams_id_seq;
DROP TABLE IF EXISTS public.chat_teams;
DROP SEQUENCE IF EXISTS public.chat_names_id_seq;
DROP TABLE IF EXISTS public.chat_names;
DROP SEQUENCE IF EXISTS public.bulk_imports_id_seq;
DROP TABLE IF EXISTS public.bulk_imports;
DROP SEQUENCE IF EXISTS public.bulk_import_trackers_id_seq;
DROP TABLE IF EXISTS public.bulk_import_trackers;
DROP SEQUENCE IF EXISTS public.bulk_import_failures_id_seq;
DROP TABLE IF EXISTS public.bulk_import_failures;
DROP SEQUENCE IF EXISTS public.bulk_import_exports_id_seq;
DROP TABLE IF EXISTS public.bulk_import_exports;
DROP SEQUENCE IF EXISTS public.bulk_import_export_uploads_id_seq;
DROP TABLE IF EXISTS public.bulk_import_export_uploads;
DROP SEQUENCE IF EXISTS public.bulk_import_entities_id_seq;
DROP TABLE IF EXISTS public.bulk_import_entities;
DROP SEQUENCE IF EXISTS public.bulk_import_configurations_id_seq;
DROP TABLE IF EXISTS public.bulk_import_configurations;
DROP SEQUENCE IF EXISTS public.broadcast_messages_id_seq;
DROP TABLE IF EXISTS public.broadcast_messages;
DROP SEQUENCE IF EXISTS public.boards_id_seq;
DROP SEQUENCE IF EXISTS public.boards_epic_user_preferences_id_seq;
DROP TABLE IF EXISTS public.boards_epic_user_preferences;
DROP SEQUENCE IF EXISTS public.boards_epic_lists_id_seq;
DROP TABLE IF EXISTS public.boards_epic_lists;
DROP SEQUENCE IF EXISTS public.boards_epic_list_user_preferences_id_seq;
DROP TABLE IF EXISTS public.boards_epic_list_user_preferences;
DROP SEQUENCE IF EXISTS public.boards_epic_boards_id_seq;
DROP TABLE IF EXISTS public.boards_epic_boards;
DROP SEQUENCE IF EXISTS public.boards_epic_board_recent_visits_id_seq;
DROP TABLE IF EXISTS public.boards_epic_board_recent_visits;
DROP SEQUENCE IF EXISTS public.boards_epic_board_positions_id_seq;
DROP TABLE IF EXISTS public.boards_epic_board_positions;
DROP SEQUENCE IF EXISTS public.boards_epic_board_labels_id_seq;
DROP TABLE IF EXISTS public.boards_epic_board_labels;
DROP TABLE IF EXISTS public.boards;
DROP SEQUENCE IF EXISTS public.board_user_preferences_id_seq;
DROP TABLE IF EXISTS public.board_user_preferences;
DROP SEQUENCE IF EXISTS public.board_project_recent_visits_id_seq;
DROP TABLE IF EXISTS public.board_project_recent_visits;
DROP SEQUENCE IF EXISTS public.board_labels_id_seq;
DROP TABLE IF EXISTS public.board_labels;
DROP SEQUENCE IF EXISTS public.board_group_recent_visits_id_seq;
DROP TABLE IF EXISTS public.board_group_recent_visits;
DROP SEQUENCE IF EXISTS public.board_assignees_id_seq;
DROP TABLE IF EXISTS public.board_assignees;
DROP SEQUENCE IF EXISTS public.batched_background_migrations_id_seq;
DROP TABLE IF EXISTS public.batched_background_migrations;
DROP SEQUENCE IF EXISTS public.batched_background_migration_jobs_id_seq;
DROP TABLE IF EXISTS public.batched_background_migration_jobs;
DROP TABLE IF EXISTS public.banned_users;
DROP SEQUENCE IF EXISTS public.badges_id_seq;
DROP TABLE IF EXISTS public.badges;
DROP SEQUENCE IF EXISTS public.background_migration_jobs_id_seq;
DROP TABLE IF EXISTS public.background_migration_jobs;
DROP TABLE IF EXISTS public.aws_roles;
DROP SEQUENCE IF EXISTS public.award_emoji_id_seq;
DROP TABLE IF EXISTS public.award_emoji;
DROP SEQUENCE IF EXISTS public.authentication_events_id_seq;
DROP TABLE IF EXISTS public.authentication_events;
DROP SEQUENCE IF EXISTS public.atlassian_identities_user_id_seq;
DROP TABLE IF EXISTS public.atlassian_identities;
DROP TABLE IF EXISTS public.ar_internal_metadata;
DROP SEQUENCE IF EXISTS public.approvers_id_seq;
DROP TABLE IF EXISTS public.approvers;
DROP SEQUENCE IF EXISTS public.approver_groups_id_seq;
DROP TABLE IF EXISTS public.approver_groups;
DROP SEQUENCE IF EXISTS public.approvals_id_seq;
DROP TABLE IF EXISTS public.approvals;
DROP SEQUENCE IF EXISTS public.approval_project_rules_users_id_seq;
DROP TABLE IF EXISTS public.approval_project_rules_users;
DROP TABLE IF EXISTS public.approval_project_rules_protected_branches;
DROP SEQUENCE IF EXISTS public.approval_project_rules_id_seq;
DROP SEQUENCE IF EXISTS public.approval_project_rules_groups_id_seq;
DROP TABLE IF EXISTS public.approval_project_rules_groups;
DROP TABLE IF EXISTS public.approval_project_rules;
DROP SEQUENCE IF EXISTS public.approval_merge_request_rules_users_id_seq;
DROP TABLE IF EXISTS public.approval_merge_request_rules_users;
DROP SEQUENCE IF EXISTS public.approval_merge_request_rules_id_seq;
DROP SEQUENCE IF EXISTS public.approval_merge_request_rules_groups_id_seq;
DROP TABLE IF EXISTS public.approval_merge_request_rules_groups;
DROP SEQUENCE IF EXISTS public.approval_merge_request_rules_approved_approvers_id_seq;
DROP TABLE IF EXISTS public.approval_merge_request_rules_approved_approvers;
DROP TABLE IF EXISTS public.approval_merge_request_rules;
DROP SEQUENCE IF EXISTS public.approval_merge_request_rule_sources_id_seq;
DROP TABLE IF EXISTS public.approval_merge_request_rule_sources;
DROP SEQUENCE IF EXISTS public.application_settings_id_seq;
DROP TABLE IF EXISTS public.application_settings;
DROP SEQUENCE IF EXISTS public.application_setting_terms_id_seq;
DROP TABLE IF EXISTS public.application_setting_terms;
DROP SEQUENCE IF EXISTS public.appearances_id_seq;
DROP TABLE IF EXISTS public.appearances;
DROP SEQUENCE IF EXISTS public.analytics_usage_trends_measurements_id_seq;
DROP TABLE IF EXISTS public.analytics_usage_trends_measurements;
DROP TABLE IF EXISTS public.analytics_language_trend_repository_languages;
DROP SEQUENCE IF EXISTS public.analytics_devops_adoption_snapshots_id_seq;
DROP TABLE IF EXISTS public.analytics_devops_adoption_snapshots;
DROP SEQUENCE IF EXISTS public.analytics_devops_adoption_segments_id_seq;
DROP TABLE IF EXISTS public.analytics_devops_adoption_segments;
DROP SEQUENCE IF EXISTS public.analytics_cycle_analytics_stage_event_hashes_id_seq;
DROP TABLE IF EXISTS public.analytics_cycle_analytics_stage_event_hashes;
DROP SEQUENCE IF EXISTS public.analytics_cycle_analytics_project_value_streams_id_seq;
DROP TABLE IF EXISTS public.analytics_cycle_analytics_project_value_streams;
DROP SEQUENCE IF EXISTS public.analytics_cycle_analytics_project_stages_id_seq;
DROP TABLE IF EXISTS public.analytics_cycle_analytics_project_stages;
DROP SEQUENCE IF EXISTS public.analytics_cycle_analytics_group_value_streams_id_seq;
DROP TABLE IF EXISTS public.analytics_cycle_analytics_group_value_streams;
DROP SEQUENCE IF EXISTS public.analytics_cycle_analytics_group_stages_id_seq;
DROP TABLE IF EXISTS public.analytics_cycle_analytics_group_stages;
DROP SEQUENCE IF EXISTS public.allowed_email_domains_id_seq;
DROP TABLE IF EXISTS public.allowed_email_domains;
DROP SEQUENCE IF EXISTS public.alert_management_http_integrations_id_seq;
DROP TABLE IF EXISTS public.alert_management_http_integrations;
DROP SEQUENCE IF EXISTS public.alert_management_alerts_id_seq;
DROP TABLE IF EXISTS public.alert_management_alerts;
DROP SEQUENCE IF EXISTS public.alert_management_alert_user_mentions_id_seq;
DROP TABLE IF EXISTS public.alert_management_alert_user_mentions;
DROP SEQUENCE IF EXISTS public.alert_management_alert_assignees_id_seq;
DROP TABLE IF EXISTS public.alert_management_alert_assignees;
DROP SEQUENCE IF EXISTS public.abuse_reports_id_seq;
DROP TABLE IF EXISTS public.abuse_reports;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_63;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_62;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_61;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_60;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_59;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_58;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_57;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_56;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_55;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_54;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_53;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_52;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_51;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_50;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_49;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_48;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_47;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_46;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_45;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_44;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_43;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_42;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_41;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_40;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_39;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_38;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_37;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_36;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_35;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_34;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_33;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_32;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_31;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_30;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_29;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_28;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_27;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_26;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_25;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_24;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_23;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_22;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_21;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_20;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_19;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_18;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_17;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_16;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_15;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_14;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_13;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_12;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_11;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_10;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_09;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_08;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_07;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_06;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_05;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_04;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_03;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_02;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_01;
DROP TABLE IF EXISTS gitlab_partitions_static.product_analytics_events_experimental_00;
DROP SEQUENCE IF EXISTS public.product_analytics_events_experimental_id_seq;
DROP TABLE IF EXISTS public.product_analytics_events_experimental;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202203;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202202;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202201;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202112;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202111;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202110;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202109;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202108;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202107;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.web_hook_logs_202106;
DROP SEQUENCE IF EXISTS public.web_hook_logs_id_seq;
DROP TABLE IF EXISTS public.web_hook_logs;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.audit_events_202203;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.audit_events_202202;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.audit_events_202201;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.audit_events_202112;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.audit_events_202111;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.audit_events_202110;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.audit_events_202109;
DROP TABLE IF EXISTS gitlab_partitions_dynamic.audit_events_000000;
DROP SEQUENCE IF EXISTS public.audit_events_id_seq;
DROP TABLE IF EXISTS public.audit_events;
DROP FUNCTION IF EXISTS public.trigger_f1ca8ec18d78();
DROP FUNCTION IF EXISTS public.trigger_cf2f9e35f002();
DROP FUNCTION IF EXISTS public.trigger_be1804f21693();
DROP FUNCTION IF EXISTS public.trigger_aebe8b822ad3();
DROP FUNCTION IF EXISTS public.trigger_91dc388a5fe6();
DROP FUNCTION IF EXISTS public.trigger_8487d4de3e7b();
DROP FUNCTION IF EXISTS public.trigger_8485e97c00e3();
DROP FUNCTION IF EXISTS public.trigger_77f5e1d20482();
DROP FUNCTION IF EXISTS public.trigger_69523443cc10();
DROP FUNCTION IF EXISTS public.trigger_542d6c2ad72e();
DROP FUNCTION IF EXISTS public.trigger_51ab7cef8934();
DROP FUNCTION IF EXISTS public.trigger_490d204c00b3();
DROP FUNCTION IF EXISTS public.trigger_3f6129be01d2();
DROP FUNCTION IF EXISTS public.trigger_21e7a2602957();
DROP FUNCTION IF EXISTS public.trigger_07c94931164e();
DROP FUNCTION IF EXISTS public.set_has_external_wiki();
DROP FUNCTION IF EXISTS public.set_has_external_issue_tracker();
DROP FUNCTION IF EXISTS public.integrations_set_type_new();
DROP EXTENSION IF EXISTS pg_trgm;
DROP EXTENSION IF EXISTS btree_gist;
DROP SCHEMA IF EXISTS gitlab_partitions_static;
DROP SCHEMA IF EXISTS gitlab_partitions_dynamic;
--
-- Name: gitlab_partitions_dynamic; Type: SCHEMA; Schema: -; Owner: gitlab
--

CREATE SCHEMA gitlab_partitions_dynamic;


ALTER SCHEMA gitlab_partitions_dynamic OWNER TO gitlab;

--
-- Name: SCHEMA gitlab_partitions_dynamic; Type: COMMENT; Schema: -; Owner: gitlab
--

COMMENT ON SCHEMA gitlab_partitions_dynamic IS 'Schema to hold partitions managed dynamically from the application, e.g. for time space partitioning.';


--
-- Name: gitlab_partitions_static; Type: SCHEMA; Schema: -; Owner: gitlab
--

CREATE SCHEMA gitlab_partitions_static;


ALTER SCHEMA gitlab_partitions_static OWNER TO gitlab;

--
-- Name: SCHEMA gitlab_partitions_static; Type: COMMENT; Schema: -; Owner: gitlab
--

COMMENT ON SCHEMA gitlab_partitions_static IS 'Schema to hold static partitions, e.g. for hash partitioning';


--
-- Name: btree_gist; Type: EXTENSION; Schema: -; Owner: -
--

CREATE EXTENSION IF NOT EXISTS btree_gist WITH SCHEMA public;


--
-- Name: EXTENSION btree_gist; Type: COMMENT; Schema: -; Owner: 
--

COMMENT ON EXTENSION btree_gist IS 'support for indexing common datatypes in GiST';


--
-- Name: pg_trgm; Type: EXTENSION; Schema: -; Owner: -
--

CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public;


--
-- Name: EXTENSION pg_trgm; Type: COMMENT; Schema: -; Owner: 
--

COMMENT ON EXTENSION pg_trgm IS 'text similarity measurement and index searching based on trigrams';


--
-- Name: integrations_set_type_new(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.integrations_set_type_new() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
WITH mapping(old_type, new_type) AS (VALUES
  ('AsanaService',                   'Integrations::Asana'),
  ('AssemblaService',                'Integrations::Assembla'),
  ('BambooService',                  'Integrations::Bamboo'),
  ('BugzillaService',                'Integrations::Bugzilla'),
  ('BuildkiteService',               'Integrations::Buildkite'),
  ('CampfireService',                'Integrations::Campfire'),
  ('ConfluenceService',              'Integrations::Confluence'),
  ('CustomIssueTrackerService',      'Integrations::CustomIssueTracker'),
  ('DatadogService',                 'Integrations::Datadog'),
  ('DiscordService',                 'Integrations::Discord'),
  ('DroneCiService',                 'Integrations::DroneCi'),
  ('EmailsOnPushService',            'Integrations::EmailsOnPush'),
  ('EwmService',                     'Integrations::Ewm'),
  ('ExternalWikiService',            'Integrations::ExternalWiki'),
  ('FlowdockService',                'Integrations::Flowdock'),
  ('HangoutsChatService',            'Integrations::HangoutsChat'),
  ('IrkerService',                   'Integrations::Irker'),
  ('JenkinsService',                 'Integrations::Jenkins'),
  ('JiraService',                    'Integrations::Jira'),
  ('MattermostService',              'Integrations::Mattermost'),
  ('MattermostSlashCommandsService', 'Integrations::MattermostSlashCommands'),
  ('MicrosoftTeamsService',          'Integrations::MicrosoftTeams'),
  ('MockCiService',                  'Integrations::MockCi'),
  ('MockMonitoringService',          'Integrations::MockMonitoring'),
  ('PackagistService',               'Integrations::Packagist'),
  ('PipelinesEmailService',          'Integrations::PipelinesEmail'),
  ('PivotaltrackerService',          'Integrations::Pivotaltracker'),
  ('PrometheusService',              'Integrations::Prometheus'),
  ('PushoverService',                'Integrations::Pushover'),
  ('RedmineService',                 'Integrations::Redmine'),
  ('SlackService',                   'Integrations::Slack'),
  ('SlackSlashCommandsService',      'Integrations::SlackSlashCommands'),
  ('TeamcityService',                'Integrations::Teamcity'),
  ('UnifyCircuitService',            'Integrations::UnifyCircuit'),
  ('YoutrackService',                'Integrations::Youtrack'),
  ('WebexTeamsService',              'Integrations::WebexTeams'),

  -- EE-only integrations
  ('GithubService',                  'Integrations::Github'),
  ('GitlabSlackApplicationService',  'Integrations::GitlabSlackApplication')
)

UPDATE integrations SET type_new = mapping.new_type
FROM mapping
WHERE integrations.id = NEW.id
  AND mapping.old_type = NEW.type;
RETURN NULL;

END
$$;


ALTER FUNCTION public.integrations_set_type_new() OWNER TO gitlab;

--
-- Name: set_has_external_issue_tracker(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.set_has_external_issue_tracker() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
UPDATE projects SET has_external_issue_tracker = (
  EXISTS
  (
    SELECT 1
    FROM integrations
    WHERE project_id = COALESCE(NEW.project_id, OLD.project_id)
      AND active = TRUE
      AND category = 'issue_tracker'
  )
)
WHERE projects.id = COALESCE(NEW.project_id, OLD.project_id);
RETURN NULL;

END
$$;


ALTER FUNCTION public.set_has_external_issue_tracker() OWNER TO gitlab;

--
-- Name: set_has_external_wiki(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.set_has_external_wiki() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
UPDATE projects SET has_external_wiki = COALESCE(NEW.active, FALSE)
WHERE projects.id = COALESCE(NEW.project_id, OLD.project_id);
RETURN NULL;

END
$$;


ALTER FUNCTION public.set_has_external_wiki() OWNER TO gitlab;

--
-- Name: trigger_07c94931164e(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_07c94931164e() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."event_id_convert_to_bigint" := NEW."event_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_07c94931164e() OWNER TO gitlab;

--
-- Name: trigger_21e7a2602957(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_21e7a2602957() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."build_id_convert_to_bigint" := NEW."build_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_21e7a2602957() OWNER TO gitlab;

--
-- Name: trigger_3f6129be01d2(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_3f6129be01d2() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."id_convert_to_bigint" := NEW."id";
  NEW."stage_id_convert_to_bigint" := NEW."stage_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_3f6129be01d2() OWNER TO gitlab;

--
-- Name: trigger_490d204c00b3(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_490d204c00b3() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."id_convert_to_bigint" := NEW."id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_490d204c00b3() OWNER TO gitlab;

--
-- Name: trigger_51ab7cef8934(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_51ab7cef8934() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."build_id_convert_to_bigint" := NEW."build_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_51ab7cef8934() OWNER TO gitlab;

--
-- Name: trigger_542d6c2ad72e(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_542d6c2ad72e() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."id_convert_to_bigint" := NEW."id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_542d6c2ad72e() OWNER TO gitlab;

--
-- Name: trigger_69523443cc10(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_69523443cc10() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."id_convert_to_bigint" := NEW."id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_69523443cc10() OWNER TO gitlab;

--
-- Name: trigger_77f5e1d20482(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_77f5e1d20482() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."deployable_id_convert_to_bigint" := NEW."deployable_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_77f5e1d20482() OWNER TO gitlab;

--
-- Name: trigger_8485e97c00e3(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_8485e97c00e3() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."source_job_id_convert_to_bigint" := NEW."source_job_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_8485e97c00e3() OWNER TO gitlab;

--
-- Name: trigger_8487d4de3e7b(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_8487d4de3e7b() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."build_id_convert_to_bigint" := NEW."build_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_8487d4de3e7b() OWNER TO gitlab;

--
-- Name: trigger_91dc388a5fe6(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_91dc388a5fe6() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."build_id_convert_to_bigint" := NEW."build_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_91dc388a5fe6() OWNER TO gitlab;

--
-- Name: trigger_aebe8b822ad3(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_aebe8b822ad3() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."id_convert_to_bigint" := NEW."id";
  NEW."taggable_id_convert_to_bigint" := NEW."taggable_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_aebe8b822ad3() OWNER TO gitlab;

--
-- Name: trigger_be1804f21693(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_be1804f21693() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."id_convert_to_bigint" := NEW."id";
  NEW."job_id_convert_to_bigint" := NEW."job_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_be1804f21693() OWNER TO gitlab;

--
-- Name: trigger_cf2f9e35f002(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_cf2f9e35f002() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."build_id_convert_to_bigint" := NEW."build_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_cf2f9e35f002() OWNER TO gitlab;

--
-- Name: trigger_f1ca8ec18d78(); Type: FUNCTION; Schema: public; Owner: gitlab
--

CREATE FUNCTION public.trigger_f1ca8ec18d78() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
BEGIN
  NEW."job_artifact_id_convert_to_bigint" := NEW."job_artifact_id";
  RETURN NEW;
END;
$$;


ALTER FUNCTION public.trigger_f1ca8ec18d78() OWNER TO gitlab;

SET default_tablespace = '';

--
-- Name: audit_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.audit_events (
    id bigint NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
)
PARTITION BY RANGE (created_at);


ALTER TABLE public.audit_events OWNER TO gitlab;

--
-- Name: audit_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.audit_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.audit_events_id_seq OWNER TO gitlab;

--
-- Name: audit_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.audit_events_id_seq OWNED BY public.audit_events.id;


SET default_table_access_method = heap;

--
-- Name: audit_events_000000; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.audit_events_000000 (
    id bigint DEFAULT nextval('public.audit_events_id_seq'::regclass) NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
);
ALTER TABLE ONLY public.audit_events ATTACH PARTITION gitlab_partitions_dynamic.audit_events_000000 FOR VALUES FROM (MINVALUE) TO ('2021-09-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.audit_events_000000 OWNER TO gitlab;

--
-- Name: audit_events_202109; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.audit_events_202109 (
    id bigint DEFAULT nextval('public.audit_events_id_seq'::regclass) NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
);
ALTER TABLE ONLY public.audit_events ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202109 FOR VALUES FROM ('2021-09-01 00:00:00') TO ('2021-10-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.audit_events_202109 OWNER TO gitlab;

--
-- Name: audit_events_202110; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.audit_events_202110 (
    id bigint DEFAULT nextval('public.audit_events_id_seq'::regclass) NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
);
ALTER TABLE ONLY public.audit_events ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202110 FOR VALUES FROM ('2021-10-01 00:00:00') TO ('2021-11-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.audit_events_202110 OWNER TO gitlab;

--
-- Name: audit_events_202111; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.audit_events_202111 (
    id bigint DEFAULT nextval('public.audit_events_id_seq'::regclass) NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
);
ALTER TABLE ONLY public.audit_events ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202111 FOR VALUES FROM ('2021-11-01 00:00:00') TO ('2021-12-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.audit_events_202111 OWNER TO gitlab;

--
-- Name: audit_events_202112; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.audit_events_202112 (
    id bigint DEFAULT nextval('public.audit_events_id_seq'::regclass) NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
);
ALTER TABLE ONLY public.audit_events ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202112 FOR VALUES FROM ('2021-12-01 00:00:00') TO ('2022-01-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.audit_events_202112 OWNER TO gitlab;

--
-- Name: audit_events_202201; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.audit_events_202201 (
    id bigint DEFAULT nextval('public.audit_events_id_seq'::regclass) NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
);
ALTER TABLE ONLY public.audit_events ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202201 FOR VALUES FROM ('2022-01-01 00:00:00') TO ('2022-02-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.audit_events_202201 OWNER TO gitlab;

--
-- Name: audit_events_202202; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.audit_events_202202 (
    id bigint DEFAULT nextval('public.audit_events_id_seq'::regclass) NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
);
ALTER TABLE ONLY public.audit_events ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202202 FOR VALUES FROM ('2022-02-01 00:00:00') TO ('2022-03-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.audit_events_202202 OWNER TO gitlab;

--
-- Name: audit_events_202203; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.audit_events_202203 (
    id bigint DEFAULT nextval('public.audit_events_id_seq'::regclass) NOT NULL,
    author_id integer NOT NULL,
    entity_id integer NOT NULL,
    entity_type character varying NOT NULL,
    details text,
    ip_address inet,
    author_name text,
    entity_path text,
    target_details text,
    created_at timestamp without time zone NOT NULL,
    target_type text,
    target_id bigint,
    CONSTRAINT check_492aaa021d CHECK ((char_length(entity_path) <= 5500)),
    CONSTRAINT check_83ff8406e2 CHECK ((char_length(author_name) <= 255)),
    CONSTRAINT check_97a8c868e7 CHECK ((char_length(target_type) <= 255)),
    CONSTRAINT check_d493ec90b5 CHECK ((char_length(target_details) <= 5500))
);
ALTER TABLE ONLY public.audit_events ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202203 FOR VALUES FROM ('2022-03-01 00:00:00') TO ('2022-04-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.audit_events_202203 OWNER TO gitlab;

--
-- Name: web_hook_logs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.web_hook_logs (
    id bigint NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
)
PARTITION BY RANGE (created_at);


ALTER TABLE public.web_hook_logs OWNER TO gitlab;

--
-- Name: web_hook_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.web_hook_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.web_hook_logs_id_seq OWNER TO gitlab;

--
-- Name: web_hook_logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.web_hook_logs_id_seq OWNED BY public.web_hook_logs.id;


--
-- Name: web_hook_logs_202106; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202106 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202106 FOR VALUES FROM ('2021-06-01 00:00:00') TO ('2021-07-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202106 OWNER TO gitlab;

--
-- Name: web_hook_logs_202107; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202107 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202107 FOR VALUES FROM ('2021-07-01 00:00:00') TO ('2021-08-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202107 OWNER TO gitlab;

--
-- Name: web_hook_logs_202108; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202108 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202108 FOR VALUES FROM ('2021-08-01 00:00:00') TO ('2021-09-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202108 OWNER TO gitlab;

--
-- Name: web_hook_logs_202109; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202109 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202109 FOR VALUES FROM ('2021-09-01 00:00:00') TO ('2021-10-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202109 OWNER TO gitlab;

--
-- Name: web_hook_logs_202110; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202110 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202110 FOR VALUES FROM ('2021-10-01 00:00:00') TO ('2021-11-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202110 OWNER TO gitlab;

--
-- Name: web_hook_logs_202111; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202111 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202111 FOR VALUES FROM ('2021-11-01 00:00:00') TO ('2021-12-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202111 OWNER TO gitlab;

--
-- Name: web_hook_logs_202112; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202112 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202112 FOR VALUES FROM ('2021-12-01 00:00:00') TO ('2022-01-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202112 OWNER TO gitlab;

--
-- Name: web_hook_logs_202201; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202201 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202201 FOR VALUES FROM ('2022-01-01 00:00:00') TO ('2022-02-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202201 OWNER TO gitlab;

--
-- Name: web_hook_logs_202202; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202202 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202202 FOR VALUES FROM ('2022-02-01 00:00:00') TO ('2022-03-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202202 OWNER TO gitlab;

--
-- Name: web_hook_logs_202203; Type: TABLE; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE TABLE gitlab_partitions_dynamic.web_hook_logs_202203 (
    id bigint DEFAULT nextval('public.web_hook_logs_id_seq'::regclass) NOT NULL,
    web_hook_id integer NOT NULL,
    trigger character varying,
    url character varying,
    request_headers text,
    request_data text,
    response_headers text,
    response_body text,
    response_status character varying,
    execution_duration double precision,
    internal_error_message character varying,
    updated_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL
);
ALTER TABLE ONLY public.web_hook_logs ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202203 FOR VALUES FROM ('2022-03-01 00:00:00') TO ('2022-04-01 00:00:00');


ALTER TABLE gitlab_partitions_dynamic.web_hook_logs_202203 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.product_analytics_events_experimental (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
)
PARTITION BY HASH (project_id);


ALTER TABLE public.product_analytics_events_experimental OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.product_analytics_events_experimental_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.product_analytics_events_experimental_id_seq OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.product_analytics_events_experimental_id_seq OWNED BY public.product_analytics_events_experimental.id;


--
-- Name: product_analytics_events_experimental_00; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_00 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_00 FOR VALUES WITH (modulus 64, remainder 0);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_00 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_01; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_01 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_01 FOR VALUES WITH (modulus 64, remainder 1);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_01 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_02; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_02 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_02 FOR VALUES WITH (modulus 64, remainder 2);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_02 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_03; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_03 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_03 FOR VALUES WITH (modulus 64, remainder 3);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_03 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_04; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_04 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_04 FOR VALUES WITH (modulus 64, remainder 4);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_04 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_05; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_05 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_05 FOR VALUES WITH (modulus 64, remainder 5);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_05 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_06; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_06 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_06 FOR VALUES WITH (modulus 64, remainder 6);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_06 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_07; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_07 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_07 FOR VALUES WITH (modulus 64, remainder 7);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_07 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_08; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_08 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_08 FOR VALUES WITH (modulus 64, remainder 8);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_08 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_09; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_09 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_09 FOR VALUES WITH (modulus 64, remainder 9);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_09 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_10; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_10 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_10 FOR VALUES WITH (modulus 64, remainder 10);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_10 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_11; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_11 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_11 FOR VALUES WITH (modulus 64, remainder 11);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_11 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_12; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_12 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_12 FOR VALUES WITH (modulus 64, remainder 12);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_12 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_13; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_13 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_13 FOR VALUES WITH (modulus 64, remainder 13);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_13 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_14; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_14 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_14 FOR VALUES WITH (modulus 64, remainder 14);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_14 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_15; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_15 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_15 FOR VALUES WITH (modulus 64, remainder 15);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_15 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_16; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_16 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_16 FOR VALUES WITH (modulus 64, remainder 16);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_16 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_17; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_17 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_17 FOR VALUES WITH (modulus 64, remainder 17);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_17 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_18; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_18 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_18 FOR VALUES WITH (modulus 64, remainder 18);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_18 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_19; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_19 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_19 FOR VALUES WITH (modulus 64, remainder 19);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_19 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_20; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_20 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_20 FOR VALUES WITH (modulus 64, remainder 20);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_20 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_21; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_21 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_21 FOR VALUES WITH (modulus 64, remainder 21);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_21 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_22; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_22 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_22 FOR VALUES WITH (modulus 64, remainder 22);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_22 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_23; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_23 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_23 FOR VALUES WITH (modulus 64, remainder 23);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_23 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_24; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_24 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_24 FOR VALUES WITH (modulus 64, remainder 24);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_24 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_25; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_25 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_25 FOR VALUES WITH (modulus 64, remainder 25);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_25 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_26; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_26 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_26 FOR VALUES WITH (modulus 64, remainder 26);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_26 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_27; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_27 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_27 FOR VALUES WITH (modulus 64, remainder 27);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_27 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_28; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_28 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_28 FOR VALUES WITH (modulus 64, remainder 28);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_28 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_29; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_29 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_29 FOR VALUES WITH (modulus 64, remainder 29);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_29 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_30; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_30 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_30 FOR VALUES WITH (modulus 64, remainder 30);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_30 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_31; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_31 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_31 FOR VALUES WITH (modulus 64, remainder 31);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_31 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_32; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_32 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_32 FOR VALUES WITH (modulus 64, remainder 32);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_32 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_33; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_33 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_33 FOR VALUES WITH (modulus 64, remainder 33);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_33 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_34; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_34 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_34 FOR VALUES WITH (modulus 64, remainder 34);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_34 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_35; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_35 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_35 FOR VALUES WITH (modulus 64, remainder 35);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_35 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_36; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_36 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_36 FOR VALUES WITH (modulus 64, remainder 36);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_36 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_37; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_37 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_37 FOR VALUES WITH (modulus 64, remainder 37);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_37 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_38; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_38 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_38 FOR VALUES WITH (modulus 64, remainder 38);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_38 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_39; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_39 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_39 FOR VALUES WITH (modulus 64, remainder 39);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_39 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_40; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_40 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_40 FOR VALUES WITH (modulus 64, remainder 40);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_40 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_41; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_41 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_41 FOR VALUES WITH (modulus 64, remainder 41);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_41 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_42; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_42 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_42 FOR VALUES WITH (modulus 64, remainder 42);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_42 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_43; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_43 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_43 FOR VALUES WITH (modulus 64, remainder 43);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_43 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_44; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_44 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_44 FOR VALUES WITH (modulus 64, remainder 44);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_44 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_45; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_45 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_45 FOR VALUES WITH (modulus 64, remainder 45);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_45 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_46; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_46 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_46 FOR VALUES WITH (modulus 64, remainder 46);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_46 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_47; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_47 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_47 FOR VALUES WITH (modulus 64, remainder 47);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_47 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_48; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_48 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_48 FOR VALUES WITH (modulus 64, remainder 48);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_48 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_49; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_49 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_49 FOR VALUES WITH (modulus 64, remainder 49);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_49 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_50; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_50 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_50 FOR VALUES WITH (modulus 64, remainder 50);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_50 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_51; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_51 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_51 FOR VALUES WITH (modulus 64, remainder 51);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_51 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_52; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_52 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_52 FOR VALUES WITH (modulus 64, remainder 52);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_52 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_53; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_53 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_53 FOR VALUES WITH (modulus 64, remainder 53);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_53 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_54; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_54 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_54 FOR VALUES WITH (modulus 64, remainder 54);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_54 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_55; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_55 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_55 FOR VALUES WITH (modulus 64, remainder 55);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_55 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_56; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_56 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_56 FOR VALUES WITH (modulus 64, remainder 56);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_56 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_57; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_57 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_57 FOR VALUES WITH (modulus 64, remainder 57);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_57 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_58; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_58 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_58 FOR VALUES WITH (modulus 64, remainder 58);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_58 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_59; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_59 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_59 FOR VALUES WITH (modulus 64, remainder 59);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_59 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_60; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_60 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_60 FOR VALUES WITH (modulus 64, remainder 60);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_60 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_61; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_61 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_61 FOR VALUES WITH (modulus 64, remainder 61);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_61 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_62; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_62 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_62 FOR VALUES WITH (modulus 64, remainder 62);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_62 OWNER TO gitlab;

--
-- Name: product_analytics_events_experimental_63; Type: TABLE; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE TABLE gitlab_partitions_static.product_analytics_events_experimental_63 (
    id bigint DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass) NOT NULL,
    project_id integer NOT NULL,
    platform character varying(255),
    etl_tstamp timestamp with time zone,
    collector_tstamp timestamp with time zone NOT NULL,
    dvce_created_tstamp timestamp with time zone,
    event character varying(128),
    event_id character(36) NOT NULL,
    txn_id integer,
    name_tracker character varying(128),
    v_tracker character varying(100),
    v_collector character varying(100) NOT NULL,
    v_etl character varying(100) NOT NULL,
    user_id character varying(255),
    user_ipaddress character varying(45),
    user_fingerprint character varying(50),
    domain_userid character varying(36),
    domain_sessionidx smallint,
    network_userid character varying(38),
    geo_country character(2),
    geo_region character(3),
    geo_city character varying(75),
    geo_zipcode character varying(15),
    geo_latitude double precision,
    geo_longitude double precision,
    geo_region_name character varying(100),
    ip_isp character varying(100),
    ip_organization character varying(100),
    ip_domain character varying(100),
    ip_netspeed character varying(100),
    page_url text,
    page_title character varying(2000),
    page_referrer text,
    page_urlscheme character varying(16),
    page_urlhost character varying(255),
    page_urlport integer,
    page_urlpath character varying(3000),
    page_urlquery character varying(6000),
    page_urlfragment character varying(3000),
    refr_urlscheme character varying(16),
    refr_urlhost character varying(255),
    refr_urlport integer,
    refr_urlpath character varying(6000),
    refr_urlquery character varying(6000),
    refr_urlfragment character varying(3000),
    refr_medium character varying(25),
    refr_source character varying(50),
    refr_term character varying(255),
    mkt_medium character varying(255),
    mkt_source character varying(255),
    mkt_term character varying(255),
    mkt_content character varying(500),
    mkt_campaign character varying(255),
    se_category character varying(1000),
    se_action character varying(1000),
    se_label character varying(1000),
    se_property character varying(1000),
    se_value double precision,
    tr_orderid character varying(255),
    tr_affiliation character varying(255),
    tr_total numeric(18,2),
    tr_tax numeric(18,2),
    tr_shipping numeric(18,2),
    tr_city character varying(255),
    tr_state character varying(255),
    tr_country character varying(255),
    ti_orderid character varying(255),
    ti_sku character varying(255),
    ti_name character varying(255),
    ti_category character varying(255),
    ti_price numeric(18,2),
    ti_quantity integer,
    pp_xoffset_min integer,
    pp_xoffset_max integer,
    pp_yoffset_min integer,
    pp_yoffset_max integer,
    useragent character varying(1000),
    br_name character varying(50),
    br_family character varying(50),
    br_version character varying(50),
    br_type character varying(50),
    br_renderengine character varying(50),
    br_lang character varying(255),
    br_features_pdf boolean,
    br_features_flash boolean,
    br_features_java boolean,
    br_features_director boolean,
    br_features_quicktime boolean,
    br_features_realplayer boolean,
    br_features_windowsmedia boolean,
    br_features_gears boolean,
    br_features_silverlight boolean,
    br_cookies boolean,
    br_colordepth character varying(12),
    br_viewwidth integer,
    br_viewheight integer,
    os_name character varying(50),
    os_family character varying(50),
    os_manufacturer character varying(50),
    os_timezone character varying(50),
    dvce_type character varying(50),
    dvce_ismobile boolean,
    dvce_screenwidth integer,
    dvce_screenheight integer,
    doc_charset character varying(128),
    doc_width integer,
    doc_height integer,
    tr_currency character(3),
    tr_total_base numeric(18,2),
    tr_tax_base numeric(18,2),
    tr_shipping_base numeric(18,2),
    ti_currency character(3),
    ti_price_base numeric(18,2),
    base_currency character(3),
    geo_timezone character varying(64),
    mkt_clickid character varying(128),
    mkt_network character varying(64),
    etl_tags character varying(500),
    dvce_sent_tstamp timestamp with time zone,
    refr_domain_userid character varying(36),
    refr_dvce_tstamp timestamp with time zone,
    domain_sessionid character(36),
    derived_tstamp timestamp with time zone,
    event_vendor character varying(1000),
    event_name character varying(1000),
    event_format character varying(128),
    event_version character varying(128),
    event_fingerprint character varying(128),
    true_tstamp timestamp with time zone
);
ALTER TABLE ONLY public.product_analytics_events_experimental ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_63 FOR VALUES WITH (modulus 64, remainder 63);


ALTER TABLE gitlab_partitions_static.product_analytics_events_experimental_63 OWNER TO gitlab;

--
-- Name: abuse_reports; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.abuse_reports (
    id integer NOT NULL,
    reporter_id integer,
    user_id integer,
    message text,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    message_html text,
    cached_markdown_version integer
);


ALTER TABLE public.abuse_reports OWNER TO gitlab;

--
-- Name: abuse_reports_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.abuse_reports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.abuse_reports_id_seq OWNER TO gitlab;

--
-- Name: abuse_reports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.abuse_reports_id_seq OWNED BY public.abuse_reports.id;


--
-- Name: alert_management_alert_assignees; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.alert_management_alert_assignees (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    alert_id bigint NOT NULL
);


ALTER TABLE public.alert_management_alert_assignees OWNER TO gitlab;

--
-- Name: alert_management_alert_assignees_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.alert_management_alert_assignees_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.alert_management_alert_assignees_id_seq OWNER TO gitlab;

--
-- Name: alert_management_alert_assignees_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.alert_management_alert_assignees_id_seq OWNED BY public.alert_management_alert_assignees.id;


--
-- Name: alert_management_alert_user_mentions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.alert_management_alert_user_mentions (
    id bigint NOT NULL,
    alert_management_alert_id bigint NOT NULL,
    note_id bigint,
    mentioned_users_ids integer[],
    mentioned_projects_ids integer[],
    mentioned_groups_ids integer[]
);


ALTER TABLE public.alert_management_alert_user_mentions OWNER TO gitlab;

--
-- Name: alert_management_alert_user_mentions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.alert_management_alert_user_mentions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.alert_management_alert_user_mentions_id_seq OWNER TO gitlab;

--
-- Name: alert_management_alert_user_mentions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.alert_management_alert_user_mentions_id_seq OWNED BY public.alert_management_alert_user_mentions.id;


--
-- Name: alert_management_alerts; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.alert_management_alerts (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    started_at timestamp with time zone NOT NULL,
    ended_at timestamp with time zone,
    events integer DEFAULT 1 NOT NULL,
    iid integer NOT NULL,
    severity smallint DEFAULT 0 NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    fingerprint bytea,
    issue_id bigint,
    project_id bigint NOT NULL,
    title text NOT NULL,
    description text,
    service text,
    monitoring_tool text,
    hosts text[] DEFAULT '{}'::text[] NOT NULL,
    payload jsonb DEFAULT '{}'::jsonb NOT NULL,
    prometheus_alert_id integer,
    environment_id integer,
    domain smallint DEFAULT 0,
    CONSTRAINT check_2df3e2fdc1 CHECK ((char_length(monitoring_tool) <= 100)),
    CONSTRAINT check_5e9e57cadb CHECK ((char_length(description) <= 1000)),
    CONSTRAINT check_bac14dddde CHECK ((char_length(service) <= 100)),
    CONSTRAINT check_d1d1c2d14c CHECK ((char_length(title) <= 200))
);


ALTER TABLE public.alert_management_alerts OWNER TO gitlab;

--
-- Name: alert_management_alerts_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.alert_management_alerts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.alert_management_alerts_id_seq OWNER TO gitlab;

--
-- Name: alert_management_alerts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.alert_management_alerts_id_seq OWNED BY public.alert_management_alerts.id;


--
-- Name: alert_management_http_integrations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.alert_management_http_integrations (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    active boolean DEFAULT false NOT NULL,
    encrypted_token text NOT NULL,
    encrypted_token_iv text NOT NULL,
    endpoint_identifier text NOT NULL,
    name text NOT NULL,
    payload_example jsonb DEFAULT '{}'::jsonb NOT NULL,
    payload_attribute_mapping jsonb DEFAULT '{}'::jsonb NOT NULL,
    CONSTRAINT check_286943b636 CHECK ((char_length(encrypted_token_iv) <= 255)),
    CONSTRAINT check_392143ccf4 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_e270820180 CHECK ((char_length(endpoint_identifier) <= 255)),
    CONSTRAINT check_f68577c4af CHECK ((char_length(encrypted_token) <= 255))
);


ALTER TABLE public.alert_management_http_integrations OWNER TO gitlab;

--
-- Name: alert_management_http_integrations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.alert_management_http_integrations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.alert_management_http_integrations_id_seq OWNER TO gitlab;

--
-- Name: alert_management_http_integrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.alert_management_http_integrations_id_seq OWNED BY public.alert_management_http_integrations.id;


--
-- Name: allowed_email_domains; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.allowed_email_domains (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id integer NOT NULL,
    domain character varying(255) NOT NULL
);


ALTER TABLE public.allowed_email_domains OWNER TO gitlab;

--
-- Name: allowed_email_domains_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.allowed_email_domains_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.allowed_email_domains_id_seq OWNER TO gitlab;

--
-- Name: allowed_email_domains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.allowed_email_domains_id_seq OWNED BY public.allowed_email_domains.id;


--
-- Name: analytics_cycle_analytics_group_stages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_cycle_analytics_group_stages (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    relative_position integer,
    start_event_identifier integer NOT NULL,
    end_event_identifier integer NOT NULL,
    group_id bigint NOT NULL,
    start_event_label_id bigint,
    end_event_label_id bigint,
    hidden boolean DEFAULT false NOT NULL,
    custom boolean DEFAULT true NOT NULL,
    name character varying(255) NOT NULL,
    group_value_stream_id bigint NOT NULL,
    stage_event_hash_id bigint
);


ALTER TABLE public.analytics_cycle_analytics_group_stages OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_group_stages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.analytics_cycle_analytics_group_stages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.analytics_cycle_analytics_group_stages_id_seq OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_group_stages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.analytics_cycle_analytics_group_stages_id_seq OWNED BY public.analytics_cycle_analytics_group_stages.id;


--
-- Name: analytics_cycle_analytics_group_value_streams; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_cycle_analytics_group_value_streams (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id bigint NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_bc1ed5f1f7 CHECK ((char_length(name) <= 100))
);


ALTER TABLE public.analytics_cycle_analytics_group_value_streams OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_group_value_streams_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.analytics_cycle_analytics_group_value_streams_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.analytics_cycle_analytics_group_value_streams_id_seq OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_group_value_streams_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.analytics_cycle_analytics_group_value_streams_id_seq OWNED BY public.analytics_cycle_analytics_group_value_streams.id;


--
-- Name: analytics_cycle_analytics_project_stages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_cycle_analytics_project_stages (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    relative_position integer,
    start_event_identifier integer NOT NULL,
    end_event_identifier integer NOT NULL,
    project_id bigint NOT NULL,
    start_event_label_id bigint,
    end_event_label_id bigint,
    hidden boolean DEFAULT false NOT NULL,
    custom boolean DEFAULT true NOT NULL,
    name character varying(255) NOT NULL,
    project_value_stream_id bigint NOT NULL,
    stage_event_hash_id bigint
);


ALTER TABLE public.analytics_cycle_analytics_project_stages OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_project_stages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.analytics_cycle_analytics_project_stages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.analytics_cycle_analytics_project_stages_id_seq OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_project_stages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.analytics_cycle_analytics_project_stages_id_seq OWNED BY public.analytics_cycle_analytics_project_stages.id;


--
-- Name: analytics_cycle_analytics_project_value_streams; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_cycle_analytics_project_value_streams (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_9b1970a898 CHECK ((char_length(name) <= 100))
);


ALTER TABLE public.analytics_cycle_analytics_project_value_streams OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_project_value_streams_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.analytics_cycle_analytics_project_value_streams_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.analytics_cycle_analytics_project_value_streams_id_seq OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_project_value_streams_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.analytics_cycle_analytics_project_value_streams_id_seq OWNED BY public.analytics_cycle_analytics_project_value_streams.id;


--
-- Name: analytics_cycle_analytics_stage_event_hashes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_cycle_analytics_stage_event_hashes (
    id bigint NOT NULL,
    hash_sha256 bytea
);


ALTER TABLE public.analytics_cycle_analytics_stage_event_hashes OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_stage_event_hashes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.analytics_cycle_analytics_stage_event_hashes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.analytics_cycle_analytics_stage_event_hashes_id_seq OWNER TO gitlab;

--
-- Name: analytics_cycle_analytics_stage_event_hashes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.analytics_cycle_analytics_stage_event_hashes_id_seq OWNED BY public.analytics_cycle_analytics_stage_event_hashes.id;


--
-- Name: analytics_devops_adoption_segments; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_devops_adoption_segments (
    id bigint NOT NULL,
    last_recorded_at timestamp with time zone,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    namespace_id integer,
    display_namespace_id integer
);


ALTER TABLE public.analytics_devops_adoption_segments OWNER TO gitlab;

--
-- Name: analytics_devops_adoption_segments_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.analytics_devops_adoption_segments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.analytics_devops_adoption_segments_id_seq OWNER TO gitlab;

--
-- Name: analytics_devops_adoption_segments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.analytics_devops_adoption_segments_id_seq OWNED BY public.analytics_devops_adoption_segments.id;


--
-- Name: analytics_devops_adoption_snapshots; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_devops_adoption_snapshots (
    id bigint NOT NULL,
    segment_id bigint,
    recorded_at timestamp with time zone NOT NULL,
    issue_opened boolean NOT NULL,
    merge_request_opened boolean NOT NULL,
    merge_request_approved boolean NOT NULL,
    runner_configured boolean NOT NULL,
    pipeline_succeeded boolean NOT NULL,
    deploy_succeeded boolean NOT NULL,
    security_scan_succeeded boolean NOT NULL,
    end_time timestamp with time zone NOT NULL,
    total_projects_count integer,
    code_owners_used_count integer,
    namespace_id integer,
    sast_enabled_count integer,
    dast_enabled_count integer,
    dependency_scanning_enabled_count integer,
    coverage_fuzzing_enabled_count integer,
    vulnerability_management_used_count integer,
    CONSTRAINT check_3f472de131 CHECK ((namespace_id IS NOT NULL))
);


ALTER TABLE public.analytics_devops_adoption_snapshots OWNER TO gitlab;

--
-- Name: analytics_devops_adoption_snapshots_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.analytics_devops_adoption_snapshots_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.analytics_devops_adoption_snapshots_id_seq OWNER TO gitlab;

--
-- Name: analytics_devops_adoption_snapshots_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.analytics_devops_adoption_snapshots_id_seq OWNED BY public.analytics_devops_adoption_snapshots.id;


--
-- Name: analytics_language_trend_repository_languages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_language_trend_repository_languages (
    file_count integer DEFAULT 0 NOT NULL,
    programming_language_id bigint NOT NULL,
    project_id bigint NOT NULL,
    loc integer DEFAULT 0 NOT NULL,
    bytes integer DEFAULT 0 NOT NULL,
    percentage smallint DEFAULT 0 NOT NULL,
    snapshot_date date NOT NULL
);


ALTER TABLE public.analytics_language_trend_repository_languages OWNER TO gitlab;

--
-- Name: analytics_usage_trends_measurements; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.analytics_usage_trends_measurements (
    id bigint NOT NULL,
    count bigint NOT NULL,
    recorded_at timestamp with time zone NOT NULL,
    identifier smallint NOT NULL
);


ALTER TABLE public.analytics_usage_trends_measurements OWNER TO gitlab;

--
-- Name: analytics_usage_trends_measurements_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.analytics_usage_trends_measurements_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.analytics_usage_trends_measurements_id_seq OWNER TO gitlab;

--
-- Name: analytics_usage_trends_measurements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.analytics_usage_trends_measurements_id_seq OWNED BY public.analytics_usage_trends_measurements.id;


--
-- Name: appearances; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.appearances (
    id integer NOT NULL,
    title character varying NOT NULL,
    description text NOT NULL,
    logo character varying,
    updated_by integer,
    header_logo character varying,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    description_html text,
    cached_markdown_version integer,
    new_project_guidelines text,
    new_project_guidelines_html text,
    header_message text,
    header_message_html text,
    footer_message text,
    footer_message_html text,
    message_background_color text,
    message_font_color text,
    favicon character varying,
    email_header_and_footer_enabled boolean DEFAULT false NOT NULL,
    profile_image_guidelines text,
    profile_image_guidelines_html text,
    CONSTRAINT appearances_profile_image_guidelines CHECK ((char_length(profile_image_guidelines) <= 4096))
);


ALTER TABLE public.appearances OWNER TO gitlab;

--
-- Name: appearances_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.appearances_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.appearances_id_seq OWNER TO gitlab;

--
-- Name: appearances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.appearances_id_seq OWNED BY public.appearances.id;


--
-- Name: application_setting_terms; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.application_setting_terms (
    id integer NOT NULL,
    cached_markdown_version integer,
    terms text NOT NULL,
    terms_html text
);


ALTER TABLE public.application_setting_terms OWNER TO gitlab;

--
-- Name: application_setting_terms_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.application_setting_terms_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.application_setting_terms_id_seq OWNER TO gitlab;

--
-- Name: application_setting_terms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.application_setting_terms_id_seq OWNED BY public.application_setting_terms.id;


--
-- Name: application_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.application_settings (
    id integer NOT NULL,
    default_projects_limit integer,
    signup_enabled boolean,
    gravatar_enabled boolean,
    sign_in_text text,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    home_page_url character varying,
    default_branch_protection integer DEFAULT 2,
    help_text text,
    restricted_visibility_levels text,
    version_check_enabled boolean DEFAULT true,
    max_attachment_size integer DEFAULT 10 NOT NULL,
    default_project_visibility integer DEFAULT 0 NOT NULL,
    default_snippet_visibility integer DEFAULT 0 NOT NULL,
    user_oauth_applications boolean DEFAULT true,
    after_sign_out_path character varying,
    session_expire_delay integer DEFAULT 10080 NOT NULL,
    import_sources text,
    help_page_text text,
    shared_runners_enabled boolean DEFAULT true NOT NULL,
    max_artifacts_size integer DEFAULT 100 NOT NULL,
    runners_registration_token character varying,
    max_pages_size integer DEFAULT 100 NOT NULL,
    require_two_factor_authentication boolean DEFAULT false,
    two_factor_grace_period integer DEFAULT 48,
    metrics_enabled boolean DEFAULT false,
    metrics_host character varying DEFAULT 'localhost'::character varying,
    metrics_pool_size integer DEFAULT 16,
    metrics_timeout integer DEFAULT 10,
    metrics_method_call_threshold integer DEFAULT 10,
    recaptcha_enabled boolean DEFAULT false,
    metrics_port integer DEFAULT 8089,
    akismet_enabled boolean DEFAULT false,
    metrics_sample_interval integer DEFAULT 15,
    email_author_in_body boolean DEFAULT false,
    default_group_visibility integer,
    repository_checks_enabled boolean DEFAULT false,
    shared_runners_text text,
    metrics_packet_size integer DEFAULT 1,
    disabled_oauth_sign_in_sources text,
    health_check_access_token character varying,
    send_user_confirmation_email boolean DEFAULT false,
    container_registry_token_expire_delay integer DEFAULT 5,
    after_sign_up_text text,
    user_default_external boolean DEFAULT false NOT NULL,
    elasticsearch_indexing boolean DEFAULT false NOT NULL,
    elasticsearch_search boolean DEFAULT false NOT NULL,
    repository_storages character varying DEFAULT 'default'::character varying,
    enabled_git_access_protocol character varying,
    usage_ping_enabled boolean DEFAULT true NOT NULL,
    sign_in_text_html text,
    help_page_text_html text,
    shared_runners_text_html text,
    after_sign_up_text_html text,
    rsa_key_restriction integer DEFAULT 0 NOT NULL,
    dsa_key_restriction integer DEFAULT '-1'::integer NOT NULL,
    ecdsa_key_restriction integer DEFAULT 0 NOT NULL,
    ed25519_key_restriction integer DEFAULT 0 NOT NULL,
    housekeeping_enabled boolean DEFAULT true NOT NULL,
    housekeeping_bitmaps_enabled boolean DEFAULT true NOT NULL,
    housekeeping_incremental_repack_period integer DEFAULT 10 NOT NULL,
    housekeeping_full_repack_period integer DEFAULT 50 NOT NULL,
    housekeeping_gc_period integer DEFAULT 200 NOT NULL,
    html_emails_enabled boolean DEFAULT true,
    plantuml_url character varying,
    plantuml_enabled boolean,
    shared_runners_minutes integer DEFAULT 0 NOT NULL,
    repository_size_limit bigint DEFAULT 0,
    terminal_max_session_time integer DEFAULT 0 NOT NULL,
    unique_ips_limit_per_user integer,
    unique_ips_limit_time_window integer,
    unique_ips_limit_enabled boolean DEFAULT false NOT NULL,
    default_artifacts_expire_in character varying DEFAULT '0'::character varying NOT NULL,
    elasticsearch_url character varying DEFAULT 'http://localhost:9200'::character varying,
    elasticsearch_aws boolean DEFAULT false NOT NULL,
    elasticsearch_aws_region character varying DEFAULT 'us-east-1'::character varying,
    elasticsearch_aws_access_key character varying,
    geo_status_timeout integer DEFAULT 10,
    uuid character varying,
    polling_interval_multiplier numeric DEFAULT 1.0 NOT NULL,
    cached_markdown_version integer,
    check_namespace_plan boolean DEFAULT false NOT NULL,
    mirror_max_delay integer DEFAULT 300 NOT NULL,
    mirror_max_capacity integer DEFAULT 100 NOT NULL,
    mirror_capacity_threshold integer DEFAULT 50 NOT NULL,
    prometheus_metrics_enabled boolean DEFAULT true NOT NULL,
    authorized_keys_enabled boolean DEFAULT true NOT NULL,
    help_page_hide_commercial_content boolean DEFAULT false,
    help_page_support_url character varying,
    slack_app_enabled boolean DEFAULT false,
    slack_app_id character varying,
    performance_bar_allowed_group_id integer,
    allow_group_owners_to_manage_ldap boolean DEFAULT true NOT NULL,
    hashed_storage_enabled boolean DEFAULT true NOT NULL,
    project_export_enabled boolean DEFAULT true NOT NULL,
    auto_devops_enabled boolean DEFAULT true NOT NULL,
    throttle_unauthenticated_enabled boolean DEFAULT false NOT NULL,
    throttle_unauthenticated_requests_per_period integer DEFAULT 3600 NOT NULL,
    throttle_unauthenticated_period_in_seconds integer DEFAULT 3600 NOT NULL,
    throttle_authenticated_api_enabled boolean DEFAULT false NOT NULL,
    throttle_authenticated_api_requests_per_period integer DEFAULT 7200 NOT NULL,
    throttle_authenticated_api_period_in_seconds integer DEFAULT 3600 NOT NULL,
    throttle_authenticated_web_enabled boolean DEFAULT false NOT NULL,
    throttle_authenticated_web_requests_per_period integer DEFAULT 7200 NOT NULL,
    throttle_authenticated_web_period_in_seconds integer DEFAULT 3600 NOT NULL,
    gitaly_timeout_default integer DEFAULT 55 NOT NULL,
    gitaly_timeout_medium integer DEFAULT 30 NOT NULL,
    gitaly_timeout_fast integer DEFAULT 10 NOT NULL,
    mirror_available boolean DEFAULT true NOT NULL,
    password_authentication_enabled_for_web boolean,
    password_authentication_enabled_for_git boolean DEFAULT true NOT NULL,
    auto_devops_domain character varying,
    external_authorization_service_enabled boolean DEFAULT false NOT NULL,
    external_authorization_service_url character varying,
    external_authorization_service_default_label character varying,
    pages_domain_verification_enabled boolean DEFAULT true NOT NULL,
    user_default_internal_regex character varying,
    external_authorization_service_timeout double precision DEFAULT 0.5,
    external_auth_client_cert text,
    encrypted_external_auth_client_key text,
    encrypted_external_auth_client_key_iv character varying,
    encrypted_external_auth_client_key_pass character varying,
    encrypted_external_auth_client_key_pass_iv character varying,
    email_additional_text character varying,
    enforce_terms boolean DEFAULT false,
    file_template_project_id integer,
    pseudonymizer_enabled boolean DEFAULT false NOT NULL,
    hide_third_party_offers boolean DEFAULT false NOT NULL,
    snowplow_enabled boolean DEFAULT false NOT NULL,
    snowplow_collector_hostname character varying,
    snowplow_cookie_domain character varying,
    web_ide_clientside_preview_enabled boolean DEFAULT false NOT NULL,
    user_show_add_ssh_key_message boolean DEFAULT true NOT NULL,
    custom_project_templates_group_id integer,
    usage_stats_set_by_user_id integer,
    receive_max_input_size integer,
    diff_max_patch_bytes integer DEFAULT 204800 NOT NULL,
    archive_builds_in_seconds integer,
    commit_email_hostname character varying,
    protected_ci_variables boolean DEFAULT true NOT NULL,
    runners_registration_token_encrypted character varying,
    local_markdown_version integer DEFAULT 0 NOT NULL,
    first_day_of_week integer DEFAULT 0 NOT NULL,
    elasticsearch_limit_indexing boolean DEFAULT false NOT NULL,
    default_project_creation integer DEFAULT 2 NOT NULL,
    lets_encrypt_notification_email character varying,
    lets_encrypt_terms_of_service_accepted boolean DEFAULT false NOT NULL,
    geo_node_allowed_ips character varying DEFAULT '0.0.0.0/0, ::/0'::character varying,
    elasticsearch_shards integer DEFAULT 5 NOT NULL,
    elasticsearch_replicas integer DEFAULT 1 NOT NULL,
    encrypted_lets_encrypt_private_key text,
    encrypted_lets_encrypt_private_key_iv text,
    required_instance_ci_template character varying,
    dns_rebinding_protection_enabled boolean DEFAULT true NOT NULL,
    default_project_deletion_protection boolean DEFAULT false NOT NULL,
    grafana_enabled boolean DEFAULT false NOT NULL,
    lock_memberships_to_ldap boolean DEFAULT false NOT NULL,
    time_tracking_limit_to_hours boolean DEFAULT false NOT NULL,
    grafana_url character varying DEFAULT '/-/grafana'::character varying NOT NULL,
    login_recaptcha_protection_enabled boolean DEFAULT false NOT NULL,
    outbound_local_requests_whitelist character varying(255)[] DEFAULT '{}'::character varying[] NOT NULL,
    raw_blob_request_limit integer DEFAULT 300 NOT NULL,
    allow_local_requests_from_web_hooks_and_services boolean DEFAULT false NOT NULL,
    allow_local_requests_from_system_hooks boolean DEFAULT true NOT NULL,
    instance_administration_project_id bigint,
    asset_proxy_enabled boolean DEFAULT false NOT NULL,
    asset_proxy_url character varying,
    encrypted_asset_proxy_secret_key text,
    encrypted_asset_proxy_secret_key_iv character varying,
    static_objects_external_storage_url character varying(255),
    static_objects_external_storage_auth_token character varying(255),
    max_personal_access_token_lifetime integer,
    throttle_protected_paths_enabled boolean DEFAULT false NOT NULL,
    throttle_protected_paths_requests_per_period integer DEFAULT 10 NOT NULL,
    throttle_protected_paths_period_in_seconds integer DEFAULT 60 NOT NULL,
    protected_paths character varying(255)[] DEFAULT '{/users/password,/users/sign_in,/api/v3/session.json,/api/v3/session,/api/v4/session.json,/api/v4/session,/users,/users/confirmation,/unsubscribes/,/import/github/personal_access_token,/admin/session,/oauth/authorize,/oauth/token}'::character varying[],
    throttle_incident_management_notification_enabled boolean DEFAULT false NOT NULL,
    throttle_incident_management_notification_period_in_seconds integer DEFAULT 3600,
    throttle_incident_management_notification_per_period integer DEFAULT 3600,
    push_event_hooks_limit integer DEFAULT 3 NOT NULL,
    push_event_activities_limit integer DEFAULT 3 NOT NULL,
    custom_http_clone_url_root character varying(511),
    deletion_adjourned_period integer DEFAULT 7 NOT NULL,
    license_trial_ends_on date,
    eks_integration_enabled boolean DEFAULT false NOT NULL,
    eks_account_id character varying(128),
    eks_access_key_id character varying(128),
    encrypted_eks_secret_access_key_iv character varying(255),
    encrypted_eks_secret_access_key text,
    snowplow_app_id character varying,
    productivity_analytics_start_date timestamp with time zone,
    default_ci_config_path character varying(255),
    sourcegraph_enabled boolean DEFAULT false NOT NULL,
    sourcegraph_url character varying(255),
    sourcegraph_public_only boolean DEFAULT true NOT NULL,
    snippet_size_limit bigint DEFAULT 52428800 NOT NULL,
    minimum_password_length integer DEFAULT 8 NOT NULL,
    encrypted_akismet_api_key text,
    encrypted_akismet_api_key_iv character varying(255),
    encrypted_elasticsearch_aws_secret_access_key text,
    encrypted_elasticsearch_aws_secret_access_key_iv character varying(255),
    encrypted_recaptcha_private_key text,
    encrypted_recaptcha_private_key_iv character varying(255),
    encrypted_recaptcha_site_key text,
    encrypted_recaptcha_site_key_iv character varying(255),
    encrypted_slack_app_secret text,
    encrypted_slack_app_secret_iv character varying(255),
    encrypted_slack_app_verification_token text,
    encrypted_slack_app_verification_token_iv character varying(255),
    force_pages_access_control boolean DEFAULT false NOT NULL,
    updating_name_disabled_for_users boolean DEFAULT false NOT NULL,
    instance_administrators_group_id integer,
    elasticsearch_indexed_field_length_limit integer DEFAULT 0 NOT NULL,
    elasticsearch_max_bulk_size_mb smallint DEFAULT 10 NOT NULL,
    elasticsearch_max_bulk_concurrency smallint DEFAULT 10 NOT NULL,
    disable_overriding_approvers_per_merge_request boolean DEFAULT false NOT NULL,
    prevent_merge_requests_author_approval boolean DEFAULT false NOT NULL,
    prevent_merge_requests_committers_approval boolean DEFAULT false NOT NULL,
    email_restrictions_enabled boolean DEFAULT false NOT NULL,
    email_restrictions text,
    npm_package_requests_forwarding boolean DEFAULT true NOT NULL,
    seat_link_enabled boolean DEFAULT true NOT NULL,
    container_expiration_policies_enable_historic_entries boolean DEFAULT false NOT NULL,
    issues_create_limit integer DEFAULT 0 NOT NULL,
    push_rule_id bigint,
    group_owners_can_manage_default_branch_protection boolean DEFAULT true NOT NULL,
    container_registry_vendor text DEFAULT ''::text NOT NULL,
    container_registry_version text DEFAULT ''::text NOT NULL,
    container_registry_features text[] DEFAULT '{}'::text[] NOT NULL,
    spam_check_endpoint_url text,
    spam_check_endpoint_enabled boolean DEFAULT false NOT NULL,
    elasticsearch_pause_indexing boolean DEFAULT false NOT NULL,
    repository_storages_weighted jsonb DEFAULT '{}'::jsonb NOT NULL,
    max_import_size integer DEFAULT 0 NOT NULL,
    enforce_pat_expiration boolean DEFAULT true NOT NULL,
    compliance_frameworks smallint[] DEFAULT '{}'::smallint[] NOT NULL,
    notify_on_unknown_sign_in boolean DEFAULT true NOT NULL,
    default_branch_name text,
    project_import_limit integer DEFAULT 6 NOT NULL,
    project_export_limit integer DEFAULT 6 NOT NULL,
    project_download_export_limit integer DEFAULT 1 NOT NULL,
    group_import_limit integer DEFAULT 6 NOT NULL,
    group_export_limit integer DEFAULT 6 NOT NULL,
    group_download_export_limit integer DEFAULT 1 NOT NULL,
    maintenance_mode boolean DEFAULT false NOT NULL,
    maintenance_mode_message text,
    wiki_page_max_content_bytes bigint DEFAULT 52428800 NOT NULL,
    elasticsearch_indexed_file_size_limit_kb integer DEFAULT 1024 NOT NULL,
    enforce_namespace_storage_limit boolean DEFAULT false NOT NULL,
    container_registry_delete_tags_service_timeout integer DEFAULT 250 NOT NULL,
    kroki_url character varying,
    kroki_enabled boolean,
    elasticsearch_client_request_timeout integer DEFAULT 0 NOT NULL,
    gitpod_enabled boolean DEFAULT false NOT NULL,
    gitpod_url text DEFAULT 'https://gitpod.io/'::text,
    abuse_notification_email character varying,
    require_admin_approval_after_user_signup boolean DEFAULT true NOT NULL,
    help_page_documentation_base_url text,
    automatic_purchased_storage_allocation boolean DEFAULT false NOT NULL,
    encrypted_ci_jwt_signing_key text,
    encrypted_ci_jwt_signing_key_iv text,
    container_registry_expiration_policies_worker_capacity integer DEFAULT 0 NOT NULL,
    elasticsearch_analyzers_smartcn_enabled boolean DEFAULT false NOT NULL,
    elasticsearch_analyzers_smartcn_search boolean DEFAULT false NOT NULL,
    elasticsearch_analyzers_kuromoji_enabled boolean DEFAULT false NOT NULL,
    elasticsearch_analyzers_kuromoji_search boolean DEFAULT false NOT NULL,
    secret_detection_token_revocation_enabled boolean DEFAULT false NOT NULL,
    secret_detection_token_revocation_url text,
    encrypted_secret_detection_token_revocation_token text,
    encrypted_secret_detection_token_revocation_token_iv text,
    domain_denylist_enabled boolean DEFAULT false,
    domain_denylist text,
    domain_allowlist text,
    new_user_signups_cap integer,
    encrypted_cloud_license_auth_token text,
    encrypted_cloud_license_auth_token_iv text,
    secret_detection_revocation_token_types_url text,
    cloud_license_enabled boolean DEFAULT false NOT NULL,
    disable_feed_token boolean DEFAULT false NOT NULL,
    personal_access_token_prefix text,
    rate_limiting_response_text text,
    invisible_captcha_enabled boolean DEFAULT false NOT NULL,
    container_registry_cleanup_tags_service_max_list_size integer DEFAULT 200 NOT NULL,
    enforce_ssh_key_expiration boolean DEFAULT true NOT NULL,
    git_two_factor_session_expiry integer DEFAULT 15 NOT NULL,
    keep_latest_artifact boolean DEFAULT true NOT NULL,
    notes_create_limit integer DEFAULT 300 NOT NULL,
    notes_create_limit_allowlist text[] DEFAULT '{}'::text[] NOT NULL,
    kroki_formats jsonb DEFAULT '{}'::jsonb NOT NULL,
    in_product_marketing_emails_enabled boolean DEFAULT true NOT NULL,
    asset_proxy_whitelist text,
    admin_mode boolean DEFAULT false NOT NULL,
    delayed_project_removal boolean DEFAULT false NOT NULL,
    lock_delayed_project_removal boolean DEFAULT false NOT NULL,
    external_pipeline_validation_service_timeout integer,
    encrypted_external_pipeline_validation_service_token text,
    encrypted_external_pipeline_validation_service_token_iv text,
    external_pipeline_validation_service_url text,
    throttle_unauthenticated_packages_api_requests_per_period integer DEFAULT 800 NOT NULL,
    throttle_unauthenticated_packages_api_period_in_seconds integer DEFAULT 15 NOT NULL,
    throttle_authenticated_packages_api_requests_per_period integer DEFAULT 1000 NOT NULL,
    throttle_authenticated_packages_api_period_in_seconds integer DEFAULT 15 NOT NULL,
    throttle_unauthenticated_packages_api_enabled boolean DEFAULT false NOT NULL,
    throttle_authenticated_packages_api_enabled boolean DEFAULT false NOT NULL,
    deactivate_dormant_users boolean DEFAULT false NOT NULL,
    whats_new_variant smallint DEFAULT 0,
    encrypted_spam_check_api_key bytea,
    encrypted_spam_check_api_key_iv bytea,
    floc_enabled boolean DEFAULT false NOT NULL,
    elasticsearch_username text,
    encrypted_elasticsearch_password bytea,
    encrypted_elasticsearch_password_iv bytea,
    diff_max_lines integer DEFAULT 50000 NOT NULL,
    diff_max_files integer DEFAULT 1000 NOT NULL,
    valid_runner_registrars character varying[] DEFAULT '{project,group}'::character varying[],
    encrypted_mailgun_signing_key bytea,
    encrypted_mailgun_signing_key_iv bytea,
    mailgun_events_enabled boolean DEFAULT false NOT NULL,
    usage_ping_features_enabled boolean DEFAULT false NOT NULL,
    encrypted_customers_dot_jwt_signing_key bytea,
    encrypted_customers_dot_jwt_signing_key_iv bytea,
    pypi_package_requests_forwarding boolean DEFAULT true NOT NULL,
    CONSTRAINT app_settings_container_reg_cleanup_tags_max_list_size_positive CHECK ((container_registry_cleanup_tags_service_max_list_size >= 0)),
    CONSTRAINT app_settings_ext_pipeline_validation_service_url_text_limit CHECK ((char_length(external_pipeline_validation_service_url) <= 255)),
    CONSTRAINT app_settings_registry_exp_policies_worker_capacity_positive CHECK ((container_registry_expiration_policies_worker_capacity >= 0)),
    CONSTRAINT check_17d9558205 CHECK ((char_length((kroki_url)::text) <= 1024)),
    CONSTRAINT check_2dba05b802 CHECK ((char_length(gitpod_url) <= 255)),
    CONSTRAINT check_51700b31b5 CHECK ((char_length(default_branch_name) <= 255)),
    CONSTRAINT check_57123c9593 CHECK ((char_length(help_page_documentation_base_url) <= 255)),
    CONSTRAINT check_718b4458ae CHECK ((char_length(personal_access_token_prefix) <= 20)),
    CONSTRAINT check_7227fad848 CHECK ((char_length(rate_limiting_response_text) <= 255)),
    CONSTRAINT check_85a39b68ff CHECK ((char_length(encrypted_ci_jwt_signing_key_iv) <= 255)),
    CONSTRAINT check_9a719834eb CHECK ((char_length(secret_detection_token_revocation_url) <= 255)),
    CONSTRAINT check_9c6c447a13 CHECK ((char_length(maintenance_mode_message) <= 255)),
    CONSTRAINT check_a5704163cc CHECK ((char_length(secret_detection_revocation_token_types_url) <= 255)),
    CONSTRAINT check_d03919528d CHECK ((char_length(container_registry_vendor) <= 255)),
    CONSTRAINT check_d820146492 CHECK ((char_length(spam_check_endpoint_url) <= 255)),
    CONSTRAINT check_e5024c8801 CHECK ((char_length(elasticsearch_username) <= 255)),
    CONSTRAINT check_e5aba18f02 CHECK ((char_length(container_registry_version) <= 255)),
    CONSTRAINT check_ef6176834f CHECK ((char_length(encrypted_cloud_license_auth_token_iv) <= 255))
);


ALTER TABLE public.application_settings OWNER TO gitlab;

--
-- Name: application_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.application_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.application_settings_id_seq OWNER TO gitlab;

--
-- Name: application_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.application_settings_id_seq OWNED BY public.application_settings.id;


--
-- Name: approval_merge_request_rule_sources; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_merge_request_rule_sources (
    id bigint NOT NULL,
    approval_merge_request_rule_id bigint NOT NULL,
    approval_project_rule_id bigint NOT NULL
);


ALTER TABLE public.approval_merge_request_rule_sources OWNER TO gitlab;

--
-- Name: approval_merge_request_rule_sources_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approval_merge_request_rule_sources_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approval_merge_request_rule_sources_id_seq OWNER TO gitlab;

--
-- Name: approval_merge_request_rule_sources_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approval_merge_request_rule_sources_id_seq OWNED BY public.approval_merge_request_rule_sources.id;


--
-- Name: approval_merge_request_rules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_merge_request_rules (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    merge_request_id integer NOT NULL,
    approvals_required smallint DEFAULT 0 NOT NULL,
    name character varying NOT NULL,
    rule_type smallint DEFAULT 1 NOT NULL,
    report_type smallint,
    section text,
    modified_from_project_rule boolean DEFAULT false NOT NULL,
    CONSTRAINT check_6fca5928b2 CHECK ((char_length(section) <= 255))
);


ALTER TABLE public.approval_merge_request_rules OWNER TO gitlab;

--
-- Name: approval_merge_request_rules_approved_approvers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_merge_request_rules_approved_approvers (
    id bigint NOT NULL,
    approval_merge_request_rule_id bigint NOT NULL,
    user_id integer NOT NULL
);


ALTER TABLE public.approval_merge_request_rules_approved_approvers OWNER TO gitlab;

--
-- Name: approval_merge_request_rules_approved_approvers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approval_merge_request_rules_approved_approvers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approval_merge_request_rules_approved_approvers_id_seq OWNER TO gitlab;

--
-- Name: approval_merge_request_rules_approved_approvers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approval_merge_request_rules_approved_approvers_id_seq OWNED BY public.approval_merge_request_rules_approved_approvers.id;


--
-- Name: approval_merge_request_rules_groups; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_merge_request_rules_groups (
    id bigint NOT NULL,
    approval_merge_request_rule_id bigint NOT NULL,
    group_id integer NOT NULL
);


ALTER TABLE public.approval_merge_request_rules_groups OWNER TO gitlab;

--
-- Name: approval_merge_request_rules_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approval_merge_request_rules_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approval_merge_request_rules_groups_id_seq OWNER TO gitlab;

--
-- Name: approval_merge_request_rules_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approval_merge_request_rules_groups_id_seq OWNED BY public.approval_merge_request_rules_groups.id;


--
-- Name: approval_merge_request_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approval_merge_request_rules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approval_merge_request_rules_id_seq OWNER TO gitlab;

--
-- Name: approval_merge_request_rules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approval_merge_request_rules_id_seq OWNED BY public.approval_merge_request_rules.id;


--
-- Name: approval_merge_request_rules_users; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_merge_request_rules_users (
    id bigint NOT NULL,
    approval_merge_request_rule_id bigint NOT NULL,
    user_id integer NOT NULL
);


ALTER TABLE public.approval_merge_request_rules_users OWNER TO gitlab;

--
-- Name: approval_merge_request_rules_users_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approval_merge_request_rules_users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approval_merge_request_rules_users_id_seq OWNER TO gitlab;

--
-- Name: approval_merge_request_rules_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approval_merge_request_rules_users_id_seq OWNED BY public.approval_merge_request_rules_users.id;


--
-- Name: approval_project_rules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_project_rules (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer NOT NULL,
    approvals_required smallint DEFAULT 0 NOT NULL,
    name character varying NOT NULL,
    rule_type smallint DEFAULT 0 NOT NULL,
    scanners text[],
    vulnerabilities_allowed smallint,
    severity_levels text[] DEFAULT '{}'::text[] NOT NULL
);


ALTER TABLE public.approval_project_rules OWNER TO gitlab;

--
-- Name: approval_project_rules_groups; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_project_rules_groups (
    id bigint NOT NULL,
    approval_project_rule_id bigint NOT NULL,
    group_id integer NOT NULL
);


ALTER TABLE public.approval_project_rules_groups OWNER TO gitlab;

--
-- Name: approval_project_rules_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approval_project_rules_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approval_project_rules_groups_id_seq OWNER TO gitlab;

--
-- Name: approval_project_rules_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approval_project_rules_groups_id_seq OWNED BY public.approval_project_rules_groups.id;


--
-- Name: approval_project_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approval_project_rules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approval_project_rules_id_seq OWNER TO gitlab;

--
-- Name: approval_project_rules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approval_project_rules_id_seq OWNED BY public.approval_project_rules.id;


--
-- Name: approval_project_rules_protected_branches; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_project_rules_protected_branches (
    approval_project_rule_id bigint NOT NULL,
    protected_branch_id bigint NOT NULL
);


ALTER TABLE public.approval_project_rules_protected_branches OWNER TO gitlab;

--
-- Name: approval_project_rules_users; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approval_project_rules_users (
    id bigint NOT NULL,
    approval_project_rule_id bigint NOT NULL,
    user_id integer NOT NULL
);


ALTER TABLE public.approval_project_rules_users OWNER TO gitlab;

--
-- Name: approval_project_rules_users_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approval_project_rules_users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approval_project_rules_users_id_seq OWNER TO gitlab;

--
-- Name: approval_project_rules_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approval_project_rules_users_id_seq OWNED BY public.approval_project_rules_users.id;


--
-- Name: approvals; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approvals (
    id integer NOT NULL,
    merge_request_id integer NOT NULL,
    user_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone
);


ALTER TABLE public.approvals OWNER TO gitlab;

--
-- Name: approvals_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approvals_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approvals_id_seq OWNER TO gitlab;

--
-- Name: approvals_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approvals_id_seq OWNED BY public.approvals.id;


--
-- Name: approver_groups; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approver_groups (
    id integer NOT NULL,
    target_id integer NOT NULL,
    target_type character varying NOT NULL,
    group_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone
);


ALTER TABLE public.approver_groups OWNER TO gitlab;

--
-- Name: approver_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approver_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approver_groups_id_seq OWNER TO gitlab;

--
-- Name: approver_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approver_groups_id_seq OWNED BY public.approver_groups.id;


--
-- Name: approvers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.approvers (
    id integer NOT NULL,
    target_id integer NOT NULL,
    target_type character varying,
    user_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone
);


ALTER TABLE public.approvers OWNER TO gitlab;

--
-- Name: approvers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.approvers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.approvers_id_seq OWNER TO gitlab;

--
-- Name: approvers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.approvers_id_seq OWNED BY public.approvers.id;


--
-- Name: ar_internal_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ar_internal_metadata (
    key character varying NOT NULL,
    value character varying,
    created_at timestamp(6) without time zone NOT NULL,
    updated_at timestamp(6) without time zone NOT NULL
);


ALTER TABLE public.ar_internal_metadata OWNER TO gitlab;

--
-- Name: atlassian_identities; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.atlassian_identities (
    user_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    expires_at timestamp with time zone,
    extern_uid text NOT NULL,
    encrypted_token bytea,
    encrypted_token_iv bytea,
    encrypted_refresh_token bytea,
    encrypted_refresh_token_iv bytea,
    CONSTRAINT atlassian_identities_refresh_token_iv_length_constraint CHECK ((octet_length(encrypted_refresh_token_iv) <= 12)),
    CONSTRAINT atlassian_identities_refresh_token_length_constraint CHECK ((octet_length(encrypted_refresh_token) <= 512)),
    CONSTRAINT atlassian_identities_token_iv_length_constraint CHECK ((octet_length(encrypted_token_iv) <= 12)),
    CONSTRAINT atlassian_identities_token_length_constraint CHECK ((octet_length(encrypted_token) <= 2048)),
    CONSTRAINT check_32f5779763 CHECK ((char_length(extern_uid) <= 255))
);


ALTER TABLE public.atlassian_identities OWNER TO gitlab;

--
-- Name: atlassian_identities_user_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.atlassian_identities_user_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.atlassian_identities_user_id_seq OWNER TO gitlab;

--
-- Name: atlassian_identities_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.atlassian_identities_user_id_seq OWNED BY public.atlassian_identities.user_id;


--
-- Name: authentication_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.authentication_events (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    user_id bigint,
    result smallint NOT NULL,
    ip_address inet,
    provider text NOT NULL,
    user_name text NOT NULL,
    CONSTRAINT check_45a6cc4e80 CHECK ((char_length(user_name) <= 255)),
    CONSTRAINT check_c64f424630 CHECK ((char_length(provider) <= 64))
);


ALTER TABLE public.authentication_events OWNER TO gitlab;

--
-- Name: authentication_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.authentication_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.authentication_events_id_seq OWNER TO gitlab;

--
-- Name: authentication_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.authentication_events_id_seq OWNED BY public.authentication_events.id;


--
-- Name: award_emoji; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.award_emoji (
    id integer NOT NULL,
    name character varying,
    user_id integer,
    awardable_id integer,
    awardable_type character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone
);


ALTER TABLE public.award_emoji OWNER TO gitlab;

--
-- Name: award_emoji_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.award_emoji_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.award_emoji_id_seq OWNER TO gitlab;

--
-- Name: award_emoji_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.award_emoji_id_seq OWNED BY public.award_emoji.id;


--
-- Name: aws_roles; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.aws_roles (
    user_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    role_arn character varying(2048),
    role_external_id character varying(64) NOT NULL,
    region text,
    CONSTRAINT check_57adedab55 CHECK ((char_length(region) <= 255))
);


ALTER TABLE public.aws_roles OWNER TO gitlab;

--
-- Name: background_migration_jobs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.background_migration_jobs (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    class_name text NOT NULL,
    arguments jsonb NOT NULL,
    CONSTRAINT check_b0de0a5852 CHECK ((char_length(class_name) <= 200))
);


ALTER TABLE public.background_migration_jobs OWNER TO gitlab;

--
-- Name: background_migration_jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.background_migration_jobs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.background_migration_jobs_id_seq OWNER TO gitlab;

--
-- Name: background_migration_jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.background_migration_jobs_id_seq OWNED BY public.background_migration_jobs.id;


--
-- Name: badges; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.badges (
    id integer NOT NULL,
    link_url character varying NOT NULL,
    image_url character varying NOT NULL,
    project_id integer,
    group_id integer,
    type character varying NOT NULL,
    name character varying(255),
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.badges OWNER TO gitlab;

--
-- Name: badges_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.badges_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.badges_id_seq OWNER TO gitlab;

--
-- Name: badges_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.badges_id_seq OWNED BY public.badges.id;


--
-- Name: banned_users; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.banned_users (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    user_id bigint NOT NULL
);


ALTER TABLE public.banned_users OWNER TO gitlab;

--
-- Name: batched_background_migration_jobs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.batched_background_migration_jobs (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    started_at timestamp with time zone,
    finished_at timestamp with time zone,
    batched_background_migration_id bigint NOT NULL,
    min_value bigint NOT NULL,
    max_value bigint NOT NULL,
    batch_size integer NOT NULL,
    sub_batch_size integer NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    attempts smallint DEFAULT 0 NOT NULL,
    metrics jsonb DEFAULT '{}'::jsonb NOT NULL,
    pause_ms integer DEFAULT 100 NOT NULL
);


ALTER TABLE public.batched_background_migration_jobs OWNER TO gitlab;

--
-- Name: batched_background_migration_jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.batched_background_migration_jobs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.batched_background_migration_jobs_id_seq OWNER TO gitlab;

--
-- Name: batched_background_migration_jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.batched_background_migration_jobs_id_seq OWNED BY public.batched_background_migration_jobs.id;


--
-- Name: batched_background_migrations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.batched_background_migrations (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    min_value bigint DEFAULT 1 NOT NULL,
    max_value bigint NOT NULL,
    batch_size integer NOT NULL,
    sub_batch_size integer NOT NULL,
    "interval" smallint NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    job_class_name text NOT NULL,
    batch_class_name text DEFAULT 'PrimaryKeyBatchingStrategy'::text NOT NULL,
    table_name text NOT NULL,
    column_name text NOT NULL,
    job_arguments jsonb DEFAULT '"[]"'::jsonb NOT NULL,
    total_tuple_count bigint,
    pause_ms integer DEFAULT 100 NOT NULL,
    CONSTRAINT check_5bb0382d6f CHECK ((char_length(column_name) <= 63)),
    CONSTRAINT check_6b6a06254a CHECK ((char_length(table_name) <= 63)),
    CONSTRAINT check_batch_size_in_range CHECK ((batch_size >= sub_batch_size)),
    CONSTRAINT check_e6c75b1e29 CHECK ((char_length(job_class_name) <= 100)),
    CONSTRAINT check_fe10674721 CHECK ((char_length(batch_class_name) <= 100)),
    CONSTRAINT check_max_value_in_range CHECK ((max_value >= min_value)),
    CONSTRAINT check_positive_min_value CHECK ((min_value > 0)),
    CONSTRAINT check_positive_sub_batch_size CHECK ((sub_batch_size > 0))
);


ALTER TABLE public.batched_background_migrations OWNER TO gitlab;

--
-- Name: batched_background_migrations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.batched_background_migrations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.batched_background_migrations_id_seq OWNER TO gitlab;

--
-- Name: batched_background_migrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.batched_background_migrations_id_seq OWNED BY public.batched_background_migrations.id;


--
-- Name: board_assignees; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.board_assignees (
    id integer NOT NULL,
    board_id integer NOT NULL,
    assignee_id integer NOT NULL
);


ALTER TABLE public.board_assignees OWNER TO gitlab;

--
-- Name: board_assignees_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.board_assignees_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.board_assignees_id_seq OWNER TO gitlab;

--
-- Name: board_assignees_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.board_assignees_id_seq OWNED BY public.board_assignees.id;


--
-- Name: board_group_recent_visits; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.board_group_recent_visits (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    user_id integer,
    board_id integer,
    group_id integer
);


ALTER TABLE public.board_group_recent_visits OWNER TO gitlab;

--
-- Name: board_group_recent_visits_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.board_group_recent_visits_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.board_group_recent_visits_id_seq OWNER TO gitlab;

--
-- Name: board_group_recent_visits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.board_group_recent_visits_id_seq OWNED BY public.board_group_recent_visits.id;


--
-- Name: board_labels; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.board_labels (
    id integer NOT NULL,
    board_id integer NOT NULL,
    label_id integer NOT NULL
);


ALTER TABLE public.board_labels OWNER TO gitlab;

--
-- Name: board_labels_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.board_labels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.board_labels_id_seq OWNER TO gitlab;

--
-- Name: board_labels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.board_labels_id_seq OWNED BY public.board_labels.id;


--
-- Name: board_project_recent_visits; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.board_project_recent_visits (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    user_id integer,
    project_id integer,
    board_id integer
);


ALTER TABLE public.board_project_recent_visits OWNER TO gitlab;

--
-- Name: board_project_recent_visits_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.board_project_recent_visits_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.board_project_recent_visits_id_seq OWNER TO gitlab;

--
-- Name: board_project_recent_visits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.board_project_recent_visits_id_seq OWNED BY public.board_project_recent_visits.id;


--
-- Name: board_user_preferences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.board_user_preferences (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    board_id bigint NOT NULL,
    hide_labels boolean,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.board_user_preferences OWNER TO gitlab;

--
-- Name: board_user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.board_user_preferences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.board_user_preferences_id_seq OWNER TO gitlab;

--
-- Name: board_user_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.board_user_preferences_id_seq OWNED BY public.board_user_preferences.id;


--
-- Name: boards; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.boards (
    id integer NOT NULL,
    project_id integer,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    name character varying DEFAULT 'Development'::character varying NOT NULL,
    milestone_id integer,
    group_id integer,
    weight integer,
    hide_backlog_list boolean DEFAULT false NOT NULL,
    hide_closed_list boolean DEFAULT false NOT NULL,
    iteration_id bigint
);


ALTER TABLE public.boards OWNER TO gitlab;

--
-- Name: boards_epic_board_labels; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.boards_epic_board_labels (
    id bigint NOT NULL,
    epic_board_id bigint NOT NULL,
    label_id bigint NOT NULL
);


ALTER TABLE public.boards_epic_board_labels OWNER TO gitlab;

--
-- Name: boards_epic_board_labels_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.boards_epic_board_labels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.boards_epic_board_labels_id_seq OWNER TO gitlab;

--
-- Name: boards_epic_board_labels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.boards_epic_board_labels_id_seq OWNED BY public.boards_epic_board_labels.id;


--
-- Name: boards_epic_board_positions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.boards_epic_board_positions (
    id bigint NOT NULL,
    epic_board_id bigint NOT NULL,
    epic_id bigint NOT NULL,
    relative_position integer,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.boards_epic_board_positions OWNER TO gitlab;

--
-- Name: boards_epic_board_positions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.boards_epic_board_positions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.boards_epic_board_positions_id_seq OWNER TO gitlab;

--
-- Name: boards_epic_board_positions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.boards_epic_board_positions_id_seq OWNED BY public.boards_epic_board_positions.id;


--
-- Name: boards_epic_board_recent_visits; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.boards_epic_board_recent_visits (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    epic_board_id bigint NOT NULL,
    group_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.boards_epic_board_recent_visits OWNER TO gitlab;

--
-- Name: boards_epic_board_recent_visits_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.boards_epic_board_recent_visits_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.boards_epic_board_recent_visits_id_seq OWNER TO gitlab;

--
-- Name: boards_epic_board_recent_visits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.boards_epic_board_recent_visits_id_seq OWNED BY public.boards_epic_board_recent_visits.id;


--
-- Name: boards_epic_boards; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.boards_epic_boards (
    id bigint NOT NULL,
    hide_backlog_list boolean DEFAULT false NOT NULL,
    hide_closed_list boolean DEFAULT false NOT NULL,
    group_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name text DEFAULT 'Development'::text NOT NULL,
    CONSTRAINT check_bcbbffe601 CHECK ((char_length(name) <= 255))
);


ALTER TABLE public.boards_epic_boards OWNER TO gitlab;

--
-- Name: boards_epic_boards_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.boards_epic_boards_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.boards_epic_boards_id_seq OWNER TO gitlab;

--
-- Name: boards_epic_boards_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.boards_epic_boards_id_seq OWNED BY public.boards_epic_boards.id;


--
-- Name: boards_epic_list_user_preferences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.boards_epic_list_user_preferences (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    epic_list_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    collapsed boolean DEFAULT false NOT NULL
);


ALTER TABLE public.boards_epic_list_user_preferences OWNER TO gitlab;

--
-- Name: boards_epic_list_user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.boards_epic_list_user_preferences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.boards_epic_list_user_preferences_id_seq OWNER TO gitlab;

--
-- Name: boards_epic_list_user_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.boards_epic_list_user_preferences_id_seq OWNED BY public.boards_epic_list_user_preferences.id;


--
-- Name: boards_epic_lists; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.boards_epic_lists (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    epic_board_id bigint NOT NULL,
    label_id bigint,
    "position" integer,
    list_type smallint DEFAULT 1 NOT NULL,
    CONSTRAINT boards_epic_lists_position_constraint CHECK (((list_type <> 1) OR (("position" IS NOT NULL) AND ("position" >= 0))))
);


ALTER TABLE public.boards_epic_lists OWNER TO gitlab;

--
-- Name: boards_epic_lists_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.boards_epic_lists_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.boards_epic_lists_id_seq OWNER TO gitlab;

--
-- Name: boards_epic_lists_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.boards_epic_lists_id_seq OWNED BY public.boards_epic_lists.id;


--
-- Name: boards_epic_user_preferences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.boards_epic_user_preferences (
    id bigint NOT NULL,
    board_id bigint NOT NULL,
    user_id bigint NOT NULL,
    epic_id bigint NOT NULL,
    collapsed boolean DEFAULT false NOT NULL
);


ALTER TABLE public.boards_epic_user_preferences OWNER TO gitlab;

--
-- Name: boards_epic_user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.boards_epic_user_preferences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.boards_epic_user_preferences_id_seq OWNER TO gitlab;

--
-- Name: boards_epic_user_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.boards_epic_user_preferences_id_seq OWNED BY public.boards_epic_user_preferences.id;


--
-- Name: boards_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.boards_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.boards_id_seq OWNER TO gitlab;

--
-- Name: boards_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.boards_id_seq OWNED BY public.boards.id;


--
-- Name: broadcast_messages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.broadcast_messages (
    id integer NOT NULL,
    message text NOT NULL,
    starts_at timestamp without time zone NOT NULL,
    ends_at timestamp without time zone NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    color character varying,
    font character varying,
    message_html text NOT NULL,
    cached_markdown_version integer,
    target_path character varying(255),
    broadcast_type smallint DEFAULT 1 NOT NULL,
    dismissable boolean
);


ALTER TABLE public.broadcast_messages OWNER TO gitlab;

--
-- Name: broadcast_messages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.broadcast_messages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.broadcast_messages_id_seq OWNER TO gitlab;

--
-- Name: broadcast_messages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.broadcast_messages_id_seq OWNED BY public.broadcast_messages.id;


--
-- Name: bulk_import_configurations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.bulk_import_configurations (
    id bigint NOT NULL,
    bulk_import_id integer NOT NULL,
    encrypted_url text,
    encrypted_url_iv text,
    encrypted_access_token text,
    encrypted_access_token_iv text,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.bulk_import_configurations OWNER TO gitlab;

--
-- Name: bulk_import_configurations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.bulk_import_configurations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.bulk_import_configurations_id_seq OWNER TO gitlab;

--
-- Name: bulk_import_configurations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.bulk_import_configurations_id_seq OWNED BY public.bulk_import_configurations.id;


--
-- Name: bulk_import_entities; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.bulk_import_entities (
    id bigint NOT NULL,
    bulk_import_id bigint NOT NULL,
    parent_id bigint,
    namespace_id bigint,
    project_id bigint,
    source_type smallint NOT NULL,
    source_full_path text NOT NULL,
    destination_name text NOT NULL,
    destination_namespace text NOT NULL,
    status smallint NOT NULL,
    jid text,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    CONSTRAINT check_13f279f7da CHECK ((char_length(source_full_path) <= 255)),
    CONSTRAINT check_715d725ea2 CHECK ((char_length(destination_name) <= 255)),
    CONSTRAINT check_796a4d9cc6 CHECK ((char_length(jid) <= 255)),
    CONSTRAINT check_b834fff4d9 CHECK ((char_length(destination_namespace) <= 255))
);


ALTER TABLE public.bulk_import_entities OWNER TO gitlab;

--
-- Name: bulk_import_entities_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.bulk_import_entities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.bulk_import_entities_id_seq OWNER TO gitlab;

--
-- Name: bulk_import_entities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.bulk_import_entities_id_seq OWNED BY public.bulk_import_entities.id;


--
-- Name: bulk_import_export_uploads; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.bulk_import_export_uploads (
    id bigint NOT NULL,
    export_id bigint NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    export_file text,
    CONSTRAINT check_5add76239d CHECK ((char_length(export_file) <= 255))
);


ALTER TABLE public.bulk_import_export_uploads OWNER TO gitlab;

--
-- Name: bulk_import_export_uploads_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.bulk_import_export_uploads_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.bulk_import_export_uploads_id_seq OWNER TO gitlab;

--
-- Name: bulk_import_export_uploads_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.bulk_import_export_uploads_id_seq OWNED BY public.bulk_import_export_uploads.id;


--
-- Name: bulk_import_exports; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.bulk_import_exports (
    id bigint NOT NULL,
    group_id bigint,
    project_id bigint,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    relation text NOT NULL,
    jid text,
    error text,
    CONSTRAINT check_24cb010672 CHECK ((char_length(relation) <= 255)),
    CONSTRAINT check_8f0f357334 CHECK ((char_length(error) <= 255)),
    CONSTRAINT check_9ee6d14d33 CHECK ((char_length(jid) <= 255))
);


ALTER TABLE public.bulk_import_exports OWNER TO gitlab;

--
-- Name: bulk_import_exports_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.bulk_import_exports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.bulk_import_exports_id_seq OWNER TO gitlab;

--
-- Name: bulk_import_exports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.bulk_import_exports_id_seq OWNED BY public.bulk_import_exports.id;


--
-- Name: bulk_import_failures; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.bulk_import_failures (
    id bigint NOT NULL,
    bulk_import_entity_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    pipeline_class text NOT NULL,
    exception_class text NOT NULL,
    exception_message text NOT NULL,
    correlation_id_value text,
    pipeline_step text,
    CONSTRAINT check_053d65c7a4 CHECK ((char_length(pipeline_class) <= 255)),
    CONSTRAINT check_6eca8f972e CHECK ((char_length(exception_message) <= 255)),
    CONSTRAINT check_721a422375 CHECK ((char_length(pipeline_step) <= 255)),
    CONSTRAINT check_c7dba8398e CHECK ((char_length(exception_class) <= 255)),
    CONSTRAINT check_e787285882 CHECK ((char_length(correlation_id_value) <= 255))
);


ALTER TABLE public.bulk_import_failures OWNER TO gitlab;

--
-- Name: bulk_import_failures_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.bulk_import_failures_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.bulk_import_failures_id_seq OWNER TO gitlab;

--
-- Name: bulk_import_failures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.bulk_import_failures_id_seq OWNED BY public.bulk_import_failures.id;


--
-- Name: bulk_import_trackers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.bulk_import_trackers (
    id bigint NOT NULL,
    bulk_import_entity_id bigint NOT NULL,
    relation text NOT NULL,
    next_page text,
    has_next_page boolean DEFAULT false NOT NULL,
    jid text,
    stage smallint DEFAULT 0 NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    CONSTRAINT check_2d45cae629 CHECK ((char_length(relation) <= 255)),
    CONSTRAINT check_40aeaa600b CHECK ((char_length(next_page) <= 255)),
    CONSTRAINT check_603f91cb06 CHECK ((char_length(jid) <= 255)),
    CONSTRAINT check_next_page_requirement CHECK (((has_next_page IS FALSE) OR (next_page IS NOT NULL)))
);


ALTER TABLE public.bulk_import_trackers OWNER TO gitlab;

--
-- Name: bulk_import_trackers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.bulk_import_trackers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.bulk_import_trackers_id_seq OWNER TO gitlab;

--
-- Name: bulk_import_trackers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.bulk_import_trackers_id_seq OWNED BY public.bulk_import_trackers.id;


--
-- Name: bulk_imports; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.bulk_imports (
    id bigint NOT NULL,
    user_id integer NOT NULL,
    source_type smallint NOT NULL,
    status smallint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.bulk_imports OWNER TO gitlab;

--
-- Name: bulk_imports_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.bulk_imports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.bulk_imports_id_seq OWNER TO gitlab;

--
-- Name: bulk_imports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.bulk_imports_id_seq OWNED BY public.bulk_imports.id;


--
-- Name: chat_names; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.chat_names (
    id integer NOT NULL,
    user_id integer NOT NULL,
    service_id integer NOT NULL,
    team_id character varying NOT NULL,
    team_domain character varying,
    chat_id character varying NOT NULL,
    chat_name character varying,
    last_used_at timestamp without time zone,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.chat_names OWNER TO gitlab;

--
-- Name: chat_names_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.chat_names_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.chat_names_id_seq OWNER TO gitlab;

--
-- Name: chat_names_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.chat_names_id_seq OWNED BY public.chat_names.id;


--
-- Name: chat_teams; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.chat_teams (
    id integer NOT NULL,
    namespace_id integer NOT NULL,
    team_id character varying,
    name character varying,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.chat_teams OWNER TO gitlab;

--
-- Name: chat_teams_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.chat_teams_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.chat_teams_id_seq OWNER TO gitlab;

--
-- Name: chat_teams_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.chat_teams_id_seq OWNED BY public.chat_teams.id;


--
-- Name: ci_build_needs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_build_needs (
    id integer NOT NULL,
    build_id_convert_to_bigint integer DEFAULT 0 NOT NULL,
    name text NOT NULL,
    artifacts boolean DEFAULT true NOT NULL,
    optional boolean DEFAULT false NOT NULL,
    build_id bigint NOT NULL
);


ALTER TABLE public.ci_build_needs OWNER TO gitlab;

--
-- Name: ci_build_needs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_build_needs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_build_needs_id_seq OWNER TO gitlab;

--
-- Name: ci_build_needs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_build_needs_id_seq OWNED BY public.ci_build_needs.id;


--
-- Name: ci_build_pending_states; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_build_pending_states (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    build_id bigint NOT NULL,
    state smallint,
    failure_reason smallint,
    trace_checksum bytea,
    trace_bytesize bigint
);


ALTER TABLE public.ci_build_pending_states OWNER TO gitlab;

--
-- Name: ci_build_pending_states_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_build_pending_states_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_build_pending_states_id_seq OWNER TO gitlab;

--
-- Name: ci_build_pending_states_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_build_pending_states_id_seq OWNED BY public.ci_build_pending_states.id;


--
-- Name: ci_build_report_results; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_build_report_results (
    build_id bigint NOT NULL,
    project_id bigint NOT NULL,
    data jsonb DEFAULT '{}'::jsonb NOT NULL
);


ALTER TABLE public.ci_build_report_results OWNER TO gitlab;

--
-- Name: ci_build_report_results_build_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_build_report_results_build_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_build_report_results_build_id_seq OWNER TO gitlab;

--
-- Name: ci_build_report_results_build_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_build_report_results_build_id_seq OWNED BY public.ci_build_report_results.build_id;


--
-- Name: ci_build_trace_chunks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_build_trace_chunks (
    id bigint NOT NULL,
    build_id_convert_to_bigint integer DEFAULT 0 NOT NULL,
    chunk_index integer NOT NULL,
    data_store integer NOT NULL,
    raw_data bytea,
    checksum bytea,
    lock_version integer DEFAULT 0 NOT NULL,
    build_id bigint NOT NULL
);


ALTER TABLE public.ci_build_trace_chunks OWNER TO gitlab;

--
-- Name: ci_build_trace_chunks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_build_trace_chunks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_build_trace_chunks_id_seq OWNER TO gitlab;

--
-- Name: ci_build_trace_chunks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_build_trace_chunks_id_seq OWNED BY public.ci_build_trace_chunks.id;


--
-- Name: ci_build_trace_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_build_trace_metadata (
    build_id bigint NOT NULL,
    trace_artifact_id bigint,
    archival_attempts smallint DEFAULT 0 NOT NULL,
    checksum bytea,
    remote_checksum bytea
);


ALTER TABLE public.ci_build_trace_metadata OWNER TO gitlab;

--
-- Name: ci_builds; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_builds (
    id integer NOT NULL,
    status character varying,
    finished_at timestamp without time zone,
    trace text,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    started_at timestamp without time zone,
    runner_id integer,
    coverage double precision,
    commit_id integer,
    name character varying,
    options text,
    allow_failure boolean DEFAULT false NOT NULL,
    stage character varying,
    trigger_request_id integer,
    stage_idx integer,
    tag boolean,
    ref character varying,
    user_id integer,
    type character varying,
    target_url character varying,
    description character varying,
    project_id integer,
    erased_by_id integer,
    erased_at timestamp without time zone,
    artifacts_expire_at timestamp without time zone,
    environment character varying,
    "when" character varying,
    yaml_variables text,
    queued_at timestamp without time zone,
    token character varying,
    lock_version integer DEFAULT 0,
    coverage_regex character varying,
    auto_canceled_by_id integer,
    retried boolean,
    stage_id integer,
    protected boolean,
    failure_reason integer,
    scheduled_at timestamp with time zone,
    token_encrypted character varying,
    upstream_pipeline_id integer,
    resource_group_id bigint,
    waiting_for_resource_at timestamp with time zone,
    processed boolean,
    scheduling_type smallint,
    id_convert_to_bigint bigint DEFAULT 0 NOT NULL,
    stage_id_convert_to_bigint bigint,
    CONSTRAINT check_1e2fbd1b39 CHECK ((lock_version IS NOT NULL))
);


ALTER TABLE public.ci_builds OWNER TO gitlab;

--
-- Name: ci_builds_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_builds_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_builds_id_seq OWNER TO gitlab;

--
-- Name: ci_builds_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_builds_id_seq OWNED BY public.ci_builds.id;


--
-- Name: ci_builds_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_builds_metadata (
    id integer NOT NULL,
    build_id integer NOT NULL,
    project_id integer NOT NULL,
    timeout integer,
    timeout_source integer DEFAULT 1 NOT NULL,
    interruptible boolean,
    config_options jsonb,
    config_variables jsonb,
    has_exposed_artifacts boolean,
    environment_auto_stop_in character varying(255),
    expanded_environment_name character varying(255),
    secrets jsonb DEFAULT '{}'::jsonb NOT NULL,
    build_id_convert_to_bigint bigint DEFAULT 0 NOT NULL,
    id_convert_to_bigint bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.ci_builds_metadata OWNER TO gitlab;

--
-- Name: ci_builds_metadata_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_builds_metadata_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_builds_metadata_id_seq OWNER TO gitlab;

--
-- Name: ci_builds_metadata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_builds_metadata_id_seq OWNED BY public.ci_builds_metadata.id;


--
-- Name: ci_builds_runner_session; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_builds_runner_session (
    id bigint NOT NULL,
    build_id_convert_to_bigint integer DEFAULT 0 NOT NULL,
    url character varying NOT NULL,
    certificate character varying,
    "authorization" character varying,
    build_id bigint NOT NULL
);


ALTER TABLE public.ci_builds_runner_session OWNER TO gitlab;

--
-- Name: ci_builds_runner_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_builds_runner_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_builds_runner_session_id_seq OWNER TO gitlab;

--
-- Name: ci_builds_runner_session_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_builds_runner_session_id_seq OWNED BY public.ci_builds_runner_session.id;


--
-- Name: ci_daily_build_group_report_results; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_daily_build_group_report_results (
    id bigint NOT NULL,
    date date NOT NULL,
    project_id bigint NOT NULL,
    last_pipeline_id bigint NOT NULL,
    ref_path text NOT NULL,
    group_name text NOT NULL,
    data jsonb NOT NULL,
    default_branch boolean DEFAULT false NOT NULL,
    group_id bigint
);


ALTER TABLE public.ci_daily_build_group_report_results OWNER TO gitlab;

--
-- Name: ci_daily_build_group_report_results_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_daily_build_group_report_results_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_daily_build_group_report_results_id_seq OWNER TO gitlab;

--
-- Name: ci_daily_build_group_report_results_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_daily_build_group_report_results_id_seq OWNED BY public.ci_daily_build_group_report_results.id;


--
-- Name: ci_deleted_objects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_deleted_objects (
    id bigint NOT NULL,
    file_store smallint DEFAULT 1 NOT NULL,
    pick_up_at timestamp with time zone DEFAULT now() NOT NULL,
    store_dir text NOT NULL,
    file text NOT NULL,
    CONSTRAINT check_5e151d6912 CHECK ((char_length(store_dir) <= 1024))
);


ALTER TABLE public.ci_deleted_objects OWNER TO gitlab;

--
-- Name: ci_deleted_objects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_deleted_objects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_deleted_objects_id_seq OWNER TO gitlab;

--
-- Name: ci_deleted_objects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_deleted_objects_id_seq OWNED BY public.ci_deleted_objects.id;


--
-- Name: ci_freeze_periods; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_freeze_periods (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    freeze_start character varying(998) NOT NULL,
    freeze_end character varying(998) NOT NULL,
    cron_timezone character varying(255) NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.ci_freeze_periods OWNER TO gitlab;

--
-- Name: ci_freeze_periods_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_freeze_periods_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_freeze_periods_id_seq OWNER TO gitlab;

--
-- Name: ci_freeze_periods_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_freeze_periods_id_seq OWNED BY public.ci_freeze_periods.id;


--
-- Name: ci_group_variables; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_group_variables (
    id integer NOT NULL,
    key character varying NOT NULL,
    value text,
    encrypted_value text,
    encrypted_value_salt character varying,
    encrypted_value_iv character varying,
    group_id integer NOT NULL,
    protected boolean DEFAULT false NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    masked boolean DEFAULT false NOT NULL,
    variable_type smallint DEFAULT 1 NOT NULL,
    environment_scope text DEFAULT '*'::text NOT NULL,
    CONSTRAINT check_dfe009485a CHECK ((char_length(environment_scope) <= 255))
);


ALTER TABLE public.ci_group_variables OWNER TO gitlab;

--
-- Name: ci_group_variables_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_group_variables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_group_variables_id_seq OWNER TO gitlab;

--
-- Name: ci_group_variables_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_group_variables_id_seq OWNED BY public.ci_group_variables.id;


--
-- Name: ci_instance_variables; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_instance_variables (
    id bigint NOT NULL,
    variable_type smallint DEFAULT 1 NOT NULL,
    masked boolean DEFAULT false,
    protected boolean DEFAULT false,
    key text NOT NULL,
    encrypted_value text,
    encrypted_value_iv text,
    CONSTRAINT check_07a45a5bcb CHECK ((char_length(encrypted_value_iv) <= 255)),
    CONSTRAINT check_5aede12208 CHECK ((char_length(key) <= 255)),
    CONSTRAINT check_956afd70f1 CHECK ((char_length(encrypted_value) <= 13579))
);


ALTER TABLE public.ci_instance_variables OWNER TO gitlab;

--
-- Name: ci_instance_variables_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_instance_variables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_instance_variables_id_seq OWNER TO gitlab;

--
-- Name: ci_instance_variables_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_instance_variables_id_seq OWNED BY public.ci_instance_variables.id;


--
-- Name: ci_job_artifacts; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_job_artifacts (
    id_convert_to_bigint integer DEFAULT 0 NOT NULL,
    project_id integer NOT NULL,
    job_id_convert_to_bigint integer DEFAULT 0 NOT NULL,
    file_type integer NOT NULL,
    size bigint,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    expire_at timestamp with time zone,
    file character varying,
    file_store integer DEFAULT 1,
    file_sha256 bytea,
    file_format smallint,
    file_location smallint,
    id bigint NOT NULL,
    job_id bigint NOT NULL,
    CONSTRAINT check_27f0f6dbab CHECK ((file_store IS NOT NULL))
);


ALTER TABLE public.ci_job_artifacts OWNER TO gitlab;

--
-- Name: ci_job_artifacts_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_job_artifacts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_job_artifacts_id_seq OWNER TO gitlab;

--
-- Name: ci_job_artifacts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_job_artifacts_id_seq OWNED BY public.ci_job_artifacts.id;


--
-- Name: ci_job_token_project_scope_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_job_token_project_scope_links (
    id bigint NOT NULL,
    source_project_id bigint NOT NULL,
    target_project_id bigint NOT NULL,
    added_by_id bigint,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.ci_job_token_project_scope_links OWNER TO gitlab;

--
-- Name: ci_job_token_project_scope_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_job_token_project_scope_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_job_token_project_scope_links_id_seq OWNER TO gitlab;

--
-- Name: ci_job_token_project_scope_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_job_token_project_scope_links_id_seq OWNED BY public.ci_job_token_project_scope_links.id;


--
-- Name: ci_job_variables; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_job_variables (
    id bigint NOT NULL,
    key character varying NOT NULL,
    encrypted_value text,
    encrypted_value_iv character varying,
    job_id bigint NOT NULL,
    variable_type smallint DEFAULT 1 NOT NULL,
    source smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.ci_job_variables OWNER TO gitlab;

--
-- Name: ci_job_variables_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_job_variables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_job_variables_id_seq OWNER TO gitlab;

--
-- Name: ci_job_variables_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_job_variables_id_seq OWNED BY public.ci_job_variables.id;


--
-- Name: ci_minutes_additional_packs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_minutes_additional_packs (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    namespace_id bigint NOT NULL,
    expires_at date,
    number_of_minutes integer NOT NULL,
    purchase_xid text,
    CONSTRAINT check_d7ef254af0 CHECK ((char_length(purchase_xid) <= 32))
);


ALTER TABLE public.ci_minutes_additional_packs OWNER TO gitlab;

--
-- Name: ci_minutes_additional_packs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_minutes_additional_packs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_minutes_additional_packs_id_seq OWNER TO gitlab;

--
-- Name: ci_minutes_additional_packs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_minutes_additional_packs_id_seq OWNED BY public.ci_minutes_additional_packs.id;


--
-- Name: ci_namespace_monthly_usages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_namespace_monthly_usages (
    id bigint NOT NULL,
    namespace_id bigint NOT NULL,
    date date NOT NULL,
    additional_amount_available integer DEFAULT 0 NOT NULL,
    amount_used numeric(18,2) DEFAULT 0.0 NOT NULL,
    CONSTRAINT ci_namespace_monthly_usages_year_month_constraint CHECK ((date = date_trunc('month'::text, (date)::timestamp with time zone)))
);


ALTER TABLE public.ci_namespace_monthly_usages OWNER TO gitlab;

--
-- Name: ci_namespace_monthly_usages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_namespace_monthly_usages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_namespace_monthly_usages_id_seq OWNER TO gitlab;

--
-- Name: ci_namespace_monthly_usages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_namespace_monthly_usages_id_seq OWNED BY public.ci_namespace_monthly_usages.id;


--
-- Name: ci_pending_builds; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pending_builds (
    id bigint NOT NULL,
    build_id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone DEFAULT now() NOT NULL,
    protected boolean DEFAULT false NOT NULL,
    instance_runners_enabled boolean DEFAULT false NOT NULL,
    namespace_id bigint,
    minutes_exceeded boolean DEFAULT false NOT NULL
);


ALTER TABLE public.ci_pending_builds OWNER TO gitlab;

--
-- Name: ci_pending_builds_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pending_builds_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pending_builds_id_seq OWNER TO gitlab;

--
-- Name: ci_pending_builds_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pending_builds_id_seq OWNED BY public.ci_pending_builds.id;


--
-- Name: ci_pipeline_artifacts; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pipeline_artifacts (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    pipeline_id bigint NOT NULL,
    project_id bigint NOT NULL,
    size integer NOT NULL,
    file_store smallint DEFAULT 1 NOT NULL,
    file_type smallint NOT NULL,
    file_format smallint NOT NULL,
    file text,
    expire_at timestamp with time zone,
    verification_started_at timestamp with time zone,
    verification_retry_at timestamp with time zone,
    verified_at timestamp with time zone,
    verification_state smallint DEFAULT 0 NOT NULL,
    verification_retry_count smallint,
    verification_checksum bytea,
    verification_failure text,
    CONSTRAINT check_191b5850ec CHECK ((char_length(file) <= 255)),
    CONSTRAINT check_abeeb71caf CHECK ((file IS NOT NULL)),
    CONSTRAINT ci_pipeline_artifacts_verification_failure_text_limit CHECK ((char_length(verification_failure) <= 255))
);


ALTER TABLE public.ci_pipeline_artifacts OWNER TO gitlab;

--
-- Name: ci_pipeline_artifacts_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pipeline_artifacts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pipeline_artifacts_id_seq OWNER TO gitlab;

--
-- Name: ci_pipeline_artifacts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pipeline_artifacts_id_seq OWNED BY public.ci_pipeline_artifacts.id;


--
-- Name: ci_pipeline_chat_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pipeline_chat_data (
    id bigint NOT NULL,
    pipeline_id integer NOT NULL,
    chat_name_id integer NOT NULL,
    response_url text NOT NULL
);


ALTER TABLE public.ci_pipeline_chat_data OWNER TO gitlab;

--
-- Name: ci_pipeline_chat_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pipeline_chat_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pipeline_chat_data_id_seq OWNER TO gitlab;

--
-- Name: ci_pipeline_chat_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pipeline_chat_data_id_seq OWNED BY public.ci_pipeline_chat_data.id;


--
-- Name: ci_pipeline_messages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pipeline_messages (
    id bigint NOT NULL,
    severity smallint DEFAULT 0 NOT NULL,
    pipeline_id integer NOT NULL,
    content text NOT NULL,
    CONSTRAINT check_58ca2981b2 CHECK ((char_length(content) <= 10000))
);


ALTER TABLE public.ci_pipeline_messages OWNER TO gitlab;

--
-- Name: ci_pipeline_messages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pipeline_messages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pipeline_messages_id_seq OWNER TO gitlab;

--
-- Name: ci_pipeline_messages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pipeline_messages_id_seq OWNED BY public.ci_pipeline_messages.id;


--
-- Name: ci_pipeline_schedule_variables; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pipeline_schedule_variables (
    id integer NOT NULL,
    key character varying NOT NULL,
    value text,
    encrypted_value text,
    encrypted_value_salt character varying,
    encrypted_value_iv character varying,
    pipeline_schedule_id integer NOT NULL,
    created_at timestamp with time zone,
    updated_at timestamp with time zone,
    variable_type smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.ci_pipeline_schedule_variables OWNER TO gitlab;

--
-- Name: ci_pipeline_schedule_variables_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pipeline_schedule_variables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pipeline_schedule_variables_id_seq OWNER TO gitlab;

--
-- Name: ci_pipeline_schedule_variables_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pipeline_schedule_variables_id_seq OWNED BY public.ci_pipeline_schedule_variables.id;


--
-- Name: ci_pipeline_schedules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pipeline_schedules (
    id integer NOT NULL,
    description character varying,
    ref character varying,
    cron character varying,
    cron_timezone character varying,
    next_run_at timestamp without time zone,
    project_id integer,
    owner_id integer,
    active boolean DEFAULT true,
    created_at timestamp without time zone,
    updated_at timestamp without time zone
);


ALTER TABLE public.ci_pipeline_schedules OWNER TO gitlab;

--
-- Name: ci_pipeline_schedules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pipeline_schedules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pipeline_schedules_id_seq OWNER TO gitlab;

--
-- Name: ci_pipeline_schedules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pipeline_schedules_id_seq OWNED BY public.ci_pipeline_schedules.id;


--
-- Name: ci_pipeline_variables; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pipeline_variables (
    id integer NOT NULL,
    key character varying NOT NULL,
    value text,
    encrypted_value text,
    encrypted_value_salt character varying,
    encrypted_value_iv character varying,
    pipeline_id integer NOT NULL,
    variable_type smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.ci_pipeline_variables OWNER TO gitlab;

--
-- Name: ci_pipeline_variables_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pipeline_variables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pipeline_variables_id_seq OWNER TO gitlab;

--
-- Name: ci_pipeline_variables_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pipeline_variables_id_seq OWNED BY public.ci_pipeline_variables.id;


--
-- Name: ci_pipelines; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pipelines (
    id integer NOT NULL,
    ref character varying,
    sha character varying,
    before_sha character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    tag boolean DEFAULT false,
    yaml_errors text,
    committed_at timestamp without time zone,
    project_id integer,
    status character varying,
    started_at timestamp without time zone,
    finished_at timestamp without time zone,
    duration integer,
    user_id integer,
    lock_version integer DEFAULT 0,
    auto_canceled_by_id integer,
    pipeline_schedule_id integer,
    source integer,
    config_source integer,
    protected boolean,
    failure_reason integer,
    iid integer,
    merge_request_id integer,
    source_sha bytea,
    target_sha bytea,
    external_pull_request_id bigint,
    ci_ref_id bigint,
    locked smallint DEFAULT 1 NOT NULL,
    CONSTRAINT check_d7e99a025e CHECK ((lock_version IS NOT NULL))
);


ALTER TABLE public.ci_pipelines OWNER TO gitlab;

--
-- Name: ci_pipelines_config; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_pipelines_config (
    pipeline_id bigint NOT NULL,
    content text NOT NULL
);


ALTER TABLE public.ci_pipelines_config OWNER TO gitlab;

--
-- Name: ci_pipelines_config_pipeline_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pipelines_config_pipeline_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pipelines_config_pipeline_id_seq OWNER TO gitlab;

--
-- Name: ci_pipelines_config_pipeline_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pipelines_config_pipeline_id_seq OWNED BY public.ci_pipelines_config.pipeline_id;


--
-- Name: ci_pipelines_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_pipelines_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_pipelines_id_seq OWNER TO gitlab;

--
-- Name: ci_pipelines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_pipelines_id_seq OWNED BY public.ci_pipelines.id;


--
-- Name: ci_platform_metrics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_platform_metrics (
    id bigint NOT NULL,
    recorded_at timestamp with time zone NOT NULL,
    platform_target text NOT NULL,
    count integer NOT NULL,
    CONSTRAINT check_f922abc32b CHECK ((char_length(platform_target) <= 255)),
    CONSTRAINT ci_platform_metrics_check_count_positive CHECK ((count > 0))
);


ALTER TABLE public.ci_platform_metrics OWNER TO gitlab;

--
-- Name: ci_platform_metrics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_platform_metrics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_platform_metrics_id_seq OWNER TO gitlab;

--
-- Name: ci_platform_metrics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_platform_metrics_id_seq OWNED BY public.ci_platform_metrics.id;


--
-- Name: ci_project_monthly_usages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_project_monthly_usages (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    date date NOT NULL,
    amount_used numeric(18,2) DEFAULT 0.0 NOT NULL,
    CONSTRAINT ci_project_monthly_usages_year_month_constraint CHECK ((date = date_trunc('month'::text, (date)::timestamp with time zone)))
);


ALTER TABLE public.ci_project_monthly_usages OWNER TO gitlab;

--
-- Name: ci_project_monthly_usages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_project_monthly_usages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_project_monthly_usages_id_seq OWNER TO gitlab;

--
-- Name: ci_project_monthly_usages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_project_monthly_usages_id_seq OWNED BY public.ci_project_monthly_usages.id;


--
-- Name: ci_refs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_refs (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    lock_version integer DEFAULT 0 NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    ref_path text NOT NULL
);


ALTER TABLE public.ci_refs OWNER TO gitlab;

--
-- Name: ci_refs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_refs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_refs_id_seq OWNER TO gitlab;

--
-- Name: ci_refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_refs_id_seq OWNED BY public.ci_refs.id;


--
-- Name: ci_resource_groups; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_resource_groups (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    key character varying(255) NOT NULL
);


ALTER TABLE public.ci_resource_groups OWNER TO gitlab;

--
-- Name: ci_resource_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_resource_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_resource_groups_id_seq OWNER TO gitlab;

--
-- Name: ci_resource_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_resource_groups_id_seq OWNED BY public.ci_resource_groups.id;


--
-- Name: ci_resources; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_resources (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    resource_group_id bigint NOT NULL,
    build_id bigint
);


ALTER TABLE public.ci_resources OWNER TO gitlab;

--
-- Name: ci_resources_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_resources_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_resources_id_seq OWNER TO gitlab;

--
-- Name: ci_resources_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_resources_id_seq OWNED BY public.ci_resources.id;


--
-- Name: ci_runner_namespaces; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_runner_namespaces (
    id integer NOT NULL,
    runner_id integer,
    namespace_id integer
);


ALTER TABLE public.ci_runner_namespaces OWNER TO gitlab;

--
-- Name: ci_runner_namespaces_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_runner_namespaces_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_runner_namespaces_id_seq OWNER TO gitlab;

--
-- Name: ci_runner_namespaces_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_runner_namespaces_id_seq OWNED BY public.ci_runner_namespaces.id;


--
-- Name: ci_runner_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_runner_projects (
    id integer NOT NULL,
    runner_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    project_id integer
);


ALTER TABLE public.ci_runner_projects OWNER TO gitlab;

--
-- Name: ci_runner_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_runner_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_runner_projects_id_seq OWNER TO gitlab;

--
-- Name: ci_runner_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_runner_projects_id_seq OWNED BY public.ci_runner_projects.id;


--
-- Name: ci_runners; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_runners (
    id integer NOT NULL,
    token character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    description character varying,
    contacted_at timestamp without time zone,
    active boolean DEFAULT true NOT NULL,
    name character varying,
    version character varying,
    revision character varying,
    platform character varying,
    architecture character varying,
    run_untagged boolean DEFAULT true NOT NULL,
    locked boolean DEFAULT false NOT NULL,
    access_level integer DEFAULT 0 NOT NULL,
    ip_address character varying,
    maximum_timeout integer,
    runner_type smallint NOT NULL,
    token_encrypted character varying,
    public_projects_minutes_cost_factor double precision DEFAULT 0.0 NOT NULL,
    private_projects_minutes_cost_factor double precision DEFAULT 1.0 NOT NULL,
    config jsonb DEFAULT '{}'::jsonb NOT NULL
);


ALTER TABLE public.ci_runners OWNER TO gitlab;

--
-- Name: ci_runners_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_runners_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_runners_id_seq OWNER TO gitlab;

--
-- Name: ci_runners_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_runners_id_seq OWNED BY public.ci_runners.id;


--
-- Name: ci_running_builds; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_running_builds (
    id bigint NOT NULL,
    build_id bigint NOT NULL,
    project_id bigint NOT NULL,
    runner_id bigint NOT NULL,
    created_at timestamp with time zone DEFAULT now() NOT NULL,
    runner_type smallint NOT NULL
);


ALTER TABLE public.ci_running_builds OWNER TO gitlab;

--
-- Name: ci_running_builds_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_running_builds_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_running_builds_id_seq OWNER TO gitlab;

--
-- Name: ci_running_builds_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_running_builds_id_seq OWNED BY public.ci_running_builds.id;


--
-- Name: ci_sources_pipelines; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_sources_pipelines (
    id integer NOT NULL,
    project_id integer,
    pipeline_id integer,
    source_project_id integer,
    source_job_id_convert_to_bigint integer,
    source_pipeline_id integer,
    source_job_id bigint
);


ALTER TABLE public.ci_sources_pipelines OWNER TO gitlab;

--
-- Name: ci_sources_pipelines_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_sources_pipelines_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_sources_pipelines_id_seq OWNER TO gitlab;

--
-- Name: ci_sources_pipelines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_sources_pipelines_id_seq OWNED BY public.ci_sources_pipelines.id;


--
-- Name: ci_sources_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_sources_projects (
    id bigint NOT NULL,
    pipeline_id bigint NOT NULL,
    source_project_id bigint NOT NULL
);


ALTER TABLE public.ci_sources_projects OWNER TO gitlab;

--
-- Name: ci_sources_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_sources_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_sources_projects_id_seq OWNER TO gitlab;

--
-- Name: ci_sources_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_sources_projects_id_seq OWNED BY public.ci_sources_projects.id;


--
-- Name: ci_stages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_stages (
    id_convert_to_bigint integer DEFAULT 0 NOT NULL,
    project_id integer,
    pipeline_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    name character varying,
    status integer,
    lock_version integer DEFAULT 0,
    "position" integer,
    id bigint NOT NULL,
    CONSTRAINT check_81b431e49b CHECK ((lock_version IS NOT NULL))
);


ALTER TABLE public.ci_stages OWNER TO gitlab;

--
-- Name: ci_stages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_stages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_stages_id_seq OWNER TO gitlab;

--
-- Name: ci_stages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_stages_id_seq OWNED BY public.ci_stages.id;


--
-- Name: ci_subscriptions_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_subscriptions_projects (
    id bigint NOT NULL,
    downstream_project_id bigint NOT NULL,
    upstream_project_id bigint NOT NULL
);


ALTER TABLE public.ci_subscriptions_projects OWNER TO gitlab;

--
-- Name: ci_subscriptions_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_subscriptions_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_subscriptions_projects_id_seq OWNER TO gitlab;

--
-- Name: ci_subscriptions_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_subscriptions_projects_id_seq OWNED BY public.ci_subscriptions_projects.id;


--
-- Name: ci_trigger_requests; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_trigger_requests (
    id integer NOT NULL,
    trigger_id integer NOT NULL,
    variables text,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    commit_id integer
);


ALTER TABLE public.ci_trigger_requests OWNER TO gitlab;

--
-- Name: ci_trigger_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_trigger_requests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_trigger_requests_id_seq OWNER TO gitlab;

--
-- Name: ci_trigger_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_trigger_requests_id_seq OWNED BY public.ci_trigger_requests.id;


--
-- Name: ci_triggers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_triggers (
    id integer NOT NULL,
    token character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    project_id integer,
    owner_id integer NOT NULL,
    description character varying,
    ref character varying
);


ALTER TABLE public.ci_triggers OWNER TO gitlab;

--
-- Name: ci_triggers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_triggers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_triggers_id_seq OWNER TO gitlab;

--
-- Name: ci_triggers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_triggers_id_seq OWNED BY public.ci_triggers.id;


--
-- Name: ci_unit_test_failures; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_unit_test_failures (
    id bigint NOT NULL,
    failed_at timestamp with time zone NOT NULL,
    unit_test_id bigint NOT NULL,
    build_id bigint NOT NULL
);


ALTER TABLE public.ci_unit_test_failures OWNER TO gitlab;

--
-- Name: ci_unit_test_failures_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_unit_test_failures_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_unit_test_failures_id_seq OWNER TO gitlab;

--
-- Name: ci_unit_test_failures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_unit_test_failures_id_seq OWNED BY public.ci_unit_test_failures.id;


--
-- Name: ci_unit_tests; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_unit_tests (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    key_hash text NOT NULL,
    name text NOT NULL,
    suite_name text NOT NULL,
    CONSTRAINT check_248fae1a3b CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_b288215ffe CHECK ((char_length(key_hash) <= 64)),
    CONSTRAINT check_c2d57b3c49 CHECK ((char_length(suite_name) <= 255))
);


ALTER TABLE public.ci_unit_tests OWNER TO gitlab;

--
-- Name: ci_unit_tests_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_unit_tests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_unit_tests_id_seq OWNER TO gitlab;

--
-- Name: ci_unit_tests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_unit_tests_id_seq OWNED BY public.ci_unit_tests.id;


--
-- Name: ci_variables; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ci_variables (
    id integer NOT NULL,
    key character varying NOT NULL,
    value text,
    encrypted_value text,
    encrypted_value_salt character varying,
    encrypted_value_iv character varying,
    project_id integer NOT NULL,
    protected boolean DEFAULT false NOT NULL,
    environment_scope character varying DEFAULT '*'::character varying NOT NULL,
    masked boolean DEFAULT false NOT NULL,
    variable_type smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.ci_variables OWNER TO gitlab;

--
-- Name: ci_variables_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ci_variables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ci_variables_id_seq OWNER TO gitlab;

--
-- Name: ci_variables_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ci_variables_id_seq OWNED BY public.ci_variables.id;


--
-- Name: cluster_agent_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.cluster_agent_tokens (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    agent_id bigint NOT NULL,
    token_encrypted text NOT NULL,
    created_by_user_id bigint,
    description text,
    name text,
    last_used_at timestamp with time zone,
    CONSTRAINT check_0fb634d04d CHECK ((name IS NOT NULL)),
    CONSTRAINT check_2b79dbb315 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_4e4ec5070a CHECK ((char_length(description) <= 1024)),
    CONSTRAINT check_c60daed227 CHECK ((char_length(token_encrypted) <= 255))
);


ALTER TABLE public.cluster_agent_tokens OWNER TO gitlab;

--
-- Name: cluster_agent_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.cluster_agent_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cluster_agent_tokens_id_seq OWNER TO gitlab;

--
-- Name: cluster_agent_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.cluster_agent_tokens_id_seq OWNED BY public.cluster_agent_tokens.id;


--
-- Name: cluster_agents; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.cluster_agents (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    name text NOT NULL,
    created_by_user_id bigint,
    CONSTRAINT check_3498369510 CHECK ((char_length(name) <= 255))
);


ALTER TABLE public.cluster_agents OWNER TO gitlab;

--
-- Name: cluster_agents_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.cluster_agents_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cluster_agents_id_seq OWNER TO gitlab;

--
-- Name: cluster_agents_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.cluster_agents_id_seq OWNED BY public.cluster_agents.id;


--
-- Name: cluster_groups; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.cluster_groups (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    group_id integer NOT NULL
);


ALTER TABLE public.cluster_groups OWNER TO gitlab;

--
-- Name: cluster_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.cluster_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cluster_groups_id_seq OWNER TO gitlab;

--
-- Name: cluster_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.cluster_groups_id_seq OWNED BY public.cluster_groups.id;


--
-- Name: cluster_platforms_kubernetes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.cluster_platforms_kubernetes (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    api_url text,
    ca_cert text,
    namespace character varying,
    username character varying,
    encrypted_password text,
    encrypted_password_iv character varying,
    encrypted_token text,
    encrypted_token_iv character varying,
    authorization_type smallint
);


ALTER TABLE public.cluster_platforms_kubernetes OWNER TO gitlab;

--
-- Name: cluster_platforms_kubernetes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.cluster_platforms_kubernetes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cluster_platforms_kubernetes_id_seq OWNER TO gitlab;

--
-- Name: cluster_platforms_kubernetes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.cluster_platforms_kubernetes_id_seq OWNED BY public.cluster_platforms_kubernetes.id;


--
-- Name: cluster_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.cluster_projects (
    id integer NOT NULL,
    project_id integer NOT NULL,
    cluster_id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.cluster_projects OWNER TO gitlab;

--
-- Name: cluster_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.cluster_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cluster_projects_id_seq OWNER TO gitlab;

--
-- Name: cluster_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.cluster_projects_id_seq OWNED BY public.cluster_projects.id;


--
-- Name: cluster_providers_aws; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.cluster_providers_aws (
    id bigint NOT NULL,
    cluster_id bigint NOT NULL,
    num_nodes integer NOT NULL,
    status integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    key_name character varying(255) NOT NULL,
    role_arn character varying(2048) NOT NULL,
    region character varying(255) NOT NULL,
    vpc_id character varying(255) NOT NULL,
    subnet_ids character varying(255)[] DEFAULT '{}'::character varying[] NOT NULL,
    security_group_id character varying(255) NOT NULL,
    instance_type character varying(255) NOT NULL,
    access_key_id character varying(255),
    encrypted_secret_access_key_iv character varying(255),
    encrypted_secret_access_key text,
    session_token text,
    status_reason text,
    kubernetes_version text DEFAULT '1.14'::text NOT NULL,
    CONSTRAINT check_f1f42cd85e CHECK ((char_length(kubernetes_version) <= 30))
);


ALTER TABLE public.cluster_providers_aws OWNER TO gitlab;

--
-- Name: cluster_providers_aws_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.cluster_providers_aws_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cluster_providers_aws_id_seq OWNER TO gitlab;

--
-- Name: cluster_providers_aws_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.cluster_providers_aws_id_seq OWNED BY public.cluster_providers_aws.id;


--
-- Name: cluster_providers_gcp; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.cluster_providers_gcp (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    status integer,
    num_nodes integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    status_reason text,
    gcp_project_id character varying NOT NULL,
    zone character varying NOT NULL,
    machine_type character varying,
    operation_id character varying,
    endpoint character varying,
    encrypted_access_token text,
    encrypted_access_token_iv character varying,
    legacy_abac boolean DEFAULT false NOT NULL,
    cloud_run boolean DEFAULT false NOT NULL
);


ALTER TABLE public.cluster_providers_gcp OWNER TO gitlab;

--
-- Name: cluster_providers_gcp_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.cluster_providers_gcp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cluster_providers_gcp_id_seq OWNER TO gitlab;

--
-- Name: cluster_providers_gcp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.cluster_providers_gcp_id_seq OWNED BY public.cluster_providers_gcp.id;


--
-- Name: clusters; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters (
    id integer NOT NULL,
    user_id integer,
    provider_type integer,
    platform_type integer,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    enabled boolean DEFAULT true,
    name character varying NOT NULL,
    environment_scope character varying DEFAULT '*'::character varying NOT NULL,
    cluster_type smallint DEFAULT 3 NOT NULL,
    domain character varying,
    managed boolean DEFAULT true NOT NULL,
    namespace_per_environment boolean DEFAULT true NOT NULL,
    management_project_id integer,
    cleanup_status smallint DEFAULT 1 NOT NULL,
    cleanup_status_reason text,
    helm_major_version integer DEFAULT 3 NOT NULL
);


ALTER TABLE public.clusters OWNER TO gitlab;

--
-- Name: clusters_applications_cert_managers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_cert_managers (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    status integer NOT NULL,
    version character varying NOT NULL,
    email character varying NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status_reason text
);


ALTER TABLE public.clusters_applications_cert_managers OWNER TO gitlab;

--
-- Name: clusters_applications_cert_managers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_cert_managers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_cert_managers_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_cert_managers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_cert_managers_id_seq OWNED BY public.clusters_applications_cert_managers.id;


--
-- Name: clusters_applications_cilium; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_cilium (
    id bigint NOT NULL,
    cluster_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status integer NOT NULL,
    status_reason text
);


ALTER TABLE public.clusters_applications_cilium OWNER TO gitlab;

--
-- Name: clusters_applications_cilium_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_cilium_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_cilium_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_cilium_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_cilium_id_seq OWNED BY public.clusters_applications_cilium.id;


--
-- Name: clusters_applications_crossplane; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_crossplane (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    cluster_id bigint NOT NULL,
    status integer NOT NULL,
    version character varying(255) NOT NULL,
    stack character varying(255) NOT NULL,
    status_reason text
);


ALTER TABLE public.clusters_applications_crossplane OWNER TO gitlab;

--
-- Name: clusters_applications_crossplane_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_crossplane_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_crossplane_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_crossplane_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_crossplane_id_seq OWNED BY public.clusters_applications_crossplane.id;


--
-- Name: clusters_applications_elastic_stacks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_elastic_stacks (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    cluster_id bigint NOT NULL,
    status integer NOT NULL,
    version character varying(255) NOT NULL,
    status_reason text
);


ALTER TABLE public.clusters_applications_elastic_stacks OWNER TO gitlab;

--
-- Name: clusters_applications_elastic_stacks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_elastic_stacks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_elastic_stacks_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_elastic_stacks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_elastic_stacks_id_seq OWNED BY public.clusters_applications_elastic_stacks.id;


--
-- Name: clusters_applications_helm; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_helm (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    status integer NOT NULL,
    version character varying NOT NULL,
    status_reason text,
    encrypted_ca_key text,
    encrypted_ca_key_iv text,
    ca_cert text
);


ALTER TABLE public.clusters_applications_helm OWNER TO gitlab;

--
-- Name: clusters_applications_helm_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_helm_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_helm_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_helm_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_helm_id_seq OWNED BY public.clusters_applications_helm.id;


--
-- Name: clusters_applications_ingress; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_ingress (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    status integer NOT NULL,
    ingress_type integer NOT NULL,
    version character varying NOT NULL,
    cluster_ip character varying,
    status_reason text,
    external_ip character varying,
    external_hostname character varying
);


ALTER TABLE public.clusters_applications_ingress OWNER TO gitlab;

--
-- Name: clusters_applications_ingress_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_ingress_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_ingress_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_ingress_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_ingress_id_seq OWNED BY public.clusters_applications_ingress.id;


--
-- Name: clusters_applications_jupyter; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_jupyter (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    oauth_application_id integer,
    status integer NOT NULL,
    version character varying NOT NULL,
    hostname character varying,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status_reason text
);


ALTER TABLE public.clusters_applications_jupyter OWNER TO gitlab;

--
-- Name: clusters_applications_jupyter_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_jupyter_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_jupyter_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_jupyter_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_jupyter_id_seq OWNED BY public.clusters_applications_jupyter.id;


--
-- Name: clusters_applications_knative; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_knative (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status integer NOT NULL,
    version character varying NOT NULL,
    hostname character varying,
    status_reason text,
    external_ip character varying,
    external_hostname character varying
);


ALTER TABLE public.clusters_applications_knative OWNER TO gitlab;

--
-- Name: clusters_applications_knative_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_knative_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_knative_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_knative_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_knative_id_seq OWNED BY public.clusters_applications_knative.id;


--
-- Name: clusters_applications_prometheus; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_prometheus (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    status integer NOT NULL,
    version character varying NOT NULL,
    status_reason text,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    last_update_started_at timestamp with time zone,
    encrypted_alert_manager_token character varying,
    encrypted_alert_manager_token_iv character varying,
    healthy boolean
);


ALTER TABLE public.clusters_applications_prometheus OWNER TO gitlab;

--
-- Name: clusters_applications_prometheus_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_prometheus_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_prometheus_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_prometheus_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_prometheus_id_seq OWNED BY public.clusters_applications_prometheus.id;


--
-- Name: clusters_applications_runners; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_applications_runners (
    id integer NOT NULL,
    cluster_id integer NOT NULL,
    runner_id integer,
    status integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    version character varying NOT NULL,
    status_reason text,
    privileged boolean DEFAULT true NOT NULL
);


ALTER TABLE public.clusters_applications_runners OWNER TO gitlab;

--
-- Name: clusters_applications_runners_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_applications_runners_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_applications_runners_id_seq OWNER TO gitlab;

--
-- Name: clusters_applications_runners_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_applications_runners_id_seq OWNED BY public.clusters_applications_runners.id;


--
-- Name: clusters_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_id_seq OWNER TO gitlab;

--
-- Name: clusters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_id_seq OWNED BY public.clusters.id;


--
-- Name: clusters_integration_elasticstack; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_integration_elasticstack (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    cluster_id bigint NOT NULL,
    enabled boolean DEFAULT false NOT NULL,
    chart_version text,
    CONSTRAINT check_f8d671ce04 CHECK ((char_length(chart_version) <= 10))
);


ALTER TABLE public.clusters_integration_elasticstack OWNER TO gitlab;

--
-- Name: clusters_integration_prometheus; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_integration_prometheus (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    cluster_id bigint NOT NULL,
    enabled boolean DEFAULT false NOT NULL,
    encrypted_alert_manager_token text,
    encrypted_alert_manager_token_iv text
);


ALTER TABLE public.clusters_integration_prometheus OWNER TO gitlab;

--
-- Name: clusters_kubernetes_namespaces; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.clusters_kubernetes_namespaces (
    id bigint NOT NULL,
    cluster_id integer NOT NULL,
    project_id integer,
    cluster_project_id integer,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    encrypted_service_account_token text,
    encrypted_service_account_token_iv character varying,
    namespace character varying NOT NULL,
    service_account_name character varying,
    environment_id bigint
);


ALTER TABLE public.clusters_kubernetes_namespaces OWNER TO gitlab;

--
-- Name: clusters_kubernetes_namespaces_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.clusters_kubernetes_namespaces_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.clusters_kubernetes_namespaces_id_seq OWNER TO gitlab;

--
-- Name: clusters_kubernetes_namespaces_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.clusters_kubernetes_namespaces_id_seq OWNED BY public.clusters_kubernetes_namespaces.id;


--
-- Name: commit_user_mentions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.commit_user_mentions (
    id bigint NOT NULL,
    note_id integer NOT NULL,
    mentioned_users_ids integer[],
    mentioned_projects_ids integer[],
    mentioned_groups_ids integer[],
    commit_id character varying NOT NULL
);


ALTER TABLE public.commit_user_mentions OWNER TO gitlab;

--
-- Name: commit_user_mentions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.commit_user_mentions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.commit_user_mentions_id_seq OWNER TO gitlab;

--
-- Name: commit_user_mentions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.commit_user_mentions_id_seq OWNED BY public.commit_user_mentions.id;


--
-- Name: compliance_management_frameworks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.compliance_management_frameworks (
    id bigint NOT NULL,
    name text NOT NULL,
    description text NOT NULL,
    color text NOT NULL,
    namespace_id integer NOT NULL,
    regulated boolean DEFAULT true NOT NULL,
    pipeline_configuration_full_path text,
    CONSTRAINT check_08cd34b2c2 CHECK ((char_length(color) <= 10)),
    CONSTRAINT check_1617e0b87e CHECK ((char_length(description) <= 255)),
    CONSTRAINT check_ab00bc2193 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_e7a9972435 CHECK ((char_length(pipeline_configuration_full_path) <= 255))
);


ALTER TABLE public.compliance_management_frameworks OWNER TO gitlab;

--
-- Name: compliance_management_frameworks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.compliance_management_frameworks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.compliance_management_frameworks_id_seq OWNER TO gitlab;

--
-- Name: compliance_management_frameworks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.compliance_management_frameworks_id_seq OWNED BY public.compliance_management_frameworks.id;


--
-- Name: container_expiration_policies; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.container_expiration_policies (
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    next_run_at timestamp with time zone,
    name_regex character varying(255) DEFAULT '.*'::character varying,
    cadence character varying(12) DEFAULT '1d'::character varying NOT NULL,
    older_than character varying(12) DEFAULT '90d'::character varying,
    keep_n integer DEFAULT 10,
    enabled boolean DEFAULT false NOT NULL,
    name_regex_keep text,
    CONSTRAINT container_expiration_policies_name_regex_keep CHECK ((char_length(name_regex_keep) <= 255))
);


ALTER TABLE public.container_expiration_policies OWNER TO gitlab;

--
-- Name: container_repositories; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.container_repositories (
    id integer NOT NULL,
    project_id integer NOT NULL,
    name character varying NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    status smallint,
    expiration_policy_started_at timestamp with time zone,
    expiration_policy_cleanup_status smallint DEFAULT 0 NOT NULL,
    expiration_policy_completed_at timestamp with time zone
);


ALTER TABLE public.container_repositories OWNER TO gitlab;

--
-- Name: container_repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.container_repositories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.container_repositories_id_seq OWNER TO gitlab;

--
-- Name: container_repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.container_repositories_id_seq OWNED BY public.container_repositories.id;


--
-- Name: conversational_development_index_metrics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.conversational_development_index_metrics (
    id integer NOT NULL,
    leader_issues double precision NOT NULL,
    instance_issues double precision NOT NULL,
    leader_notes double precision NOT NULL,
    instance_notes double precision NOT NULL,
    leader_milestones double precision NOT NULL,
    instance_milestones double precision NOT NULL,
    leader_boards double precision NOT NULL,
    instance_boards double precision NOT NULL,
    leader_merge_requests double precision NOT NULL,
    instance_merge_requests double precision NOT NULL,
    leader_ci_pipelines double precision NOT NULL,
    instance_ci_pipelines double precision NOT NULL,
    leader_environments double precision NOT NULL,
    instance_environments double precision NOT NULL,
    leader_deployments double precision NOT NULL,
    instance_deployments double precision NOT NULL,
    leader_projects_prometheus_active double precision NOT NULL,
    instance_projects_prometheus_active double precision NOT NULL,
    leader_service_desk_issues double precision NOT NULL,
    instance_service_desk_issues double precision NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    percentage_boards double precision DEFAULT 0.0 NOT NULL,
    percentage_ci_pipelines double precision DEFAULT 0.0 NOT NULL,
    percentage_deployments double precision DEFAULT 0.0 NOT NULL,
    percentage_environments double precision DEFAULT 0.0 NOT NULL,
    percentage_issues double precision DEFAULT 0.0 NOT NULL,
    percentage_merge_requests double precision DEFAULT 0.0 NOT NULL,
    percentage_milestones double precision DEFAULT 0.0 NOT NULL,
    percentage_notes double precision DEFAULT 0.0 NOT NULL,
    percentage_projects_prometheus_active double precision DEFAULT 0.0 NOT NULL,
    percentage_service_desk_issues double precision DEFAULT 0.0 NOT NULL
);


ALTER TABLE public.conversational_development_index_metrics OWNER TO gitlab;

--
-- Name: conversational_development_index_metrics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.conversational_development_index_metrics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.conversational_development_index_metrics_id_seq OWNER TO gitlab;

--
-- Name: conversational_development_index_metrics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.conversational_development_index_metrics_id_seq OWNED BY public.conversational_development_index_metrics.id;


--
-- Name: csv_issue_imports; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.csv_issue_imports (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    user_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.csv_issue_imports OWNER TO gitlab;

--
-- Name: csv_issue_imports_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.csv_issue_imports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.csv_issue_imports_id_seq OWNER TO gitlab;

--
-- Name: csv_issue_imports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.csv_issue_imports_id_seq OWNED BY public.csv_issue_imports.id;


--
-- Name: custom_emoji; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.custom_emoji (
    id bigint NOT NULL,
    namespace_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name text NOT NULL,
    file text NOT NULL,
    external boolean DEFAULT true NOT NULL,
    creator_id bigint NOT NULL,
    CONSTRAINT check_8c586dd507 CHECK ((char_length(name) <= 36)),
    CONSTRAINT check_dd5d60f1fb CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.custom_emoji OWNER TO gitlab;

--
-- Name: custom_emoji_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.custom_emoji_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.custom_emoji_id_seq OWNER TO gitlab;

--
-- Name: custom_emoji_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.custom_emoji_id_seq OWNED BY public.custom_emoji.id;


--
-- Name: customer_relations_organizations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.customer_relations_organizations (
    id bigint NOT NULL,
    group_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    state smallint DEFAULT 1 NOT NULL,
    default_rate numeric(18,2),
    name text NOT NULL,
    description text,
    CONSTRAINT check_2ba9ef1c4c CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_e476b6058e CHECK ((char_length(description) <= 1024))
);


ALTER TABLE public.customer_relations_organizations OWNER TO gitlab;

--
-- Name: customer_relations_organizations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.customer_relations_organizations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.customer_relations_organizations_id_seq OWNER TO gitlab;

--
-- Name: customer_relations_organizations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.customer_relations_organizations_id_seq OWNED BY public.customer_relations_organizations.id;


--
-- Name: dast_profile_schedules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_profile_schedules (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    dast_profile_id bigint NOT NULL,
    user_id bigint,
    next_run_at timestamp with time zone NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    active boolean DEFAULT true NOT NULL,
    cron text NOT NULL,
    CONSTRAINT check_86531ea73f CHECK ((char_length(cron) <= 255))
);


ALTER TABLE public.dast_profile_schedules OWNER TO gitlab;

--
-- Name: TABLE dast_profile_schedules; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.dast_profile_schedules IS '{"owner":"group::dynamic analysis","description":"Scheduling for scans using DAST Profiles"}';


--
-- Name: dast_profile_schedules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dast_profile_schedules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dast_profile_schedules_id_seq OWNER TO gitlab;

--
-- Name: dast_profile_schedules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dast_profile_schedules_id_seq OWNED BY public.dast_profile_schedules.id;


--
-- Name: dast_profiles; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_profiles (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    dast_site_profile_id bigint NOT NULL,
    dast_scanner_profile_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name text NOT NULL,
    description text NOT NULL,
    branch_name text,
    CONSTRAINT check_5fcf73bf61 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_6c9d775949 CHECK ((char_length(branch_name) <= 255)),
    CONSTRAINT check_c34e505c24 CHECK ((char_length(description) <= 255))
);


ALTER TABLE public.dast_profiles OWNER TO gitlab;

--
-- Name: TABLE dast_profiles; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.dast_profiles IS '{"owner":"group::dynamic analysis","description":"Profile used to run a DAST on-demand scan"}';


--
-- Name: dast_profiles_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dast_profiles_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dast_profiles_id_seq OWNER TO gitlab;

--
-- Name: dast_profiles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dast_profiles_id_seq OWNED BY public.dast_profiles.id;


--
-- Name: dast_profiles_pipelines; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_profiles_pipelines (
    dast_profile_id bigint NOT NULL,
    ci_pipeline_id bigint NOT NULL
);


ALTER TABLE public.dast_profiles_pipelines OWNER TO gitlab;

--
-- Name: TABLE dast_profiles_pipelines; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.dast_profiles_pipelines IS '{"owner":"group::dynamic analysis","description":"Join table between DAST Profiles and CI Pipelines"}';


--
-- Name: dast_scanner_profiles; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_scanner_profiles (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer NOT NULL,
    spider_timeout smallint,
    target_timeout smallint,
    name text NOT NULL,
    scan_type smallint DEFAULT 1 NOT NULL,
    use_ajax_spider boolean DEFAULT false NOT NULL,
    show_debug_messages boolean DEFAULT false NOT NULL,
    CONSTRAINT check_568568fabf CHECK ((char_length(name) <= 255))
);


ALTER TABLE public.dast_scanner_profiles OWNER TO gitlab;

--
-- Name: dast_scanner_profiles_builds; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_scanner_profiles_builds (
    dast_scanner_profile_id bigint NOT NULL,
    ci_build_id bigint NOT NULL
);


ALTER TABLE public.dast_scanner_profiles_builds OWNER TO gitlab;

--
-- Name: TABLE dast_scanner_profiles_builds; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.dast_scanner_profiles_builds IS '{"owner":"group::dynamic analysis","description":"Join table between DAST Scanner Profiles and CI Builds"}';


--
-- Name: dast_scanner_profiles_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dast_scanner_profiles_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dast_scanner_profiles_id_seq OWNER TO gitlab;

--
-- Name: dast_scanner_profiles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dast_scanner_profiles_id_seq OWNED BY public.dast_scanner_profiles.id;


--
-- Name: dast_site_profile_secret_variables; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_site_profile_secret_variables (
    id bigint NOT NULL,
    dast_site_profile_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    variable_type smallint DEFAULT 1 NOT NULL,
    key text NOT NULL,
    encrypted_value bytea NOT NULL,
    encrypted_value_iv bytea NOT NULL,
    CONSTRAINT check_236213f179 CHECK ((length(encrypted_value) <= 13352)),
    CONSTRAINT check_8cbef204b2 CHECK ((char_length(key) <= 255)),
    CONSTRAINT check_b49080abbf CHECK ((length(encrypted_value_iv) <= 17))
);


ALTER TABLE public.dast_site_profile_secret_variables OWNER TO gitlab;

--
-- Name: TABLE dast_site_profile_secret_variables; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.dast_site_profile_secret_variables IS '{"owner":"group::dynamic analysis","description":"Secret variables used in DAST on-demand scans"}';


--
-- Name: dast_site_profile_secret_variables_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dast_site_profile_secret_variables_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dast_site_profile_secret_variables_id_seq OWNER TO gitlab;

--
-- Name: dast_site_profile_secret_variables_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dast_site_profile_secret_variables_id_seq OWNED BY public.dast_site_profile_secret_variables.id;


--
-- Name: dast_site_profiles; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_site_profiles (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    dast_site_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name text NOT NULL,
    excluded_urls text[] DEFAULT '{}'::text[] NOT NULL,
    auth_enabled boolean DEFAULT false NOT NULL,
    auth_url text,
    auth_username_field text,
    auth_password_field text,
    auth_username text,
    target_type smallint DEFAULT 0 NOT NULL,
    CONSTRAINT check_5203110fee CHECK ((char_length(auth_username_field) <= 255)),
    CONSTRAINT check_6cfab17b48 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_c329dffdba CHECK ((char_length(auth_password_field) <= 255)),
    CONSTRAINT check_d446f7047b CHECK ((char_length(auth_url) <= 1024)),
    CONSTRAINT check_f22f18002a CHECK ((char_length(auth_username) <= 255))
);


ALTER TABLE public.dast_site_profiles OWNER TO gitlab;

--
-- Name: dast_site_profiles_builds; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_site_profiles_builds (
    dast_site_profile_id bigint NOT NULL,
    ci_build_id bigint NOT NULL
);


ALTER TABLE public.dast_site_profiles_builds OWNER TO gitlab;

--
-- Name: TABLE dast_site_profiles_builds; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.dast_site_profiles_builds IS '{"owner":"group::dynamic analysis","description":"Join table between DAST Site Profiles and CI Builds"}';


--
-- Name: dast_site_profiles_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dast_site_profiles_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dast_site_profiles_id_seq OWNER TO gitlab;

--
-- Name: dast_site_profiles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dast_site_profiles_id_seq OWNED BY public.dast_site_profiles.id;


--
-- Name: dast_site_profiles_pipelines; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_site_profiles_pipelines (
    dast_site_profile_id bigint NOT NULL,
    ci_pipeline_id bigint NOT NULL
);


ALTER TABLE public.dast_site_profiles_pipelines OWNER TO gitlab;

--
-- Name: TABLE dast_site_profiles_pipelines; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.dast_site_profiles_pipelines IS '{"owner":"group::dynamic analysis","description":"Join table between DAST Site Profiles and CI Pipelines"}';


--
-- Name: dast_site_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_site_tokens (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    expired_at timestamp with time zone,
    token text NOT NULL,
    url text NOT NULL,
    CONSTRAINT check_02a6bf20a7 CHECK ((char_length(token) <= 255)),
    CONSTRAINT check_69ab8622a6 CHECK ((char_length(url) <= 255))
);


ALTER TABLE public.dast_site_tokens OWNER TO gitlab;

--
-- Name: dast_site_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dast_site_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dast_site_tokens_id_seq OWNER TO gitlab;

--
-- Name: dast_site_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dast_site_tokens_id_seq OWNED BY public.dast_site_tokens.id;


--
-- Name: dast_site_validations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_site_validations (
    id bigint NOT NULL,
    dast_site_token_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    validation_started_at timestamp with time zone,
    validation_passed_at timestamp with time zone,
    validation_failed_at timestamp with time zone,
    validation_last_retried_at timestamp with time zone,
    validation_strategy smallint NOT NULL,
    url_base text NOT NULL,
    url_path text NOT NULL,
    state text DEFAULT 'pending'::text NOT NULL,
    CONSTRAINT check_13b34efe4b CHECK ((char_length(url_path) <= 255)),
    CONSTRAINT check_283be72e9b CHECK ((char_length(state) <= 255)),
    CONSTRAINT check_cd3b538210 CHECK ((char_length(url_base) <= 255))
);


ALTER TABLE public.dast_site_validations OWNER TO gitlab;

--
-- Name: dast_site_validations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dast_site_validations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dast_site_validations_id_seq OWNER TO gitlab;

--
-- Name: dast_site_validations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dast_site_validations_id_seq OWNED BY public.dast_site_validations.id;


--
-- Name: dast_sites; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dast_sites (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    url text NOT NULL,
    dast_site_validation_id bigint,
    CONSTRAINT check_46df8b449c CHECK ((char_length(url) <= 255))
);


ALTER TABLE public.dast_sites OWNER TO gitlab;

--
-- Name: dast_sites_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dast_sites_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dast_sites_id_seq OWNER TO gitlab;

--
-- Name: dast_sites_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dast_sites_id_seq OWNED BY public.dast_sites.id;


--
-- Name: dep_ci_build_trace_section_names; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dep_ci_build_trace_section_names (
    id integer NOT NULL,
    project_id integer NOT NULL,
    name character varying NOT NULL
);


ALTER TABLE public.dep_ci_build_trace_section_names OWNER TO gitlab;

--
-- Name: dep_ci_build_trace_section_names_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dep_ci_build_trace_section_names_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dep_ci_build_trace_section_names_id_seq OWNER TO gitlab;

--
-- Name: dep_ci_build_trace_section_names_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dep_ci_build_trace_section_names_id_seq OWNED BY public.dep_ci_build_trace_section_names.id;


--
-- Name: dep_ci_build_trace_sections; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dep_ci_build_trace_sections (
    project_id integer NOT NULL,
    date_start timestamp without time zone NOT NULL,
    date_end timestamp without time zone NOT NULL,
    byte_start bigint NOT NULL,
    byte_end bigint NOT NULL,
    build_id integer NOT NULL,
    section_name_id integer NOT NULL,
    build_id_convert_to_bigint bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.dep_ci_build_trace_sections OWNER TO gitlab;

--
-- Name: dependency_proxy_blobs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dependency_proxy_blobs (
    id integer NOT NULL,
    group_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    size bigint,
    file_store integer,
    file_name character varying NOT NULL,
    file text NOT NULL
);


ALTER TABLE public.dependency_proxy_blobs OWNER TO gitlab;

--
-- Name: dependency_proxy_blobs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dependency_proxy_blobs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dependency_proxy_blobs_id_seq OWNER TO gitlab;

--
-- Name: dependency_proxy_blobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dependency_proxy_blobs_id_seq OWNED BY public.dependency_proxy_blobs.id;


--
-- Name: dependency_proxy_group_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dependency_proxy_group_settings (
    id integer NOT NULL,
    group_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    enabled boolean DEFAULT false NOT NULL
);


ALTER TABLE public.dependency_proxy_group_settings OWNER TO gitlab;

--
-- Name: dependency_proxy_group_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dependency_proxy_group_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dependency_proxy_group_settings_id_seq OWNER TO gitlab;

--
-- Name: dependency_proxy_group_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dependency_proxy_group_settings_id_seq OWNED BY public.dependency_proxy_group_settings.id;


--
-- Name: dependency_proxy_manifests; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dependency_proxy_manifests (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id bigint NOT NULL,
    size bigint,
    file_store smallint,
    file_name text NOT NULL,
    file text NOT NULL,
    digest text NOT NULL,
    content_type text,
    CONSTRAINT check_079b293a7b CHECK ((char_length(file) <= 255)),
    CONSTRAINT check_167a9a8a91 CHECK ((char_length(content_type) <= 255)),
    CONSTRAINT check_c579e3f586 CHECK ((char_length(file_name) <= 255)),
    CONSTRAINT check_f5d9996bf1 CHECK ((char_length(digest) <= 255))
);


ALTER TABLE public.dependency_proxy_manifests OWNER TO gitlab;

--
-- Name: dependency_proxy_manifests_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dependency_proxy_manifests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dependency_proxy_manifests_id_seq OWNER TO gitlab;

--
-- Name: dependency_proxy_manifests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dependency_proxy_manifests_id_seq OWNED BY public.dependency_proxy_manifests.id;


--
-- Name: deploy_keys_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.deploy_keys_projects (
    id integer NOT NULL,
    deploy_key_id integer NOT NULL,
    project_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    can_push boolean DEFAULT false NOT NULL
);


ALTER TABLE public.deploy_keys_projects OWNER TO gitlab;

--
-- Name: deploy_keys_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.deploy_keys_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.deploy_keys_projects_id_seq OWNER TO gitlab;

--
-- Name: deploy_keys_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.deploy_keys_projects_id_seq OWNED BY public.deploy_keys_projects.id;


--
-- Name: deploy_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.deploy_tokens (
    id integer NOT NULL,
    revoked boolean DEFAULT false,
    read_repository boolean DEFAULT false NOT NULL,
    read_registry boolean DEFAULT false NOT NULL,
    expires_at timestamp with time zone NOT NULL,
    created_at timestamp with time zone NOT NULL,
    name character varying NOT NULL,
    token character varying,
    username character varying,
    token_encrypted character varying(255),
    deploy_token_type smallint DEFAULT 2 NOT NULL,
    write_registry boolean DEFAULT false NOT NULL,
    read_package_registry boolean DEFAULT false NOT NULL,
    write_package_registry boolean DEFAULT false NOT NULL
);


ALTER TABLE public.deploy_tokens OWNER TO gitlab;

--
-- Name: deploy_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.deploy_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.deploy_tokens_id_seq OWNER TO gitlab;

--
-- Name: deploy_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.deploy_tokens_id_seq OWNED BY public.deploy_tokens.id;


--
-- Name: deployment_clusters; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.deployment_clusters (
    deployment_id integer NOT NULL,
    cluster_id integer NOT NULL,
    kubernetes_namespace character varying(255)
);


ALTER TABLE public.deployment_clusters OWNER TO gitlab;

--
-- Name: deployment_merge_requests; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.deployment_merge_requests (
    deployment_id integer NOT NULL,
    merge_request_id integer NOT NULL,
    environment_id integer
);


ALTER TABLE public.deployment_merge_requests OWNER TO gitlab;

--
-- Name: deployments; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.deployments (
    id integer NOT NULL,
    iid integer NOT NULL,
    project_id integer NOT NULL,
    environment_id integer NOT NULL,
    ref character varying NOT NULL,
    tag boolean NOT NULL,
    sha character varying NOT NULL,
    user_id integer,
    deployable_id_convert_to_bigint integer,
    deployable_type character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    on_stop character varying,
    status smallint NOT NULL,
    finished_at timestamp with time zone,
    cluster_id integer,
    deployable_id bigint
);


ALTER TABLE public.deployments OWNER TO gitlab;

--
-- Name: deployments_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.deployments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.deployments_id_seq OWNER TO gitlab;

--
-- Name: deployments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.deployments_id_seq OWNED BY public.deployments.id;


--
-- Name: description_versions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.description_versions (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    issue_id integer,
    merge_request_id integer,
    epic_id integer,
    description text,
    deleted_at timestamp with time zone
);


ALTER TABLE public.description_versions OWNER TO gitlab;

--
-- Name: description_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.description_versions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.description_versions_id_seq OWNER TO gitlab;

--
-- Name: description_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.description_versions_id_seq OWNED BY public.description_versions.id;


--
-- Name: design_management_designs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.design_management_designs (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    issue_id integer,
    filename character varying NOT NULL,
    relative_position integer,
    iid integer,
    CONSTRAINT check_07155e2715 CHECK ((char_length((filename)::text) <= 255)),
    CONSTRAINT check_cfb92df01a CHECK ((iid IS NOT NULL))
);


ALTER TABLE public.design_management_designs OWNER TO gitlab;

--
-- Name: design_management_designs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.design_management_designs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.design_management_designs_id_seq OWNER TO gitlab;

--
-- Name: design_management_designs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.design_management_designs_id_seq OWNED BY public.design_management_designs.id;


--
-- Name: design_management_designs_versions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.design_management_designs_versions (
    id bigint NOT NULL,
    design_id bigint NOT NULL,
    version_id bigint NOT NULL,
    event smallint DEFAULT 0 NOT NULL,
    image_v432x230 character varying(255)
);


ALTER TABLE public.design_management_designs_versions OWNER TO gitlab;

--
-- Name: design_management_designs_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.design_management_designs_versions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.design_management_designs_versions_id_seq OWNER TO gitlab;

--
-- Name: design_management_designs_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.design_management_designs_versions_id_seq OWNED BY public.design_management_designs_versions.id;


--
-- Name: design_management_versions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.design_management_versions (
    id bigint NOT NULL,
    sha bytea NOT NULL,
    issue_id bigint,
    created_at timestamp with time zone NOT NULL,
    author_id integer
);


ALTER TABLE public.design_management_versions OWNER TO gitlab;

--
-- Name: design_management_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.design_management_versions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.design_management_versions_id_seq OWNER TO gitlab;

--
-- Name: design_management_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.design_management_versions_id_seq OWNED BY public.design_management_versions.id;


--
-- Name: design_user_mentions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.design_user_mentions (
    id bigint NOT NULL,
    design_id integer NOT NULL,
    note_id integer NOT NULL,
    mentioned_users_ids integer[],
    mentioned_projects_ids integer[],
    mentioned_groups_ids integer[]
);


ALTER TABLE public.design_user_mentions OWNER TO gitlab;

--
-- Name: design_user_mentions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.design_user_mentions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.design_user_mentions_id_seq OWNER TO gitlab;

--
-- Name: design_user_mentions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.design_user_mentions_id_seq OWNED BY public.design_user_mentions.id;


--
-- Name: detached_partitions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.detached_partitions (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    drop_after timestamp with time zone NOT NULL,
    table_name text NOT NULL,
    CONSTRAINT check_aecee24ba3 CHECK ((char_length(table_name) <= 63))
);


ALTER TABLE public.detached_partitions OWNER TO gitlab;

--
-- Name: detached_partitions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.detached_partitions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.detached_partitions_id_seq OWNER TO gitlab;

--
-- Name: detached_partitions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.detached_partitions_id_seq OWNED BY public.detached_partitions.id;


--
-- Name: diff_note_positions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.diff_note_positions (
    id bigint NOT NULL,
    note_id bigint NOT NULL,
    old_line integer,
    new_line integer,
    diff_content_type smallint NOT NULL,
    diff_type smallint NOT NULL,
    line_code character varying(255) NOT NULL,
    base_sha bytea NOT NULL,
    start_sha bytea NOT NULL,
    head_sha bytea NOT NULL,
    old_path text NOT NULL,
    new_path text NOT NULL
);


ALTER TABLE public.diff_note_positions OWNER TO gitlab;

--
-- Name: diff_note_positions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.diff_note_positions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.diff_note_positions_id_seq OWNER TO gitlab;

--
-- Name: diff_note_positions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.diff_note_positions_id_seq OWNED BY public.diff_note_positions.id;


--
-- Name: dora_daily_metrics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.dora_daily_metrics (
    id bigint NOT NULL,
    environment_id bigint NOT NULL,
    date date NOT NULL,
    deployment_frequency integer,
    lead_time_for_changes_in_seconds integer,
    CONSTRAINT dora_daily_metrics_deployment_frequency_positive CHECK ((deployment_frequency >= 0)),
    CONSTRAINT dora_daily_metrics_lead_time_for_changes_in_seconds_positive CHECK ((lead_time_for_changes_in_seconds >= 0))
);


ALTER TABLE public.dora_daily_metrics OWNER TO gitlab;

--
-- Name: dora_daily_metrics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.dora_daily_metrics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.dora_daily_metrics_id_seq OWNER TO gitlab;

--
-- Name: dora_daily_metrics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.dora_daily_metrics_id_seq OWNED BY public.dora_daily_metrics.id;


--
-- Name: draft_notes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.draft_notes (
    id bigint NOT NULL,
    merge_request_id integer NOT NULL,
    author_id integer NOT NULL,
    resolve_discussion boolean DEFAULT false NOT NULL,
    discussion_id character varying,
    note text NOT NULL,
    "position" text,
    original_position text,
    change_position text,
    commit_id bytea
);


ALTER TABLE public.draft_notes OWNER TO gitlab;

--
-- Name: draft_notes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.draft_notes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.draft_notes_id_seq OWNER TO gitlab;

--
-- Name: draft_notes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.draft_notes_id_seq OWNED BY public.draft_notes.id;


--
-- Name: elastic_index_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.elastic_index_settings (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    number_of_replicas smallint DEFAULT 1 NOT NULL,
    number_of_shards smallint DEFAULT 5 NOT NULL,
    alias_name text NOT NULL,
    CONSTRAINT check_c30005c325 CHECK ((char_length(alias_name) <= 255))
);


ALTER TABLE public.elastic_index_settings OWNER TO gitlab;

--
-- Name: elastic_index_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.elastic_index_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.elastic_index_settings_id_seq OWNER TO gitlab;

--
-- Name: elastic_index_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.elastic_index_settings_id_seq OWNED BY public.elastic_index_settings.id;


--
-- Name: elastic_reindexing_slices; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.elastic_reindexing_slices (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    elastic_reindexing_subtask_id bigint NOT NULL,
    elastic_slice smallint DEFAULT 0 NOT NULL,
    elastic_max_slice smallint DEFAULT 0 NOT NULL,
    retry_attempt smallint DEFAULT 0 NOT NULL,
    elastic_task text,
    CONSTRAINT check_ca30e1396e CHECK ((char_length(elastic_task) <= 255))
);


ALTER TABLE public.elastic_reindexing_slices OWNER TO gitlab;

--
-- Name: elastic_reindexing_slices_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.elastic_reindexing_slices_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.elastic_reindexing_slices_id_seq OWNER TO gitlab;

--
-- Name: elastic_reindexing_slices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.elastic_reindexing_slices_id_seq OWNED BY public.elastic_reindexing_slices.id;


--
-- Name: elastic_reindexing_subtasks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.elastic_reindexing_subtasks (
    id bigint NOT NULL,
    elastic_reindexing_task_id bigint NOT NULL,
    alias_name text NOT NULL,
    index_name_from text NOT NULL,
    index_name_to text NOT NULL,
    elastic_task text,
    documents_count_target integer,
    documents_count integer,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    CONSTRAINT check_4910adc798 CHECK ((char_length(elastic_task) <= 255)),
    CONSTRAINT check_88f56216a4 CHECK ((char_length(alias_name) <= 255)),
    CONSTRAINT check_a1fbd9faa9 CHECK ((char_length(index_name_from) <= 255)),
    CONSTRAINT check_f456494bd8 CHECK ((char_length(index_name_to) <= 255))
);


ALTER TABLE public.elastic_reindexing_subtasks OWNER TO gitlab;

--
-- Name: elastic_reindexing_subtasks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.elastic_reindexing_subtasks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.elastic_reindexing_subtasks_id_seq OWNER TO gitlab;

--
-- Name: elastic_reindexing_subtasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.elastic_reindexing_subtasks_id_seq OWNED BY public.elastic_reindexing_subtasks.id;


--
-- Name: elastic_reindexing_tasks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.elastic_reindexing_tasks (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    state smallint DEFAULT 0 NOT NULL,
    in_progress boolean DEFAULT true NOT NULL,
    error_message text,
    delete_original_index_at timestamp with time zone,
    max_slices_running smallint DEFAULT 60 NOT NULL,
    slice_multiplier smallint DEFAULT 2 NOT NULL,
    CONSTRAINT check_7f64acda8e CHECK ((char_length(error_message) <= 255))
);


ALTER TABLE public.elastic_reindexing_tasks OWNER TO gitlab;

--
-- Name: elastic_reindexing_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.elastic_reindexing_tasks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.elastic_reindexing_tasks_id_seq OWNER TO gitlab;

--
-- Name: elastic_reindexing_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.elastic_reindexing_tasks_id_seq OWNED BY public.elastic_reindexing_tasks.id;


--
-- Name: elasticsearch_indexed_namespaces; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.elasticsearch_indexed_namespaces (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    namespace_id integer NOT NULL
);


ALTER TABLE public.elasticsearch_indexed_namespaces OWNER TO gitlab;

--
-- Name: elasticsearch_indexed_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.elasticsearch_indexed_projects (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer NOT NULL
);


ALTER TABLE public.elasticsearch_indexed_projects OWNER TO gitlab;

--
-- Name: emails; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.emails (
    id integer NOT NULL,
    user_id integer NOT NULL,
    email character varying NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    confirmation_token character varying,
    confirmed_at timestamp without time zone,
    confirmation_sent_at timestamp without time zone
);


ALTER TABLE public.emails OWNER TO gitlab;

--
-- Name: emails_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.emails_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.emails_id_seq OWNER TO gitlab;

--
-- Name: emails_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.emails_id_seq OWNED BY public.emails.id;


--
-- Name: environments; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.environments (
    id integer NOT NULL,
    project_id integer NOT NULL,
    name character varying NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    external_url character varying,
    environment_type character varying,
    state character varying DEFAULT 'available'::character varying NOT NULL,
    slug character varying NOT NULL,
    auto_stop_at timestamp with time zone,
    auto_delete_at timestamp with time zone,
    tier smallint
);


ALTER TABLE public.environments OWNER TO gitlab;

--
-- Name: environments_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.environments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.environments_id_seq OWNER TO gitlab;

--
-- Name: environments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.environments_id_seq OWNED BY public.environments.id;


--
-- Name: epic_issues; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.epic_issues (
    id integer NOT NULL,
    epic_id integer NOT NULL,
    issue_id integer NOT NULL,
    relative_position integer
);


ALTER TABLE public.epic_issues OWNER TO gitlab;

--
-- Name: epic_issues_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.epic_issues_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.epic_issues_id_seq OWNER TO gitlab;

--
-- Name: epic_issues_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.epic_issues_id_seq OWNED BY public.epic_issues.id;


--
-- Name: epic_metrics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.epic_metrics (
    id integer NOT NULL,
    epic_id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.epic_metrics OWNER TO gitlab;

--
-- Name: epic_metrics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.epic_metrics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.epic_metrics_id_seq OWNER TO gitlab;

--
-- Name: epic_metrics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.epic_metrics_id_seq OWNED BY public.epic_metrics.id;


--
-- Name: epic_user_mentions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.epic_user_mentions (
    id bigint NOT NULL,
    epic_id integer NOT NULL,
    note_id integer,
    mentioned_users_ids integer[],
    mentioned_projects_ids integer[],
    mentioned_groups_ids integer[]
);


ALTER TABLE public.epic_user_mentions OWNER TO gitlab;

--
-- Name: epic_user_mentions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.epic_user_mentions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.epic_user_mentions_id_seq OWNER TO gitlab;

--
-- Name: epic_user_mentions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.epic_user_mentions_id_seq OWNED BY public.epic_user_mentions.id;


--
-- Name: epics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.epics (
    id integer NOT NULL,
    group_id integer NOT NULL,
    author_id integer NOT NULL,
    assignee_id integer,
    iid integer NOT NULL,
    cached_markdown_version integer,
    updated_by_id integer,
    last_edited_by_id integer,
    lock_version integer DEFAULT 0,
    start_date date,
    end_date date,
    last_edited_at timestamp without time zone,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    title character varying NOT NULL,
    title_html character varying NOT NULL,
    description text,
    description_html text,
    start_date_sourcing_milestone_id integer,
    due_date_sourcing_milestone_id integer,
    start_date_fixed date,
    due_date_fixed date,
    start_date_is_fixed boolean,
    due_date_is_fixed boolean,
    closed_by_id integer,
    closed_at timestamp without time zone,
    parent_id integer,
    relative_position integer,
    state_id smallint DEFAULT 1 NOT NULL,
    start_date_sourcing_epic_id integer,
    due_date_sourcing_epic_id integer,
    confidential boolean DEFAULT false NOT NULL,
    external_key character varying(255),
    CONSTRAINT check_fcfb4a93ff CHECK ((lock_version IS NOT NULL))
);


ALTER TABLE public.epics OWNER TO gitlab;

--
-- Name: epics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.epics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.epics_id_seq OWNER TO gitlab;

--
-- Name: epics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.epics_id_seq OWNED BY public.epics.id;


--
-- Name: error_tracking_client_keys; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.error_tracking_client_keys (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    active boolean DEFAULT true NOT NULL,
    public_key text NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    CONSTRAINT check_840b719790 CHECK ((char_length(public_key) <= 255))
);


ALTER TABLE public.error_tracking_client_keys OWNER TO gitlab;

--
-- Name: error_tracking_client_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.error_tracking_client_keys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.error_tracking_client_keys_id_seq OWNER TO gitlab;

--
-- Name: error_tracking_client_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.error_tracking_client_keys_id_seq OWNED BY public.error_tracking_client_keys.id;


--
-- Name: error_tracking_error_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.error_tracking_error_events (
    id bigint NOT NULL,
    error_id bigint NOT NULL,
    description text NOT NULL,
    environment text,
    level text,
    occurred_at timestamp with time zone NOT NULL,
    payload jsonb DEFAULT '{}'::jsonb NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    CONSTRAINT check_92ecc3077b CHECK ((char_length(description) <= 255)),
    CONSTRAINT check_c67d5b8007 CHECK ((char_length(level) <= 255)),
    CONSTRAINT check_f4b52474ad CHECK ((char_length(environment) <= 255))
);


ALTER TABLE public.error_tracking_error_events OWNER TO gitlab;

--
-- Name: error_tracking_error_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.error_tracking_error_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.error_tracking_error_events_id_seq OWNER TO gitlab;

--
-- Name: error_tracking_error_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.error_tracking_error_events_id_seq OWNED BY public.error_tracking_error_events.id;


--
-- Name: error_tracking_errors; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.error_tracking_errors (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    name text NOT NULL,
    description text NOT NULL,
    actor text NOT NULL,
    first_seen_at timestamp with time zone DEFAULT now() NOT NULL,
    last_seen_at timestamp with time zone DEFAULT now() NOT NULL,
    platform text,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    events_count bigint DEFAULT 0 NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    CONSTRAINT check_18a758e537 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_b5cb4d3888 CHECK ((char_length(actor) <= 255)),
    CONSTRAINT check_c739788b12 CHECK ((char_length(description) <= 1024)),
    CONSTRAINT check_fe99886883 CHECK ((char_length(platform) <= 255))
);


ALTER TABLE public.error_tracking_errors OWNER TO gitlab;

--
-- Name: error_tracking_errors_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.error_tracking_errors_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.error_tracking_errors_id_seq OWNER TO gitlab;

--
-- Name: error_tracking_errors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.error_tracking_errors_id_seq OWNED BY public.error_tracking_errors.id;


--
-- Name: events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.events (
    id integer NOT NULL,
    project_id integer,
    author_id integer NOT NULL,
    target_id integer,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    action smallint NOT NULL,
    target_type character varying,
    group_id bigint,
    fingerprint bytea,
    id_convert_to_bigint bigint DEFAULT 0 NOT NULL,
    CONSTRAINT check_97e06e05ad CHECK ((octet_length(fingerprint) <= 128))
);


ALTER TABLE public.events OWNER TO gitlab;

--
-- Name: events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.events_id_seq OWNER TO gitlab;

--
-- Name: events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.events_id_seq OWNED BY public.events.id;


--
-- Name: evidences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.evidences (
    id bigint NOT NULL,
    release_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    summary_sha bytea,
    summary jsonb DEFAULT '{}'::jsonb NOT NULL
);


ALTER TABLE public.evidences OWNER TO gitlab;

--
-- Name: evidences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.evidences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.evidences_id_seq OWNER TO gitlab;

--
-- Name: evidences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.evidences_id_seq OWNED BY public.evidences.id;


--
-- Name: experiment_subjects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.experiment_subjects (
    id bigint NOT NULL,
    experiment_id bigint NOT NULL,
    user_id bigint,
    project_id bigint,
    variant smallint DEFAULT 0 NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    converted_at timestamp with time zone,
    context jsonb DEFAULT '{}'::jsonb NOT NULL,
    namespace_id bigint,
    CONSTRAINT check_f6411bc4b5 CHECK ((num_nonnulls(user_id, namespace_id, project_id) = 1))
);


ALTER TABLE public.experiment_subjects OWNER TO gitlab;

--
-- Name: experiment_subjects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.experiment_subjects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.experiment_subjects_id_seq OWNER TO gitlab;

--
-- Name: experiment_subjects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.experiment_subjects_id_seq OWNED BY public.experiment_subjects.id;


--
-- Name: experiment_users; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.experiment_users (
    id bigint NOT NULL,
    experiment_id bigint NOT NULL,
    user_id bigint NOT NULL,
    group_type smallint DEFAULT 0 NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    converted_at timestamp with time zone,
    context jsonb DEFAULT '{}'::jsonb NOT NULL
);


ALTER TABLE public.experiment_users OWNER TO gitlab;

--
-- Name: experiment_users_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.experiment_users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.experiment_users_id_seq OWNER TO gitlab;

--
-- Name: experiment_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.experiment_users_id_seq OWNED BY public.experiment_users.id;


--
-- Name: experiments; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.experiments (
    id bigint NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_e2dda25ed0 CHECK ((char_length(name) <= 255))
);


ALTER TABLE public.experiments OWNER TO gitlab;

--
-- Name: experiments_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.experiments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.experiments_id_seq OWNER TO gitlab;

--
-- Name: experiments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.experiments_id_seq OWNED BY public.experiments.id;


--
-- Name: external_approval_rules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.external_approval_rules (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    external_url text NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_1c64b53ea5 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_b634ca168d CHECK ((char_length(external_url) <= 255))
);


ALTER TABLE public.external_approval_rules OWNER TO gitlab;

--
-- Name: external_approval_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.external_approval_rules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.external_approval_rules_id_seq OWNER TO gitlab;

--
-- Name: external_approval_rules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.external_approval_rules_id_seq OWNED BY public.external_approval_rules.id;


--
-- Name: external_approval_rules_protected_branches; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.external_approval_rules_protected_branches (
    id bigint NOT NULL,
    external_approval_rule_id bigint NOT NULL,
    protected_branch_id bigint NOT NULL
);


ALTER TABLE public.external_approval_rules_protected_branches OWNER TO gitlab;

--
-- Name: external_approval_rules_protected_branches_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.external_approval_rules_protected_branches_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.external_approval_rules_protected_branches_id_seq OWNER TO gitlab;

--
-- Name: external_approval_rules_protected_branches_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.external_approval_rules_protected_branches_id_seq OWNED BY public.external_approval_rules_protected_branches.id;


--
-- Name: external_pull_requests; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.external_pull_requests (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    pull_request_iid integer NOT NULL,
    status smallint NOT NULL,
    source_branch character varying(255) NOT NULL,
    target_branch character varying(255) NOT NULL,
    source_repository character varying(255) NOT NULL,
    target_repository character varying(255) NOT NULL,
    source_sha bytea NOT NULL,
    target_sha bytea NOT NULL
);


ALTER TABLE public.external_pull_requests OWNER TO gitlab;

--
-- Name: external_pull_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.external_pull_requests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.external_pull_requests_id_seq OWNER TO gitlab;

--
-- Name: external_pull_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.external_pull_requests_id_seq OWNED BY public.external_pull_requests.id;


--
-- Name: external_status_checks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.external_status_checks (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    external_url text NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_7e3b9eb41a CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_ae0dec3f61 CHECK ((char_length(external_url) <= 255))
);


ALTER TABLE public.external_status_checks OWNER TO gitlab;

--
-- Name: external_status_checks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.external_status_checks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.external_status_checks_id_seq OWNER TO gitlab;

--
-- Name: external_status_checks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.external_status_checks_id_seq OWNED BY public.external_status_checks.id;


--
-- Name: external_status_checks_protected_branches; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.external_status_checks_protected_branches (
    id bigint NOT NULL,
    external_status_check_id bigint NOT NULL,
    protected_branch_id bigint NOT NULL
);


ALTER TABLE public.external_status_checks_protected_branches OWNER TO gitlab;

--
-- Name: external_status_checks_protected_branches_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.external_status_checks_protected_branches_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.external_status_checks_protected_branches_id_seq OWNER TO gitlab;

--
-- Name: external_status_checks_protected_branches_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.external_status_checks_protected_branches_id_seq OWNED BY public.external_status_checks_protected_branches.id;


--
-- Name: feature_gates; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.feature_gates (
    id integer NOT NULL,
    feature_key character varying NOT NULL,
    key character varying NOT NULL,
    value character varying,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.feature_gates OWNER TO gitlab;

--
-- Name: feature_gates_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.feature_gates_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.feature_gates_id_seq OWNER TO gitlab;

--
-- Name: feature_gates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.feature_gates_id_seq OWNED BY public.feature_gates.id;


--
-- Name: features; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.features (
    id integer NOT NULL,
    key character varying NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.features OWNER TO gitlab;

--
-- Name: features_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.features_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.features_id_seq OWNER TO gitlab;

--
-- Name: features_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.features_id_seq OWNED BY public.features.id;


--
-- Name: fork_network_members; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.fork_network_members (
    id integer NOT NULL,
    fork_network_id integer NOT NULL,
    project_id integer NOT NULL,
    forked_from_project_id integer
);


ALTER TABLE public.fork_network_members OWNER TO gitlab;

--
-- Name: fork_network_members_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.fork_network_members_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.fork_network_members_id_seq OWNER TO gitlab;

--
-- Name: fork_network_members_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.fork_network_members_id_seq OWNED BY public.fork_network_members.id;


--
-- Name: fork_networks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.fork_networks (
    id integer NOT NULL,
    root_project_id integer,
    deleted_root_project_name character varying
);


ALTER TABLE public.fork_networks OWNER TO gitlab;

--
-- Name: fork_networks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.fork_networks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.fork_networks_id_seq OWNER TO gitlab;

--
-- Name: fork_networks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.fork_networks_id_seq OWNED BY public.fork_networks.id;


--
-- Name: geo_cache_invalidation_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_cache_invalidation_events (
    id bigint NOT NULL,
    key character varying NOT NULL
);


ALTER TABLE public.geo_cache_invalidation_events OWNER TO gitlab;

--
-- Name: geo_cache_invalidation_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_cache_invalidation_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_cache_invalidation_events_id_seq OWNER TO gitlab;

--
-- Name: geo_cache_invalidation_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_cache_invalidation_events_id_seq OWNED BY public.geo_cache_invalidation_events.id;


--
-- Name: geo_container_repository_updated_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_container_repository_updated_events (
    id bigint NOT NULL,
    container_repository_id integer NOT NULL
);


ALTER TABLE public.geo_container_repository_updated_events OWNER TO gitlab;

--
-- Name: geo_container_repository_updated_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_container_repository_updated_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_container_repository_updated_events_id_seq OWNER TO gitlab;

--
-- Name: geo_container_repository_updated_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_container_repository_updated_events_id_seq OWNED BY public.geo_container_repository_updated_events.id;


--
-- Name: geo_event_log; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_event_log (
    id bigint NOT NULL,
    created_at timestamp without time zone NOT NULL,
    repository_updated_event_id bigint,
    repository_deleted_event_id bigint,
    repository_renamed_event_id bigint,
    repositories_changed_event_id bigint,
    repository_created_event_id bigint,
    hashed_storage_migrated_event_id bigint,
    lfs_object_deleted_event_id bigint,
    hashed_storage_attachments_event_id bigint,
    upload_deleted_event_id bigint,
    job_artifact_deleted_event_id bigint,
    reset_checksum_event_id bigint,
    cache_invalidation_event_id bigint,
    container_repository_updated_event_id bigint,
    geo_event_id integer
);


ALTER TABLE public.geo_event_log OWNER TO gitlab;

--
-- Name: geo_event_log_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_event_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_event_log_id_seq OWNER TO gitlab;

--
-- Name: geo_event_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_event_log_id_seq OWNED BY public.geo_event_log.id;


--
-- Name: geo_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_events (
    id bigint NOT NULL,
    replicable_name character varying(255) NOT NULL,
    event_name character varying(255) NOT NULL,
    payload jsonb DEFAULT '{}'::jsonb NOT NULL,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.geo_events OWNER TO gitlab;

--
-- Name: geo_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_events_id_seq OWNER TO gitlab;

--
-- Name: geo_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_events_id_seq OWNED BY public.geo_events.id;


--
-- Name: geo_hashed_storage_attachments_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_hashed_storage_attachments_events (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    old_attachments_path text NOT NULL,
    new_attachments_path text NOT NULL
);


ALTER TABLE public.geo_hashed_storage_attachments_events OWNER TO gitlab;

--
-- Name: geo_hashed_storage_attachments_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_hashed_storage_attachments_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_hashed_storage_attachments_events_id_seq OWNER TO gitlab;

--
-- Name: geo_hashed_storage_attachments_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_hashed_storage_attachments_events_id_seq OWNED BY public.geo_hashed_storage_attachments_events.id;


--
-- Name: geo_hashed_storage_migrated_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_hashed_storage_migrated_events (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    repository_storage_name text NOT NULL,
    old_disk_path text NOT NULL,
    new_disk_path text NOT NULL,
    old_wiki_disk_path text NOT NULL,
    new_wiki_disk_path text NOT NULL,
    old_storage_version smallint,
    new_storage_version smallint NOT NULL,
    old_design_disk_path text,
    new_design_disk_path text
);


ALTER TABLE public.geo_hashed_storage_migrated_events OWNER TO gitlab;

--
-- Name: geo_hashed_storage_migrated_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_hashed_storage_migrated_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_hashed_storage_migrated_events_id_seq OWNER TO gitlab;

--
-- Name: geo_hashed_storage_migrated_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_hashed_storage_migrated_events_id_seq OWNED BY public.geo_hashed_storage_migrated_events.id;


--
-- Name: geo_job_artifact_deleted_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_job_artifact_deleted_events (
    id bigint NOT NULL,
    job_artifact_id_convert_to_bigint integer DEFAULT 0 NOT NULL,
    file_path character varying NOT NULL,
    job_artifact_id bigint NOT NULL
);


ALTER TABLE public.geo_job_artifact_deleted_events OWNER TO gitlab;

--
-- Name: geo_job_artifact_deleted_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_job_artifact_deleted_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_job_artifact_deleted_events_id_seq OWNER TO gitlab;

--
-- Name: geo_job_artifact_deleted_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_job_artifact_deleted_events_id_seq OWNED BY public.geo_job_artifact_deleted_events.id;


--
-- Name: geo_lfs_object_deleted_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_lfs_object_deleted_events (
    id bigint NOT NULL,
    lfs_object_id integer NOT NULL,
    oid character varying NOT NULL,
    file_path character varying NOT NULL
);


ALTER TABLE public.geo_lfs_object_deleted_events OWNER TO gitlab;

--
-- Name: geo_lfs_object_deleted_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_lfs_object_deleted_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_lfs_object_deleted_events_id_seq OWNER TO gitlab;

--
-- Name: geo_lfs_object_deleted_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_lfs_object_deleted_events_id_seq OWNED BY public.geo_lfs_object_deleted_events.id;


--
-- Name: geo_node_namespace_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_node_namespace_links (
    id integer NOT NULL,
    geo_node_id integer NOT NULL,
    namespace_id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.geo_node_namespace_links OWNER TO gitlab;

--
-- Name: geo_node_namespace_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_node_namespace_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_node_namespace_links_id_seq OWNER TO gitlab;

--
-- Name: geo_node_namespace_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_node_namespace_links_id_seq OWNED BY public.geo_node_namespace_links.id;


--
-- Name: geo_node_statuses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_node_statuses (
    id integer NOT NULL,
    geo_node_id integer NOT NULL,
    db_replication_lag_seconds integer,
    repositories_synced_count integer,
    repositories_failed_count integer,
    lfs_objects_count integer,
    lfs_objects_synced_count integer,
    lfs_objects_failed_count integer,
    attachments_count integer,
    attachments_synced_count integer,
    attachments_failed_count integer,
    last_event_id integer,
    last_event_date timestamp without time zone,
    cursor_last_event_id integer,
    cursor_last_event_date timestamp without time zone,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    last_successful_status_check_at timestamp without time zone,
    status_message character varying,
    replication_slots_count integer,
    replication_slots_used_count integer,
    replication_slots_max_retained_wal_bytes bigint,
    wikis_synced_count integer,
    wikis_failed_count integer,
    job_artifacts_count integer,
    job_artifacts_synced_count integer,
    job_artifacts_failed_count integer,
    version character varying,
    revision character varying,
    repositories_verified_count integer,
    repositories_verification_failed_count integer,
    wikis_verified_count integer,
    wikis_verification_failed_count integer,
    lfs_objects_synced_missing_on_primary_count integer,
    job_artifacts_synced_missing_on_primary_count integer,
    attachments_synced_missing_on_primary_count integer,
    repositories_checksummed_count integer,
    repositories_checksum_failed_count integer,
    repositories_checksum_mismatch_count integer,
    wikis_checksummed_count integer,
    wikis_checksum_failed_count integer,
    wikis_checksum_mismatch_count integer,
    storage_configuration_digest bytea,
    repositories_retrying_verification_count integer,
    wikis_retrying_verification_count integer,
    projects_count integer,
    container_repositories_count integer,
    container_repositories_synced_count integer,
    container_repositories_failed_count integer,
    container_repositories_registry_count integer,
    design_repositories_count integer,
    design_repositories_synced_count integer,
    design_repositories_failed_count integer,
    design_repositories_registry_count integer,
    status jsonb DEFAULT '{}'::jsonb NOT NULL
);


ALTER TABLE public.geo_node_statuses OWNER TO gitlab;

--
-- Name: geo_node_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_node_statuses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_node_statuses_id_seq OWNER TO gitlab;

--
-- Name: geo_node_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_node_statuses_id_seq OWNED BY public.geo_node_statuses.id;


--
-- Name: geo_nodes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_nodes (
    id integer NOT NULL,
    "primary" boolean DEFAULT false NOT NULL,
    oauth_application_id integer,
    enabled boolean DEFAULT true NOT NULL,
    access_key character varying,
    encrypted_secret_access_key character varying,
    encrypted_secret_access_key_iv character varying,
    clone_url_prefix character varying,
    files_max_capacity integer DEFAULT 10 NOT NULL,
    repos_max_capacity integer DEFAULT 25 NOT NULL,
    url character varying NOT NULL,
    selective_sync_type character varying,
    selective_sync_shards text,
    verification_max_capacity integer DEFAULT 100 NOT NULL,
    minimum_reverification_interval integer DEFAULT 7 NOT NULL,
    internal_url character varying,
    name character varying NOT NULL,
    container_repositories_max_capacity integer DEFAULT 10 NOT NULL,
    created_at timestamp with time zone,
    updated_at timestamp with time zone,
    sync_object_storage boolean DEFAULT false NOT NULL
);


ALTER TABLE public.geo_nodes OWNER TO gitlab;

--
-- Name: geo_nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_nodes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_nodes_id_seq OWNER TO gitlab;

--
-- Name: geo_nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_nodes_id_seq OWNED BY public.geo_nodes.id;


--
-- Name: geo_repositories_changed_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_repositories_changed_events (
    id bigint NOT NULL,
    geo_node_id integer NOT NULL
);


ALTER TABLE public.geo_repositories_changed_events OWNER TO gitlab;

--
-- Name: geo_repositories_changed_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_repositories_changed_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_repositories_changed_events_id_seq OWNER TO gitlab;

--
-- Name: geo_repositories_changed_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_repositories_changed_events_id_seq OWNED BY public.geo_repositories_changed_events.id;


--
-- Name: geo_repository_created_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_repository_created_events (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    repository_storage_name text NOT NULL,
    repo_path text NOT NULL,
    wiki_path text,
    project_name text NOT NULL
);


ALTER TABLE public.geo_repository_created_events OWNER TO gitlab;

--
-- Name: geo_repository_created_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_repository_created_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_repository_created_events_id_seq OWNER TO gitlab;

--
-- Name: geo_repository_created_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_repository_created_events_id_seq OWNED BY public.geo_repository_created_events.id;


--
-- Name: geo_repository_deleted_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_repository_deleted_events (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    repository_storage_name text NOT NULL,
    deleted_path text NOT NULL,
    deleted_wiki_path text,
    deleted_project_name text NOT NULL
);


ALTER TABLE public.geo_repository_deleted_events OWNER TO gitlab;

--
-- Name: geo_repository_deleted_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_repository_deleted_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_repository_deleted_events_id_seq OWNER TO gitlab;

--
-- Name: geo_repository_deleted_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_repository_deleted_events_id_seq OWNED BY public.geo_repository_deleted_events.id;


--
-- Name: geo_repository_renamed_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_repository_renamed_events (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    repository_storage_name text NOT NULL,
    old_path_with_namespace text NOT NULL,
    new_path_with_namespace text NOT NULL,
    old_wiki_path_with_namespace text NOT NULL,
    new_wiki_path_with_namespace text NOT NULL,
    old_path text NOT NULL,
    new_path text NOT NULL
);


ALTER TABLE public.geo_repository_renamed_events OWNER TO gitlab;

--
-- Name: geo_repository_renamed_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_repository_renamed_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_repository_renamed_events_id_seq OWNER TO gitlab;

--
-- Name: geo_repository_renamed_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_repository_renamed_events_id_seq OWNED BY public.geo_repository_renamed_events.id;


--
-- Name: geo_repository_updated_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_repository_updated_events (
    id bigint NOT NULL,
    branches_affected integer NOT NULL,
    tags_affected integer NOT NULL,
    project_id integer NOT NULL,
    source smallint NOT NULL,
    new_branch boolean DEFAULT false NOT NULL,
    remove_branch boolean DEFAULT false NOT NULL,
    ref text
);


ALTER TABLE public.geo_repository_updated_events OWNER TO gitlab;

--
-- Name: geo_repository_updated_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_repository_updated_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_repository_updated_events_id_seq OWNER TO gitlab;

--
-- Name: geo_repository_updated_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_repository_updated_events_id_seq OWNED BY public.geo_repository_updated_events.id;


--
-- Name: geo_reset_checksum_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_reset_checksum_events (
    id bigint NOT NULL,
    project_id integer NOT NULL
);


ALTER TABLE public.geo_reset_checksum_events OWNER TO gitlab;

--
-- Name: geo_reset_checksum_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_reset_checksum_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_reset_checksum_events_id_seq OWNER TO gitlab;

--
-- Name: geo_reset_checksum_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_reset_checksum_events_id_seq OWNED BY public.geo_reset_checksum_events.id;


--
-- Name: geo_upload_deleted_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.geo_upload_deleted_events (
    id bigint NOT NULL,
    upload_id integer NOT NULL,
    file_path character varying NOT NULL,
    model_id integer NOT NULL,
    model_type character varying NOT NULL,
    uploader character varying NOT NULL
);


ALTER TABLE public.geo_upload_deleted_events OWNER TO gitlab;

--
-- Name: geo_upload_deleted_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.geo_upload_deleted_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.geo_upload_deleted_events_id_seq OWNER TO gitlab;

--
-- Name: geo_upload_deleted_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.geo_upload_deleted_events_id_seq OWNED BY public.geo_upload_deleted_events.id;


--
-- Name: gitlab_subscription_histories; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.gitlab_subscription_histories (
    id bigint NOT NULL,
    gitlab_subscription_created_at timestamp with time zone,
    gitlab_subscription_updated_at timestamp with time zone,
    start_date date,
    end_date date,
    trial_ends_on date,
    namespace_id integer,
    hosted_plan_id integer,
    max_seats_used integer,
    seats integer,
    trial boolean,
    change_type smallint,
    gitlab_subscription_id bigint NOT NULL,
    created_at timestamp with time zone,
    trial_starts_on date,
    auto_renew boolean,
    trial_extension_type smallint
);


ALTER TABLE public.gitlab_subscription_histories OWNER TO gitlab;

--
-- Name: gitlab_subscription_histories_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.gitlab_subscription_histories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.gitlab_subscription_histories_id_seq OWNER TO gitlab;

--
-- Name: gitlab_subscription_histories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.gitlab_subscription_histories_id_seq OWNED BY public.gitlab_subscription_histories.id;


--
-- Name: gitlab_subscriptions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.gitlab_subscriptions (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    start_date date,
    end_date date,
    trial_ends_on date,
    namespace_id integer,
    hosted_plan_id integer,
    max_seats_used integer DEFAULT 0,
    seats integer DEFAULT 0,
    trial boolean DEFAULT false,
    trial_starts_on date,
    auto_renew boolean,
    seats_in_use integer DEFAULT 0 NOT NULL,
    seats_owed integer DEFAULT 0 NOT NULL,
    trial_extension_type smallint,
    CONSTRAINT check_77fea3f0e7 CHECK ((namespace_id IS NOT NULL))
);


ALTER TABLE public.gitlab_subscriptions OWNER TO gitlab;

--
-- Name: gitlab_subscriptions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.gitlab_subscriptions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.gitlab_subscriptions_id_seq OWNER TO gitlab;

--
-- Name: gitlab_subscriptions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.gitlab_subscriptions_id_seq OWNED BY public.gitlab_subscriptions.id;


--
-- Name: gpg_key_subkeys; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.gpg_key_subkeys (
    id integer NOT NULL,
    gpg_key_id integer NOT NULL,
    keyid bytea,
    fingerprint bytea
);


ALTER TABLE public.gpg_key_subkeys OWNER TO gitlab;

--
-- Name: gpg_key_subkeys_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.gpg_key_subkeys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.gpg_key_subkeys_id_seq OWNER TO gitlab;

--
-- Name: gpg_key_subkeys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.gpg_key_subkeys_id_seq OWNED BY public.gpg_key_subkeys.id;


--
-- Name: gpg_keys; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.gpg_keys (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    user_id integer,
    primary_keyid bytea,
    fingerprint bytea,
    key text
);


ALTER TABLE public.gpg_keys OWNER TO gitlab;

--
-- Name: gpg_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.gpg_keys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.gpg_keys_id_seq OWNER TO gitlab;

--
-- Name: gpg_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.gpg_keys_id_seq OWNED BY public.gpg_keys.id;


--
-- Name: gpg_signatures; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.gpg_signatures (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer,
    gpg_key_id integer,
    commit_sha bytea,
    gpg_key_primary_keyid bytea,
    gpg_key_user_name text,
    gpg_key_user_email text,
    verification_status smallint DEFAULT 0 NOT NULL,
    gpg_key_subkey_id integer
);


ALTER TABLE public.gpg_signatures OWNER TO gitlab;

--
-- Name: gpg_signatures_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.gpg_signatures_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.gpg_signatures_id_seq OWNER TO gitlab;

--
-- Name: gpg_signatures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.gpg_signatures_id_seq OWNED BY public.gpg_signatures.id;


--
-- Name: grafana_integrations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.grafana_integrations (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    encrypted_token character varying(255) NOT NULL,
    encrypted_token_iv character varying(255) NOT NULL,
    grafana_url character varying(1024) NOT NULL,
    enabled boolean DEFAULT false NOT NULL
);


ALTER TABLE public.grafana_integrations OWNER TO gitlab;

--
-- Name: grafana_integrations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.grafana_integrations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.grafana_integrations_id_seq OWNER TO gitlab;

--
-- Name: grafana_integrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.grafana_integrations_id_seq OWNED BY public.grafana_integrations.id;


--
-- Name: group_custom_attributes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_custom_attributes (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id integer NOT NULL,
    key character varying NOT NULL,
    value character varying NOT NULL
);


ALTER TABLE public.group_custom_attributes OWNER TO gitlab;

--
-- Name: group_custom_attributes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.group_custom_attributes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.group_custom_attributes_id_seq OWNER TO gitlab;

--
-- Name: group_custom_attributes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.group_custom_attributes_id_seq OWNED BY public.group_custom_attributes.id;


--
-- Name: group_deletion_schedules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_deletion_schedules (
    group_id bigint NOT NULL,
    user_id bigint NOT NULL,
    marked_for_deletion_on date NOT NULL
);


ALTER TABLE public.group_deletion_schedules OWNER TO gitlab;

--
-- Name: group_deploy_keys; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_deploy_keys (
    id bigint NOT NULL,
    user_id bigint,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    last_used_at timestamp with time zone,
    expires_at timestamp with time zone,
    key text NOT NULL,
    title text,
    fingerprint text NOT NULL,
    fingerprint_sha256 bytea,
    CONSTRAINT check_cc0365908d CHECK ((char_length(title) <= 255)),
    CONSTRAINT check_e4526dcf91 CHECK ((char_length(fingerprint) <= 255)),
    CONSTRAINT check_f58fa0a0f7 CHECK ((char_length(key) <= 4096))
);


ALTER TABLE public.group_deploy_keys OWNER TO gitlab;

--
-- Name: group_deploy_keys_groups; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_deploy_keys_groups (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id bigint NOT NULL,
    group_deploy_key_id bigint NOT NULL,
    can_push boolean DEFAULT false NOT NULL
);


ALTER TABLE public.group_deploy_keys_groups OWNER TO gitlab;

--
-- Name: group_deploy_keys_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.group_deploy_keys_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.group_deploy_keys_groups_id_seq OWNER TO gitlab;

--
-- Name: group_deploy_keys_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.group_deploy_keys_groups_id_seq OWNED BY public.group_deploy_keys_groups.id;


--
-- Name: group_deploy_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.group_deploy_keys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.group_deploy_keys_id_seq OWNER TO gitlab;

--
-- Name: group_deploy_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.group_deploy_keys_id_seq OWNED BY public.group_deploy_keys.id;


--
-- Name: group_deploy_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_deploy_tokens (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id bigint NOT NULL,
    deploy_token_id bigint NOT NULL
);


ALTER TABLE public.group_deploy_tokens OWNER TO gitlab;

--
-- Name: group_deploy_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.group_deploy_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.group_deploy_tokens_id_seq OWNER TO gitlab;

--
-- Name: group_deploy_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.group_deploy_tokens_id_seq OWNED BY public.group_deploy_tokens.id;


--
-- Name: group_group_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_group_links (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    shared_group_id bigint NOT NULL,
    shared_with_group_id bigint NOT NULL,
    expires_at date,
    group_access smallint DEFAULT 30 NOT NULL
);


ALTER TABLE public.group_group_links OWNER TO gitlab;

--
-- Name: group_group_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.group_group_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.group_group_links_id_seq OWNER TO gitlab;

--
-- Name: group_group_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.group_group_links_id_seq OWNED BY public.group_group_links.id;


--
-- Name: group_import_states; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_import_states (
    group_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    jid text,
    last_error text,
    user_id bigint,
    CONSTRAINT check_87b58f6b30 CHECK ((char_length(last_error) <= 255)),
    CONSTRAINT check_96558fff96 CHECK ((char_length(jid) <= 100))
);


ALTER TABLE public.group_import_states OWNER TO gitlab;

--
-- Name: group_import_states_group_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.group_import_states_group_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.group_import_states_group_id_seq OWNER TO gitlab;

--
-- Name: group_import_states_group_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.group_import_states_group_id_seq OWNED BY public.group_import_states.group_id;


--
-- Name: group_merge_request_approval_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_merge_request_approval_settings (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id bigint NOT NULL,
    allow_author_approval boolean DEFAULT false NOT NULL,
    allow_committer_approval boolean DEFAULT false NOT NULL,
    allow_overrides_to_approver_list_per_merge_request boolean DEFAULT false NOT NULL,
    retain_approvals_on_push boolean DEFAULT false NOT NULL,
    require_password_to_approve boolean DEFAULT false NOT NULL
);


ALTER TABLE public.group_merge_request_approval_settings OWNER TO gitlab;

--
-- Name: group_repository_storage_moves; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_repository_storage_moves (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id bigint NOT NULL,
    state smallint DEFAULT 1 NOT NULL,
    source_storage_name text NOT NULL,
    destination_storage_name text NOT NULL,
    CONSTRAINT group_repository_storage_moves_destination_storage_name CHECK ((char_length(destination_storage_name) <= 255)),
    CONSTRAINT group_repository_storage_moves_source_storage_name CHECK ((char_length(source_storage_name) <= 255))
);


ALTER TABLE public.group_repository_storage_moves OWNER TO gitlab;

--
-- Name: group_repository_storage_moves_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.group_repository_storage_moves_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.group_repository_storage_moves_id_seq OWNER TO gitlab;

--
-- Name: group_repository_storage_moves_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.group_repository_storage_moves_id_seq OWNED BY public.group_repository_storage_moves.id;


--
-- Name: group_wiki_repositories; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.group_wiki_repositories (
    shard_id bigint NOT NULL,
    group_id bigint NOT NULL,
    disk_path text NOT NULL,
    CONSTRAINT check_07f1c81806 CHECK ((char_length(disk_path) <= 80))
);


ALTER TABLE public.group_wiki_repositories OWNER TO gitlab;

--
-- Name: historical_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.historical_data (
    id integer NOT NULL,
    date date,
    active_user_count integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    recorded_at timestamp with time zone,
    CONSTRAINT check_640e8cf66c CHECK ((recorded_at IS NOT NULL))
);


ALTER TABLE public.historical_data OWNER TO gitlab;

--
-- Name: historical_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.historical_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.historical_data_id_seq OWNER TO gitlab;

--
-- Name: historical_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.historical_data_id_seq OWNED BY public.historical_data.id;


--
-- Name: identities; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.identities (
    id integer NOT NULL,
    extern_uid character varying,
    provider character varying,
    user_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    secondary_extern_uid character varying,
    saml_provider_id integer
);


ALTER TABLE public.identities OWNER TO gitlab;

--
-- Name: identities_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.identities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.identities_id_seq OWNER TO gitlab;

--
-- Name: identities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.identities_id_seq OWNED BY public.identities.id;


--
-- Name: import_export_uploads; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.import_export_uploads (
    id integer NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer,
    import_file text,
    export_file text,
    group_id bigint,
    remote_import_url text,
    CONSTRAINT check_58f0d37481 CHECK ((char_length(remote_import_url) <= 512))
);


ALTER TABLE public.import_export_uploads OWNER TO gitlab;

--
-- Name: import_export_uploads_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.import_export_uploads_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.import_export_uploads_id_seq OWNER TO gitlab;

--
-- Name: import_export_uploads_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.import_export_uploads_id_seq OWNED BY public.import_export_uploads.id;


--
-- Name: import_failures; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.import_failures (
    id bigint NOT NULL,
    relation_index integer,
    project_id bigint,
    created_at timestamp with time zone NOT NULL,
    relation_key character varying(64),
    exception_class character varying(128),
    correlation_id_value character varying(128),
    exception_message character varying(255),
    retry_count integer,
    group_id integer,
    source character varying(128)
);


ALTER TABLE public.import_failures OWNER TO gitlab;

--
-- Name: import_failures_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.import_failures_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.import_failures_id_seq OWNER TO gitlab;

--
-- Name: import_failures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.import_failures_id_seq OWNED BY public.import_failures.id;


--
-- Name: in_product_marketing_emails; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.in_product_marketing_emails (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    cta_clicked_at timestamp with time zone,
    track smallint NOT NULL,
    series smallint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.in_product_marketing_emails OWNER TO gitlab;

--
-- Name: in_product_marketing_emails_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.in_product_marketing_emails_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.in_product_marketing_emails_id_seq OWNER TO gitlab;

--
-- Name: in_product_marketing_emails_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.in_product_marketing_emails_id_seq OWNED BY public.in_product_marketing_emails.id;


--
-- Name: incident_management_escalation_policies; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.incident_management_escalation_policies (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    name text NOT NULL,
    description text,
    CONSTRAINT check_510b2a5258 CHECK ((char_length(description) <= 160)),
    CONSTRAINT check_9a26365850 CHECK ((char_length(name) <= 72))
);


ALTER TABLE public.incident_management_escalation_policies OWNER TO gitlab;

--
-- Name: incident_management_escalation_policies_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.incident_management_escalation_policies_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.incident_management_escalation_policies_id_seq OWNER TO gitlab;

--
-- Name: incident_management_escalation_policies_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.incident_management_escalation_policies_id_seq OWNED BY public.incident_management_escalation_policies.id;


--
-- Name: incident_management_escalation_rules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.incident_management_escalation_rules (
    id bigint NOT NULL,
    policy_id bigint NOT NULL,
    oncall_schedule_id bigint,
    status smallint NOT NULL,
    elapsed_time_seconds integer NOT NULL,
    is_removed boolean DEFAULT false NOT NULL,
    user_id bigint,
    CONSTRAINT escalation_rules_one_of_oncall_schedule_or_user CHECK ((num_nonnulls(oncall_schedule_id, user_id) = 1))
);


ALTER TABLE public.incident_management_escalation_rules OWNER TO gitlab;

--
-- Name: incident_management_escalation_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.incident_management_escalation_rules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.incident_management_escalation_rules_id_seq OWNER TO gitlab;

--
-- Name: incident_management_escalation_rules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.incident_management_escalation_rules_id_seq OWNED BY public.incident_management_escalation_rules.id;


--
-- Name: incident_management_issuable_escalation_statuses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.incident_management_issuable_escalation_statuses (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    issue_id bigint NOT NULL,
    policy_id bigint,
    escalations_started_at timestamp with time zone,
    resolved_at timestamp with time zone,
    status smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.incident_management_issuable_escalation_statuses OWNER TO gitlab;

--
-- Name: incident_management_issuable_escalation_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.incident_management_issuable_escalation_statuses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.incident_management_issuable_escalation_statuses_id_seq OWNER TO gitlab;

--
-- Name: incident_management_issuable_escalation_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.incident_management_issuable_escalation_statuses_id_seq OWNED BY public.incident_management_issuable_escalation_statuses.id;


--
-- Name: incident_management_oncall_participants; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.incident_management_oncall_participants (
    id bigint NOT NULL,
    oncall_rotation_id bigint NOT NULL,
    user_id bigint NOT NULL,
    color_palette smallint NOT NULL,
    color_weight smallint NOT NULL,
    is_removed boolean DEFAULT false NOT NULL
);


ALTER TABLE public.incident_management_oncall_participants OWNER TO gitlab;

--
-- Name: incident_management_oncall_participants_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.incident_management_oncall_participants_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.incident_management_oncall_participants_id_seq OWNER TO gitlab;

--
-- Name: incident_management_oncall_participants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.incident_management_oncall_participants_id_seq OWNED BY public.incident_management_oncall_participants.id;


--
-- Name: incident_management_oncall_rotations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.incident_management_oncall_rotations (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    oncall_schedule_id bigint NOT NULL,
    length integer NOT NULL,
    length_unit smallint NOT NULL,
    starts_at timestamp with time zone NOT NULL,
    name text NOT NULL,
    ends_at timestamp with time zone,
    active_period_start time without time zone,
    active_period_end time without time zone,
    CONSTRAINT check_5209fb5d02 CHECK ((char_length(name) <= 200))
);


ALTER TABLE public.incident_management_oncall_rotations OWNER TO gitlab;

--
-- Name: incident_management_oncall_rotations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.incident_management_oncall_rotations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.incident_management_oncall_rotations_id_seq OWNER TO gitlab;

--
-- Name: incident_management_oncall_rotations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.incident_management_oncall_rotations_id_seq OWNED BY public.incident_management_oncall_rotations.id;


--
-- Name: incident_management_oncall_schedules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.incident_management_oncall_schedules (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    iid integer NOT NULL,
    name text NOT NULL,
    description text,
    timezone text,
    CONSTRAINT check_7ed1fd5aa7 CHECK ((char_length(description) <= 1000)),
    CONSTRAINT check_cc77cbb103 CHECK ((char_length(timezone) <= 100)),
    CONSTRAINT check_e6ef43a664 CHECK ((char_length(name) <= 200))
);


ALTER TABLE public.incident_management_oncall_schedules OWNER TO gitlab;

--
-- Name: incident_management_oncall_schedules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.incident_management_oncall_schedules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.incident_management_oncall_schedules_id_seq OWNER TO gitlab;

--
-- Name: incident_management_oncall_schedules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.incident_management_oncall_schedules_id_seq OWNED BY public.incident_management_oncall_schedules.id;


--
-- Name: incident_management_oncall_shifts; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.incident_management_oncall_shifts (
    id bigint NOT NULL,
    rotation_id bigint NOT NULL,
    participant_id bigint NOT NULL,
    starts_at timestamp with time zone NOT NULL,
    ends_at timestamp with time zone NOT NULL
);


ALTER TABLE public.incident_management_oncall_shifts OWNER TO gitlab;

--
-- Name: incident_management_oncall_shifts_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.incident_management_oncall_shifts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.incident_management_oncall_shifts_id_seq OWNER TO gitlab;

--
-- Name: incident_management_oncall_shifts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.incident_management_oncall_shifts_id_seq OWNED BY public.incident_management_oncall_shifts.id;


--
-- Name: incident_management_pending_alert_escalations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.incident_management_pending_alert_escalations (
    id bigint NOT NULL,
    rule_id bigint NOT NULL,
    alert_id bigint NOT NULL,
    schedule_id bigint,
    process_at timestamp with time zone NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status smallint
)
PARTITION BY RANGE (process_at);


ALTER TABLE public.incident_management_pending_alert_escalations OWNER TO gitlab;

--
-- Name: incident_management_pending_alert_escalations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.incident_management_pending_alert_escalations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.incident_management_pending_alert_escalations_id_seq OWNER TO gitlab;

--
-- Name: incident_management_pending_alert_escalations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.incident_management_pending_alert_escalations_id_seq OWNED BY public.incident_management_pending_alert_escalations.id;


--
-- Name: index_statuses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.index_statuses (
    id integer NOT NULL,
    project_id integer NOT NULL,
    indexed_at timestamp without time zone,
    note text,
    last_commit character varying,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    last_wiki_commit bytea,
    wiki_indexed_at timestamp with time zone
);


ALTER TABLE public.index_statuses OWNER TO gitlab;

--
-- Name: index_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.index_statuses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.index_statuses_id_seq OWNER TO gitlab;

--
-- Name: index_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.index_statuses_id_seq OWNED BY public.index_statuses.id;


--
-- Name: insights; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.insights (
    id integer NOT NULL,
    namespace_id integer NOT NULL,
    project_id integer NOT NULL
);


ALTER TABLE public.insights OWNER TO gitlab;

--
-- Name: insights_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.insights_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.insights_id_seq OWNER TO gitlab;

--
-- Name: insights_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.insights_id_seq OWNED BY public.insights.id;


--
-- Name: integrations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.integrations (
    id integer NOT NULL,
    type character varying,
    project_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    active boolean DEFAULT false NOT NULL,
    properties text,
    push_events boolean DEFAULT true,
    issues_events boolean DEFAULT true,
    merge_requests_events boolean DEFAULT true,
    tag_push_events boolean DEFAULT true,
    note_events boolean DEFAULT true NOT NULL,
    category character varying DEFAULT 'common'::character varying NOT NULL,
    wiki_page_events boolean DEFAULT true,
    pipeline_events boolean DEFAULT false NOT NULL,
    confidential_issues_events boolean DEFAULT true NOT NULL,
    commit_events boolean DEFAULT true NOT NULL,
    job_events boolean DEFAULT false NOT NULL,
    confidential_note_events boolean DEFAULT true,
    deployment_events boolean DEFAULT false NOT NULL,
    comment_on_event_enabled boolean DEFAULT true NOT NULL,
    template boolean DEFAULT false,
    instance boolean DEFAULT false NOT NULL,
    comment_detail smallint,
    inherit_from_id bigint,
    alert_events boolean,
    group_id bigint,
    type_new text,
    CONSTRAINT check_a948a0aa7e CHECK ((char_length(type_new) <= 255))
);


ALTER TABLE public.integrations OWNER TO gitlab;

--
-- Name: integrations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.integrations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.integrations_id_seq OWNER TO gitlab;

--
-- Name: integrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.integrations_id_seq OWNED BY public.integrations.id;


--
-- Name: internal_ids; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.internal_ids (
    id bigint NOT NULL,
    project_id integer,
    usage integer NOT NULL,
    last_value integer NOT NULL,
    namespace_id integer
);


ALTER TABLE public.internal_ids OWNER TO gitlab;

--
-- Name: internal_ids_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.internal_ids_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.internal_ids_id_seq OWNER TO gitlab;

--
-- Name: internal_ids_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.internal_ids_id_seq OWNED BY public.internal_ids.id;


--
-- Name: ip_restrictions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ip_restrictions (
    id bigint NOT NULL,
    group_id integer NOT NULL,
    range character varying NOT NULL
);


ALTER TABLE public.ip_restrictions OWNER TO gitlab;

--
-- Name: ip_restrictions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ip_restrictions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ip_restrictions_id_seq OWNER TO gitlab;

--
-- Name: ip_restrictions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ip_restrictions_id_seq OWNED BY public.ip_restrictions.id;


--
-- Name: issuable_metric_images; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issuable_metric_images (
    id bigint NOT NULL,
    issue_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    file_store smallint,
    file text NOT NULL,
    url text,
    CONSTRAINT check_5b3011e234 CHECK ((char_length(url) <= 255)),
    CONSTRAINT check_7ed527062f CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.issuable_metric_images OWNER TO gitlab;

--
-- Name: issuable_metric_images_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issuable_metric_images_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issuable_metric_images_id_seq OWNER TO gitlab;

--
-- Name: issuable_metric_images_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issuable_metric_images_id_seq OWNED BY public.issuable_metric_images.id;


--
-- Name: issuable_severities; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issuable_severities (
    id bigint NOT NULL,
    issue_id bigint NOT NULL,
    severity smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.issuable_severities OWNER TO gitlab;

--
-- Name: issuable_severities_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issuable_severities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issuable_severities_id_seq OWNER TO gitlab;

--
-- Name: issuable_severities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issuable_severities_id_seq OWNED BY public.issuable_severities.id;


--
-- Name: issuable_slas; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issuable_slas (
    id bigint NOT NULL,
    issue_id bigint NOT NULL,
    due_at timestamp with time zone NOT NULL,
    label_applied boolean DEFAULT false NOT NULL,
    issuable_closed boolean DEFAULT false NOT NULL
);


ALTER TABLE public.issuable_slas OWNER TO gitlab;

--
-- Name: issuable_slas_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issuable_slas_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issuable_slas_id_seq OWNER TO gitlab;

--
-- Name: issuable_slas_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issuable_slas_id_seq OWNED BY public.issuable_slas.id;


--
-- Name: issue_assignees; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issue_assignees (
    user_id integer NOT NULL,
    issue_id integer NOT NULL
);


ALTER TABLE public.issue_assignees OWNER TO gitlab;

--
-- Name: issue_email_participants; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issue_email_participants (
    id bigint NOT NULL,
    issue_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    email text NOT NULL,
    CONSTRAINT check_2c321d408d CHECK ((char_length(email) <= 255))
);


ALTER TABLE public.issue_email_participants OWNER TO gitlab;

--
-- Name: issue_email_participants_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issue_email_participants_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issue_email_participants_id_seq OWNER TO gitlab;

--
-- Name: issue_email_participants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issue_email_participants_id_seq OWNED BY public.issue_email_participants.id;


--
-- Name: issue_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issue_links (
    id integer NOT NULL,
    source_id integer NOT NULL,
    target_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    link_type smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.issue_links OWNER TO gitlab;

--
-- Name: issue_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issue_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issue_links_id_seq OWNER TO gitlab;

--
-- Name: issue_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issue_links_id_seq OWNED BY public.issue_links.id;


--
-- Name: issue_metrics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issue_metrics (
    id integer NOT NULL,
    issue_id integer NOT NULL,
    first_mentioned_in_commit_at timestamp without time zone,
    first_associated_with_milestone_at timestamp without time zone,
    first_added_to_board_at timestamp without time zone,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.issue_metrics OWNER TO gitlab;

--
-- Name: issue_metrics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issue_metrics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issue_metrics_id_seq OWNER TO gitlab;

--
-- Name: issue_metrics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issue_metrics_id_seq OWNED BY public.issue_metrics.id;


--
-- Name: issue_tracker_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issue_tracker_data (
    id bigint NOT NULL,
    service_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    encrypted_project_url character varying,
    encrypted_project_url_iv character varying,
    encrypted_issues_url character varying,
    encrypted_issues_url_iv character varying,
    encrypted_new_issue_url character varying,
    encrypted_new_issue_url_iv character varying
);


ALTER TABLE public.issue_tracker_data OWNER TO gitlab;

--
-- Name: issue_tracker_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issue_tracker_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issue_tracker_data_id_seq OWNER TO gitlab;

--
-- Name: issue_tracker_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issue_tracker_data_id_seq OWNED BY public.issue_tracker_data.id;


--
-- Name: issue_user_mentions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issue_user_mentions (
    id bigint NOT NULL,
    issue_id integer NOT NULL,
    note_id integer,
    mentioned_users_ids integer[],
    mentioned_projects_ids integer[],
    mentioned_groups_ids integer[]
);


ALTER TABLE public.issue_user_mentions OWNER TO gitlab;

--
-- Name: issue_user_mentions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issue_user_mentions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issue_user_mentions_id_seq OWNER TO gitlab;

--
-- Name: issue_user_mentions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issue_user_mentions_id_seq OWNED BY public.issue_user_mentions.id;


--
-- Name: issues; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issues (
    id integer NOT NULL,
    title character varying,
    author_id integer,
    project_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    description text,
    milestone_id integer,
    iid integer,
    updated_by_id integer,
    weight integer,
    confidential boolean DEFAULT false NOT NULL,
    due_date date,
    moved_to_id integer,
    lock_version integer DEFAULT 0,
    title_html text,
    description_html text,
    time_estimate integer,
    relative_position integer,
    service_desk_reply_to character varying,
    cached_markdown_version integer,
    last_edited_at timestamp without time zone,
    last_edited_by_id integer,
    discussion_locked boolean,
    closed_at timestamp with time zone,
    closed_by_id integer,
    state_id smallint DEFAULT 1 NOT NULL,
    duplicated_to_id integer,
    promoted_to_epic_id integer,
    health_status smallint,
    external_key character varying(255),
    sprint_id bigint,
    issue_type smallint DEFAULT 0 NOT NULL,
    blocking_issues_count integer DEFAULT 0 NOT NULL,
    upvotes_count integer DEFAULT 0 NOT NULL,
    work_item_type_id bigint,
    CONSTRAINT check_fba63f706d CHECK ((lock_version IS NOT NULL))
);


ALTER TABLE public.issues OWNER TO gitlab;

--
-- Name: issues_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.issues_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.issues_id_seq OWNER TO gitlab;

--
-- Name: issues_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.issues_id_seq OWNED BY public.issues.id;


--
-- Name: issues_prometheus_alert_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issues_prometheus_alert_events (
    issue_id bigint NOT NULL,
    prometheus_alert_event_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.issues_prometheus_alert_events OWNER TO gitlab;

--
-- Name: issues_self_managed_prometheus_alert_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.issues_self_managed_prometheus_alert_events (
    issue_id bigint NOT NULL,
    self_managed_prometheus_alert_event_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.issues_self_managed_prometheus_alert_events OWNER TO gitlab;

--
-- Name: iterations_cadences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.iterations_cadences (
    id bigint NOT NULL,
    group_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    start_date date NOT NULL,
    last_run_date date,
    duration_in_weeks integer,
    iterations_in_advance integer,
    active boolean DEFAULT true NOT NULL,
    automatic boolean DEFAULT true NOT NULL,
    title text NOT NULL,
    roll_over boolean DEFAULT false NOT NULL,
    description text,
    CONSTRAINT check_5c5d2b44bd CHECK ((char_length(description) <= 5000)),
    CONSTRAINT check_fedff82d3b CHECK ((char_length(title) <= 255))
);


ALTER TABLE public.iterations_cadences OWNER TO gitlab;

--
-- Name: iterations_cadences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.iterations_cadences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.iterations_cadences_id_seq OWNER TO gitlab;

--
-- Name: iterations_cadences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.iterations_cadences_id_seq OWNED BY public.iterations_cadences.id;


--
-- Name: jira_connect_installations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.jira_connect_installations (
    id bigint NOT NULL,
    client_key character varying,
    encrypted_shared_secret character varying,
    encrypted_shared_secret_iv character varying,
    base_url character varying,
    instance_url text,
    CONSTRAINT check_4c6abed669 CHECK ((char_length(instance_url) <= 255))
);


ALTER TABLE public.jira_connect_installations OWNER TO gitlab;

--
-- Name: jira_connect_installations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.jira_connect_installations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.jira_connect_installations_id_seq OWNER TO gitlab;

--
-- Name: jira_connect_installations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.jira_connect_installations_id_seq OWNED BY public.jira_connect_installations.id;


--
-- Name: jira_connect_subscriptions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.jira_connect_subscriptions (
    id bigint NOT NULL,
    jira_connect_installation_id bigint NOT NULL,
    namespace_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.jira_connect_subscriptions OWNER TO gitlab;

--
-- Name: jira_connect_subscriptions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.jira_connect_subscriptions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.jira_connect_subscriptions_id_seq OWNER TO gitlab;

--
-- Name: jira_connect_subscriptions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.jira_connect_subscriptions_id_seq OWNED BY public.jira_connect_subscriptions.id;


--
-- Name: jira_imports; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.jira_imports (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    user_id bigint,
    label_id bigint,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    finished_at timestamp with time zone,
    jira_project_xid bigint NOT NULL,
    total_issue_count integer DEFAULT 0 NOT NULL,
    imported_issues_count integer DEFAULT 0 NOT NULL,
    failed_to_import_count integer DEFAULT 0 NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    jid character varying(255),
    jira_project_key character varying(255) NOT NULL,
    jira_project_name character varying(255) NOT NULL,
    scheduled_at timestamp with time zone,
    error_message text,
    CONSTRAINT check_9ed451c5b1 CHECK ((char_length(error_message) <= 1000))
);


ALTER TABLE public.jira_imports OWNER TO gitlab;

--
-- Name: jira_imports_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.jira_imports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.jira_imports_id_seq OWNER TO gitlab;

--
-- Name: jira_imports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.jira_imports_id_seq OWNED BY public.jira_imports.id;


--
-- Name: jira_tracker_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.jira_tracker_data (
    id bigint NOT NULL,
    service_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    encrypted_url character varying,
    encrypted_url_iv character varying,
    encrypted_api_url character varying,
    encrypted_api_url_iv character varying,
    encrypted_username character varying,
    encrypted_username_iv character varying,
    encrypted_password character varying,
    encrypted_password_iv character varying,
    jira_issue_transition_id character varying,
    project_key text,
    issues_enabled boolean DEFAULT false NOT NULL,
    deployment_type smallint DEFAULT 0 NOT NULL,
    vulnerabilities_issuetype text,
    vulnerabilities_enabled boolean DEFAULT false NOT NULL,
    jira_issue_transition_automatic boolean DEFAULT false NOT NULL,
    CONSTRAINT check_0bf84b76e9 CHECK ((char_length(vulnerabilities_issuetype) <= 255)),
    CONSTRAINT check_214cf6a48b CHECK ((char_length(project_key) <= 255))
);


ALTER TABLE public.jira_tracker_data OWNER TO gitlab;

--
-- Name: jira_tracker_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.jira_tracker_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.jira_tracker_data_id_seq OWNER TO gitlab;

--
-- Name: jira_tracker_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.jira_tracker_data_id_seq OWNED BY public.jira_tracker_data.id;


--
-- Name: keys; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.keys (
    id integer NOT NULL,
    user_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    key text,
    title character varying,
    type character varying,
    fingerprint character varying,
    public boolean DEFAULT false NOT NULL,
    last_used_at timestamp without time zone,
    fingerprint_sha256 bytea,
    expires_at timestamp with time zone,
    expiry_notification_delivered_at timestamp with time zone,
    before_expiry_notification_delivered_at timestamp with time zone
);


ALTER TABLE public.keys OWNER TO gitlab;

--
-- Name: keys_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.keys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.keys_id_seq OWNER TO gitlab;

--
-- Name: keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.keys_id_seq OWNED BY public.keys.id;


--
-- Name: label_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.label_links (
    id integer NOT NULL,
    label_id integer,
    target_id integer,
    target_type character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone
);


ALTER TABLE public.label_links OWNER TO gitlab;

--
-- Name: label_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.label_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.label_links_id_seq OWNER TO gitlab;

--
-- Name: label_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.label_links_id_seq OWNED BY public.label_links.id;


--
-- Name: label_priorities; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.label_priorities (
    id integer NOT NULL,
    project_id integer NOT NULL,
    label_id integer NOT NULL,
    priority integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.label_priorities OWNER TO gitlab;

--
-- Name: label_priorities_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.label_priorities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.label_priorities_id_seq OWNER TO gitlab;

--
-- Name: label_priorities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.label_priorities_id_seq OWNED BY public.label_priorities.id;


--
-- Name: labels; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.labels (
    id integer NOT NULL,
    title character varying,
    color character varying,
    project_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    template boolean DEFAULT false,
    description character varying,
    description_html text,
    type character varying,
    group_id integer,
    cached_markdown_version integer
);


ALTER TABLE public.labels OWNER TO gitlab;

--
-- Name: labels_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.labels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.labels_id_seq OWNER TO gitlab;

--
-- Name: labels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.labels_id_seq OWNED BY public.labels.id;


--
-- Name: ldap_group_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.ldap_group_links (
    id integer NOT NULL,
    cn character varying,
    group_access integer NOT NULL,
    group_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    provider character varying,
    filter character varying
);


ALTER TABLE public.ldap_group_links OWNER TO gitlab;

--
-- Name: ldap_group_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.ldap_group_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ldap_group_links_id_seq OWNER TO gitlab;

--
-- Name: ldap_group_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.ldap_group_links_id_seq OWNED BY public.ldap_group_links.id;


--
-- Name: lfs_file_locks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.lfs_file_locks (
    id integer NOT NULL,
    project_id integer NOT NULL,
    user_id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    path character varying(511)
);


ALTER TABLE public.lfs_file_locks OWNER TO gitlab;

--
-- Name: lfs_file_locks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.lfs_file_locks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.lfs_file_locks_id_seq OWNER TO gitlab;

--
-- Name: lfs_file_locks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.lfs_file_locks_id_seq OWNED BY public.lfs_file_locks.id;


--
-- Name: lfs_objects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.lfs_objects (
    id integer NOT NULL,
    oid character varying NOT NULL,
    size bigint NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    file character varying,
    file_store integer DEFAULT 1,
    CONSTRAINT check_eecfc5717d CHECK ((file_store IS NOT NULL))
);


ALTER TABLE public.lfs_objects OWNER TO gitlab;

--
-- Name: lfs_objects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.lfs_objects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.lfs_objects_id_seq OWNER TO gitlab;

--
-- Name: lfs_objects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.lfs_objects_id_seq OWNED BY public.lfs_objects.id;


--
-- Name: lfs_objects_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.lfs_objects_projects (
    id integer NOT NULL,
    lfs_object_id integer NOT NULL,
    project_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    repository_type smallint
);


ALTER TABLE public.lfs_objects_projects OWNER TO gitlab;

--
-- Name: lfs_objects_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.lfs_objects_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.lfs_objects_projects_id_seq OWNER TO gitlab;

--
-- Name: lfs_objects_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.lfs_objects_projects_id_seq OWNED BY public.lfs_objects_projects.id;


--
-- Name: licenses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.licenses (
    id integer NOT NULL,
    data text NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    cloud boolean DEFAULT false,
    last_synced_at timestamp with time zone
);


ALTER TABLE public.licenses OWNER TO gitlab;

--
-- Name: licenses_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.licenses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.licenses_id_seq OWNER TO gitlab;

--
-- Name: licenses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.licenses_id_seq OWNED BY public.licenses.id;


--
-- Name: list_user_preferences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.list_user_preferences (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    list_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    collapsed boolean
);


ALTER TABLE public.list_user_preferences OWNER TO gitlab;

--
-- Name: list_user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.list_user_preferences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.list_user_preferences_id_seq OWNER TO gitlab;

--
-- Name: list_user_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.list_user_preferences_id_seq OWNED BY public.list_user_preferences.id;


--
-- Name: lists; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.lists (
    id integer NOT NULL,
    board_id integer NOT NULL,
    label_id integer,
    list_type integer DEFAULT 1 NOT NULL,
    "position" integer,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    user_id integer,
    milestone_id integer,
    max_issue_count integer DEFAULT 0 NOT NULL,
    max_issue_weight integer DEFAULT 0 NOT NULL,
    limit_metric character varying(20),
    iteration_id bigint
);


ALTER TABLE public.lists OWNER TO gitlab;

--
-- Name: lists_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.lists_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.lists_id_seq OWNER TO gitlab;

--
-- Name: lists_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.lists_id_seq OWNED BY public.lists.id;


--
-- Name: members; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.members (
    id integer NOT NULL,
    access_level integer NOT NULL,
    source_id integer NOT NULL,
    source_type character varying NOT NULL,
    user_id integer,
    notification_level integer NOT NULL,
    type character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    created_by_id integer,
    invite_email character varying,
    invite_token character varying,
    invite_accepted_at timestamp without time zone,
    requested_at timestamp without time zone,
    expires_at date,
    ldap boolean DEFAULT false NOT NULL,
    override boolean DEFAULT false NOT NULL
);


ALTER TABLE public.members OWNER TO gitlab;

--
-- Name: members_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.members_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.members_id_seq OWNER TO gitlab;

--
-- Name: members_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.members_id_seq OWNED BY public.members.id;


--
-- Name: merge_request_assignees; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_assignees (
    id bigint NOT NULL,
    user_id integer NOT NULL,
    merge_request_id integer NOT NULL,
    created_at timestamp with time zone
);


ALTER TABLE public.merge_request_assignees OWNER TO gitlab;

--
-- Name: merge_request_assignees_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_assignees_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_assignees_id_seq OWNER TO gitlab;

--
-- Name: merge_request_assignees_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_assignees_id_seq OWNED BY public.merge_request_assignees.id;


--
-- Name: merge_request_blocks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_blocks (
    id bigint NOT NULL,
    blocking_merge_request_id integer NOT NULL,
    blocked_merge_request_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.merge_request_blocks OWNER TO gitlab;

--
-- Name: merge_request_blocks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_blocks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_blocks_id_seq OWNER TO gitlab;

--
-- Name: merge_request_blocks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_blocks_id_seq OWNED BY public.merge_request_blocks.id;


--
-- Name: merge_request_cleanup_schedules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_cleanup_schedules (
    merge_request_id bigint NOT NULL,
    scheduled_at timestamp with time zone NOT NULL,
    completed_at timestamp with time zone,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    failed_count integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.merge_request_cleanup_schedules OWNER TO gitlab;

--
-- Name: merge_request_cleanup_schedules_merge_request_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_cleanup_schedules_merge_request_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_cleanup_schedules_merge_request_id_seq OWNER TO gitlab;

--
-- Name: merge_request_cleanup_schedules_merge_request_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_cleanup_schedules_merge_request_id_seq OWNED BY public.merge_request_cleanup_schedules.merge_request_id;


--
-- Name: merge_request_context_commit_diff_files; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_context_commit_diff_files (
    sha bytea NOT NULL,
    relative_order integer NOT NULL,
    new_file boolean NOT NULL,
    renamed_file boolean NOT NULL,
    deleted_file boolean NOT NULL,
    too_large boolean NOT NULL,
    a_mode character varying(255) NOT NULL,
    b_mode character varying(255) NOT NULL,
    new_path text NOT NULL,
    old_path text NOT NULL,
    diff text,
    "binary" boolean,
    merge_request_context_commit_id bigint NOT NULL
);


ALTER TABLE public.merge_request_context_commit_diff_files OWNER TO gitlab;

--
-- Name: merge_request_context_commits; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_context_commits (
    id bigint NOT NULL,
    authored_date timestamp with time zone,
    committed_date timestamp with time zone,
    relative_order integer NOT NULL,
    sha bytea NOT NULL,
    author_name text,
    author_email text,
    committer_name text,
    committer_email text,
    message text,
    merge_request_id bigint,
    trailers jsonb DEFAULT '{}'::jsonb NOT NULL
);


ALTER TABLE public.merge_request_context_commits OWNER TO gitlab;

--
-- Name: merge_request_context_commits_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_context_commits_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_context_commits_id_seq OWNER TO gitlab;

--
-- Name: merge_request_context_commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_context_commits_id_seq OWNED BY public.merge_request_context_commits.id;


--
-- Name: merge_request_diff_commit_users; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_diff_commit_users (
    id bigint NOT NULL,
    name text,
    email text,
    CONSTRAINT check_147358fc42 CHECK ((char_length(name) <= 512)),
    CONSTRAINT check_f5fa206cf7 CHECK ((char_length(email) <= 512)),
    CONSTRAINT merge_request_diff_commit_users_name_or_email_existence CHECK (((COALESCE(name, ''::text) <> ''::text) OR (COALESCE(email, ''::text) <> ''::text)))
);


ALTER TABLE public.merge_request_diff_commit_users OWNER TO gitlab;

--
-- Name: merge_request_diff_commit_users_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_diff_commit_users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_diff_commit_users_id_seq OWNER TO gitlab;

--
-- Name: merge_request_diff_commit_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_diff_commit_users_id_seq OWNED BY public.merge_request_diff_commit_users.id;


--
-- Name: merge_request_diff_commits; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_diff_commits (
    authored_date timestamp without time zone,
    committed_date timestamp without time zone,
    merge_request_diff_id integer NOT NULL,
    relative_order integer NOT NULL,
    sha bytea NOT NULL,
    author_name text,
    author_email text,
    committer_name text,
    committer_email text,
    message text,
    trailers jsonb DEFAULT '{}'::jsonb NOT NULL,
    commit_author_id bigint,
    committer_id bigint
);


ALTER TABLE public.merge_request_diff_commits OWNER TO gitlab;

--
-- Name: merge_request_diff_details; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_diff_details (
    merge_request_diff_id bigint NOT NULL,
    verification_retry_at timestamp with time zone,
    verified_at timestamp with time zone,
    verification_retry_count smallint,
    verification_checksum bytea,
    verification_failure text,
    verification_state smallint DEFAULT 0 NOT NULL,
    verification_started_at timestamp with time zone,
    CONSTRAINT check_81429e3622 CHECK ((char_length(verification_failure) <= 255))
);


ALTER TABLE public.merge_request_diff_details OWNER TO gitlab;

--
-- Name: merge_request_diff_details_merge_request_diff_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_diff_details_merge_request_diff_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_diff_details_merge_request_diff_id_seq OWNER TO gitlab;

--
-- Name: merge_request_diff_details_merge_request_diff_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_diff_details_merge_request_diff_id_seq OWNED BY public.merge_request_diff_details.merge_request_diff_id;


--
-- Name: merge_request_diff_files; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_diff_files (
    merge_request_diff_id integer NOT NULL,
    relative_order integer NOT NULL,
    new_file boolean NOT NULL,
    renamed_file boolean NOT NULL,
    deleted_file boolean NOT NULL,
    too_large boolean NOT NULL,
    a_mode character varying NOT NULL,
    b_mode character varying NOT NULL,
    new_path text NOT NULL,
    old_path text NOT NULL,
    diff text,
    "binary" boolean,
    external_diff_offset integer,
    external_diff_size integer
);


ALTER TABLE public.merge_request_diff_files OWNER TO gitlab;

--
-- Name: merge_request_diffs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_diffs (
    id integer NOT NULL,
    state character varying,
    merge_request_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    base_commit_sha character varying,
    real_size character varying,
    head_commit_sha character varying,
    start_commit_sha character varying,
    commits_count integer,
    external_diff character varying,
    external_diff_store integer DEFAULT 1,
    stored_externally boolean,
    files_count smallint,
    sorted boolean DEFAULT false NOT NULL,
    diff_type smallint DEFAULT 1 NOT NULL,
    CONSTRAINT check_93ee616ac9 CHECK ((external_diff_store IS NOT NULL))
);


ALTER TABLE public.merge_request_diffs OWNER TO gitlab;

--
-- Name: merge_request_diffs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_diffs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_diffs_id_seq OWNER TO gitlab;

--
-- Name: merge_request_diffs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_diffs_id_seq OWNED BY public.merge_request_diffs.id;


--
-- Name: merge_request_metrics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_metrics (
    id integer NOT NULL,
    merge_request_id integer NOT NULL,
    latest_build_started_at timestamp without time zone,
    latest_build_finished_at timestamp without time zone,
    first_deployed_to_production_at timestamp without time zone,
    merged_at timestamp without time zone,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    pipeline_id integer,
    merged_by_id integer,
    latest_closed_by_id integer,
    latest_closed_at timestamp with time zone,
    first_comment_at timestamp with time zone,
    first_commit_at timestamp with time zone,
    last_commit_at timestamp with time zone,
    diff_size integer,
    modified_paths_size integer,
    commits_count integer,
    first_approved_at timestamp with time zone,
    first_reassigned_at timestamp with time zone,
    added_lines integer,
    removed_lines integer,
    target_project_id integer,
    CONSTRAINT check_e03d0900bf CHECK ((target_project_id IS NOT NULL))
);


ALTER TABLE public.merge_request_metrics OWNER TO gitlab;

--
-- Name: merge_request_metrics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_metrics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_metrics_id_seq OWNER TO gitlab;

--
-- Name: merge_request_metrics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_metrics_id_seq OWNED BY public.merge_request_metrics.id;


--
-- Name: merge_request_reviewers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_reviewers (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    merge_request_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    state smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.merge_request_reviewers OWNER TO gitlab;

--
-- Name: merge_request_reviewers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_reviewers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_reviewers_id_seq OWNER TO gitlab;

--
-- Name: merge_request_reviewers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_reviewers_id_seq OWNED BY public.merge_request_reviewers.id;


--
-- Name: merge_request_user_mentions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_request_user_mentions (
    id bigint NOT NULL,
    merge_request_id integer NOT NULL,
    note_id integer,
    mentioned_users_ids integer[],
    mentioned_projects_ids integer[],
    mentioned_groups_ids integer[]
);


ALTER TABLE public.merge_request_user_mentions OWNER TO gitlab;

--
-- Name: merge_request_user_mentions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_request_user_mentions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_request_user_mentions_id_seq OWNER TO gitlab;

--
-- Name: merge_request_user_mentions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_request_user_mentions_id_seq OWNED BY public.merge_request_user_mentions.id;


--
-- Name: merge_requests; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_requests (
    id integer NOT NULL,
    target_branch character varying NOT NULL,
    source_branch character varying NOT NULL,
    source_project_id integer,
    author_id integer,
    assignee_id integer,
    title character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    milestone_id integer,
    merge_status character varying DEFAULT 'unchecked'::character varying NOT NULL,
    target_project_id integer NOT NULL,
    iid integer,
    description text,
    updated_by_id integer,
    merge_error text,
    merge_params text,
    merge_when_pipeline_succeeds boolean DEFAULT false NOT NULL,
    merge_user_id integer,
    merge_commit_sha character varying,
    approvals_before_merge integer,
    rebase_commit_sha character varying,
    in_progress_merge_commit_sha character varying,
    lock_version integer DEFAULT 0,
    title_html text,
    description_html text,
    time_estimate integer,
    squash boolean DEFAULT false NOT NULL,
    cached_markdown_version integer,
    last_edited_at timestamp without time zone,
    last_edited_by_id integer,
    head_pipeline_id integer,
    merge_jid character varying,
    discussion_locked boolean,
    latest_merge_request_diff_id integer,
    allow_maintainer_to_push boolean DEFAULT true,
    state_id smallint DEFAULT 1 NOT NULL,
    rebase_jid character varying,
    squash_commit_sha bytea,
    sprint_id bigint,
    merge_ref_sha bytea,
    draft boolean DEFAULT false NOT NULL,
    CONSTRAINT check_970d272570 CHECK ((lock_version IS NOT NULL))
);


ALTER TABLE public.merge_requests OWNER TO gitlab;

--
-- Name: merge_requests_closing_issues; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_requests_closing_issues (
    id integer NOT NULL,
    merge_request_id integer NOT NULL,
    issue_id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.merge_requests_closing_issues OWNER TO gitlab;

--
-- Name: merge_requests_closing_issues_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_requests_closing_issues_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_requests_closing_issues_id_seq OWNER TO gitlab;

--
-- Name: merge_requests_closing_issues_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_requests_closing_issues_id_seq OWNED BY public.merge_requests_closing_issues.id;


--
-- Name: merge_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_requests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_requests_id_seq OWNER TO gitlab;

--
-- Name: merge_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_requests_id_seq OWNED BY public.merge_requests.id;


--
-- Name: merge_trains; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.merge_trains (
    id bigint NOT NULL,
    merge_request_id integer NOT NULL,
    user_id integer NOT NULL,
    pipeline_id integer,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    target_project_id integer NOT NULL,
    target_branch text NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    merged_at timestamp with time zone,
    duration integer
);


ALTER TABLE public.merge_trains OWNER TO gitlab;

--
-- Name: merge_trains_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.merge_trains_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.merge_trains_id_seq OWNER TO gitlab;

--
-- Name: merge_trains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.merge_trains_id_seq OWNED BY public.merge_trains.id;


--
-- Name: metrics_dashboard_annotations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.metrics_dashboard_annotations (
    id bigint NOT NULL,
    starting_at timestamp with time zone NOT NULL,
    ending_at timestamp with time zone,
    environment_id bigint,
    cluster_id bigint,
    dashboard_path character varying(255) NOT NULL,
    panel_xid character varying(255),
    description text NOT NULL
);


ALTER TABLE public.metrics_dashboard_annotations OWNER TO gitlab;

--
-- Name: metrics_dashboard_annotations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.metrics_dashboard_annotations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.metrics_dashboard_annotations_id_seq OWNER TO gitlab;

--
-- Name: metrics_dashboard_annotations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.metrics_dashboard_annotations_id_seq OWNED BY public.metrics_dashboard_annotations.id;


--
-- Name: metrics_users_starred_dashboards; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.metrics_users_starred_dashboards (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    user_id bigint NOT NULL,
    dashboard_path text NOT NULL,
    CONSTRAINT check_79a84a0f57 CHECK ((char_length(dashboard_path) <= 255))
);


ALTER TABLE public.metrics_users_starred_dashboards OWNER TO gitlab;

--
-- Name: metrics_users_starred_dashboards_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.metrics_users_starred_dashboards_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.metrics_users_starred_dashboards_id_seq OWNER TO gitlab;

--
-- Name: metrics_users_starred_dashboards_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.metrics_users_starred_dashboards_id_seq OWNED BY public.metrics_users_starred_dashboards.id;


--
-- Name: milestone_releases; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.milestone_releases (
    milestone_id bigint NOT NULL,
    release_id bigint NOT NULL
);


ALTER TABLE public.milestone_releases OWNER TO gitlab;

--
-- Name: milestones; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.milestones (
    id integer NOT NULL,
    title character varying NOT NULL,
    project_id integer,
    description text,
    due_date date,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    state character varying,
    iid integer,
    title_html text,
    description_html text,
    start_date date,
    cached_markdown_version integer,
    group_id integer
);


ALTER TABLE public.milestones OWNER TO gitlab;

--
-- Name: milestones_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.milestones_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.milestones_id_seq OWNER TO gitlab;

--
-- Name: milestones_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.milestones_id_seq OWNED BY public.milestones.id;


--
-- Name: namespace_admin_notes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.namespace_admin_notes (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    namespace_id bigint NOT NULL,
    note text,
    CONSTRAINT check_e9d2e71b5d CHECK ((char_length(note) <= 1000))
);


ALTER TABLE public.namespace_admin_notes OWNER TO gitlab;

--
-- Name: namespace_admin_notes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.namespace_admin_notes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.namespace_admin_notes_id_seq OWNER TO gitlab;

--
-- Name: namespace_admin_notes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.namespace_admin_notes_id_seq OWNED BY public.namespace_admin_notes.id;


--
-- Name: namespace_aggregation_schedules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.namespace_aggregation_schedules (
    namespace_id integer NOT NULL
);


ALTER TABLE public.namespace_aggregation_schedules OWNER TO gitlab;

--
-- Name: namespace_limits; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.namespace_limits (
    additional_purchased_storage_size bigint DEFAULT 0 NOT NULL,
    additional_purchased_storage_ends_on date,
    namespace_id integer NOT NULL,
    temporary_storage_increase_ends_on date
);


ALTER TABLE public.namespace_limits OWNER TO gitlab;

--
-- Name: namespace_package_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.namespace_package_settings (
    namespace_id bigint NOT NULL,
    maven_duplicates_allowed boolean DEFAULT true NOT NULL,
    maven_duplicate_exception_regex text DEFAULT ''::text NOT NULL,
    generic_duplicates_allowed boolean DEFAULT true NOT NULL,
    generic_duplicate_exception_regex text DEFAULT ''::text NOT NULL,
    CONSTRAINT check_31340211b1 CHECK ((char_length(generic_duplicate_exception_regex) <= 255)),
    CONSTRAINT check_d63274b2b6 CHECK ((char_length(maven_duplicate_exception_regex) <= 255))
);


ALTER TABLE public.namespace_package_settings OWNER TO gitlab;

--
-- Name: namespace_root_storage_statistics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.namespace_root_storage_statistics (
    namespace_id integer NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    repository_size bigint DEFAULT 0 NOT NULL,
    lfs_objects_size bigint DEFAULT 0 NOT NULL,
    wiki_size bigint DEFAULT 0 NOT NULL,
    build_artifacts_size bigint DEFAULT 0 NOT NULL,
    storage_size bigint DEFAULT 0 NOT NULL,
    packages_size bigint DEFAULT 0 NOT NULL,
    snippets_size bigint DEFAULT 0 NOT NULL,
    pipeline_artifacts_size bigint DEFAULT 0 NOT NULL,
    uploads_size bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.namespace_root_storage_statistics OWNER TO gitlab;

--
-- Name: namespace_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.namespace_settings (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    namespace_id integer NOT NULL,
    prevent_forking_outside_group boolean DEFAULT false NOT NULL,
    allow_mfa_for_subgroups boolean DEFAULT true NOT NULL,
    default_branch_name text,
    repository_read_only boolean DEFAULT false NOT NULL,
    delayed_project_removal boolean,
    resource_access_token_creation_allowed boolean DEFAULT true NOT NULL,
    lock_delayed_project_removal boolean DEFAULT false NOT NULL,
    prevent_sharing_groups_outside_hierarchy boolean DEFAULT false NOT NULL,
    new_user_signups_cap integer,
    CONSTRAINT check_0ba93c78c7 CHECK ((char_length(default_branch_name) <= 255))
);


ALTER TABLE public.namespace_settings OWNER TO gitlab;

--
-- Name: namespace_statistics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.namespace_statistics (
    id integer NOT NULL,
    namespace_id integer NOT NULL,
    shared_runners_seconds integer DEFAULT 0 NOT NULL,
    shared_runners_seconds_last_reset timestamp without time zone,
    storage_size bigint DEFAULT 0 NOT NULL,
    wiki_size bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.namespace_statistics OWNER TO gitlab;

--
-- Name: namespace_statistics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.namespace_statistics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.namespace_statistics_id_seq OWNER TO gitlab;

--
-- Name: namespace_statistics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.namespace_statistics_id_seq OWNED BY public.namespace_statistics.id;


--
-- Name: namespaces; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.namespaces (
    id integer NOT NULL,
    name character varying NOT NULL,
    path character varying NOT NULL,
    owner_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    type character varying,
    description character varying DEFAULT ''::character varying NOT NULL,
    avatar character varying,
    membership_lock boolean DEFAULT false,
    share_with_group_lock boolean DEFAULT false,
    visibility_level integer DEFAULT 20 NOT NULL,
    request_access_enabled boolean DEFAULT true NOT NULL,
    ldap_sync_status character varying DEFAULT 'ready'::character varying NOT NULL,
    ldap_sync_error character varying,
    ldap_sync_last_update_at timestamp without time zone,
    ldap_sync_last_successful_update_at timestamp without time zone,
    ldap_sync_last_sync_at timestamp without time zone,
    description_html text,
    lfs_enabled boolean,
    parent_id integer,
    shared_runners_minutes_limit integer,
    repository_size_limit bigint,
    require_two_factor_authentication boolean DEFAULT false NOT NULL,
    two_factor_grace_period integer DEFAULT 48 NOT NULL,
    cached_markdown_version integer,
    project_creation_level integer,
    runners_token character varying,
    file_template_project_id integer,
    saml_discovery_token character varying,
    runners_token_encrypted character varying,
    custom_project_templates_group_id integer,
    auto_devops_enabled boolean,
    extra_shared_runners_minutes_limit integer,
    last_ci_minutes_notification_at timestamp with time zone,
    last_ci_minutes_usage_notification_level integer,
    subgroup_creation_level integer DEFAULT 1,
    emails_disabled boolean,
    max_pages_size integer,
    max_artifacts_size integer,
    mentions_disabled boolean,
    default_branch_protection smallint,
    unlock_membership_to_ldap boolean,
    max_personal_access_token_lifetime integer,
    push_rule_id bigint,
    shared_runners_enabled boolean DEFAULT true NOT NULL,
    allow_descendants_override_disabled_shared_runners boolean DEFAULT false NOT NULL,
    traversal_ids integer[] DEFAULT '{}'::integer[] NOT NULL,
    delayed_project_removal boolean DEFAULT false NOT NULL
);


ALTER TABLE public.namespaces OWNER TO gitlab;

--
-- Name: namespaces_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.namespaces_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.namespaces_id_seq OWNER TO gitlab;

--
-- Name: namespaces_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.namespaces_id_seq OWNED BY public.namespaces.id;


--
-- Name: note_diff_files; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.note_diff_files (
    id integer NOT NULL,
    diff_note_id integer NOT NULL,
    diff text NOT NULL,
    new_file boolean NOT NULL,
    renamed_file boolean NOT NULL,
    deleted_file boolean NOT NULL,
    a_mode character varying NOT NULL,
    b_mode character varying NOT NULL,
    new_path text NOT NULL,
    old_path text NOT NULL
);


ALTER TABLE public.note_diff_files OWNER TO gitlab;

--
-- Name: note_diff_files_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.note_diff_files_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.note_diff_files_id_seq OWNER TO gitlab;

--
-- Name: note_diff_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.note_diff_files_id_seq OWNED BY public.note_diff_files.id;


--
-- Name: notes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.notes (
    id integer NOT NULL,
    note text,
    noteable_type character varying,
    author_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    project_id integer,
    attachment character varying,
    line_code character varying,
    commit_id character varying,
    noteable_id integer,
    system boolean DEFAULT false NOT NULL,
    st_diff text,
    updated_by_id integer,
    type character varying,
    "position" text,
    original_position text,
    resolved_at timestamp without time zone,
    resolved_by_id integer,
    discussion_id character varying,
    note_html text,
    cached_markdown_version integer,
    change_position text,
    resolved_by_push boolean,
    review_id bigint,
    confidential boolean,
    last_edited_at timestamp with time zone
);


ALTER TABLE public.notes OWNER TO gitlab;

--
-- Name: notes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.notes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.notes_id_seq OWNER TO gitlab;

--
-- Name: notes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.notes_id_seq OWNED BY public.notes.id;


--
-- Name: notification_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.notification_settings (
    id integer NOT NULL,
    user_id integer NOT NULL,
    source_id integer,
    source_type character varying,
    level integer DEFAULT 0 NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    new_note boolean,
    new_issue boolean,
    reopen_issue boolean,
    close_issue boolean,
    reassign_issue boolean,
    new_merge_request boolean,
    reopen_merge_request boolean,
    close_merge_request boolean,
    reassign_merge_request boolean,
    merge_merge_request boolean,
    failed_pipeline boolean,
    success_pipeline boolean,
    push_to_merge_request boolean,
    issue_due boolean,
    new_epic boolean,
    notification_email character varying,
    fixed_pipeline boolean,
    new_release boolean,
    moved_project boolean DEFAULT true NOT NULL,
    change_reviewer_merge_request boolean,
    merge_when_pipeline_succeeds boolean DEFAULT false NOT NULL
);


ALTER TABLE public.notification_settings OWNER TO gitlab;

--
-- Name: notification_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.notification_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.notification_settings_id_seq OWNER TO gitlab;

--
-- Name: notification_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.notification_settings_id_seq OWNED BY public.notification_settings.id;


--
-- Name: oauth_access_grants; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.oauth_access_grants (
    id integer NOT NULL,
    resource_owner_id integer NOT NULL,
    application_id integer NOT NULL,
    token character varying NOT NULL,
    expires_in integer NOT NULL,
    redirect_uri text NOT NULL,
    created_at timestamp without time zone NOT NULL,
    revoked_at timestamp without time zone,
    scopes character varying,
    code_challenge text,
    code_challenge_method text,
    CONSTRAINT oauth_access_grants_code_challenge CHECK ((char_length(code_challenge) <= 128)),
    CONSTRAINT oauth_access_grants_code_challenge_method CHECK ((char_length(code_challenge_method) <= 5))
);


ALTER TABLE public.oauth_access_grants OWNER TO gitlab;

--
-- Name: oauth_access_grants_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.oauth_access_grants_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oauth_access_grants_id_seq OWNER TO gitlab;

--
-- Name: oauth_access_grants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.oauth_access_grants_id_seq OWNED BY public.oauth_access_grants.id;


--
-- Name: oauth_access_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.oauth_access_tokens (
    id integer NOT NULL,
    resource_owner_id integer,
    application_id integer,
    token character varying NOT NULL,
    refresh_token character varying,
    expires_in integer,
    revoked_at timestamp without time zone,
    created_at timestamp without time zone NOT NULL,
    scopes character varying
);


ALTER TABLE public.oauth_access_tokens OWNER TO gitlab;

--
-- Name: oauth_access_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.oauth_access_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oauth_access_tokens_id_seq OWNER TO gitlab;

--
-- Name: oauth_access_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.oauth_access_tokens_id_seq OWNED BY public.oauth_access_tokens.id;


--
-- Name: oauth_applications; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.oauth_applications (
    id integer NOT NULL,
    name character varying NOT NULL,
    uid character varying NOT NULL,
    secret character varying NOT NULL,
    redirect_uri text NOT NULL,
    scopes character varying DEFAULT ''::character varying NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    owner_id integer,
    owner_type character varying,
    trusted boolean DEFAULT false NOT NULL,
    confidential boolean DEFAULT true NOT NULL
);


ALTER TABLE public.oauth_applications OWNER TO gitlab;

--
-- Name: oauth_applications_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.oauth_applications_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oauth_applications_id_seq OWNER TO gitlab;

--
-- Name: oauth_applications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.oauth_applications_id_seq OWNED BY public.oauth_applications.id;


--
-- Name: oauth_openid_requests; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.oauth_openid_requests (
    id integer NOT NULL,
    access_grant_id integer NOT NULL,
    nonce character varying NOT NULL
);


ALTER TABLE public.oauth_openid_requests OWNER TO gitlab;

--
-- Name: oauth_openid_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.oauth_openid_requests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.oauth_openid_requests_id_seq OWNER TO gitlab;

--
-- Name: oauth_openid_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.oauth_openid_requests_id_seq OWNED BY public.oauth_openid_requests.id;


--
-- Name: onboarding_progresses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.onboarding_progresses (
    id bigint NOT NULL,
    namespace_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    git_pull_at timestamp with time zone,
    git_write_at timestamp with time zone,
    merge_request_created_at timestamp with time zone,
    pipeline_created_at timestamp with time zone,
    user_added_at timestamp with time zone,
    trial_started_at timestamp with time zone,
    subscription_created_at timestamp with time zone,
    required_mr_approvals_enabled_at timestamp with time zone,
    code_owners_enabled_at timestamp with time zone,
    scoped_label_created_at timestamp with time zone,
    security_scan_enabled_at timestamp with time zone,
    issue_auto_closed_at timestamp with time zone,
    repository_imported_at timestamp with time zone,
    repository_mirrored_at timestamp with time zone,
    issue_created_at timestamp with time zone
);


ALTER TABLE public.onboarding_progresses OWNER TO gitlab;

--
-- Name: onboarding_progresses_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.onboarding_progresses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.onboarding_progresses_id_seq OWNER TO gitlab;

--
-- Name: onboarding_progresses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.onboarding_progresses_id_seq OWNED BY public.onboarding_progresses.id;


--
-- Name: open_project_tracker_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.open_project_tracker_data (
    id bigint NOT NULL,
    service_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    encrypted_url character varying(255),
    encrypted_url_iv character varying(255),
    encrypted_api_url character varying(255),
    encrypted_api_url_iv character varying(255),
    encrypted_token character varying(255),
    encrypted_token_iv character varying(255),
    closed_status_id character varying(5),
    project_identifier_code character varying(100)
);


ALTER TABLE public.open_project_tracker_data OWNER TO gitlab;

--
-- Name: open_project_tracker_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.open_project_tracker_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.open_project_tracker_data_id_seq OWNER TO gitlab;

--
-- Name: open_project_tracker_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.open_project_tracker_data_id_seq OWNED BY public.open_project_tracker_data.id;


--
-- Name: operations_feature_flag_scopes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.operations_feature_flag_scopes (
    id bigint NOT NULL,
    feature_flag_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    active boolean NOT NULL,
    environment_scope character varying DEFAULT '*'::character varying NOT NULL,
    strategies jsonb DEFAULT '[{"name": "default", "parameters": {}}]'::jsonb NOT NULL
);


ALTER TABLE public.operations_feature_flag_scopes OWNER TO gitlab;

--
-- Name: operations_feature_flag_scopes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.operations_feature_flag_scopes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.operations_feature_flag_scopes_id_seq OWNER TO gitlab;

--
-- Name: operations_feature_flag_scopes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.operations_feature_flag_scopes_id_seq OWNED BY public.operations_feature_flag_scopes.id;


--
-- Name: operations_feature_flags; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.operations_feature_flags (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    active boolean NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name character varying NOT NULL,
    description text,
    iid integer NOT NULL,
    version smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.operations_feature_flags OWNER TO gitlab;

--
-- Name: operations_feature_flags_clients; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.operations_feature_flags_clients (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    token_encrypted character varying
);


ALTER TABLE public.operations_feature_flags_clients OWNER TO gitlab;

--
-- Name: operations_feature_flags_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.operations_feature_flags_clients_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.operations_feature_flags_clients_id_seq OWNER TO gitlab;

--
-- Name: operations_feature_flags_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.operations_feature_flags_clients_id_seq OWNED BY public.operations_feature_flags_clients.id;


--
-- Name: operations_feature_flags_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.operations_feature_flags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.operations_feature_flags_id_seq OWNER TO gitlab;

--
-- Name: operations_feature_flags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.operations_feature_flags_id_seq OWNED BY public.operations_feature_flags.id;


--
-- Name: operations_feature_flags_issues; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.operations_feature_flags_issues (
    id bigint NOT NULL,
    feature_flag_id bigint NOT NULL,
    issue_id bigint NOT NULL
);


ALTER TABLE public.operations_feature_flags_issues OWNER TO gitlab;

--
-- Name: operations_feature_flags_issues_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.operations_feature_flags_issues_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.operations_feature_flags_issues_id_seq OWNER TO gitlab;

--
-- Name: operations_feature_flags_issues_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.operations_feature_flags_issues_id_seq OWNED BY public.operations_feature_flags_issues.id;


--
-- Name: operations_scopes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.operations_scopes (
    id bigint NOT NULL,
    strategy_id bigint NOT NULL,
    environment_scope character varying(255) NOT NULL
);


ALTER TABLE public.operations_scopes OWNER TO gitlab;

--
-- Name: operations_scopes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.operations_scopes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.operations_scopes_id_seq OWNER TO gitlab;

--
-- Name: operations_scopes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.operations_scopes_id_seq OWNED BY public.operations_scopes.id;


--
-- Name: operations_strategies; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.operations_strategies (
    id bigint NOT NULL,
    feature_flag_id bigint NOT NULL,
    name character varying(255) NOT NULL,
    parameters jsonb DEFAULT '{}'::jsonb NOT NULL
);


ALTER TABLE public.operations_strategies OWNER TO gitlab;

--
-- Name: operations_strategies_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.operations_strategies_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.operations_strategies_id_seq OWNER TO gitlab;

--
-- Name: operations_strategies_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.operations_strategies_id_seq OWNED BY public.operations_strategies.id;


--
-- Name: operations_strategies_user_lists; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.operations_strategies_user_lists (
    id bigint NOT NULL,
    strategy_id bigint NOT NULL,
    user_list_id bigint NOT NULL
);


ALTER TABLE public.operations_strategies_user_lists OWNER TO gitlab;

--
-- Name: operations_strategies_user_lists_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.operations_strategies_user_lists_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.operations_strategies_user_lists_id_seq OWNER TO gitlab;

--
-- Name: operations_strategies_user_lists_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.operations_strategies_user_lists_id_seq OWNED BY public.operations_strategies_user_lists.id;


--
-- Name: operations_user_lists; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.operations_user_lists (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    iid integer NOT NULL,
    name character varying(255) NOT NULL,
    user_xids text DEFAULT ''::text NOT NULL
);


ALTER TABLE public.operations_user_lists OWNER TO gitlab;

--
-- Name: operations_user_lists_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.operations_user_lists_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.operations_user_lists_id_seq OWNER TO gitlab;

--
-- Name: operations_user_lists_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.operations_user_lists_id_seq OWNED BY public.operations_user_lists.id;


--
-- Name: packages_build_infos; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_build_infos (
    id bigint NOT NULL,
    package_id integer NOT NULL,
    pipeline_id integer
);


ALTER TABLE public.packages_build_infos OWNER TO gitlab;

--
-- Name: packages_build_infos_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_build_infos_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_build_infos_id_seq OWNER TO gitlab;

--
-- Name: packages_build_infos_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_build_infos_id_seq OWNED BY public.packages_build_infos.id;


--
-- Name: packages_composer_cache_files; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_composer_cache_files (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    delete_at timestamp with time zone,
    namespace_id integer,
    file_store smallint DEFAULT 1 NOT NULL,
    file text NOT NULL,
    file_sha256 bytea NOT NULL,
    CONSTRAINT check_84f5ba81f5 CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.packages_composer_cache_files OWNER TO gitlab;

--
-- Name: packages_composer_cache_files_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_composer_cache_files_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_composer_cache_files_id_seq OWNER TO gitlab;

--
-- Name: packages_composer_cache_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_composer_cache_files_id_seq OWNED BY public.packages_composer_cache_files.id;


--
-- Name: packages_composer_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_composer_metadata (
    package_id bigint NOT NULL,
    target_sha bytea NOT NULL,
    composer_json jsonb DEFAULT '{}'::jsonb NOT NULL,
    version_cache_sha bytea
);


ALTER TABLE public.packages_composer_metadata OWNER TO gitlab;

--
-- Name: packages_conan_file_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_conan_file_metadata (
    id bigint NOT NULL,
    package_file_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    recipe_revision character varying(255) DEFAULT '0'::character varying NOT NULL,
    package_revision character varying(255),
    conan_package_reference character varying(255),
    conan_file_type smallint NOT NULL
);


ALTER TABLE public.packages_conan_file_metadata OWNER TO gitlab;

--
-- Name: packages_conan_file_metadata_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_conan_file_metadata_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_conan_file_metadata_id_seq OWNER TO gitlab;

--
-- Name: packages_conan_file_metadata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_conan_file_metadata_id_seq OWNED BY public.packages_conan_file_metadata.id;


--
-- Name: packages_conan_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_conan_metadata (
    id bigint NOT NULL,
    package_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    package_username character varying(255) NOT NULL,
    package_channel character varying(255) NOT NULL
);


ALTER TABLE public.packages_conan_metadata OWNER TO gitlab;

--
-- Name: packages_conan_metadata_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_conan_metadata_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_conan_metadata_id_seq OWNER TO gitlab;

--
-- Name: packages_conan_metadata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_conan_metadata_id_seq OWNED BY public.packages_conan_metadata.id;


--
-- Name: packages_debian_file_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_file_metadata (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    package_file_id bigint NOT NULL,
    file_type smallint NOT NULL,
    component text,
    architecture text,
    fields jsonb,
    CONSTRAINT check_2ebedda4b6 CHECK ((char_length(component) <= 255)),
    CONSTRAINT check_e6e1fffcca CHECK ((char_length(architecture) <= 255))
);


ALTER TABLE public.packages_debian_file_metadata OWNER TO gitlab;

--
-- Name: packages_debian_group_architectures; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_group_architectures (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    distribution_id bigint NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_ddb220164a CHECK ((char_length(name) <= 255))
);


ALTER TABLE public.packages_debian_group_architectures OWNER TO gitlab;

--
-- Name: packages_debian_group_architectures_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_group_architectures_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_group_architectures_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_group_architectures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_group_architectures_id_seq OWNED BY public.packages_debian_group_architectures.id;


--
-- Name: packages_debian_group_component_files; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_group_component_files (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    component_id bigint NOT NULL,
    architecture_id bigint,
    size integer NOT NULL,
    file_type smallint NOT NULL,
    compression_type smallint,
    file_store smallint DEFAULT 1 NOT NULL,
    file text NOT NULL,
    file_md5 bytea NOT NULL,
    file_sha256 bytea NOT NULL,
    CONSTRAINT check_839e1685bc CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.packages_debian_group_component_files OWNER TO gitlab;

--
-- Name: packages_debian_group_component_files_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_group_component_files_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_group_component_files_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_group_component_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_group_component_files_id_seq OWNED BY public.packages_debian_group_component_files.id;


--
-- Name: packages_debian_group_components; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_group_components (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    distribution_id bigint NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_a9bc7d85be CHECK ((char_length(name) <= 255))
);


ALTER TABLE public.packages_debian_group_components OWNER TO gitlab;

--
-- Name: packages_debian_group_components_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_group_components_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_group_components_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_group_components_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_group_components_id_seq OWNED BY public.packages_debian_group_components.id;


--
-- Name: packages_debian_group_distribution_keys; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_group_distribution_keys (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    distribution_id bigint NOT NULL,
    encrypted_private_key text NOT NULL,
    encrypted_private_key_iv text NOT NULL,
    encrypted_passphrase text NOT NULL,
    encrypted_passphrase_iv text NOT NULL,
    public_key text NOT NULL,
    fingerprint text NOT NULL,
    CONSTRAINT check_bc95dc3fbe CHECK ((char_length(fingerprint) <= 255)),
    CONSTRAINT check_f708183491 CHECK ((char_length(public_key) <= 524288))
);


ALTER TABLE public.packages_debian_group_distribution_keys OWNER TO gitlab;

--
-- Name: packages_debian_group_distribution_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_group_distribution_keys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_group_distribution_keys_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_group_distribution_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_group_distribution_keys_id_seq OWNED BY public.packages_debian_group_distribution_keys.id;


--
-- Name: packages_debian_group_distributions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_group_distributions (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id bigint NOT NULL,
    creator_id bigint,
    valid_time_duration_seconds integer,
    file_store smallint DEFAULT 1 NOT NULL,
    automatic boolean DEFAULT true NOT NULL,
    automatic_upgrades boolean DEFAULT false NOT NULL,
    codename text NOT NULL,
    suite text,
    origin text,
    label text,
    version text,
    description text,
    file text,
    file_signature text,
    signed_file text,
    signed_file_store smallint DEFAULT 1 NOT NULL,
    CONSTRAINT check_0007e0bf61 CHECK ((char_length(signed_file) <= 255)),
    CONSTRAINT check_310ac457b8 CHECK ((char_length(description) <= 255)),
    CONSTRAINT check_3d6f87fc31 CHECK ((char_length(file_signature) <= 4096)),
    CONSTRAINT check_3fdadf4a0c CHECK ((char_length(version) <= 255)),
    CONSTRAINT check_590e18405a CHECK ((char_length(codename) <= 255)),
    CONSTRAINT check_b057cd840a CHECK ((char_length(origin) <= 255)),
    CONSTRAINT check_be5ed8d307 CHECK ((char_length(file) <= 255)),
    CONSTRAINT check_d3244bfc0b CHECK ((char_length(label) <= 255)),
    CONSTRAINT check_e7c928a24b CHECK ((char_length(suite) <= 255))
);


ALTER TABLE public.packages_debian_group_distributions OWNER TO gitlab;

--
-- Name: packages_debian_group_distributions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_group_distributions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_group_distributions_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_group_distributions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_group_distributions_id_seq OWNED BY public.packages_debian_group_distributions.id;


--
-- Name: packages_debian_project_architectures; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_project_architectures (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    distribution_id bigint NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_9c2e1c99d8 CHECK ((char_length(name) <= 255))
);


ALTER TABLE public.packages_debian_project_architectures OWNER TO gitlab;

--
-- Name: packages_debian_project_architectures_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_project_architectures_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_project_architectures_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_project_architectures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_project_architectures_id_seq OWNED BY public.packages_debian_project_architectures.id;


--
-- Name: packages_debian_project_component_files; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_project_component_files (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    component_id bigint NOT NULL,
    architecture_id bigint,
    size integer NOT NULL,
    file_type smallint NOT NULL,
    compression_type smallint,
    file_store smallint DEFAULT 1 NOT NULL,
    file text NOT NULL,
    file_md5 bytea NOT NULL,
    file_sha256 bytea NOT NULL,
    CONSTRAINT check_e5af03fa2d CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.packages_debian_project_component_files OWNER TO gitlab;

--
-- Name: packages_debian_project_component_files_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_project_component_files_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_project_component_files_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_project_component_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_project_component_files_id_seq OWNED BY public.packages_debian_project_component_files.id;


--
-- Name: packages_debian_project_components; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_project_components (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    distribution_id bigint NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_517559f298 CHECK ((char_length(name) <= 255))
);


ALTER TABLE public.packages_debian_project_components OWNER TO gitlab;

--
-- Name: packages_debian_project_components_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_project_components_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_project_components_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_project_components_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_project_components_id_seq OWNED BY public.packages_debian_project_components.id;


--
-- Name: packages_debian_project_distribution_keys; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_project_distribution_keys (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    distribution_id bigint NOT NULL,
    encrypted_private_key text NOT NULL,
    encrypted_private_key_iv text NOT NULL,
    encrypted_passphrase text NOT NULL,
    encrypted_passphrase_iv text NOT NULL,
    public_key text NOT NULL,
    fingerprint text NOT NULL,
    CONSTRAINT check_9e8a5eef0a CHECK ((char_length(fingerprint) <= 255)),
    CONSTRAINT check_d188f6547f CHECK ((char_length(public_key) <= 524288))
);


ALTER TABLE public.packages_debian_project_distribution_keys OWNER TO gitlab;

--
-- Name: packages_debian_project_distribution_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_project_distribution_keys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_project_distribution_keys_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_project_distribution_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_project_distribution_keys_id_seq OWNED BY public.packages_debian_project_distribution_keys.id;


--
-- Name: packages_debian_project_distributions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_project_distributions (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    creator_id bigint,
    valid_time_duration_seconds integer,
    file_store smallint DEFAULT 1 NOT NULL,
    automatic boolean DEFAULT true NOT NULL,
    automatic_upgrades boolean DEFAULT false NOT NULL,
    codename text NOT NULL,
    suite text,
    origin text,
    label text,
    version text,
    description text,
    file text,
    file_signature text,
    signed_file text,
    signed_file_store smallint DEFAULT 1 NOT NULL,
    CONSTRAINT check_6177ccd4a6 CHECK ((char_length(origin) <= 255)),
    CONSTRAINT check_6f6b55a4c4 CHECK ((char_length(label) <= 255)),
    CONSTRAINT check_834dabadb6 CHECK ((char_length(codename) <= 255)),
    CONSTRAINT check_96965792c2 CHECK ((char_length(version) <= 255)),
    CONSTRAINT check_9e5e22b7ff CHECK ((char_length(signed_file) <= 255)),
    CONSTRAINT check_a56ae58a17 CHECK ((char_length(suite) <= 255)),
    CONSTRAINT check_a5a2ac6af2 CHECK ((char_length(file_signature) <= 4096)),
    CONSTRAINT check_b93154339f CHECK ((char_length(description) <= 255)),
    CONSTRAINT check_cb4ac9599e CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.packages_debian_project_distributions OWNER TO gitlab;

--
-- Name: packages_debian_project_distributions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_project_distributions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_project_distributions_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_project_distributions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_project_distributions_id_seq OWNED BY public.packages_debian_project_distributions.id;


--
-- Name: packages_debian_publications; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_debian_publications (
    id bigint NOT NULL,
    package_id bigint NOT NULL,
    distribution_id bigint NOT NULL
);


ALTER TABLE public.packages_debian_publications OWNER TO gitlab;

--
-- Name: packages_debian_publications_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_debian_publications_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_debian_publications_id_seq OWNER TO gitlab;

--
-- Name: packages_debian_publications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_debian_publications_id_seq OWNED BY public.packages_debian_publications.id;


--
-- Name: packages_dependencies; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_dependencies (
    id bigint NOT NULL,
    name character varying(255) NOT NULL,
    version_pattern character varying(255) NOT NULL
);


ALTER TABLE public.packages_dependencies OWNER TO gitlab;

--
-- Name: packages_dependencies_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_dependencies_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_dependencies_id_seq OWNER TO gitlab;

--
-- Name: packages_dependencies_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_dependencies_id_seq OWNED BY public.packages_dependencies.id;


--
-- Name: packages_dependency_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_dependency_links (
    id bigint NOT NULL,
    package_id bigint NOT NULL,
    dependency_id bigint NOT NULL,
    dependency_type smallint NOT NULL
);


ALTER TABLE public.packages_dependency_links OWNER TO gitlab;

--
-- Name: packages_dependency_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_dependency_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_dependency_links_id_seq OWNER TO gitlab;

--
-- Name: packages_dependency_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_dependency_links_id_seq OWNED BY public.packages_dependency_links.id;


--
-- Name: packages_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_events (
    id bigint NOT NULL,
    event_type smallint NOT NULL,
    event_scope smallint NOT NULL,
    originator_type smallint NOT NULL,
    originator bigint,
    created_at timestamp with time zone NOT NULL,
    package_id bigint
);


ALTER TABLE public.packages_events OWNER TO gitlab;

--
-- Name: packages_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_events_id_seq OWNER TO gitlab;

--
-- Name: packages_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_events_id_seq OWNED BY public.packages_events.id;


--
-- Name: packages_helm_file_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_helm_file_metadata (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    package_file_id bigint NOT NULL,
    channel text NOT NULL,
    metadata jsonb,
    CONSTRAINT check_c34067922d CHECK ((char_length(channel) <= 63))
);


ALTER TABLE public.packages_helm_file_metadata OWNER TO gitlab;

--
-- Name: packages_maven_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_maven_metadata (
    id bigint NOT NULL,
    package_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    app_group character varying NOT NULL,
    app_name character varying NOT NULL,
    app_version character varying,
    path character varying(512) NOT NULL
);


ALTER TABLE public.packages_maven_metadata OWNER TO gitlab;

--
-- Name: packages_maven_metadata_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_maven_metadata_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_maven_metadata_id_seq OWNER TO gitlab;

--
-- Name: packages_maven_metadata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_maven_metadata_id_seq OWNED BY public.packages_maven_metadata.id;


--
-- Name: packages_nuget_dependency_link_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_nuget_dependency_link_metadata (
    dependency_link_id bigint NOT NULL,
    target_framework text NOT NULL,
    CONSTRAINT packages_nuget_dependency_link_metadata_target_framework_constr CHECK ((char_length(target_framework) <= 255))
);


ALTER TABLE public.packages_nuget_dependency_link_metadata OWNER TO gitlab;

--
-- Name: packages_nuget_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_nuget_metadata (
    package_id bigint NOT NULL,
    license_url text,
    project_url text,
    icon_url text,
    CONSTRAINT packages_nuget_metadata_icon_url_constraint CHECK ((char_length(icon_url) <= 255)),
    CONSTRAINT packages_nuget_metadata_license_url_constraint CHECK ((char_length(license_url) <= 255)),
    CONSTRAINT packages_nuget_metadata_project_url_constraint CHECK ((char_length(project_url) <= 255))
);


ALTER TABLE public.packages_nuget_metadata OWNER TO gitlab;

--
-- Name: packages_package_file_build_infos; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_package_file_build_infos (
    id bigint NOT NULL,
    package_file_id bigint NOT NULL,
    pipeline_id bigint
);


ALTER TABLE public.packages_package_file_build_infos OWNER TO gitlab;

--
-- Name: packages_package_file_build_infos_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_package_file_build_infos_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_package_file_build_infos_id_seq OWNER TO gitlab;

--
-- Name: packages_package_file_build_infos_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_package_file_build_infos_id_seq OWNED BY public.packages_package_file_build_infos.id;


--
-- Name: packages_package_files; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_package_files (
    id bigint NOT NULL,
    package_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    size bigint,
    file_store integer DEFAULT 1,
    file_md5 bytea,
    file_sha1 bytea,
    file_name character varying NOT NULL,
    file text NOT NULL,
    file_sha256 bytea,
    verification_retry_at timestamp with time zone,
    verified_at timestamp with time zone,
    verification_failure character varying(255),
    verification_retry_count integer,
    verification_checksum bytea,
    verification_state smallint DEFAULT 0 NOT NULL,
    verification_started_at timestamp with time zone,
    CONSTRAINT check_4c5e6bb0b3 CHECK ((file_store IS NOT NULL))
);


ALTER TABLE public.packages_package_files OWNER TO gitlab;

--
-- Name: packages_package_files_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_package_files_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_package_files_id_seq OWNER TO gitlab;

--
-- Name: packages_package_files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_package_files_id_seq OWNED BY public.packages_package_files.id;


--
-- Name: packages_packages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_packages (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name character varying NOT NULL,
    version character varying,
    package_type smallint NOT NULL,
    creator_id integer,
    status smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.packages_packages OWNER TO gitlab;

--
-- Name: packages_packages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_packages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_packages_id_seq OWNER TO gitlab;

--
-- Name: packages_packages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_packages_id_seq OWNED BY public.packages_packages.id;


--
-- Name: packages_pypi_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_pypi_metadata (
    package_id bigint NOT NULL,
    required_python text,
    CONSTRAINT check_0d9aed55b2 CHECK ((required_python IS NOT NULL)),
    CONSTRAINT check_379019d5da CHECK ((char_length(required_python) <= 255))
);


ALTER TABLE public.packages_pypi_metadata OWNER TO gitlab;

--
-- Name: packages_rubygems_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_rubygems_metadata (
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    package_id bigint NOT NULL,
    authors text,
    files text,
    summary text,
    description text,
    email text,
    homepage text,
    licenses text,
    metadata text,
    author text,
    bindir text,
    cert_chain text,
    executables text,
    extensions text,
    extra_rdoc_files text,
    platform text,
    post_install_message text,
    rdoc_options text,
    require_paths text,
    required_ruby_version text,
    required_rubygems_version text,
    requirements text,
    rubygems_version text,
    signing_key text,
    CONSTRAINT check_0154a18c82 CHECK ((char_length(description) <= 1024)),
    CONSTRAINT check_22814c771b CHECK ((char_length(email) <= 255)),
    CONSTRAINT check_242293030e CHECK ((char_length(extensions) <= 255)),
    CONSTRAINT check_27619a7922 CHECK ((char_length(rubygems_version) <= 255)),
    CONSTRAINT check_3d1b6f3a39 CHECK ((char_length(post_install_message) <= 255)),
    CONSTRAINT check_545f7606f9 CHECK ((char_length(required_rubygems_version) <= 255)),
    CONSTRAINT check_5988451714 CHECK ((char_length(executables) <= 255)),
    CONSTRAINT check_5f9c84ea17 CHECK ((char_length(platform) <= 255)),
    CONSTRAINT check_64f1cecf05 CHECK ((char_length(requirements) <= 255)),
    CONSTRAINT check_6ac7043c50 CHECK ((char_length(extra_rdoc_files) <= 255)),
    CONSTRAINT check_6ff3abe325 CHECK ((char_length(cert_chain) <= 255)),
    CONSTRAINT check_7cb01436df CHECK ((char_length(licenses) <= 255)),
    CONSTRAINT check_8be21d92e7 CHECK ((char_length(summary) <= 1024)),
    CONSTRAINT check_946cb96acb CHECK ((char_length(homepage) <= 255)),
    CONSTRAINT check_9824fc9efc CHECK ((char_length(bindir) <= 255)),
    CONSTRAINT check_994b68eb64 CHECK ((char_length(authors) <= 255)),
    CONSTRAINT check_9d42fa48ae CHECK ((char_length(signing_key) <= 255)),
    CONSTRAINT check_b0f4f8c853 CHECK ((char_length(files) <= 255)),
    CONSTRAINT check_b7b296b420 CHECK ((char_length(author) <= 255)),
    CONSTRAINT check_bf16b21a47 CHECK ((char_length(rdoc_options) <= 255)),
    CONSTRAINT check_ca641a3354 CHECK ((char_length(required_ruby_version) <= 255)),
    CONSTRAINT check_ea02f4800f CHECK ((char_length(metadata) <= 30000)),
    CONSTRAINT check_f76bad1a9a CHECK ((char_length(require_paths) <= 255))
);


ALTER TABLE public.packages_rubygems_metadata OWNER TO gitlab;

--
-- Name: packages_tags; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.packages_tags (
    id bigint NOT NULL,
    package_id integer NOT NULL,
    name character varying(255) NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.packages_tags OWNER TO gitlab;

--
-- Name: packages_tags_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.packages_tags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.packages_tags_id_seq OWNER TO gitlab;

--
-- Name: packages_tags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.packages_tags_id_seq OWNED BY public.packages_tags.id;


--
-- Name: pages_deployments; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.pages_deployments (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    ci_build_id bigint,
    file_store smallint NOT NULL,
    file text NOT NULL,
    file_count integer NOT NULL,
    file_sha256 bytea NOT NULL,
    size bigint,
    CONSTRAINT check_5f9132a958 CHECK ((size IS NOT NULL)),
    CONSTRAINT check_f0fe8032dd CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.pages_deployments OWNER TO gitlab;

--
-- Name: pages_deployments_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.pages_deployments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pages_deployments_id_seq OWNER TO gitlab;

--
-- Name: pages_deployments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.pages_deployments_id_seq OWNED BY public.pages_deployments.id;


--
-- Name: pages_domain_acme_orders; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.pages_domain_acme_orders (
    id bigint NOT NULL,
    pages_domain_id integer NOT NULL,
    expires_at timestamp with time zone NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    url character varying NOT NULL,
    challenge_token character varying NOT NULL,
    challenge_file_content text NOT NULL,
    encrypted_private_key text NOT NULL,
    encrypted_private_key_iv text NOT NULL
);


ALTER TABLE public.pages_domain_acme_orders OWNER TO gitlab;

--
-- Name: pages_domain_acme_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.pages_domain_acme_orders_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pages_domain_acme_orders_id_seq OWNER TO gitlab;

--
-- Name: pages_domain_acme_orders_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.pages_domain_acme_orders_id_seq OWNED BY public.pages_domain_acme_orders.id;


--
-- Name: pages_domains; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.pages_domains (
    id integer NOT NULL,
    project_id integer,
    certificate text,
    encrypted_key text,
    encrypted_key_iv character varying,
    encrypted_key_salt character varying,
    domain character varying,
    verified_at timestamp with time zone,
    verification_code character varying NOT NULL,
    enabled_until timestamp with time zone,
    remove_at timestamp with time zone,
    auto_ssl_enabled boolean DEFAULT false NOT NULL,
    certificate_valid_not_before timestamp with time zone,
    certificate_valid_not_after timestamp with time zone,
    certificate_source smallint DEFAULT 0 NOT NULL,
    wildcard boolean DEFAULT false NOT NULL,
    usage smallint DEFAULT 0 NOT NULL,
    scope smallint DEFAULT 2 NOT NULL,
    auto_ssl_failed boolean DEFAULT false NOT NULL
);


ALTER TABLE public.pages_domains OWNER TO gitlab;

--
-- Name: pages_domains_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.pages_domains_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pages_domains_id_seq OWNER TO gitlab;

--
-- Name: pages_domains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.pages_domains_id_seq OWNED BY public.pages_domains.id;


--
-- Name: partitioned_foreign_keys; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.partitioned_foreign_keys (
    id bigint NOT NULL,
    cascade_delete boolean DEFAULT true NOT NULL,
    from_table text NOT NULL,
    from_column text NOT NULL,
    to_table text NOT NULL,
    to_column text NOT NULL,
    CONSTRAINT check_2c2e02a62b CHECK ((char_length(from_column) <= 63)),
    CONSTRAINT check_40738efb57 CHECK ((char_length(to_table) <= 63)),
    CONSTRAINT check_741676d405 CHECK ((char_length(from_table) <= 63)),
    CONSTRAINT check_7e98be694f CHECK ((char_length(to_column) <= 63))
);


ALTER TABLE public.partitioned_foreign_keys OWNER TO gitlab;

--
-- Name: partitioned_foreign_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.partitioned_foreign_keys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.partitioned_foreign_keys_id_seq OWNER TO gitlab;

--
-- Name: partitioned_foreign_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.partitioned_foreign_keys_id_seq OWNED BY public.partitioned_foreign_keys.id;


--
-- Name: path_locks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.path_locks (
    id integer NOT NULL,
    path character varying NOT NULL,
    project_id integer,
    user_id integer,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.path_locks OWNER TO gitlab;

--
-- Name: path_locks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.path_locks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.path_locks_id_seq OWNER TO gitlab;

--
-- Name: path_locks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.path_locks_id_seq OWNED BY public.path_locks.id;


--
-- Name: personal_access_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.personal_access_tokens (
    id integer NOT NULL,
    user_id integer NOT NULL,
    name character varying NOT NULL,
    revoked boolean DEFAULT false,
    expires_at date,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    scopes character varying DEFAULT '--- []
'::character varying NOT NULL,
    impersonation boolean DEFAULT false NOT NULL,
    token_digest character varying,
    expire_notification_delivered boolean DEFAULT false NOT NULL,
    last_used_at timestamp with time zone,
    after_expiry_notification_delivered boolean DEFAULT false NOT NULL
);


ALTER TABLE public.personal_access_tokens OWNER TO gitlab;

--
-- Name: personal_access_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.personal_access_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.personal_access_tokens_id_seq OWNER TO gitlab;

--
-- Name: personal_access_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.personal_access_tokens_id_seq OWNED BY public.personal_access_tokens.id;


--
-- Name: plan_limits; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.plan_limits (
    id bigint NOT NULL,
    plan_id bigint NOT NULL,
    ci_active_pipelines integer DEFAULT 0 NOT NULL,
    ci_pipeline_size integer DEFAULT 0 NOT NULL,
    ci_active_jobs integer DEFAULT 0 NOT NULL,
    project_hooks integer DEFAULT 100 NOT NULL,
    group_hooks integer DEFAULT 50 NOT NULL,
    ci_project_subscriptions integer DEFAULT 2 NOT NULL,
    ci_pipeline_schedules integer DEFAULT 10 NOT NULL,
    offset_pagination_limit integer DEFAULT 50000 NOT NULL,
    ci_instance_level_variables integer DEFAULT 25 NOT NULL,
    storage_size_limit integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_lsif integer DEFAULT 100 NOT NULL,
    ci_max_artifact_size_archive integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_metadata integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_trace integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_junit integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_sast integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_dependency_scanning integer DEFAULT 350 NOT NULL,
    ci_max_artifact_size_container_scanning integer DEFAULT 150 NOT NULL,
    ci_max_artifact_size_dast integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_codequality integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_license_management integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_license_scanning integer DEFAULT 100 NOT NULL,
    ci_max_artifact_size_performance integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_metrics integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_metrics_referee integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_network_referee integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_dotenv integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_cobertura integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_terraform integer DEFAULT 5 NOT NULL,
    ci_max_artifact_size_accessibility integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_cluster_applications integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_secret_detection integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_requirements integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_coverage_fuzzing integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_browser_performance integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_load_performance integer DEFAULT 0 NOT NULL,
    ci_needs_size_limit integer DEFAULT 50 NOT NULL,
    conan_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL,
    maven_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL,
    npm_max_file_size bigint DEFAULT 524288000 NOT NULL,
    nuget_max_file_size bigint DEFAULT 524288000 NOT NULL,
    pypi_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL,
    generic_packages_max_file_size bigint DEFAULT '5368709120'::bigint NOT NULL,
    golang_max_file_size bigint DEFAULT 104857600 NOT NULL,
    debian_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL,
    project_feature_flags integer DEFAULT 200 NOT NULL,
    ci_max_artifact_size_api_fuzzing integer DEFAULT 0 NOT NULL,
    ci_pipeline_deployments integer DEFAULT 500 NOT NULL,
    pull_mirror_interval_seconds integer DEFAULT 300 NOT NULL,
    daily_invites integer DEFAULT 0 NOT NULL,
    rubygems_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL,
    terraform_module_max_file_size bigint DEFAULT 1073741824 NOT NULL,
    helm_max_file_size bigint DEFAULT 5242880 NOT NULL,
    ci_registered_group_runners integer DEFAULT 1000 NOT NULL,
    ci_registered_project_runners integer DEFAULT 1000 NOT NULL,
    web_hook_calls integer DEFAULT 0 NOT NULL,
    ci_daily_pipeline_schedule_triggers integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_running_container_scanning integer DEFAULT 0 NOT NULL,
    ci_max_artifact_size_cluster_image_scanning integer DEFAULT 0 NOT NULL,
    ci_jobs_trace_size_limit integer DEFAULT 100 NOT NULL,
    pages_file_entries integer DEFAULT 200000 NOT NULL
);


ALTER TABLE public.plan_limits OWNER TO gitlab;

--
-- Name: plan_limits_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.plan_limits_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.plan_limits_id_seq OWNER TO gitlab;

--
-- Name: plan_limits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.plan_limits_id_seq OWNED BY public.plan_limits.id;


--
-- Name: plans; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.plans (
    id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    name character varying,
    title character varying
);


ALTER TABLE public.plans OWNER TO gitlab;

--
-- Name: plans_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.plans_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.plans_id_seq OWNER TO gitlab;

--
-- Name: plans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.plans_id_seq OWNED BY public.plans.id;


--
-- Name: pool_repositories; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.pool_repositories (
    id bigint NOT NULL,
    shard_id integer NOT NULL,
    disk_path character varying,
    state character varying,
    source_project_id integer
);


ALTER TABLE public.pool_repositories OWNER TO gitlab;

--
-- Name: pool_repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.pool_repositories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pool_repositories_id_seq OWNER TO gitlab;

--
-- Name: pool_repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.pool_repositories_id_seq OWNED BY public.pool_repositories.id;


--
-- Name: postgres_async_indexes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.postgres_async_indexes (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name text NOT NULL,
    definition text NOT NULL,
    table_name text NOT NULL,
    CONSTRAINT check_083b21157b CHECK ((char_length(definition) <= 2048)),
    CONSTRAINT check_b732c6cd1d CHECK ((char_length(name) <= 63)),
    CONSTRAINT check_e64ff4359e CHECK ((char_length(table_name) <= 63))
);


ALTER TABLE public.postgres_async_indexes OWNER TO gitlab;

--
-- Name: postgres_async_indexes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.postgres_async_indexes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.postgres_async_indexes_id_seq OWNER TO gitlab;

--
-- Name: postgres_async_indexes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.postgres_async_indexes_id_seq OWNED BY public.postgres_async_indexes.id;


--
-- Name: postgres_foreign_keys; Type: VIEW; Schema: public; Owner: gitlab
--

CREATE VIEW public.postgres_foreign_keys AS
 SELECT pg_constraint.oid,
    pg_constraint.conname AS name,
    (((constrained_namespace.nspname)::text || '.'::text) || (constrained_table.relname)::text) AS constrained_table_identifier,
    (((referenced_namespace.nspname)::text || '.'::text) || (referenced_table.relname)::text) AS referenced_table_identifier
   FROM ((((pg_constraint
     JOIN pg_class constrained_table ON ((constrained_table.oid = pg_constraint.conrelid)))
     JOIN pg_class referenced_table ON ((referenced_table.oid = pg_constraint.confrelid)))
     JOIN pg_namespace constrained_namespace ON ((constrained_table.relnamespace = constrained_namespace.oid)))
     JOIN pg_namespace referenced_namespace ON ((referenced_table.relnamespace = referenced_namespace.oid)))
  WHERE (pg_constraint.contype = 'f'::"char");


ALTER TABLE public.postgres_foreign_keys OWNER TO gitlab;

--
-- Name: postgres_index_bloat_estimates; Type: VIEW; Schema: public; Owner: gitlab
--

CREATE VIEW public.postgres_index_bloat_estimates AS
 SELECT (((relation_stats.nspname)::text || '.'::text) || (relation_stats.idxname)::text) AS identifier,
    (
        CASE
            WHEN ((relation_stats.relpages)::double precision > relation_stats.est_pages_ff) THEN ((relation_stats.bs)::double precision * ((relation_stats.relpages)::double precision - relation_stats.est_pages_ff))
            ELSE (0)::double precision
        END)::bigint AS bloat_size_bytes
   FROM ( SELECT COALESCE(((1)::double precision + ceil((rows_hdr_pdg_stats.reltuples / floor((((((rows_hdr_pdg_stats.bs - (rows_hdr_pdg_stats.pageopqdata)::numeric) - (rows_hdr_pdg_stats.pagehdr)::numeric) * (rows_hdr_pdg_stats.fillfactor)::numeric))::double precision / ((100)::double precision * (((4)::numeric + rows_hdr_pdg_stats.nulldatahdrwidth))::double precision)))))), (0)::double precision) AS est_pages_ff,
            rows_hdr_pdg_stats.bs,
            rows_hdr_pdg_stats.nspname,
            rows_hdr_pdg_stats.tblname,
            rows_hdr_pdg_stats.idxname,
            rows_hdr_pdg_stats.relpages,
            rows_hdr_pdg_stats.is_na
           FROM ( SELECT rows_data_stats.maxalign,
                    rows_data_stats.bs,
                    rows_data_stats.nspname,
                    rows_data_stats.tblname,
                    rows_data_stats.idxname,
                    rows_data_stats.reltuples,
                    rows_data_stats.relpages,
                    rows_data_stats.idxoid,
                    rows_data_stats.fillfactor,
                    (((((((rows_data_stats.index_tuple_hdr_bm + rows_data_stats.maxalign) -
                        CASE
                            WHEN ((rows_data_stats.index_tuple_hdr_bm % rows_data_stats.maxalign) = 0) THEN rows_data_stats.maxalign
                            ELSE (rows_data_stats.index_tuple_hdr_bm % rows_data_stats.maxalign)
                        END))::double precision + rows_data_stats.nulldatawidth) + (rows_data_stats.maxalign)::double precision) - (
                        CASE
                            WHEN (rows_data_stats.nulldatawidth = (0)::double precision) THEN 0
                            WHEN (((rows_data_stats.nulldatawidth)::integer % rows_data_stats.maxalign) = 0) THEN rows_data_stats.maxalign
                            ELSE ((rows_data_stats.nulldatawidth)::integer % rows_data_stats.maxalign)
                        END)::double precision))::numeric AS nulldatahdrwidth,
                    rows_data_stats.pagehdr,
                    rows_data_stats.pageopqdata,
                    rows_data_stats.is_na
                   FROM ( SELECT n.nspname,
                            i.tblname,
                            i.idxname,
                            i.reltuples,
                            i.relpages,
                            i.idxoid,
                            i.fillfactor,
                            (current_setting('block_size'::text))::numeric AS bs,
                                CASE
                                    WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8
                                    ELSE 4
                                END AS maxalign,
                            24 AS pagehdr,
                            16 AS pageopqdata,
                                CASE
                                    WHEN (max(COALESCE(s.null_frac, (0)::real)) = (0)::double precision) THEN 2
                                    ELSE (2 + (((32 + 8) - 1) / 8))
                                END AS index_tuple_hdr_bm,
                            sum((((1)::double precision - COALESCE(s.null_frac, (0)::real)) * (COALESCE(s.avg_width, 1024))::double precision)) AS nulldatawidth,
                            (max(
                                CASE
                                    WHEN (i.atttypid = ('name'::regtype)::oid) THEN 1
                                    ELSE 0
                                END) > 0) AS is_na
                           FROM ((( SELECT ct.relname AS tblname,
                                    ct.relnamespace,
                                    ic.idxname,
                                    ic.attpos,
                                    ic.indkey,
                                    ic.indkey[ic.attpos] AS indkey,
                                    ic.reltuples,
                                    ic.relpages,
                                    ic.tbloid,
                                    ic.idxoid,
                                    ic.fillfactor,
                                    COALESCE(a1.attnum, a2.attnum) AS attnum,
                                    COALESCE(a1.attname, a2.attname) AS attname,
                                    COALESCE(a1.atttypid, a2.atttypid) AS atttypid,
CASE
 WHEN (a1.attnum IS NULL) THEN ic.idxname
 ELSE ct.relname
END AS attrelname
                                   FROM (((( SELECT idx_data.idxname,
    idx_data.reltuples,
    idx_data.relpages,
    idx_data.tbloid,
    idx_data.idxoid,
    idx_data.fillfactor,
    idx_data.indkey,
    generate_series(1, (idx_data.indnatts)::integer) AS attpos
   FROM ( SELECT ci.relname AS idxname,
      ci.reltuples,
      ci.relpages,
      i_1.indrelid AS tbloid,
      i_1.indexrelid AS idxoid,
      COALESCE((("substring"(array_to_string(ci.reloptions, ' '::text), 'fillfactor=([0-9]+)'::text))::smallint)::integer, 90) AS fillfactor,
      i_1.indnatts,
      (string_to_array(textin(int2vectorout(i_1.indkey)), ' '::text))::integer[] AS indkey
     FROM (pg_index i_1
       JOIN pg_class ci ON ((ci.oid = i_1.indexrelid)))
    WHERE ((ci.relam = ( SELECT pg_am.oid
       FROM pg_am
      WHERE (pg_am.amname = 'btree'::name))) AND (ci.relpages > 0))) idx_data) ic
                                     JOIN pg_class ct ON ((ct.oid = ic.tbloid)))
                                     LEFT JOIN pg_attribute a1 ON (((ic.indkey[ic.attpos] <> 0) AND (a1.attrelid = ic.tbloid) AND (a1.attnum = ic.indkey[ic.attpos]))))
                                     LEFT JOIN pg_attribute a2 ON (((ic.indkey[ic.attpos] = 0) AND (a2.attrelid = ic.idxoid) AND (a2.attnum = ic.attpos))))) i(tblname, relnamespace, idxname, attpos, indkey, indkey_1, reltuples, relpages, tbloid, idxoid, fillfactor, attnum, attname, atttypid, attrelname)
                             JOIN pg_namespace n ON ((n.oid = i.relnamespace)))
                             JOIN pg_stats s ON (((s.schemaname = n.nspname) AND (s.tablename = i.attrelname) AND (s.attname = i.attname))))
                          GROUP BY n.nspname, i.tblname, i.idxname, i.reltuples, i.relpages, i.idxoid, i.fillfactor, (current_setting('block_size'::text))::numeric,
                                CASE
                                    WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8
                                    ELSE 4
                                END, 24::integer, 16::integer) rows_data_stats) rows_hdr_pdg_stats) relation_stats
  WHERE ((relation_stats.nspname = ANY (ARRAY["current_schema"(), 'gitlab_partitions_dynamic'::name, 'gitlab_partitions_static'::name])) AND (NOT relation_stats.is_na))
  ORDER BY relation_stats.nspname, relation_stats.tblname, relation_stats.idxname;


ALTER TABLE public.postgres_index_bloat_estimates OWNER TO gitlab;

--
-- Name: postgres_indexes; Type: VIEW; Schema: public; Owner: gitlab
--

CREATE VIEW public.postgres_indexes AS
 SELECT (((pg_namespace.nspname)::text || '.'::text) || (i.relname)::text) AS identifier,
    pg_index.indexrelid,
    pg_namespace.nspname AS schema,
    i.relname AS name,
    pg_indexes.tablename,
    a.amname AS type,
    pg_index.indisunique AS "unique",
    pg_index.indisvalid AS valid_index,
    i.relispartition AS partitioned,
    pg_index.indisexclusion AS exclusion,
    (pg_index.indexprs IS NOT NULL) AS expression,
    (pg_index.indpred IS NOT NULL) AS partial,
    pg_indexes.indexdef AS definition,
    pg_relation_size((i.oid)::regclass) AS ondisk_size_bytes
   FROM ((((pg_index
     JOIN pg_class i ON ((i.oid = pg_index.indexrelid)))
     JOIN pg_namespace ON ((i.relnamespace = pg_namespace.oid)))
     JOIN pg_indexes ON ((i.relname = pg_indexes.indexname)))
     JOIN pg_am a ON ((i.relam = a.oid)))
  WHERE ((pg_namespace.nspname <> 'pg_catalog'::name) AND (pg_namespace.nspname = ANY (ARRAY["current_schema"(), 'gitlab_partitions_dynamic'::name, 'gitlab_partitions_static'::name])));


ALTER TABLE public.postgres_indexes OWNER TO gitlab;

--
-- Name: postgres_partitioned_tables; Type: VIEW; Schema: public; Owner: gitlab
--

CREATE VIEW public.postgres_partitioned_tables AS
 SELECT (((pg_namespace.nspname)::text || '.'::text) || (pg_class.relname)::text) AS identifier,
    pg_class.oid,
    pg_namespace.nspname AS schema,
    pg_class.relname AS name,
        CASE partitioned_tables.partstrat
            WHEN 'l'::"char" THEN 'list'::text
            WHEN 'r'::"char" THEN 'range'::text
            WHEN 'h'::"char" THEN 'hash'::text
            ELSE NULL::text
        END AS strategy,
    array_agg(pg_attribute.attname) AS key_columns
   FROM (((( SELECT pg_partitioned_table.partrelid,
            pg_partitioned_table.partstrat,
            unnest(pg_partitioned_table.partattrs) AS column_position
           FROM pg_partitioned_table) partitioned_tables
     JOIN pg_class ON ((partitioned_tables.partrelid = pg_class.oid)))
     JOIN pg_namespace ON ((pg_class.relnamespace = pg_namespace.oid)))
     JOIN pg_attribute ON (((pg_attribute.attrelid = pg_class.oid) AND (pg_attribute.attnum = partitioned_tables.column_position))))
  WHERE (pg_namespace.nspname = "current_schema"())
  GROUP BY (((pg_namespace.nspname)::text || '.'::text) || (pg_class.relname)::text), pg_class.oid, pg_namespace.nspname, pg_class.relname,
        CASE partitioned_tables.partstrat
            WHEN 'l'::"char" THEN 'list'::text
            WHEN 'r'::"char" THEN 'range'::text
            WHEN 'h'::"char" THEN 'hash'::text
            ELSE NULL::text
        END;


ALTER TABLE public.postgres_partitioned_tables OWNER TO gitlab;

--
-- Name: postgres_partitions; Type: VIEW; Schema: public; Owner: gitlab
--

CREATE VIEW public.postgres_partitions AS
 SELECT (((pg_namespace.nspname)::text || '.'::text) || (pg_class.relname)::text) AS identifier,
    pg_class.oid,
    pg_namespace.nspname AS schema,
    pg_class.relname AS name,
    (((parent_namespace.nspname)::text || '.'::text) || (parent_class.relname)::text) AS parent_identifier,
    pg_get_expr(pg_class.relpartbound, pg_inherits.inhrelid) AS condition
   FROM ((((pg_class
     JOIN pg_namespace ON ((pg_namespace.oid = pg_class.relnamespace)))
     JOIN pg_inherits ON ((pg_class.oid = pg_inherits.inhrelid)))
     JOIN pg_class parent_class ON ((pg_inherits.inhparent = parent_class.oid)))
     JOIN pg_namespace parent_namespace ON ((parent_class.relnamespace = parent_namespace.oid)))
  WHERE (pg_class.relispartition AND (pg_namespace.nspname = ANY (ARRAY["current_schema"(), 'gitlab_partitions_dynamic'::name, 'gitlab_partitions_static'::name])));


ALTER TABLE public.postgres_partitions OWNER TO gitlab;

--
-- Name: postgres_reindex_actions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.postgres_reindex_actions (
    id bigint NOT NULL,
    action_start timestamp with time zone NOT NULL,
    action_end timestamp with time zone,
    ondisk_size_bytes_start bigint NOT NULL,
    ondisk_size_bytes_end bigint,
    state smallint DEFAULT 0 NOT NULL,
    index_identifier text NOT NULL,
    bloat_estimate_bytes_start bigint,
    CONSTRAINT check_f12527622c CHECK ((char_length(index_identifier) <= 255))
);


ALTER TABLE public.postgres_reindex_actions OWNER TO gitlab;

--
-- Name: postgres_reindex_actions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.postgres_reindex_actions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.postgres_reindex_actions_id_seq OWNER TO gitlab;

--
-- Name: postgres_reindex_actions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.postgres_reindex_actions_id_seq OWNED BY public.postgres_reindex_actions.id;


--
-- Name: programming_languages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.programming_languages (
    id integer NOT NULL,
    name character varying NOT NULL,
    color character varying NOT NULL,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.programming_languages OWNER TO gitlab;

--
-- Name: programming_languages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.programming_languages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.programming_languages_id_seq OWNER TO gitlab;

--
-- Name: programming_languages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.programming_languages_id_seq OWNED BY public.programming_languages.id;


--
-- Name: project_access_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_access_tokens (
    personal_access_token_id bigint NOT NULL,
    project_id bigint NOT NULL
);


ALTER TABLE public.project_access_tokens OWNER TO gitlab;

--
-- Name: project_alerting_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_alerting_settings (
    project_id integer NOT NULL,
    encrypted_token character varying NOT NULL,
    encrypted_token_iv character varying NOT NULL
);


ALTER TABLE public.project_alerting_settings OWNER TO gitlab;

--
-- Name: project_aliases; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_aliases (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    name character varying NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.project_aliases OWNER TO gitlab;

--
-- Name: project_aliases_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_aliases_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_aliases_id_seq OWNER TO gitlab;

--
-- Name: project_aliases_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_aliases_id_seq OWNED BY public.project_aliases.id;


--
-- Name: project_authorizations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_authorizations (
    user_id integer NOT NULL,
    project_id integer NOT NULL,
    access_level integer NOT NULL
);


ALTER TABLE public.project_authorizations OWNER TO gitlab;

--
-- Name: project_auto_devops; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_auto_devops (
    id integer NOT NULL,
    project_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    enabled boolean,
    deploy_strategy integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.project_auto_devops OWNER TO gitlab;

--
-- Name: project_auto_devops_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_auto_devops_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_auto_devops_id_seq OWNER TO gitlab;

--
-- Name: project_auto_devops_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_auto_devops_id_seq OWNED BY public.project_auto_devops.id;


--
-- Name: project_ci_cd_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_ci_cd_settings (
    id integer NOT NULL,
    project_id integer NOT NULL,
    group_runners_enabled boolean DEFAULT true NOT NULL,
    merge_pipelines_enabled boolean,
    default_git_depth integer,
    forward_deployment_enabled boolean,
    merge_trains_enabled boolean DEFAULT false,
    auto_rollback_enabled boolean DEFAULT false NOT NULL,
    keep_latest_artifact boolean DEFAULT true NOT NULL,
    restrict_user_defined_variables boolean DEFAULT false NOT NULL,
    job_token_scope_enabled boolean DEFAULT false NOT NULL
);


ALTER TABLE public.project_ci_cd_settings OWNER TO gitlab;

--
-- Name: project_ci_cd_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_ci_cd_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_ci_cd_settings_id_seq OWNER TO gitlab;

--
-- Name: project_ci_cd_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_ci_cd_settings_id_seq OWNED BY public.project_ci_cd_settings.id;


--
-- Name: project_ci_feature_usages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_ci_feature_usages (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    feature smallint NOT NULL,
    default_branch boolean DEFAULT false NOT NULL
);


ALTER TABLE public.project_ci_feature_usages OWNER TO gitlab;

--
-- Name: project_ci_feature_usages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_ci_feature_usages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_ci_feature_usages_id_seq OWNER TO gitlab;

--
-- Name: project_ci_feature_usages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_ci_feature_usages_id_seq OWNED BY public.project_ci_feature_usages.id;


--
-- Name: project_compliance_framework_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_compliance_framework_settings (
    project_id bigint NOT NULL,
    framework_id bigint,
    CONSTRAINT check_d348de9e2d CHECK ((framework_id IS NOT NULL))
);


ALTER TABLE public.project_compliance_framework_settings OWNER TO gitlab;

--
-- Name: project_compliance_framework_settings_project_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_compliance_framework_settings_project_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_compliance_framework_settings_project_id_seq OWNER TO gitlab;

--
-- Name: project_compliance_framework_settings_project_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_compliance_framework_settings_project_id_seq OWNED BY public.project_compliance_framework_settings.project_id;


--
-- Name: project_custom_attributes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_custom_attributes (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer NOT NULL,
    key character varying NOT NULL,
    value character varying NOT NULL
);


ALTER TABLE public.project_custom_attributes OWNER TO gitlab;

--
-- Name: project_custom_attributes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_custom_attributes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_custom_attributes_id_seq OWNER TO gitlab;

--
-- Name: project_custom_attributes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_custom_attributes_id_seq OWNED BY public.project_custom_attributes.id;


--
-- Name: project_daily_statistics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_daily_statistics (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    fetch_count integer NOT NULL,
    date date
);


ALTER TABLE public.project_daily_statistics OWNER TO gitlab;

--
-- Name: project_daily_statistics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_daily_statistics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_daily_statistics_id_seq OWNER TO gitlab;

--
-- Name: project_daily_statistics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_daily_statistics_id_seq OWNED BY public.project_daily_statistics.id;


--
-- Name: project_deploy_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_deploy_tokens (
    id integer NOT NULL,
    project_id integer NOT NULL,
    deploy_token_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.project_deploy_tokens OWNER TO gitlab;

--
-- Name: project_deploy_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_deploy_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_deploy_tokens_id_seq OWNER TO gitlab;

--
-- Name: project_deploy_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_deploy_tokens_id_seq OWNED BY public.project_deploy_tokens.id;


--
-- Name: project_error_tracking_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_error_tracking_settings (
    project_id integer NOT NULL,
    enabled boolean DEFAULT false NOT NULL,
    api_url character varying,
    encrypted_token character varying,
    encrypted_token_iv character varying,
    project_name character varying,
    organization_name character varying,
    integrated boolean DEFAULT false NOT NULL
);


ALTER TABLE public.project_error_tracking_settings OWNER TO gitlab;

--
-- Name: project_export_jobs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_export_jobs (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    status smallint DEFAULT 0 NOT NULL,
    jid character varying(100) NOT NULL
);


ALTER TABLE public.project_export_jobs OWNER TO gitlab;

--
-- Name: project_export_jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_export_jobs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_export_jobs_id_seq OWNER TO gitlab;

--
-- Name: project_export_jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_export_jobs_id_seq OWNED BY public.project_export_jobs.id;


--
-- Name: project_feature_usages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_feature_usages (
    project_id integer NOT NULL,
    jira_dvcs_cloud_last_sync_at timestamp without time zone,
    jira_dvcs_server_last_sync_at timestamp without time zone
);


ALTER TABLE public.project_feature_usages OWNER TO gitlab;

--
-- Name: project_features; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_features (
    id integer NOT NULL,
    project_id integer NOT NULL,
    merge_requests_access_level integer,
    issues_access_level integer,
    wiki_access_level integer,
    snippets_access_level integer DEFAULT 20 NOT NULL,
    builds_access_level integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    repository_access_level integer DEFAULT 20 NOT NULL,
    pages_access_level integer NOT NULL,
    forking_access_level integer,
    metrics_dashboard_access_level integer,
    requirements_access_level integer DEFAULT 20 NOT NULL,
    operations_access_level integer DEFAULT 20 NOT NULL,
    analytics_access_level integer DEFAULT 20 NOT NULL,
    security_and_compliance_access_level integer DEFAULT 10 NOT NULL,
    container_registry_access_level integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.project_features OWNER TO gitlab;

--
-- Name: project_features_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_features_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_features_id_seq OWNER TO gitlab;

--
-- Name: project_features_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_features_id_seq OWNED BY public.project_features.id;


--
-- Name: project_group_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_group_links (
    id integer NOT NULL,
    project_id integer NOT NULL,
    group_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    group_access integer DEFAULT 30 NOT NULL,
    expires_at date
);


ALTER TABLE public.project_group_links OWNER TO gitlab;

--
-- Name: project_group_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_group_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_group_links_id_seq OWNER TO gitlab;

--
-- Name: project_group_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_group_links_id_seq OWNED BY public.project_group_links.id;


--
-- Name: project_import_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_import_data (
    id integer NOT NULL,
    project_id integer,
    data text,
    encrypted_credentials text,
    encrypted_credentials_iv character varying,
    encrypted_credentials_salt character varying
);


ALTER TABLE public.project_import_data OWNER TO gitlab;

--
-- Name: project_import_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_import_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_import_data_id_seq OWNER TO gitlab;

--
-- Name: project_import_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_import_data_id_seq OWNED BY public.project_import_data.id;


--
-- Name: project_incident_management_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_incident_management_settings (
    project_id integer NOT NULL,
    create_issue boolean DEFAULT false NOT NULL,
    send_email boolean DEFAULT false NOT NULL,
    issue_template_key text,
    pagerduty_active boolean DEFAULT false NOT NULL,
    encrypted_pagerduty_token bytea,
    encrypted_pagerduty_token_iv bytea,
    auto_close_incident boolean DEFAULT true NOT NULL,
    sla_timer boolean DEFAULT false,
    sla_timer_minutes integer,
    CONSTRAINT pagerduty_token_iv_length_constraint CHECK ((octet_length(encrypted_pagerduty_token_iv) <= 12)),
    CONSTRAINT pagerduty_token_length_constraint CHECK ((octet_length(encrypted_pagerduty_token) <= 255))
);


ALTER TABLE public.project_incident_management_settings OWNER TO gitlab;

--
-- Name: project_incident_management_settings_project_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_incident_management_settings_project_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_incident_management_settings_project_id_seq OWNER TO gitlab;

--
-- Name: project_incident_management_settings_project_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_incident_management_settings_project_id_seq OWNED BY public.project_incident_management_settings.project_id;


--
-- Name: project_metrics_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_metrics_settings (
    project_id integer NOT NULL,
    external_dashboard_url character varying,
    dashboard_timezone smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.project_metrics_settings OWNER TO gitlab;

--
-- Name: project_mirror_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_mirror_data (
    id integer NOT NULL,
    project_id integer NOT NULL,
    retry_count integer DEFAULT 0 NOT NULL,
    last_update_started_at timestamp without time zone,
    last_update_scheduled_at timestamp without time zone,
    next_execution_timestamp timestamp without time zone,
    status character varying,
    jid character varying,
    last_error text,
    last_update_at timestamp with time zone,
    last_successful_update_at timestamp with time zone,
    correlation_id_value character varying(128)
);


ALTER TABLE public.project_mirror_data OWNER TO gitlab;

--
-- Name: project_mirror_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_mirror_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_mirror_data_id_seq OWNER TO gitlab;

--
-- Name: project_mirror_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_mirror_data_id_seq OWNED BY public.project_mirror_data.id;


--
-- Name: project_pages_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_pages_metadata (
    project_id bigint NOT NULL,
    deployed boolean DEFAULT false NOT NULL,
    artifacts_archive_id bigint,
    pages_deployment_id bigint
);


ALTER TABLE public.project_pages_metadata OWNER TO gitlab;

--
-- Name: project_repositories; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_repositories (
    id bigint NOT NULL,
    shard_id integer NOT NULL,
    disk_path character varying NOT NULL,
    project_id integer NOT NULL
);


ALTER TABLE public.project_repositories OWNER TO gitlab;

--
-- Name: project_repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_repositories_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_repositories_id_seq OWNER TO gitlab;

--
-- Name: project_repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_repositories_id_seq OWNED BY public.project_repositories.id;


--
-- Name: project_repository_states; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_repository_states (
    id integer NOT NULL,
    project_id integer NOT NULL,
    repository_verification_checksum bytea,
    wiki_verification_checksum bytea,
    last_repository_verification_failure character varying,
    last_wiki_verification_failure character varying,
    repository_retry_at timestamp with time zone,
    wiki_retry_at timestamp with time zone,
    repository_retry_count integer,
    wiki_retry_count integer,
    last_repository_verification_ran_at timestamp with time zone,
    last_wiki_verification_ran_at timestamp with time zone
);


ALTER TABLE public.project_repository_states OWNER TO gitlab;

--
-- Name: project_repository_states_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_repository_states_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_repository_states_id_seq OWNER TO gitlab;

--
-- Name: project_repository_states_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_repository_states_id_seq OWNED BY public.project_repository_states.id;


--
-- Name: project_repository_storage_moves; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_repository_storage_moves (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    state smallint DEFAULT 1 NOT NULL,
    source_storage_name text NOT NULL,
    destination_storage_name text NOT NULL,
    CONSTRAINT project_repository_storage_moves_destination_storage_name CHECK ((char_length(destination_storage_name) <= 255)),
    CONSTRAINT project_repository_storage_moves_source_storage_name CHECK ((char_length(source_storage_name) <= 255))
);


ALTER TABLE public.project_repository_storage_moves OWNER TO gitlab;

--
-- Name: project_repository_storage_moves_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_repository_storage_moves_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_repository_storage_moves_id_seq OWNER TO gitlab;

--
-- Name: project_repository_storage_moves_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_repository_storage_moves_id_seq OWNED BY public.project_repository_storage_moves.id;


--
-- Name: project_security_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_security_settings (
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    auto_fix_container_scanning boolean DEFAULT true NOT NULL,
    auto_fix_dast boolean DEFAULT true NOT NULL,
    auto_fix_dependency_scanning boolean DEFAULT true NOT NULL,
    auto_fix_sast boolean DEFAULT true NOT NULL
);


ALTER TABLE public.project_security_settings OWNER TO gitlab;

--
-- Name: project_security_settings_project_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_security_settings_project_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_security_settings_project_id_seq OWNER TO gitlab;

--
-- Name: project_security_settings_project_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_security_settings_project_id_seq OWNED BY public.project_security_settings.project_id;


--
-- Name: project_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_settings (
    project_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    push_rule_id bigint,
    show_default_award_emojis boolean DEFAULT true,
    allow_merge_on_skipped_pipeline boolean,
    squash_option smallint DEFAULT 3,
    has_confluence boolean DEFAULT false NOT NULL,
    has_vulnerabilities boolean DEFAULT false NOT NULL,
    allow_editing_commit_messages boolean DEFAULT false NOT NULL,
    prevent_merge_without_jira_issue boolean DEFAULT false NOT NULL,
    cve_id_request_enabled boolean DEFAULT true NOT NULL,
    mr_default_target_self boolean DEFAULT false NOT NULL,
    previous_default_branch text,
    CONSTRAINT check_3a03e7557a CHECK ((char_length(previous_default_branch) <= 4096)),
    CONSTRAINT check_bde223416c CHECK ((show_default_award_emojis IS NOT NULL))
);


ALTER TABLE public.project_settings OWNER TO gitlab;

--
-- Name: project_statistics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_statistics (
    id integer NOT NULL,
    project_id integer NOT NULL,
    namespace_id integer NOT NULL,
    commit_count bigint DEFAULT 0 NOT NULL,
    storage_size bigint DEFAULT 0 NOT NULL,
    repository_size bigint DEFAULT 0 NOT NULL,
    lfs_objects_size bigint DEFAULT 0 NOT NULL,
    build_artifacts_size bigint DEFAULT 0 NOT NULL,
    shared_runners_seconds bigint DEFAULT 0 NOT NULL,
    shared_runners_seconds_last_reset timestamp without time zone,
    packages_size bigint DEFAULT 0 NOT NULL,
    wiki_size bigint,
    snippets_size bigint,
    pipeline_artifacts_size bigint DEFAULT 0 NOT NULL,
    uploads_size bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.project_statistics OWNER TO gitlab;

--
-- Name: project_statistics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_statistics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_statistics_id_seq OWNER TO gitlab;

--
-- Name: project_statistics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_statistics_id_seq OWNED BY public.project_statistics.id;


--
-- Name: project_tracing_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.project_tracing_settings (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer NOT NULL,
    external_url character varying NOT NULL
);


ALTER TABLE public.project_tracing_settings OWNER TO gitlab;

--
-- Name: project_tracing_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.project_tracing_settings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.project_tracing_settings_id_seq OWNER TO gitlab;

--
-- Name: project_tracing_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.project_tracing_settings_id_seq OWNED BY public.project_tracing_settings.id;


--
-- Name: projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.projects (
    id integer NOT NULL,
    name character varying,
    path character varying,
    description text,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    creator_id integer,
    namespace_id integer NOT NULL,
    last_activity_at timestamp without time zone,
    import_url character varying,
    visibility_level integer DEFAULT 0 NOT NULL,
    archived boolean DEFAULT false NOT NULL,
    avatar character varying,
    merge_requests_template text,
    star_count integer DEFAULT 0 NOT NULL,
    merge_requests_rebase_enabled boolean DEFAULT false,
    import_type character varying,
    import_source character varying,
    approvals_before_merge integer DEFAULT 0 NOT NULL,
    reset_approvals_on_push boolean DEFAULT true,
    merge_requests_ff_only_enabled boolean DEFAULT false,
    issues_template text,
    mirror boolean DEFAULT false NOT NULL,
    mirror_last_update_at timestamp without time zone,
    mirror_last_successful_update_at timestamp without time zone,
    mirror_user_id integer,
    shared_runners_enabled boolean DEFAULT true NOT NULL,
    runners_token character varying,
    build_coverage_regex character varying,
    build_allow_git_fetch boolean DEFAULT true NOT NULL,
    build_timeout integer DEFAULT 3600 NOT NULL,
    mirror_trigger_builds boolean DEFAULT false NOT NULL,
    pending_delete boolean DEFAULT false,
    public_builds boolean DEFAULT true NOT NULL,
    last_repository_check_failed boolean,
    last_repository_check_at timestamp without time zone,
    container_registry_enabled boolean,
    only_allow_merge_if_pipeline_succeeds boolean DEFAULT false NOT NULL,
    has_external_issue_tracker boolean,
    repository_storage character varying DEFAULT 'default'::character varying NOT NULL,
    repository_read_only boolean,
    request_access_enabled boolean DEFAULT true NOT NULL,
    has_external_wiki boolean,
    ci_config_path character varying,
    lfs_enabled boolean,
    description_html text,
    only_allow_merge_if_all_discussions_are_resolved boolean,
    repository_size_limit bigint,
    printing_merge_request_link_enabled boolean DEFAULT true NOT NULL,
    auto_cancel_pending_pipelines integer DEFAULT 1 NOT NULL,
    service_desk_enabled boolean DEFAULT true,
    cached_markdown_version integer,
    delete_error text,
    last_repository_updated_at timestamp without time zone,
    disable_overriding_approvers_per_merge_request boolean,
    storage_version smallint,
    resolve_outdated_diff_discussions boolean,
    remote_mirror_available_overridden boolean,
    only_mirror_protected_branches boolean,
    pull_mirror_available_overridden boolean,
    jobs_cache_index integer,
    external_authorization_classification_label character varying,
    mirror_overwrites_diverged_branches boolean,
    pages_https_only boolean DEFAULT true,
    external_webhook_token character varying,
    packages_enabled boolean,
    merge_requests_author_approval boolean DEFAULT false,
    pool_repository_id bigint,
    runners_token_encrypted character varying,
    bfg_object_map character varying,
    detected_repository_languages boolean,
    merge_requests_disable_committers_approval boolean,
    require_password_to_approve boolean,
    emails_disabled boolean,
    max_pages_size integer,
    max_artifacts_size integer,
    pull_mirror_branch_prefix character varying(50),
    remove_source_branch_after_merge boolean,
    marked_for_deletion_at date,
    marked_for_deletion_by_user_id integer,
    autoclose_referenced_issues boolean,
    suggestion_commit_message character varying(255)
);


ALTER TABLE public.projects OWNER TO gitlab;

--
-- Name: projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.projects_id_seq OWNER TO gitlab;

--
-- Name: projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.projects_id_seq OWNED BY public.projects.id;


--
-- Name: prometheus_alert_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.prometheus_alert_events (
    id bigint NOT NULL,
    project_id integer NOT NULL,
    prometheus_alert_id integer NOT NULL,
    started_at timestamp with time zone NOT NULL,
    ended_at timestamp with time zone,
    status smallint,
    payload_key character varying
);


ALTER TABLE public.prometheus_alert_events OWNER TO gitlab;

--
-- Name: prometheus_alert_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.prometheus_alert_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.prometheus_alert_events_id_seq OWNER TO gitlab;

--
-- Name: prometheus_alert_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.prometheus_alert_events_id_seq OWNED BY public.prometheus_alert_events.id;


--
-- Name: prometheus_alerts; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.prometheus_alerts (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    threshold double precision NOT NULL,
    operator integer NOT NULL,
    environment_id integer NOT NULL,
    project_id integer NOT NULL,
    prometheus_metric_id integer NOT NULL,
    runbook_url text,
    CONSTRAINT check_cb76d7e629 CHECK ((char_length(runbook_url) <= 255))
);


ALTER TABLE public.prometheus_alerts OWNER TO gitlab;

--
-- Name: prometheus_alerts_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.prometheus_alerts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.prometheus_alerts_id_seq OWNER TO gitlab;

--
-- Name: prometheus_alerts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.prometheus_alerts_id_seq OWNED BY public.prometheus_alerts.id;


--
-- Name: prometheus_metrics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.prometheus_metrics (
    id integer NOT NULL,
    project_id integer,
    title character varying NOT NULL,
    query character varying NOT NULL,
    y_label character varying NOT NULL,
    unit character varying NOT NULL,
    legend character varying,
    "group" integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    common boolean DEFAULT false NOT NULL,
    identifier character varying,
    dashboard_path text,
    CONSTRAINT check_0ad9f01463 CHECK ((char_length(dashboard_path) <= 2048))
);


ALTER TABLE public.prometheus_metrics OWNER TO gitlab;

--
-- Name: prometheus_metrics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.prometheus_metrics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.prometheus_metrics_id_seq OWNER TO gitlab;

--
-- Name: prometheus_metrics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.prometheus_metrics_id_seq OWNED BY public.prometheus_metrics.id;


--
-- Name: protected_branch_merge_access_levels; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.protected_branch_merge_access_levels (
    id integer NOT NULL,
    protected_branch_id integer NOT NULL,
    access_level integer DEFAULT 40,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    user_id integer,
    group_id integer
);


ALTER TABLE public.protected_branch_merge_access_levels OWNER TO gitlab;

--
-- Name: protected_branch_merge_access_levels_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.protected_branch_merge_access_levels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.protected_branch_merge_access_levels_id_seq OWNER TO gitlab;

--
-- Name: protected_branch_merge_access_levels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.protected_branch_merge_access_levels_id_seq OWNED BY public.protected_branch_merge_access_levels.id;


--
-- Name: protected_branch_push_access_levels; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.protected_branch_push_access_levels (
    id integer NOT NULL,
    protected_branch_id integer NOT NULL,
    access_level integer DEFAULT 40,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    user_id integer,
    group_id integer,
    deploy_key_id integer
);


ALTER TABLE public.protected_branch_push_access_levels OWNER TO gitlab;

--
-- Name: protected_branch_push_access_levels_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.protected_branch_push_access_levels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.protected_branch_push_access_levels_id_seq OWNER TO gitlab;

--
-- Name: protected_branch_push_access_levels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.protected_branch_push_access_levels_id_seq OWNED BY public.protected_branch_push_access_levels.id;


--
-- Name: protected_branch_unprotect_access_levels; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.protected_branch_unprotect_access_levels (
    id integer NOT NULL,
    protected_branch_id integer NOT NULL,
    access_level integer DEFAULT 40,
    user_id integer,
    group_id integer
);


ALTER TABLE public.protected_branch_unprotect_access_levels OWNER TO gitlab;

--
-- Name: protected_branch_unprotect_access_levels_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.protected_branch_unprotect_access_levels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.protected_branch_unprotect_access_levels_id_seq OWNER TO gitlab;

--
-- Name: protected_branch_unprotect_access_levels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.protected_branch_unprotect_access_levels_id_seq OWNED BY public.protected_branch_unprotect_access_levels.id;


--
-- Name: protected_branches; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.protected_branches (
    id integer NOT NULL,
    project_id integer NOT NULL,
    name character varying NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    code_owner_approval_required boolean DEFAULT false NOT NULL,
    allow_force_push boolean DEFAULT false NOT NULL
);


ALTER TABLE public.protected_branches OWNER TO gitlab;

--
-- Name: protected_branches_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.protected_branches_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.protected_branches_id_seq OWNER TO gitlab;

--
-- Name: protected_branches_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.protected_branches_id_seq OWNED BY public.protected_branches.id;


--
-- Name: protected_environment_deploy_access_levels; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.protected_environment_deploy_access_levels (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    access_level integer DEFAULT 40,
    protected_environment_id integer NOT NULL,
    user_id integer,
    group_id integer
);


ALTER TABLE public.protected_environment_deploy_access_levels OWNER TO gitlab;

--
-- Name: protected_environment_deploy_access_levels_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.protected_environment_deploy_access_levels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.protected_environment_deploy_access_levels_id_seq OWNER TO gitlab;

--
-- Name: protected_environment_deploy_access_levels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.protected_environment_deploy_access_levels_id_seq OWNED BY public.protected_environment_deploy_access_levels.id;


--
-- Name: protected_environments; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.protected_environments (
    id integer NOT NULL,
    project_id integer,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name character varying NOT NULL,
    group_id bigint,
    CONSTRAINT protected_environments_project_or_group_existence CHECK (((project_id IS NULL) <> (group_id IS NULL)))
);


ALTER TABLE public.protected_environments OWNER TO gitlab;

--
-- Name: protected_environments_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.protected_environments_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.protected_environments_id_seq OWNER TO gitlab;

--
-- Name: protected_environments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.protected_environments_id_seq OWNED BY public.protected_environments.id;


--
-- Name: protected_tag_create_access_levels; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.protected_tag_create_access_levels (
    id integer NOT NULL,
    protected_tag_id integer NOT NULL,
    access_level integer DEFAULT 40,
    user_id integer,
    group_id integer,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.protected_tag_create_access_levels OWNER TO gitlab;

--
-- Name: protected_tag_create_access_levels_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.protected_tag_create_access_levels_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.protected_tag_create_access_levels_id_seq OWNER TO gitlab;

--
-- Name: protected_tag_create_access_levels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.protected_tag_create_access_levels_id_seq OWNED BY public.protected_tag_create_access_levels.id;


--
-- Name: protected_tags; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.protected_tags (
    id integer NOT NULL,
    project_id integer NOT NULL,
    name character varying NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.protected_tags OWNER TO gitlab;

--
-- Name: protected_tags_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.protected_tags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.protected_tags_id_seq OWNER TO gitlab;

--
-- Name: protected_tags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.protected_tags_id_seq OWNED BY public.protected_tags.id;


--
-- Name: push_event_payloads; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.push_event_payloads (
    commit_count bigint NOT NULL,
    event_id_convert_to_bigint integer DEFAULT 0 NOT NULL,
    action smallint NOT NULL,
    ref_type smallint NOT NULL,
    commit_from bytea,
    commit_to bytea,
    ref text,
    commit_title character varying(70),
    ref_count integer,
    event_id bigint NOT NULL
);


ALTER TABLE public.push_event_payloads OWNER TO gitlab;

--
-- Name: push_rules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.push_rules (
    id integer NOT NULL,
    force_push_regex character varying,
    delete_branch_regex character varying,
    commit_message_regex character varying,
    deny_delete_tag boolean,
    project_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    author_email_regex character varying,
    member_check boolean DEFAULT false NOT NULL,
    file_name_regex character varying,
    is_sample boolean DEFAULT false,
    max_file_size integer DEFAULT 0 NOT NULL,
    prevent_secrets boolean DEFAULT false NOT NULL,
    branch_name_regex character varying,
    reject_unsigned_commits boolean,
    commit_committer_check boolean,
    regexp_uses_re2 boolean DEFAULT true,
    commit_message_negative_regex character varying
);


ALTER TABLE public.push_rules OWNER TO gitlab;

--
-- Name: push_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.push_rules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.push_rules_id_seq OWNER TO gitlab;

--
-- Name: push_rules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.push_rules_id_seq OWNED BY public.push_rules.id;


--
-- Name: raw_usage_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.raw_usage_data (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    recorded_at timestamp with time zone NOT NULL,
    sent_at timestamp with time zone,
    payload jsonb NOT NULL,
    version_usage_data_id_value bigint
);


ALTER TABLE public.raw_usage_data OWNER TO gitlab;

--
-- Name: raw_usage_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.raw_usage_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.raw_usage_data_id_seq OWNER TO gitlab;

--
-- Name: raw_usage_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.raw_usage_data_id_seq OWNED BY public.raw_usage_data.id;


--
-- Name: redirect_routes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.redirect_routes (
    id integer NOT NULL,
    source_id integer NOT NULL,
    source_type character varying NOT NULL,
    path character varying NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.redirect_routes OWNER TO gitlab;

--
-- Name: redirect_routes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.redirect_routes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.redirect_routes_id_seq OWNER TO gitlab;

--
-- Name: redirect_routes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.redirect_routes_id_seq OWNED BY public.redirect_routes.id;


--
-- Name: release_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.release_links (
    id bigint NOT NULL,
    release_id integer NOT NULL,
    url character varying NOT NULL,
    name character varying NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    filepath character varying(128),
    link_type smallint DEFAULT 0
);


ALTER TABLE public.release_links OWNER TO gitlab;

--
-- Name: release_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.release_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.release_links_id_seq OWNER TO gitlab;

--
-- Name: release_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.release_links_id_seq OWNED BY public.release_links.id;


--
-- Name: releases; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.releases (
    id integer NOT NULL,
    tag character varying,
    description text,
    project_id integer,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    description_html text,
    cached_markdown_version integer,
    author_id integer,
    name character varying,
    sha character varying,
    released_at timestamp with time zone NOT NULL
);


ALTER TABLE public.releases OWNER TO gitlab;

--
-- Name: releases_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.releases_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.releases_id_seq OWNER TO gitlab;

--
-- Name: releases_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.releases_id_seq OWNED BY public.releases.id;


--
-- Name: remote_mirrors; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.remote_mirrors (
    id integer NOT NULL,
    project_id integer,
    url character varying,
    enabled boolean DEFAULT false,
    update_status character varying,
    last_update_at timestamp without time zone,
    last_successful_update_at timestamp without time zone,
    last_error character varying,
    encrypted_credentials text,
    encrypted_credentials_iv character varying,
    encrypted_credentials_salt character varying,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    last_update_started_at timestamp without time zone,
    only_protected_branches boolean DEFAULT false NOT NULL,
    remote_name character varying,
    error_notification_sent boolean,
    keep_divergent_refs boolean
);


ALTER TABLE public.remote_mirrors OWNER TO gitlab;

--
-- Name: remote_mirrors_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.remote_mirrors_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.remote_mirrors_id_seq OWNER TO gitlab;

--
-- Name: remote_mirrors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.remote_mirrors_id_seq OWNED BY public.remote_mirrors.id;


--
-- Name: repository_languages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.repository_languages (
    project_id integer NOT NULL,
    programming_language_id integer NOT NULL,
    share double precision NOT NULL
);


ALTER TABLE public.repository_languages OWNER TO gitlab;

--
-- Name: required_code_owners_sections; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.required_code_owners_sections (
    id bigint NOT NULL,
    protected_branch_id bigint NOT NULL,
    name text NOT NULL,
    CONSTRAINT check_e58d53741e CHECK ((char_length(name) <= 1024))
);


ALTER TABLE public.required_code_owners_sections OWNER TO gitlab;

--
-- Name: required_code_owners_sections_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.required_code_owners_sections_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.required_code_owners_sections_id_seq OWNER TO gitlab;

--
-- Name: required_code_owners_sections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.required_code_owners_sections_id_seq OWNED BY public.required_code_owners_sections.id;


--
-- Name: requirements; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.requirements (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer NOT NULL,
    author_id integer,
    iid integer NOT NULL,
    cached_markdown_version integer,
    state smallint DEFAULT 1 NOT NULL,
    title character varying(255) NOT NULL,
    title_html text,
    description text,
    description_html text,
    issue_id bigint,
    CONSTRAINT check_785ae25b9d CHECK ((char_length(description) <= 10000))
);


ALTER TABLE public.requirements OWNER TO gitlab;

--
-- Name: requirements_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.requirements_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.requirements_id_seq OWNER TO gitlab;

--
-- Name: requirements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.requirements_id_seq OWNED BY public.requirements.id;


--
-- Name: requirements_management_test_reports; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.requirements_management_test_reports (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    requirement_id bigint,
    author_id bigint,
    state smallint NOT NULL,
    build_id bigint,
    issue_id bigint,
    CONSTRAINT requirements_test_reports_requirement_id_xor_issue_id CHECK ((num_nonnulls(requirement_id, issue_id) = 1))
);


ALTER TABLE public.requirements_management_test_reports OWNER TO gitlab;

--
-- Name: requirements_management_test_reports_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.requirements_management_test_reports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.requirements_management_test_reports_id_seq OWNER TO gitlab;

--
-- Name: requirements_management_test_reports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.requirements_management_test_reports_id_seq OWNED BY public.requirements_management_test_reports.id;


--
-- Name: resource_iteration_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.resource_iteration_events (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    issue_id bigint,
    merge_request_id bigint,
    iteration_id bigint,
    created_at timestamp with time zone NOT NULL,
    action smallint NOT NULL
);


ALTER TABLE public.resource_iteration_events OWNER TO gitlab;

--
-- Name: resource_iteration_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.resource_iteration_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.resource_iteration_events_id_seq OWNER TO gitlab;

--
-- Name: resource_iteration_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.resource_iteration_events_id_seq OWNED BY public.resource_iteration_events.id;


--
-- Name: resource_label_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.resource_label_events (
    id bigint NOT NULL,
    action integer NOT NULL,
    issue_id integer,
    merge_request_id integer,
    epic_id integer,
    label_id integer,
    user_id integer,
    created_at timestamp with time zone NOT NULL,
    cached_markdown_version integer,
    reference text,
    reference_html text
);


ALTER TABLE public.resource_label_events OWNER TO gitlab;

--
-- Name: resource_label_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.resource_label_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.resource_label_events_id_seq OWNER TO gitlab;

--
-- Name: resource_label_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.resource_label_events_id_seq OWNED BY public.resource_label_events.id;


--
-- Name: resource_milestone_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.resource_milestone_events (
    id bigint NOT NULL,
    user_id bigint,
    issue_id bigint,
    merge_request_id bigint,
    milestone_id bigint,
    action smallint NOT NULL,
    state smallint NOT NULL,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.resource_milestone_events OWNER TO gitlab;

--
-- Name: resource_milestone_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.resource_milestone_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.resource_milestone_events_id_seq OWNER TO gitlab;

--
-- Name: resource_milestone_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.resource_milestone_events_id_seq OWNED BY public.resource_milestone_events.id;


--
-- Name: resource_state_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.resource_state_events (
    id bigint NOT NULL,
    user_id bigint,
    issue_id bigint,
    merge_request_id bigint,
    created_at timestamp with time zone NOT NULL,
    state smallint NOT NULL,
    epic_id integer,
    source_commit text,
    close_after_error_tracking_resolve boolean DEFAULT false NOT NULL,
    close_auto_resolve_prometheus_alert boolean DEFAULT false NOT NULL,
    source_merge_request_id bigint,
    CONSTRAINT check_f0bcfaa3a2 CHECK ((char_length(source_commit) <= 40)),
    CONSTRAINT state_events_must_belong_to_issue_or_merge_request_or_epic CHECK ((((issue_id <> NULL::bigint) AND (merge_request_id IS NULL) AND (epic_id IS NULL)) OR ((issue_id IS NULL) AND (merge_request_id <> NULL::bigint) AND (epic_id IS NULL)) OR ((issue_id IS NULL) AND (merge_request_id IS NULL) AND (epic_id <> NULL::integer))))
);


ALTER TABLE public.resource_state_events OWNER TO gitlab;

--
-- Name: resource_state_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.resource_state_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.resource_state_events_id_seq OWNER TO gitlab;

--
-- Name: resource_state_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.resource_state_events_id_seq OWNED BY public.resource_state_events.id;


--
-- Name: resource_weight_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.resource_weight_events (
    id bigint NOT NULL,
    user_id bigint,
    issue_id bigint NOT NULL,
    weight integer,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.resource_weight_events OWNER TO gitlab;

--
-- Name: resource_weight_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.resource_weight_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.resource_weight_events_id_seq OWNER TO gitlab;

--
-- Name: resource_weight_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.resource_weight_events_id_seq OWNED BY public.resource_weight_events.id;


--
-- Name: reviews; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.reviews (
    id bigint NOT NULL,
    author_id integer,
    merge_request_id integer NOT NULL,
    project_id integer NOT NULL,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.reviews OWNER TO gitlab;

--
-- Name: reviews_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.reviews_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.reviews_id_seq OWNER TO gitlab;

--
-- Name: reviews_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.reviews_id_seq OWNED BY public.reviews.id;


--
-- Name: routes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.routes (
    id integer NOT NULL,
    source_id integer NOT NULL,
    source_type character varying NOT NULL,
    path character varying NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    name character varying
);


ALTER TABLE public.routes OWNER TO gitlab;

--
-- Name: routes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.routes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.routes_id_seq OWNER TO gitlab;

--
-- Name: routes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.routes_id_seq OWNED BY public.routes.id;


--
-- Name: saml_group_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.saml_group_links (
    id bigint NOT NULL,
    access_level smallint NOT NULL,
    group_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    saml_group_name text NOT NULL,
    CONSTRAINT check_1b3fc49d1e CHECK ((char_length(saml_group_name) <= 255))
);


ALTER TABLE public.saml_group_links OWNER TO gitlab;

--
-- Name: saml_group_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.saml_group_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.saml_group_links_id_seq OWNER TO gitlab;

--
-- Name: saml_group_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.saml_group_links_id_seq OWNED BY public.saml_group_links.id;


--
-- Name: saml_providers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.saml_providers (
    id integer NOT NULL,
    group_id integer NOT NULL,
    enabled boolean NOT NULL,
    certificate_fingerprint character varying NOT NULL,
    sso_url character varying NOT NULL,
    enforced_sso boolean DEFAULT false NOT NULL,
    enforced_group_managed_accounts boolean DEFAULT false NOT NULL,
    prohibited_outer_forks boolean DEFAULT true NOT NULL,
    default_membership_role smallint DEFAULT 10 NOT NULL,
    git_check_enforced boolean DEFAULT false NOT NULL
);


ALTER TABLE public.saml_providers OWNER TO gitlab;

--
-- Name: saml_providers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.saml_providers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.saml_providers_id_seq OWNER TO gitlab;

--
-- Name: saml_providers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.saml_providers_id_seq OWNED BY public.saml_providers.id;


--
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.schema_migrations (
    version character varying NOT NULL,
    finished_at timestamp with time zone DEFAULT now()
);


ALTER TABLE public.schema_migrations OWNER TO gitlab;

--
-- Name: scim_identities; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.scim_identities (
    id bigint NOT NULL,
    group_id bigint NOT NULL,
    user_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    active boolean DEFAULT false,
    extern_uid character varying(255) NOT NULL
);


ALTER TABLE public.scim_identities OWNER TO gitlab;

--
-- Name: scim_identities_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.scim_identities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.scim_identities_id_seq OWNER TO gitlab;

--
-- Name: scim_identities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.scim_identities_id_seq OWNED BY public.scim_identities.id;


--
-- Name: scim_oauth_access_tokens; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.scim_oauth_access_tokens (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    group_id integer NOT NULL,
    token_encrypted character varying NOT NULL
);


ALTER TABLE public.scim_oauth_access_tokens OWNER TO gitlab;

--
-- Name: scim_oauth_access_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.scim_oauth_access_tokens_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.scim_oauth_access_tokens_id_seq OWNER TO gitlab;

--
-- Name: scim_oauth_access_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.scim_oauth_access_tokens_id_seq OWNED BY public.scim_oauth_access_tokens.id;


--
-- Name: security_findings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.security_findings (
    id bigint NOT NULL,
    scan_id bigint NOT NULL,
    scanner_id bigint NOT NULL,
    severity smallint NOT NULL,
    confidence smallint NOT NULL,
    project_fingerprint text,
    deduplicated boolean DEFAULT false NOT NULL,
    "position" integer,
    uuid uuid,
    overridden_uuid uuid,
    CONSTRAINT check_b9508c6df8 CHECK ((char_length(project_fingerprint) <= 40))
);


ALTER TABLE public.security_findings OWNER TO gitlab;

--
-- Name: security_findings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.security_findings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.security_findings_id_seq OWNER TO gitlab;

--
-- Name: security_findings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.security_findings_id_seq OWNED BY public.security_findings.id;


--
-- Name: security_orchestration_policy_configurations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.security_orchestration_policy_configurations (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    security_policy_management_project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    configured_at timestamp with time zone
);


ALTER TABLE public.security_orchestration_policy_configurations OWNER TO gitlab;

--
-- Name: TABLE security_orchestration_policy_configurations; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.security_orchestration_policy_configurations IS '{"owner":"group::container security","description":"Configuration used to store relationship between project and security policy repository"}';


--
-- Name: security_orchestration_policy_configurations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.security_orchestration_policy_configurations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.security_orchestration_policy_configurations_id_seq OWNER TO gitlab;

--
-- Name: security_orchestration_policy_configurations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.security_orchestration_policy_configurations_id_seq OWNED BY public.security_orchestration_policy_configurations.id;


--
-- Name: security_orchestration_policy_rule_schedules; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.security_orchestration_policy_rule_schedules (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    next_run_at timestamp with time zone,
    security_orchestration_policy_configuration_id bigint NOT NULL,
    user_id bigint NOT NULL,
    policy_index integer NOT NULL,
    cron text NOT NULL,
    rule_index integer DEFAULT 0 NOT NULL,
    CONSTRAINT check_915825a76e CHECK ((char_length(cron) <= 255))
);


ALTER TABLE public.security_orchestration_policy_rule_schedules OWNER TO gitlab;

--
-- Name: TABLE security_orchestration_policy_rule_schedules; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON TABLE public.security_orchestration_policy_rule_schedules IS '{"owner":"group::container security","description":"Schedules used to store relationship between project and security policy repository"}';


--
-- Name: security_orchestration_policy_rule_schedules_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.security_orchestration_policy_rule_schedules_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.security_orchestration_policy_rule_schedules_id_seq OWNER TO gitlab;

--
-- Name: security_orchestration_policy_rule_schedules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.security_orchestration_policy_rule_schedules_id_seq OWNED BY public.security_orchestration_policy_rule_schedules.id;


--
-- Name: security_scans; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.security_scans (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    build_id bigint NOT NULL,
    scan_type smallint NOT NULL,
    info jsonb DEFAULT '{}'::jsonb NOT NULL,
    project_id bigint,
    pipeline_id bigint
);


ALTER TABLE public.security_scans OWNER TO gitlab;

--
-- Name: security_scans_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.security_scans_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.security_scans_id_seq OWNER TO gitlab;

--
-- Name: security_scans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.security_scans_id_seq OWNED BY public.security_scans.id;


--
-- Name: self_managed_prometheus_alert_events; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.self_managed_prometheus_alert_events (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    environment_id bigint,
    started_at timestamp with time zone NOT NULL,
    ended_at timestamp with time zone,
    status smallint NOT NULL,
    title character varying(255) NOT NULL,
    query_expression character varying(255),
    payload_key character varying(255) NOT NULL
);


ALTER TABLE public.self_managed_prometheus_alert_events OWNER TO gitlab;

--
-- Name: self_managed_prometheus_alert_events_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.self_managed_prometheus_alert_events_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.self_managed_prometheus_alert_events_id_seq OWNER TO gitlab;

--
-- Name: self_managed_prometheus_alert_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.self_managed_prometheus_alert_events_id_seq OWNED BY public.self_managed_prometheus_alert_events.id;


--
-- Name: sent_notifications; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.sent_notifications (
    id integer NOT NULL,
    project_id integer,
    noteable_id integer,
    noteable_type character varying,
    recipient_id integer,
    commit_id character varying,
    reply_key character varying NOT NULL,
    line_code character varying,
    note_type character varying,
    "position" text,
    in_reply_to_discussion_id character varying
);


ALTER TABLE public.sent_notifications OWNER TO gitlab;

--
-- Name: sent_notifications_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.sent_notifications_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.sent_notifications_id_seq OWNER TO gitlab;

--
-- Name: sent_notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.sent_notifications_id_seq OWNED BY public.sent_notifications.id;


--
-- Name: sentry_issues; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.sentry_issues (
    id bigint NOT NULL,
    issue_id bigint NOT NULL,
    sentry_issue_identifier bigint NOT NULL
);


ALTER TABLE public.sentry_issues OWNER TO gitlab;

--
-- Name: sentry_issues_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.sentry_issues_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.sentry_issues_id_seq OWNER TO gitlab;

--
-- Name: sentry_issues_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.sentry_issues_id_seq OWNED BY public.sentry_issues.id;


--
-- Name: serverless_domain_cluster; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.serverless_domain_cluster (
    uuid character varying(14) NOT NULL,
    pages_domain_id bigint NOT NULL,
    clusters_applications_knative_id bigint NOT NULL,
    creator_id bigint,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    encrypted_key text,
    encrypted_key_iv character varying(255),
    certificate text
);


ALTER TABLE public.serverless_domain_cluster OWNER TO gitlab;

--
-- Name: service_desk_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.service_desk_settings (
    project_id bigint NOT NULL,
    issue_template_key character varying(255),
    outgoing_name character varying(255),
    project_key character varying(255)
);


ALTER TABLE public.service_desk_settings OWNER TO gitlab;

--
-- Name: shards; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.shards (
    id integer NOT NULL,
    name character varying NOT NULL
);


ALTER TABLE public.shards OWNER TO gitlab;

--
-- Name: shards_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.shards_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.shards_id_seq OWNER TO gitlab;

--
-- Name: shards_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.shards_id_seq OWNED BY public.shards.id;


--
-- Name: slack_integrations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.slack_integrations (
    id integer NOT NULL,
    service_id integer NOT NULL,
    team_id character varying NOT NULL,
    team_name character varying NOT NULL,
    alias character varying NOT NULL,
    user_id character varying NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.slack_integrations OWNER TO gitlab;

--
-- Name: slack_integrations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.slack_integrations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.slack_integrations_id_seq OWNER TO gitlab;

--
-- Name: slack_integrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.slack_integrations_id_seq OWNED BY public.slack_integrations.id;


--
-- Name: smartcard_identities; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.smartcard_identities (
    id bigint NOT NULL,
    user_id integer NOT NULL,
    subject character varying NOT NULL,
    issuer character varying NOT NULL
);


ALTER TABLE public.smartcard_identities OWNER TO gitlab;

--
-- Name: smartcard_identities_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.smartcard_identities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.smartcard_identities_id_seq OWNER TO gitlab;

--
-- Name: smartcard_identities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.smartcard_identities_id_seq OWNED BY public.smartcard_identities.id;


--
-- Name: snippet_repositories; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.snippet_repositories (
    snippet_id bigint NOT NULL,
    shard_id bigint NOT NULL,
    disk_path character varying(80) NOT NULL,
    verification_retry_count smallint,
    verification_retry_at timestamp with time zone,
    verified_at timestamp with time zone,
    verification_checksum bytea,
    verification_failure text,
    verification_state smallint DEFAULT 0 NOT NULL,
    verification_started_at timestamp with time zone,
    CONSTRAINT snippet_repositories_verification_failure_text_limit CHECK ((char_length(verification_failure) <= 255))
);


ALTER TABLE public.snippet_repositories OWNER TO gitlab;

--
-- Name: snippet_repository_storage_moves; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.snippet_repository_storage_moves (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    snippet_id bigint NOT NULL,
    state smallint DEFAULT 1 NOT NULL,
    source_storage_name text NOT NULL,
    destination_storage_name text NOT NULL,
    CONSTRAINT snippet_repository_storage_moves_destination_storage_name CHECK ((char_length(destination_storage_name) <= 255)),
    CONSTRAINT snippet_repository_storage_moves_source_storage_name CHECK ((char_length(source_storage_name) <= 255))
);


ALTER TABLE public.snippet_repository_storage_moves OWNER TO gitlab;

--
-- Name: snippet_repository_storage_moves_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.snippet_repository_storage_moves_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.snippet_repository_storage_moves_id_seq OWNER TO gitlab;

--
-- Name: snippet_repository_storage_moves_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.snippet_repository_storage_moves_id_seq OWNED BY public.snippet_repository_storage_moves.id;


--
-- Name: snippet_statistics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.snippet_statistics (
    snippet_id bigint NOT NULL,
    repository_size bigint DEFAULT 0 NOT NULL,
    file_count bigint DEFAULT 0 NOT NULL,
    commit_count bigint DEFAULT 0 NOT NULL
);


ALTER TABLE public.snippet_statistics OWNER TO gitlab;

--
-- Name: snippet_user_mentions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.snippet_user_mentions (
    id bigint NOT NULL,
    snippet_id integer NOT NULL,
    note_id integer,
    mentioned_users_ids integer[],
    mentioned_projects_ids integer[],
    mentioned_groups_ids integer[]
);


ALTER TABLE public.snippet_user_mentions OWNER TO gitlab;

--
-- Name: snippet_user_mentions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.snippet_user_mentions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.snippet_user_mentions_id_seq OWNER TO gitlab;

--
-- Name: snippet_user_mentions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.snippet_user_mentions_id_seq OWNED BY public.snippet_user_mentions.id;


--
-- Name: snippets; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.snippets (
    id integer NOT NULL,
    title character varying,
    content text,
    author_id integer NOT NULL,
    project_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    file_name character varying,
    type character varying,
    visibility_level integer DEFAULT 0 NOT NULL,
    title_html text,
    content_html text,
    cached_markdown_version integer,
    description text,
    description_html text,
    encrypted_secret_token character varying(255),
    encrypted_secret_token_iv character varying(255),
    secret boolean DEFAULT false NOT NULL,
    repository_read_only boolean DEFAULT false NOT NULL
);


ALTER TABLE public.snippets OWNER TO gitlab;

--
-- Name: snippets_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.snippets_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.snippets_id_seq OWNER TO gitlab;

--
-- Name: snippets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.snippets_id_seq OWNED BY public.snippets.id;


--
-- Name: software_license_policies; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.software_license_policies (
    id integer NOT NULL,
    project_id integer NOT NULL,
    software_license_id integer NOT NULL,
    classification integer DEFAULT 0 NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.software_license_policies OWNER TO gitlab;

--
-- Name: software_license_policies_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.software_license_policies_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.software_license_policies_id_seq OWNER TO gitlab;

--
-- Name: software_license_policies_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.software_license_policies_id_seq OWNED BY public.software_license_policies.id;


--
-- Name: software_licenses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.software_licenses (
    id integer NOT NULL,
    name character varying NOT NULL,
    spdx_identifier character varying(255)
);


ALTER TABLE public.software_licenses OWNER TO gitlab;

--
-- Name: software_licenses_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.software_licenses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.software_licenses_id_seq OWNER TO gitlab;

--
-- Name: software_licenses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.software_licenses_id_seq OWNED BY public.software_licenses.id;


--
-- Name: spam_logs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.spam_logs (
    id integer NOT NULL,
    user_id integer,
    source_ip character varying,
    user_agent character varying,
    via_api boolean,
    noteable_type character varying,
    title character varying,
    description text,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    submitted_as_ham boolean DEFAULT false NOT NULL,
    recaptcha_verified boolean DEFAULT false NOT NULL
);


ALTER TABLE public.spam_logs OWNER TO gitlab;

--
-- Name: spam_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.spam_logs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.spam_logs_id_seq OWNER TO gitlab;

--
-- Name: spam_logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.spam_logs_id_seq OWNED BY public.spam_logs.id;


--
-- Name: sprints; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.sprints (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    start_date date,
    due_date date,
    project_id bigint,
    group_id bigint,
    iid integer NOT NULL,
    cached_markdown_version integer,
    title text NOT NULL,
    title_html text,
    description text,
    description_html text,
    state_enum smallint DEFAULT 1 NOT NULL,
    iterations_cadence_id integer,
    CONSTRAINT sprints_must_belong_to_project_or_group CHECK ((((project_id <> NULL::bigint) AND (group_id IS NULL)) OR ((group_id <> NULL::bigint) AND (project_id IS NULL)))),
    CONSTRAINT sprints_title CHECK ((char_length(title) <= 255))
);


ALTER TABLE public.sprints OWNER TO gitlab;

--
-- Name: sprints_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.sprints_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.sprints_id_seq OWNER TO gitlab;

--
-- Name: sprints_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.sprints_id_seq OWNED BY public.sprints.id;


--
-- Name: status_check_responses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.status_check_responses (
    id bigint NOT NULL,
    merge_request_id bigint NOT NULL,
    external_approval_rule_id bigint,
    sha bytea NOT NULL,
    external_status_check_id bigint NOT NULL
);


ALTER TABLE public.status_check_responses OWNER TO gitlab;

--
-- Name: status_check_responses_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.status_check_responses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.status_check_responses_id_seq OWNER TO gitlab;

--
-- Name: status_check_responses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.status_check_responses_id_seq OWNED BY public.status_check_responses.id;


--
-- Name: status_page_published_incidents; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.status_page_published_incidents (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    issue_id bigint NOT NULL
);


ALTER TABLE public.status_page_published_incidents OWNER TO gitlab;

--
-- Name: status_page_published_incidents_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.status_page_published_incidents_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.status_page_published_incidents_id_seq OWNER TO gitlab;

--
-- Name: status_page_published_incidents_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.status_page_published_incidents_id_seq OWNED BY public.status_page_published_incidents.id;


--
-- Name: status_page_settings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.status_page_settings (
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    enabled boolean DEFAULT false NOT NULL,
    aws_s3_bucket_name character varying(63) NOT NULL,
    aws_region character varying(255) NOT NULL,
    aws_access_key character varying(255) NOT NULL,
    encrypted_aws_secret_key character varying(255) NOT NULL,
    encrypted_aws_secret_key_iv character varying(255) NOT NULL,
    status_page_url text,
    CONSTRAINT check_75a79cd992 CHECK ((char_length(status_page_url) <= 1024))
);


ALTER TABLE public.status_page_settings OWNER TO gitlab;

--
-- Name: status_page_settings_project_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.status_page_settings_project_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.status_page_settings_project_id_seq OWNER TO gitlab;

--
-- Name: status_page_settings_project_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.status_page_settings_project_id_seq OWNED BY public.status_page_settings.project_id;


--
-- Name: subscriptions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.subscriptions (
    id integer NOT NULL,
    user_id integer,
    subscribable_id integer,
    subscribable_type character varying,
    subscribed boolean,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    project_id integer
);


ALTER TABLE public.subscriptions OWNER TO gitlab;

--
-- Name: subscriptions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.subscriptions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.subscriptions_id_seq OWNER TO gitlab;

--
-- Name: subscriptions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.subscriptions_id_seq OWNED BY public.subscriptions.id;


--
-- Name: suggestions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.suggestions (
    id bigint NOT NULL,
    note_id integer NOT NULL,
    relative_order smallint NOT NULL,
    applied boolean DEFAULT false NOT NULL,
    commit_id character varying,
    from_content text NOT NULL,
    to_content text NOT NULL,
    lines_above integer DEFAULT 0 NOT NULL,
    lines_below integer DEFAULT 0 NOT NULL,
    outdated boolean DEFAULT false NOT NULL
);


ALTER TABLE public.suggestions OWNER TO gitlab;

--
-- Name: suggestions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.suggestions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.suggestions_id_seq OWNER TO gitlab;

--
-- Name: suggestions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.suggestions_id_seq OWNED BY public.suggestions.id;


--
-- Name: system_note_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.system_note_metadata (
    id integer NOT NULL,
    note_id integer NOT NULL,
    commit_count integer,
    action character varying,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    description_version_id bigint
);


ALTER TABLE public.system_note_metadata OWNER TO gitlab;

--
-- Name: system_note_metadata_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.system_note_metadata_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.system_note_metadata_id_seq OWNER TO gitlab;

--
-- Name: system_note_metadata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.system_note_metadata_id_seq OWNED BY public.system_note_metadata.id;


--
-- Name: taggings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.taggings (
    id integer NOT NULL,
    tag_id integer,
    taggable_id integer,
    taggable_type character varying,
    tagger_id integer,
    tagger_type character varying,
    context character varying,
    created_at timestamp without time zone,
    id_convert_to_bigint bigint DEFAULT 0 NOT NULL,
    taggable_id_convert_to_bigint bigint
);


ALTER TABLE public.taggings OWNER TO gitlab;

--
-- Name: taggings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.taggings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.taggings_id_seq OWNER TO gitlab;

--
-- Name: taggings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.taggings_id_seq OWNED BY public.taggings.id;


--
-- Name: tags; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.tags (
    id integer NOT NULL,
    name character varying,
    taggings_count integer DEFAULT 0
);


ALTER TABLE public.tags OWNER TO gitlab;

--
-- Name: tags_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.tags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tags_id_seq OWNER TO gitlab;

--
-- Name: tags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.tags_id_seq OWNED BY public.tags.id;


--
-- Name: term_agreements; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.term_agreements (
    id integer NOT NULL,
    term_id integer NOT NULL,
    user_id integer NOT NULL,
    accepted boolean DEFAULT false NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.term_agreements OWNER TO gitlab;

--
-- Name: term_agreements_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.term_agreements_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.term_agreements_id_seq OWNER TO gitlab;

--
-- Name: term_agreements_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.term_agreements_id_seq OWNED BY public.term_agreements.id;


--
-- Name: terraform_state_versions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.terraform_state_versions (
    id bigint NOT NULL,
    terraform_state_id bigint NOT NULL,
    created_by_user_id bigint,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    version integer NOT NULL,
    file_store smallint NOT NULL,
    file text NOT NULL,
    verification_retry_count smallint,
    verification_retry_at timestamp with time zone,
    verified_at timestamp with time zone,
    verification_checksum bytea,
    verification_failure text,
    ci_build_id bigint,
    verification_started_at timestamp with time zone,
    verification_state smallint DEFAULT 0 NOT NULL,
    CONSTRAINT check_0824bb7bbd CHECK ((char_length(file) <= 255)),
    CONSTRAINT tf_state_versions_verification_failure_text_limit CHECK ((char_length(verification_failure) <= 255))
);


ALTER TABLE public.terraform_state_versions OWNER TO gitlab;

--
-- Name: terraform_state_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.terraform_state_versions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.terraform_state_versions_id_seq OWNER TO gitlab;

--
-- Name: terraform_state_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.terraform_state_versions_id_seq OWNED BY public.terraform_state_versions.id;


--
-- Name: terraform_states; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.terraform_states (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    file_store smallint,
    file character varying(255),
    lock_xid character varying(255),
    locked_at timestamp with time zone,
    locked_by_user_id bigint,
    uuid character varying(32) NOT NULL,
    name character varying(255) NOT NULL,
    versioning_enabled boolean DEFAULT true NOT NULL
);


ALTER TABLE public.terraform_states OWNER TO gitlab;

--
-- Name: terraform_states_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.terraform_states_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.terraform_states_id_seq OWNER TO gitlab;

--
-- Name: terraform_states_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.terraform_states_id_seq OWNED BY public.terraform_states.id;


--
-- Name: timelogs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.timelogs (
    id integer NOT NULL,
    time_spent integer NOT NULL,
    user_id integer,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    issue_id integer,
    merge_request_id integer,
    spent_at timestamp without time zone,
    note_id integer,
    project_id integer,
    summary text,
    CONSTRAINT check_271d321699 CHECK ((char_length(summary) <= 255))
);


ALTER TABLE public.timelogs OWNER TO gitlab;

--
-- Name: timelogs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.timelogs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.timelogs_id_seq OWNER TO gitlab;

--
-- Name: timelogs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.timelogs_id_seq OWNED BY public.timelogs.id;


--
-- Name: todos; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.todos (
    id integer NOT NULL,
    user_id integer NOT NULL,
    project_id integer,
    target_id integer,
    target_type character varying NOT NULL,
    author_id integer NOT NULL,
    action integer NOT NULL,
    state character varying NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    note_id integer,
    commit_id character varying,
    group_id integer,
    resolved_by_action smallint
);


ALTER TABLE public.todos OWNER TO gitlab;

--
-- Name: todos_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.todos_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.todos_id_seq OWNER TO gitlab;

--
-- Name: todos_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.todos_id_seq OWNED BY public.todos.id;


--
-- Name: token_with_ivs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.token_with_ivs (
    id bigint NOT NULL,
    hashed_token bytea NOT NULL,
    hashed_plaintext_token bytea NOT NULL,
    iv bytea NOT NULL
);


ALTER TABLE public.token_with_ivs OWNER TO gitlab;

--
-- Name: token_with_ivs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.token_with_ivs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.token_with_ivs_id_seq OWNER TO gitlab;

--
-- Name: token_with_ivs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.token_with_ivs_id_seq OWNED BY public.token_with_ivs.id;


--
-- Name: trending_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.trending_projects (
    id integer NOT NULL,
    project_id integer NOT NULL
);


ALTER TABLE public.trending_projects OWNER TO gitlab;

--
-- Name: trending_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.trending_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.trending_projects_id_seq OWNER TO gitlab;

--
-- Name: trending_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.trending_projects_id_seq OWNED BY public.trending_projects.id;


--
-- Name: u2f_registrations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.u2f_registrations (
    id integer NOT NULL,
    certificate text,
    key_handle character varying,
    public_key character varying,
    counter integer,
    user_id integer,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    name character varying
);


ALTER TABLE public.u2f_registrations OWNER TO gitlab;

--
-- Name: u2f_registrations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.u2f_registrations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.u2f_registrations_id_seq OWNER TO gitlab;

--
-- Name: u2f_registrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.u2f_registrations_id_seq OWNED BY public.u2f_registrations.id;


--
-- Name: upcoming_reconciliations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.upcoming_reconciliations (
    id bigint NOT NULL,
    namespace_id bigint,
    next_reconciliation_date date NOT NULL,
    display_alert_from date NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.upcoming_reconciliations OWNER TO gitlab;

--
-- Name: upcoming_reconciliations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.upcoming_reconciliations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.upcoming_reconciliations_id_seq OWNER TO gitlab;

--
-- Name: upcoming_reconciliations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.upcoming_reconciliations_id_seq OWNED BY public.upcoming_reconciliations.id;


--
-- Name: uploads; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.uploads (
    id integer NOT NULL,
    size bigint NOT NULL,
    path character varying(511) NOT NULL,
    checksum character varying(64),
    model_id integer,
    model_type character varying,
    uploader character varying NOT NULL,
    created_at timestamp without time zone NOT NULL,
    store integer DEFAULT 1,
    mount_point character varying,
    secret character varying,
    CONSTRAINT check_5e9547379c CHECK ((store IS NOT NULL))
);


ALTER TABLE public.uploads OWNER TO gitlab;

--
-- Name: uploads_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.uploads_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.uploads_id_seq OWNER TO gitlab;

--
-- Name: uploads_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.uploads_id_seq OWNED BY public.uploads.id;


--
-- Name: user_agent_details; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_agent_details (
    id integer NOT NULL,
    user_agent character varying NOT NULL,
    ip_address character varying NOT NULL,
    subject_id integer NOT NULL,
    subject_type character varying NOT NULL,
    submitted boolean DEFAULT false NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);


ALTER TABLE public.user_agent_details OWNER TO gitlab;

--
-- Name: user_agent_details_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_agent_details_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_agent_details_id_seq OWNER TO gitlab;

--
-- Name: user_agent_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_agent_details_id_seq OWNED BY public.user_agent_details.id;


--
-- Name: user_callouts; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_callouts (
    id integer NOT NULL,
    feature_name integer NOT NULL,
    user_id integer NOT NULL,
    dismissed_at timestamp with time zone
);


ALTER TABLE public.user_callouts OWNER TO gitlab;

--
-- Name: user_callouts_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_callouts_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_callouts_id_seq OWNER TO gitlab;

--
-- Name: user_callouts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_callouts_id_seq OWNED BY public.user_callouts.id;


--
-- Name: user_canonical_emails; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_canonical_emails (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    user_id bigint NOT NULL,
    canonical_email character varying NOT NULL
);


ALTER TABLE public.user_canonical_emails OWNER TO gitlab;

--
-- Name: user_canonical_emails_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_canonical_emails_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_canonical_emails_id_seq OWNER TO gitlab;

--
-- Name: user_canonical_emails_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_canonical_emails_id_seq OWNED BY public.user_canonical_emails.id;


--
-- Name: user_credit_card_validations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_credit_card_validations (
    user_id bigint NOT NULL,
    credit_card_validated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.user_credit_card_validations OWNER TO gitlab;

--
-- Name: user_custom_attributes; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_custom_attributes (
    id integer NOT NULL,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL,
    user_id integer NOT NULL,
    key character varying NOT NULL,
    value character varying NOT NULL
);


ALTER TABLE public.user_custom_attributes OWNER TO gitlab;

--
-- Name: user_custom_attributes_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_custom_attributes_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_custom_attributes_id_seq OWNER TO gitlab;

--
-- Name: user_custom_attributes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_custom_attributes_id_seq OWNED BY public.user_custom_attributes.id;


--
-- Name: user_details; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_details (
    user_id bigint NOT NULL,
    job_title character varying(200) DEFAULT ''::character varying NOT NULL,
    bio character varying(255) DEFAULT ''::character varying NOT NULL,
    bio_html text,
    cached_markdown_version integer,
    webauthn_xid text,
    other_role text,
    provisioned_by_group_id bigint,
    pronouns text,
    pronunciation text,
    CONSTRAINT check_245664af82 CHECK ((char_length(webauthn_xid) <= 100)),
    CONSTRAINT check_b132136b01 CHECK ((char_length(other_role) <= 100)),
    CONSTRAINT check_eeeaf8d4f0 CHECK ((char_length(pronouns) <= 50)),
    CONSTRAINT check_f932ed37db CHECK ((char_length(pronunciation) <= 255))
);


ALTER TABLE public.user_details OWNER TO gitlab;

--
-- Name: user_details_user_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_details_user_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_details_user_id_seq OWNER TO gitlab;

--
-- Name: user_details_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_details_user_id_seq OWNED BY public.user_details.user_id;


--
-- Name: user_follow_users; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_follow_users (
    follower_id integer NOT NULL,
    followee_id integer NOT NULL
);


ALTER TABLE public.user_follow_users OWNER TO gitlab;

--
-- Name: user_highest_roles; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_highest_roles (
    user_id bigint NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    highest_access_level integer
);


ALTER TABLE public.user_highest_roles OWNER TO gitlab;

--
-- Name: user_interacted_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_interacted_projects (
    user_id integer NOT NULL,
    project_id integer NOT NULL
);


ALTER TABLE public.user_interacted_projects OWNER TO gitlab;

--
-- Name: user_permission_export_uploads; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_permission_export_uploads (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    user_id bigint NOT NULL,
    file_store integer,
    status smallint DEFAULT 0 NOT NULL,
    file text,
    CONSTRAINT check_1956806648 CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.user_permission_export_uploads OWNER TO gitlab;

--
-- Name: user_permission_export_uploads_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_permission_export_uploads_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_permission_export_uploads_id_seq OWNER TO gitlab;

--
-- Name: user_permission_export_uploads_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_permission_export_uploads_id_seq OWNED BY public.user_permission_export_uploads.id;


--
-- Name: user_preferences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_preferences (
    id integer NOT NULL,
    user_id integer NOT NULL,
    issue_notes_filter smallint DEFAULT 0 NOT NULL,
    merge_request_notes_filter smallint DEFAULT 0 NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    epics_sort character varying,
    roadmap_epics_state integer,
    epic_notes_filter smallint DEFAULT 0 NOT NULL,
    issues_sort character varying,
    merge_requests_sort character varying,
    roadmaps_sort character varying,
    first_day_of_week integer,
    timezone character varying,
    time_display_relative boolean,
    time_format_in_24h boolean,
    projects_sort character varying(64),
    show_whitespace_in_diffs boolean DEFAULT true NOT NULL,
    sourcegraph_enabled boolean,
    setup_for_company boolean,
    render_whitespace_in_code boolean,
    tab_width smallint,
    experience_level smallint,
    view_diffs_file_by_file boolean DEFAULT false NOT NULL,
    gitpod_enabled boolean DEFAULT false NOT NULL,
    markdown_surround_selection boolean DEFAULT true NOT NULL
);


ALTER TABLE public.user_preferences OWNER TO gitlab;

--
-- Name: user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_preferences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_preferences_id_seq OWNER TO gitlab;

--
-- Name: user_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_preferences_id_seq OWNED BY public.user_preferences.id;


--
-- Name: user_statuses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_statuses (
    user_id integer NOT NULL,
    cached_markdown_version integer,
    emoji character varying DEFAULT 'speech_balloon'::character varying NOT NULL,
    message character varying(100),
    message_html character varying,
    availability smallint DEFAULT 0 NOT NULL,
    clear_status_at timestamp with time zone
);


ALTER TABLE public.user_statuses OWNER TO gitlab;

--
-- Name: user_statuses_user_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_statuses_user_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_statuses_user_id_seq OWNER TO gitlab;

--
-- Name: user_statuses_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_statuses_user_id_seq OWNED BY public.user_statuses.user_id;


--
-- Name: user_synced_attributes_metadata; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.user_synced_attributes_metadata (
    id integer NOT NULL,
    name_synced boolean DEFAULT false,
    email_synced boolean DEFAULT false,
    location_synced boolean DEFAULT false,
    user_id integer NOT NULL,
    provider character varying
);


ALTER TABLE public.user_synced_attributes_metadata OWNER TO gitlab;

--
-- Name: user_synced_attributes_metadata_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.user_synced_attributes_metadata_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.user_synced_attributes_metadata_id_seq OWNER TO gitlab;

--
-- Name: user_synced_attributes_metadata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.user_synced_attributes_metadata_id_seq OWNED BY public.user_synced_attributes_metadata.id;


--
-- Name: users; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.users (
    id integer NOT NULL,
    email character varying DEFAULT ''::character varying NOT NULL,
    encrypted_password character varying DEFAULT ''::character varying NOT NULL,
    reset_password_token character varying,
    reset_password_sent_at timestamp without time zone,
    remember_created_at timestamp without time zone,
    sign_in_count integer DEFAULT 0,
    current_sign_in_at timestamp without time zone,
    last_sign_in_at timestamp without time zone,
    current_sign_in_ip character varying,
    last_sign_in_ip character varying,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    name character varying,
    admin boolean DEFAULT false NOT NULL,
    projects_limit integer NOT NULL,
    skype character varying DEFAULT ''::character varying NOT NULL,
    linkedin character varying DEFAULT ''::character varying NOT NULL,
    twitter character varying DEFAULT ''::character varying NOT NULL,
    failed_attempts integer DEFAULT 0,
    locked_at timestamp without time zone,
    username character varying,
    can_create_group boolean DEFAULT true NOT NULL,
    can_create_team boolean DEFAULT true NOT NULL,
    state character varying,
    color_scheme_id integer DEFAULT 1 NOT NULL,
    password_expires_at timestamp without time zone,
    created_by_id integer,
    last_credential_check_at timestamp without time zone,
    avatar character varying,
    confirmation_token character varying,
    confirmed_at timestamp without time zone,
    confirmation_sent_at timestamp without time zone,
    unconfirmed_email character varying,
    hide_no_ssh_key boolean DEFAULT false,
    website_url character varying DEFAULT ''::character varying NOT NULL,
    admin_email_unsubscribed_at timestamp without time zone,
    notification_email character varying,
    hide_no_password boolean DEFAULT false,
    password_automatically_set boolean DEFAULT false,
    location character varying,
    encrypted_otp_secret character varying,
    encrypted_otp_secret_iv character varying,
    encrypted_otp_secret_salt character varying,
    otp_required_for_login boolean DEFAULT false NOT NULL,
    otp_backup_codes text,
    public_email character varying DEFAULT ''::character varying NOT NULL,
    dashboard integer DEFAULT 0,
    project_view integer DEFAULT 0,
    consumed_timestep integer,
    layout integer DEFAULT 0,
    hide_project_limit boolean DEFAULT false,
    note text,
    unlock_token character varying,
    otp_grace_period_started_at timestamp without time zone,
    external boolean DEFAULT false,
    incoming_email_token character varying,
    organization character varying,
    auditor boolean DEFAULT false NOT NULL,
    require_two_factor_authentication_from_group boolean DEFAULT false NOT NULL,
    two_factor_grace_period integer DEFAULT 48 NOT NULL,
    last_activity_on date,
    notified_of_own_activity boolean,
    preferred_language character varying,
    email_opted_in boolean,
    email_opted_in_ip character varying,
    email_opted_in_source_id integer,
    email_opted_in_at timestamp without time zone,
    theme_id smallint,
    accepted_term_id integer,
    feed_token character varying,
    private_profile boolean DEFAULT false NOT NULL,
    roadmap_layout smallint,
    include_private_contributions boolean,
    commit_email character varying,
    group_view integer,
    managing_group_id integer,
    first_name character varying(255),
    last_name character varying(255),
    static_object_token character varying(255),
    role smallint,
    user_type smallint
);


ALTER TABLE public.users OWNER TO gitlab;

--
-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.users_id_seq OWNER TO gitlab;

--
-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;


--
-- Name: users_ops_dashboard_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.users_ops_dashboard_projects (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    user_id integer NOT NULL,
    project_id integer NOT NULL
);


ALTER TABLE public.users_ops_dashboard_projects OWNER TO gitlab;

--
-- Name: users_ops_dashboard_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.users_ops_dashboard_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.users_ops_dashboard_projects_id_seq OWNER TO gitlab;

--
-- Name: users_ops_dashboard_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.users_ops_dashboard_projects_id_seq OWNED BY public.users_ops_dashboard_projects.id;


--
-- Name: users_security_dashboard_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.users_security_dashboard_projects (
    user_id bigint NOT NULL,
    project_id bigint NOT NULL
);


ALTER TABLE public.users_security_dashboard_projects OWNER TO gitlab;

--
-- Name: users_star_projects; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.users_star_projects (
    id integer NOT NULL,
    project_id integer NOT NULL,
    user_id integer NOT NULL,
    created_at timestamp without time zone,
    updated_at timestamp without time zone
);


ALTER TABLE public.users_star_projects OWNER TO gitlab;

--
-- Name: users_star_projects_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.users_star_projects_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.users_star_projects_id_seq OWNER TO gitlab;

--
-- Name: users_star_projects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.users_star_projects_id_seq OWNED BY public.users_star_projects.id;


--
-- Name: users_statistics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.users_statistics (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    without_groups_and_projects integer DEFAULT 0 NOT NULL,
    with_highest_role_guest integer DEFAULT 0 NOT NULL,
    with_highest_role_reporter integer DEFAULT 0 NOT NULL,
    with_highest_role_developer integer DEFAULT 0 NOT NULL,
    with_highest_role_maintainer integer DEFAULT 0 NOT NULL,
    with_highest_role_owner integer DEFAULT 0 NOT NULL,
    bots integer DEFAULT 0 NOT NULL,
    blocked integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.users_statistics OWNER TO gitlab;

--
-- Name: users_statistics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.users_statistics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.users_statistics_id_seq OWNER TO gitlab;

--
-- Name: users_statistics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.users_statistics_id_seq OWNED BY public.users_statistics.id;


--
-- Name: vulnerabilities; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerabilities (
    id bigint NOT NULL,
    milestone_id bigint,
    epic_id bigint,
    project_id bigint NOT NULL,
    author_id bigint NOT NULL,
    updated_by_id bigint,
    last_edited_by_id bigint,
    start_date date,
    due_date date,
    last_edited_at timestamp with time zone,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    title character varying(255) NOT NULL,
    title_html text,
    description text,
    description_html text,
    start_date_sourcing_milestone_id bigint,
    due_date_sourcing_milestone_id bigint,
    state smallint DEFAULT 1 NOT NULL,
    severity smallint NOT NULL,
    severity_overridden boolean DEFAULT false,
    confidence smallint NOT NULL,
    confidence_overridden boolean DEFAULT false,
    resolved_by_id bigint,
    resolved_at timestamp with time zone,
    report_type smallint NOT NULL,
    cached_markdown_version integer,
    confirmed_by_id bigint,
    confirmed_at timestamp with time zone,
    dismissed_at timestamp with time zone,
    dismissed_by_id bigint,
    resolved_on_default_branch boolean DEFAULT false NOT NULL,
    present_on_default_branch boolean DEFAULT true NOT NULL,
    detected_at timestamp with time zone DEFAULT now()
);


ALTER TABLE public.vulnerabilities OWNER TO gitlab;

--
-- Name: vulnerabilities_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerabilities_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerabilities_id_seq OWNER TO gitlab;

--
-- Name: vulnerabilities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerabilities_id_seq OWNED BY public.vulnerabilities.id;


--
-- Name: vulnerability_exports; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_exports (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    started_at timestamp with time zone,
    finished_at timestamp with time zone,
    status character varying(255) NOT NULL,
    file character varying(255),
    project_id bigint,
    author_id bigint NOT NULL,
    file_store integer,
    format smallint DEFAULT 0 NOT NULL,
    group_id integer
);


ALTER TABLE public.vulnerability_exports OWNER TO gitlab;

--
-- Name: vulnerability_exports_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_exports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_exports_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_exports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_exports_id_seq OWNED BY public.vulnerability_exports.id;


--
-- Name: vulnerability_external_issue_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_external_issue_links (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    author_id bigint NOT NULL,
    vulnerability_id bigint NOT NULL,
    link_type smallint DEFAULT 1 NOT NULL,
    external_type smallint DEFAULT 1 NOT NULL,
    external_project_key text NOT NULL,
    external_issue_key text NOT NULL,
    CONSTRAINT check_3200604f5e CHECK ((char_length(external_issue_key) <= 255)),
    CONSTRAINT check_68cffd19b0 CHECK ((char_length(external_project_key) <= 255))
);


ALTER TABLE public.vulnerability_external_issue_links OWNER TO gitlab;

--
-- Name: vulnerability_external_issue_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_external_issue_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_external_issue_links_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_external_issue_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_external_issue_links_id_seq OWNED BY public.vulnerability_external_issue_links.id;


--
-- Name: vulnerability_feedback; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_feedback (
    id integer NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    feedback_type smallint NOT NULL,
    category smallint NOT NULL,
    project_id integer NOT NULL,
    author_id integer NOT NULL,
    pipeline_id integer,
    issue_id integer,
    project_fingerprint character varying(40) NOT NULL,
    merge_request_id integer,
    comment_author_id integer,
    comment text,
    comment_timestamp timestamp with time zone,
    finding_uuid uuid,
    dismissal_reason smallint
);


ALTER TABLE public.vulnerability_feedback OWNER TO gitlab;

--
-- Name: vulnerability_feedback_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_feedback_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_feedback_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_feedback_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_feedback_id_seq OWNED BY public.vulnerability_feedback.id;


--
-- Name: vulnerability_finding_evidence_assets; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_evidence_assets (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_finding_evidence_id bigint NOT NULL,
    type text,
    name text,
    url text,
    CONSTRAINT check_5adf5d69de CHECK ((char_length(type) <= 2048)),
    CONSTRAINT check_839f29d7ca CHECK ((char_length(name) <= 2048)),
    CONSTRAINT check_9272d912c0 CHECK ((char_length(url) <= 2048))
);


ALTER TABLE public.vulnerability_finding_evidence_assets OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_assets_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_evidence_assets_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_evidence_assets_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_assets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_evidence_assets_id_seq OWNED BY public.vulnerability_finding_evidence_assets.id;


--
-- Name: vulnerability_finding_evidence_headers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_evidence_headers (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_finding_evidence_request_id bigint,
    vulnerability_finding_evidence_response_id bigint,
    name text NOT NULL,
    value text NOT NULL,
    CONSTRAINT check_01d21e8d92 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_3f9011f903 CHECK ((char_length(value) <= 8192))
);


ALTER TABLE public.vulnerability_finding_evidence_headers OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_headers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_evidence_headers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_evidence_headers_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_headers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_evidence_headers_id_seq OWNED BY public.vulnerability_finding_evidence_headers.id;


--
-- Name: vulnerability_finding_evidence_requests; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_evidence_requests (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_finding_evidence_id bigint,
    method text,
    url text,
    body text,
    vulnerability_finding_evidence_supporting_message_id bigint,
    CONSTRAINT check_7e37f2d01a CHECK ((char_length(body) <= 2048)),
    CONSTRAINT check_8152fbb236 CHECK ((char_length(url) <= 2048)),
    CONSTRAINT check_d9d11300f4 CHECK ((char_length(method) <= 32))
);


ALTER TABLE public.vulnerability_finding_evidence_requests OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_evidence_requests_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_evidence_requests_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_evidence_requests_id_seq OWNED BY public.vulnerability_finding_evidence_requests.id;


--
-- Name: vulnerability_finding_evidence_responses; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_evidence_responses (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_finding_evidence_id bigint,
    status_code integer,
    reason_phrase text,
    body text,
    vulnerability_finding_evidence_supporting_message_id bigint,
    CONSTRAINT check_58b124ab48 CHECK ((char_length(reason_phrase) <= 2048)),
    CONSTRAINT check_76bac0c32b CHECK ((char_length(body) <= 2048))
);


ALTER TABLE public.vulnerability_finding_evidence_responses OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_responses_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_evidence_responses_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_evidence_responses_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_responses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_evidence_responses_id_seq OWNED BY public.vulnerability_finding_evidence_responses.id;


--
-- Name: vulnerability_finding_evidence_sources; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_evidence_sources (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_finding_evidence_id bigint NOT NULL,
    name text,
    url text,
    CONSTRAINT check_0fe01298d6 CHECK ((char_length(url) <= 2048)),
    CONSTRAINT check_86b537ba1a CHECK ((char_length(name) <= 2048))
);


ALTER TABLE public.vulnerability_finding_evidence_sources OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_sources_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_evidence_sources_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_evidence_sources_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_sources_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_evidence_sources_id_seq OWNED BY public.vulnerability_finding_evidence_sources.id;


--
-- Name: vulnerability_finding_evidence_supporting_messages; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_evidence_supporting_messages (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_finding_evidence_id bigint NOT NULL,
    name text,
    CONSTRAINT check_fa33b9ae85 CHECK ((char_length(name) <= 2048))
);


ALTER TABLE public.vulnerability_finding_evidence_supporting_messages OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_supporting_messages_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_evidence_supporting_messages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_evidence_supporting_messages_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidence_supporting_messages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_evidence_supporting_messages_id_seq OWNED BY public.vulnerability_finding_evidence_supporting_messages.id;


--
-- Name: vulnerability_finding_evidences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_evidences (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_occurrence_id bigint NOT NULL,
    summary text,
    CONSTRAINT check_5773b236fb CHECK ((char_length(summary) <= 8000000))
);


ALTER TABLE public.vulnerability_finding_evidences OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_evidences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_evidences_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_evidences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_evidences_id_seq OWNED BY public.vulnerability_finding_evidences.id;


--
-- Name: vulnerability_finding_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_links (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_occurrence_id bigint NOT NULL,
    name text,
    url text NOT NULL,
    CONSTRAINT check_55f0a95439 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_b7fe886df6 CHECK ((char_length(url) <= 2048))
);


ALTER TABLE public.vulnerability_finding_links OWNER TO gitlab;

--
-- Name: vulnerability_finding_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_links_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_links_id_seq OWNED BY public.vulnerability_finding_links.id;


--
-- Name: vulnerability_finding_signatures; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_finding_signatures (
    id bigint NOT NULL,
    finding_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    algorithm_type smallint NOT NULL,
    signature_sha bytea NOT NULL
);


ALTER TABLE public.vulnerability_finding_signatures OWNER TO gitlab;

--
-- Name: vulnerability_finding_signatures_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_finding_signatures_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_finding_signatures_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_finding_signatures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_finding_signatures_id_seq OWNED BY public.vulnerability_finding_signatures.id;


--
-- Name: vulnerability_findings_remediations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_findings_remediations (
    id bigint NOT NULL,
    vulnerability_occurrence_id bigint,
    vulnerability_remediation_id bigint,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.vulnerability_findings_remediations OWNER TO gitlab;

--
-- Name: vulnerability_findings_remediations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_findings_remediations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_findings_remediations_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_findings_remediations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_findings_remediations_id_seq OWNED BY public.vulnerability_findings_remediations.id;


--
-- Name: vulnerability_flags; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_flags (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    vulnerability_occurrence_id bigint NOT NULL,
    flag_type smallint DEFAULT 0 NOT NULL,
    origin text NOT NULL,
    description text NOT NULL,
    CONSTRAINT check_45e743349f CHECK ((char_length(description) <= 1024)),
    CONSTRAINT check_49c1d00032 CHECK ((char_length(origin) <= 255))
);


ALTER TABLE public.vulnerability_flags OWNER TO gitlab;

--
-- Name: vulnerability_flags_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_flags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_flags_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_flags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_flags_id_seq OWNED BY public.vulnerability_flags.id;


--
-- Name: vulnerability_historical_statistics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_historical_statistics (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    total integer DEFAULT 0 NOT NULL,
    critical integer DEFAULT 0 NOT NULL,
    high integer DEFAULT 0 NOT NULL,
    medium integer DEFAULT 0 NOT NULL,
    low integer DEFAULT 0 NOT NULL,
    unknown integer DEFAULT 0 NOT NULL,
    info integer DEFAULT 0 NOT NULL,
    date date NOT NULL,
    letter_grade smallint NOT NULL
);


ALTER TABLE public.vulnerability_historical_statistics OWNER TO gitlab;

--
-- Name: vulnerability_historical_statistics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_historical_statistics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_historical_statistics_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_historical_statistics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_historical_statistics_id_seq OWNED BY public.vulnerability_historical_statistics.id;


--
-- Name: vulnerability_identifiers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_identifiers (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer NOT NULL,
    fingerprint bytea NOT NULL,
    external_type character varying NOT NULL,
    external_id character varying NOT NULL,
    name character varying NOT NULL,
    url text
);


ALTER TABLE public.vulnerability_identifiers OWNER TO gitlab;

--
-- Name: vulnerability_identifiers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_identifiers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_identifiers_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_identifiers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_identifiers_id_seq OWNED BY public.vulnerability_identifiers.id;


--
-- Name: vulnerability_issue_links; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_issue_links (
    id bigint NOT NULL,
    vulnerability_id bigint NOT NULL,
    issue_id bigint NOT NULL,
    link_type smallint DEFAULT 1 NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL
);


ALTER TABLE public.vulnerability_issue_links OWNER TO gitlab;

--
-- Name: vulnerability_issue_links_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_issue_links_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_issue_links_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_issue_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_issue_links_id_seq OWNED BY public.vulnerability_issue_links.id;


--
-- Name: vulnerability_occurrence_identifiers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_occurrence_identifiers (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    occurrence_id bigint NOT NULL,
    identifier_id bigint NOT NULL
);


ALTER TABLE public.vulnerability_occurrence_identifiers OWNER TO gitlab;

--
-- Name: vulnerability_occurrence_identifiers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_occurrence_identifiers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_occurrence_identifiers_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_occurrence_identifiers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_occurrence_identifiers_id_seq OWNED BY public.vulnerability_occurrence_identifiers.id;


--
-- Name: vulnerability_occurrence_pipelines; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_occurrence_pipelines (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    occurrence_id bigint NOT NULL,
    pipeline_id integer NOT NULL
);


ALTER TABLE public.vulnerability_occurrence_pipelines OWNER TO gitlab;

--
-- Name: vulnerability_occurrence_pipelines_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_occurrence_pipelines_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_occurrence_pipelines_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_occurrence_pipelines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_occurrence_pipelines_id_seq OWNED BY public.vulnerability_occurrence_pipelines.id;


--
-- Name: vulnerability_occurrences; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_occurrences (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    severity smallint NOT NULL,
    confidence smallint NOT NULL,
    report_type smallint NOT NULL,
    project_id integer NOT NULL,
    scanner_id bigint NOT NULL,
    primary_identifier_id bigint NOT NULL,
    project_fingerprint bytea NOT NULL,
    location_fingerprint bytea NOT NULL,
    uuid character varying(36) NOT NULL,
    name character varying NOT NULL,
    metadata_version character varying NOT NULL,
    raw_metadata text NOT NULL,
    vulnerability_id bigint,
    details jsonb DEFAULT '{}'::jsonb NOT NULL,
    description text,
    message text,
    solution text,
    cve text,
    location jsonb,
    detection_method smallint DEFAULT 0 NOT NULL,
    CONSTRAINT check_4a3a60f2ba CHECK ((char_length(solution) <= 7000)),
    CONSTRAINT check_ade261da6b CHECK ((char_length(description) <= 15000)),
    CONSTRAINT check_df6dd20219 CHECK ((char_length(message) <= 3000)),
    CONSTRAINT check_f602da68dd CHECK ((char_length(cve) <= 48400))
);


ALTER TABLE public.vulnerability_occurrences OWNER TO gitlab;

--
-- Name: vulnerability_occurrences_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_occurrences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_occurrences_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_occurrences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_occurrences_id_seq OWNED BY public.vulnerability_occurrences.id;


--
-- Name: vulnerability_remediations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_remediations (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    file_store smallint,
    summary text NOT NULL,
    file text NOT NULL,
    checksum bytea NOT NULL,
    project_id bigint NOT NULL,
    CONSTRAINT check_ac0ccabff3 CHECK ((char_length(summary) <= 200)),
    CONSTRAINT check_fe3325e3ba CHECK ((char_length(file) <= 255))
);


ALTER TABLE public.vulnerability_remediations OWNER TO gitlab;

--
-- Name: COLUMN vulnerability_remediations.checksum; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON COLUMN public.vulnerability_remediations.checksum IS 'Stores the SHA256 checksum of the attached diff file';


--
-- Name: vulnerability_remediations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_remediations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_remediations_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_remediations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_remediations_id_seq OWNED BY public.vulnerability_remediations.id;


--
-- Name: vulnerability_scanners; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_scanners (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id integer NOT NULL,
    external_id character varying NOT NULL,
    name character varying NOT NULL,
    vendor text DEFAULT 'GitLab'::text NOT NULL
);


ALTER TABLE public.vulnerability_scanners OWNER TO gitlab;

--
-- Name: vulnerability_scanners_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_scanners_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_scanners_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_scanners_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_scanners_id_seq OWNED BY public.vulnerability_scanners.id;


--
-- Name: vulnerability_statistics; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_statistics (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    total integer DEFAULT 0 NOT NULL,
    critical integer DEFAULT 0 NOT NULL,
    high integer DEFAULT 0 NOT NULL,
    medium integer DEFAULT 0 NOT NULL,
    low integer DEFAULT 0 NOT NULL,
    unknown integer DEFAULT 0 NOT NULL,
    info integer DEFAULT 0 NOT NULL,
    letter_grade smallint NOT NULL,
    latest_pipeline_id bigint
);


ALTER TABLE public.vulnerability_statistics OWNER TO gitlab;

--
-- Name: vulnerability_statistics_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_statistics_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_statistics_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_statistics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_statistics_id_seq OWNED BY public.vulnerability_statistics.id;


--
-- Name: vulnerability_user_mentions; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.vulnerability_user_mentions (
    id bigint NOT NULL,
    vulnerability_id bigint NOT NULL,
    note_id integer,
    mentioned_users_ids integer[],
    mentioned_projects_ids integer[],
    mentioned_groups_ids integer[]
);


ALTER TABLE public.vulnerability_user_mentions OWNER TO gitlab;

--
-- Name: vulnerability_user_mentions_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.vulnerability_user_mentions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vulnerability_user_mentions_id_seq OWNER TO gitlab;

--
-- Name: vulnerability_user_mentions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.vulnerability_user_mentions_id_seq OWNED BY public.vulnerability_user_mentions.id;


--
-- Name: web_hooks; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.web_hooks (
    id integer NOT NULL,
    project_id integer,
    created_at timestamp without time zone,
    updated_at timestamp without time zone,
    type character varying DEFAULT 'ProjectHook'::character varying,
    service_id integer,
    push_events boolean DEFAULT true NOT NULL,
    issues_events boolean DEFAULT false NOT NULL,
    merge_requests_events boolean DEFAULT false NOT NULL,
    tag_push_events boolean DEFAULT false,
    group_id integer,
    note_events boolean DEFAULT false NOT NULL,
    enable_ssl_verification boolean DEFAULT true,
    wiki_page_events boolean DEFAULT false NOT NULL,
    pipeline_events boolean DEFAULT false NOT NULL,
    confidential_issues_events boolean DEFAULT false NOT NULL,
    repository_update_events boolean DEFAULT false NOT NULL,
    job_events boolean DEFAULT false NOT NULL,
    confidential_note_events boolean,
    push_events_branch_filter text,
    encrypted_token character varying,
    encrypted_token_iv character varying,
    encrypted_url character varying,
    encrypted_url_iv character varying,
    deployment_events boolean DEFAULT false NOT NULL,
    releases_events boolean DEFAULT false NOT NULL,
    feature_flag_events boolean DEFAULT false NOT NULL,
    member_events boolean DEFAULT false NOT NULL,
    subgroup_events boolean DEFAULT false NOT NULL,
    recent_failures smallint DEFAULT 0 NOT NULL,
    backoff_count smallint DEFAULT 0 NOT NULL,
    disabled_until timestamp with time zone
);


ALTER TABLE public.web_hooks OWNER TO gitlab;

--
-- Name: web_hooks_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.web_hooks_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.web_hooks_id_seq OWNER TO gitlab;

--
-- Name: web_hooks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.web_hooks_id_seq OWNED BY public.web_hooks.id;


--
-- Name: webauthn_registrations; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.webauthn_registrations (
    id bigint NOT NULL,
    user_id bigint NOT NULL,
    counter bigint DEFAULT 0 NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    credential_xid text NOT NULL,
    name text NOT NULL,
    public_key text NOT NULL,
    u2f_registration_id integer,
    CONSTRAINT check_2f02e74321 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_e54008d9ce CHECK ((char_length(credential_xid) <= 340))
);


ALTER TABLE public.webauthn_registrations OWNER TO gitlab;

--
-- Name: webauthn_registrations_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.webauthn_registrations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.webauthn_registrations_id_seq OWNER TO gitlab;

--
-- Name: webauthn_registrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.webauthn_registrations_id_seq OWNED BY public.webauthn_registrations.id;


--
-- Name: wiki_page_meta; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.wiki_page_meta (
    id integer NOT NULL,
    project_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    title character varying(255) NOT NULL
);


ALTER TABLE public.wiki_page_meta OWNER TO gitlab;

--
-- Name: wiki_page_meta_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.wiki_page_meta_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.wiki_page_meta_id_seq OWNER TO gitlab;

--
-- Name: wiki_page_meta_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.wiki_page_meta_id_seq OWNED BY public.wiki_page_meta.id;


--
-- Name: wiki_page_slugs; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.wiki_page_slugs (
    id integer NOT NULL,
    canonical boolean DEFAULT false NOT NULL,
    wiki_page_meta_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    slug character varying(2048) NOT NULL
);


ALTER TABLE public.wiki_page_slugs OWNER TO gitlab;

--
-- Name: wiki_page_slugs_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.wiki_page_slugs_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.wiki_page_slugs_id_seq OWNER TO gitlab;

--
-- Name: wiki_page_slugs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.wiki_page_slugs_id_seq OWNED BY public.wiki_page_slugs.id;


--
-- Name: work_item_types; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.work_item_types (
    id bigint NOT NULL,
    base_type smallint DEFAULT 0 NOT NULL,
    cached_markdown_version integer,
    name text NOT NULL,
    description text,
    description_html text,
    icon_name text,
    namespace_id bigint,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    CONSTRAINT check_104d2410f6 CHECK ((char_length(name) <= 255)),
    CONSTRAINT check_fecb3a98d1 CHECK ((char_length(icon_name) <= 255))
);


ALTER TABLE public.work_item_types OWNER TO gitlab;

--
-- Name: work_item_types_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.work_item_types_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.work_item_types_id_seq OWNER TO gitlab;

--
-- Name: work_item_types_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.work_item_types_id_seq OWNED BY public.work_item_types.id;


--
-- Name: x509_certificates; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.x509_certificates (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    subject_key_identifier character varying(255) NOT NULL,
    subject character varying(255) NOT NULL,
    email character varying(255) NOT NULL,
    serial_number bytea NOT NULL,
    certificate_status smallint DEFAULT 0 NOT NULL,
    x509_issuer_id bigint NOT NULL
);


ALTER TABLE public.x509_certificates OWNER TO gitlab;

--
-- Name: x509_certificates_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.x509_certificates_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.x509_certificates_id_seq OWNER TO gitlab;

--
-- Name: x509_certificates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.x509_certificates_id_seq OWNED BY public.x509_certificates.id;


--
-- Name: x509_commit_signatures; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.x509_commit_signatures (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    project_id bigint NOT NULL,
    x509_certificate_id bigint NOT NULL,
    commit_sha bytea NOT NULL,
    verification_status smallint DEFAULT 0 NOT NULL
);


ALTER TABLE public.x509_commit_signatures OWNER TO gitlab;

--
-- Name: x509_commit_signatures_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.x509_commit_signatures_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.x509_commit_signatures_id_seq OWNER TO gitlab;

--
-- Name: x509_commit_signatures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.x509_commit_signatures_id_seq OWNED BY public.x509_commit_signatures.id;


--
-- Name: x509_issuers; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.x509_issuers (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    subject_key_identifier character varying(255) NOT NULL,
    subject character varying(255) NOT NULL,
    crl_url character varying(255) NOT NULL
);


ALTER TABLE public.x509_issuers OWNER TO gitlab;

--
-- Name: x509_issuers_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.x509_issuers_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.x509_issuers_id_seq OWNER TO gitlab;

--
-- Name: x509_issuers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.x509_issuers_id_seq OWNED BY public.x509_issuers.id;


--
-- Name: zentao_tracker_data; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.zentao_tracker_data (
    id bigint NOT NULL,
    integration_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    encrypted_url bytea,
    encrypted_url_iv bytea,
    encrypted_api_url bytea,
    encrypted_api_url_iv bytea,
    encrypted_zentao_product_xid bytea,
    encrypted_zentao_product_xid_iv bytea,
    encrypted_api_token bytea,
    encrypted_api_token_iv bytea
);


ALTER TABLE public.zentao_tracker_data OWNER TO gitlab;

--
-- Name: zentao_tracker_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.zentao_tracker_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.zentao_tracker_data_id_seq OWNER TO gitlab;

--
-- Name: zentao_tracker_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.zentao_tracker_data_id_seq OWNED BY public.zentao_tracker_data.id;


--
-- Name: zoom_meetings; Type: TABLE; Schema: public; Owner: gitlab
--

CREATE TABLE public.zoom_meetings (
    id bigint NOT NULL,
    project_id bigint NOT NULL,
    issue_id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    issue_status smallint DEFAULT 1 NOT NULL,
    url character varying(255)
);


ALTER TABLE public.zoom_meetings OWNER TO gitlab;

--
-- Name: zoom_meetings_id_seq; Type: SEQUENCE; Schema: public; Owner: gitlab
--

CREATE SEQUENCE public.zoom_meetings_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.zoom_meetings_id_seq OWNER TO gitlab;

--
-- Name: zoom_meetings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: gitlab
--

ALTER SEQUENCE public.zoom_meetings_id_seq OWNED BY public.zoom_meetings.id;


--
-- Name: abuse_reports id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.abuse_reports ALTER COLUMN id SET DEFAULT nextval('public.abuse_reports_id_seq'::regclass);


--
-- Name: alert_management_alert_assignees id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alert_assignees ALTER COLUMN id SET DEFAULT nextval('public.alert_management_alert_assignees_id_seq'::regclass);


--
-- Name: alert_management_alert_user_mentions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alert_user_mentions ALTER COLUMN id SET DEFAULT nextval('public.alert_management_alert_user_mentions_id_seq'::regclass);


--
-- Name: alert_management_alerts id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alerts ALTER COLUMN id SET DEFAULT nextval('public.alert_management_alerts_id_seq'::regclass);


--
-- Name: alert_management_http_integrations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_http_integrations ALTER COLUMN id SET DEFAULT nextval('public.alert_management_http_integrations_id_seq'::regclass);


--
-- Name: allowed_email_domains id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.allowed_email_domains ALTER COLUMN id SET DEFAULT nextval('public.allowed_email_domains_id_seq'::regclass);


--
-- Name: analytics_cycle_analytics_group_stages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_stages ALTER COLUMN id SET DEFAULT nextval('public.analytics_cycle_analytics_group_stages_id_seq'::regclass);


--
-- Name: analytics_cycle_analytics_group_value_streams id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_value_streams ALTER COLUMN id SET DEFAULT nextval('public.analytics_cycle_analytics_group_value_streams_id_seq'::regclass);


--
-- Name: analytics_cycle_analytics_project_stages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_stages ALTER COLUMN id SET DEFAULT nextval('public.analytics_cycle_analytics_project_stages_id_seq'::regclass);


--
-- Name: analytics_cycle_analytics_project_value_streams id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_value_streams ALTER COLUMN id SET DEFAULT nextval('public.analytics_cycle_analytics_project_value_streams_id_seq'::regclass);


--
-- Name: analytics_cycle_analytics_stage_event_hashes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_stage_event_hashes ALTER COLUMN id SET DEFAULT nextval('public.analytics_cycle_analytics_stage_event_hashes_id_seq'::regclass);


--
-- Name: analytics_devops_adoption_segments id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_devops_adoption_segments ALTER COLUMN id SET DEFAULT nextval('public.analytics_devops_adoption_segments_id_seq'::regclass);


--
-- Name: analytics_devops_adoption_snapshots id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_devops_adoption_snapshots ALTER COLUMN id SET DEFAULT nextval('public.analytics_devops_adoption_snapshots_id_seq'::regclass);


--
-- Name: analytics_usage_trends_measurements id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_usage_trends_measurements ALTER COLUMN id SET DEFAULT nextval('public.analytics_usage_trends_measurements_id_seq'::regclass);


--
-- Name: appearances id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.appearances ALTER COLUMN id SET DEFAULT nextval('public.appearances_id_seq'::regclass);


--
-- Name: application_setting_terms id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_setting_terms ALTER COLUMN id SET DEFAULT nextval('public.application_setting_terms_id_seq'::regclass);


--
-- Name: application_settings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_settings ALTER COLUMN id SET DEFAULT nextval('public.application_settings_id_seq'::regclass);


--
-- Name: approval_merge_request_rule_sources id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rule_sources ALTER COLUMN id SET DEFAULT nextval('public.approval_merge_request_rule_sources_id_seq'::regclass);


--
-- Name: approval_merge_request_rules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules ALTER COLUMN id SET DEFAULT nextval('public.approval_merge_request_rules_id_seq'::regclass);


--
-- Name: approval_merge_request_rules_approved_approvers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_approved_approvers ALTER COLUMN id SET DEFAULT nextval('public.approval_merge_request_rules_approved_approvers_id_seq'::regclass);


--
-- Name: approval_merge_request_rules_groups id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_groups ALTER COLUMN id SET DEFAULT nextval('public.approval_merge_request_rules_groups_id_seq'::regclass);


--
-- Name: approval_merge_request_rules_users id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_users ALTER COLUMN id SET DEFAULT nextval('public.approval_merge_request_rules_users_id_seq'::regclass);


--
-- Name: approval_project_rules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules ALTER COLUMN id SET DEFAULT nextval('public.approval_project_rules_id_seq'::regclass);


--
-- Name: approval_project_rules_groups id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_groups ALTER COLUMN id SET DEFAULT nextval('public.approval_project_rules_groups_id_seq'::regclass);


--
-- Name: approval_project_rules_users id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_users ALTER COLUMN id SET DEFAULT nextval('public.approval_project_rules_users_id_seq'::regclass);


--
-- Name: approvals id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approvals ALTER COLUMN id SET DEFAULT nextval('public.approvals_id_seq'::regclass);


--
-- Name: approver_groups id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approver_groups ALTER COLUMN id SET DEFAULT nextval('public.approver_groups_id_seq'::regclass);


--
-- Name: approvers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approvers ALTER COLUMN id SET DEFAULT nextval('public.approvers_id_seq'::regclass);


--
-- Name: atlassian_identities user_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.atlassian_identities ALTER COLUMN user_id SET DEFAULT nextval('public.atlassian_identities_user_id_seq'::regclass);


--
-- Name: audit_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.audit_events ALTER COLUMN id SET DEFAULT nextval('public.audit_events_id_seq'::regclass);


--
-- Name: authentication_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.authentication_events ALTER COLUMN id SET DEFAULT nextval('public.authentication_events_id_seq'::regclass);


--
-- Name: award_emoji id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.award_emoji ALTER COLUMN id SET DEFAULT nextval('public.award_emoji_id_seq'::regclass);


--
-- Name: background_migration_jobs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.background_migration_jobs ALTER COLUMN id SET DEFAULT nextval('public.background_migration_jobs_id_seq'::regclass);


--
-- Name: badges id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.badges ALTER COLUMN id SET DEFAULT nextval('public.badges_id_seq'::regclass);


--
-- Name: batched_background_migration_jobs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.batched_background_migration_jobs ALTER COLUMN id SET DEFAULT nextval('public.batched_background_migration_jobs_id_seq'::regclass);


--
-- Name: batched_background_migrations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.batched_background_migrations ALTER COLUMN id SET DEFAULT nextval('public.batched_background_migrations_id_seq'::regclass);


--
-- Name: board_assignees id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_assignees ALTER COLUMN id SET DEFAULT nextval('public.board_assignees_id_seq'::regclass);


--
-- Name: board_group_recent_visits id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_group_recent_visits ALTER COLUMN id SET DEFAULT nextval('public.board_group_recent_visits_id_seq'::regclass);


--
-- Name: board_labels id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_labels ALTER COLUMN id SET DEFAULT nextval('public.board_labels_id_seq'::regclass);


--
-- Name: board_project_recent_visits id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_project_recent_visits ALTER COLUMN id SET DEFAULT nextval('public.board_project_recent_visits_id_seq'::regclass);


--
-- Name: board_user_preferences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_user_preferences ALTER COLUMN id SET DEFAULT nextval('public.board_user_preferences_id_seq'::regclass);


--
-- Name: boards id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards ALTER COLUMN id SET DEFAULT nextval('public.boards_id_seq'::regclass);


--
-- Name: boards_epic_board_labels id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_labels ALTER COLUMN id SET DEFAULT nextval('public.boards_epic_board_labels_id_seq'::regclass);


--
-- Name: boards_epic_board_positions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_positions ALTER COLUMN id SET DEFAULT nextval('public.boards_epic_board_positions_id_seq'::regclass);


--
-- Name: boards_epic_board_recent_visits id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_recent_visits ALTER COLUMN id SET DEFAULT nextval('public.boards_epic_board_recent_visits_id_seq'::regclass);


--
-- Name: boards_epic_boards id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_boards ALTER COLUMN id SET DEFAULT nextval('public.boards_epic_boards_id_seq'::regclass);


--
-- Name: boards_epic_list_user_preferences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_list_user_preferences ALTER COLUMN id SET DEFAULT nextval('public.boards_epic_list_user_preferences_id_seq'::regclass);


--
-- Name: boards_epic_lists id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_lists ALTER COLUMN id SET DEFAULT nextval('public.boards_epic_lists_id_seq'::regclass);


--
-- Name: boards_epic_user_preferences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_user_preferences ALTER COLUMN id SET DEFAULT nextval('public.boards_epic_user_preferences_id_seq'::regclass);


--
-- Name: broadcast_messages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.broadcast_messages ALTER COLUMN id SET DEFAULT nextval('public.broadcast_messages_id_seq'::regclass);


--
-- Name: bulk_import_configurations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_configurations ALTER COLUMN id SET DEFAULT nextval('public.bulk_import_configurations_id_seq'::regclass);


--
-- Name: bulk_import_entities id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_entities ALTER COLUMN id SET DEFAULT nextval('public.bulk_import_entities_id_seq'::regclass);


--
-- Name: bulk_import_export_uploads id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_export_uploads ALTER COLUMN id SET DEFAULT nextval('public.bulk_import_export_uploads_id_seq'::regclass);


--
-- Name: bulk_import_exports id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_exports ALTER COLUMN id SET DEFAULT nextval('public.bulk_import_exports_id_seq'::regclass);


--
-- Name: bulk_import_failures id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_failures ALTER COLUMN id SET DEFAULT nextval('public.bulk_import_failures_id_seq'::regclass);


--
-- Name: bulk_import_trackers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_trackers ALTER COLUMN id SET DEFAULT nextval('public.bulk_import_trackers_id_seq'::regclass);


--
-- Name: bulk_imports id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_imports ALTER COLUMN id SET DEFAULT nextval('public.bulk_imports_id_seq'::regclass);


--
-- Name: chat_names id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.chat_names ALTER COLUMN id SET DEFAULT nextval('public.chat_names_id_seq'::regclass);


--
-- Name: chat_teams id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.chat_teams ALTER COLUMN id SET DEFAULT nextval('public.chat_teams_id_seq'::regclass);


--
-- Name: ci_build_needs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_needs ALTER COLUMN id SET DEFAULT nextval('public.ci_build_needs_id_seq'::regclass);


--
-- Name: ci_build_pending_states id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_pending_states ALTER COLUMN id SET DEFAULT nextval('public.ci_build_pending_states_id_seq'::regclass);


--
-- Name: ci_build_report_results build_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_report_results ALTER COLUMN build_id SET DEFAULT nextval('public.ci_build_report_results_build_id_seq'::regclass);


--
-- Name: ci_build_trace_chunks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_trace_chunks ALTER COLUMN id SET DEFAULT nextval('public.ci_build_trace_chunks_id_seq'::regclass);


--
-- Name: ci_builds id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds ALTER COLUMN id SET DEFAULT nextval('public.ci_builds_id_seq'::regclass);


--
-- Name: ci_builds_metadata id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds_metadata ALTER COLUMN id SET DEFAULT nextval('public.ci_builds_metadata_id_seq'::regclass);


--
-- Name: ci_builds_runner_session id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds_runner_session ALTER COLUMN id SET DEFAULT nextval('public.ci_builds_runner_session_id_seq'::regclass);


--
-- Name: ci_daily_build_group_report_results id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_daily_build_group_report_results ALTER COLUMN id SET DEFAULT nextval('public.ci_daily_build_group_report_results_id_seq'::regclass);


--
-- Name: ci_deleted_objects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_deleted_objects ALTER COLUMN id SET DEFAULT nextval('public.ci_deleted_objects_id_seq'::regclass);


--
-- Name: ci_freeze_periods id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_freeze_periods ALTER COLUMN id SET DEFAULT nextval('public.ci_freeze_periods_id_seq'::regclass);


--
-- Name: ci_group_variables id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_group_variables ALTER COLUMN id SET DEFAULT nextval('public.ci_group_variables_id_seq'::regclass);


--
-- Name: ci_instance_variables id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_instance_variables ALTER COLUMN id SET DEFAULT nextval('public.ci_instance_variables_id_seq'::regclass);


--
-- Name: ci_job_artifacts id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_artifacts ALTER COLUMN id SET DEFAULT nextval('public.ci_job_artifacts_id_seq'::regclass);


--
-- Name: ci_job_token_project_scope_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_token_project_scope_links ALTER COLUMN id SET DEFAULT nextval('public.ci_job_token_project_scope_links_id_seq'::regclass);


--
-- Name: ci_job_variables id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_variables ALTER COLUMN id SET DEFAULT nextval('public.ci_job_variables_id_seq'::regclass);


--
-- Name: ci_minutes_additional_packs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_minutes_additional_packs ALTER COLUMN id SET DEFAULT nextval('public.ci_minutes_additional_packs_id_seq'::regclass);


--
-- Name: ci_namespace_monthly_usages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_namespace_monthly_usages ALTER COLUMN id SET DEFAULT nextval('public.ci_namespace_monthly_usages_id_seq'::regclass);


--
-- Name: ci_pending_builds id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pending_builds ALTER COLUMN id SET DEFAULT nextval('public.ci_pending_builds_id_seq'::regclass);


--
-- Name: ci_pipeline_artifacts id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_artifacts ALTER COLUMN id SET DEFAULT nextval('public.ci_pipeline_artifacts_id_seq'::regclass);


--
-- Name: ci_pipeline_chat_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_chat_data ALTER COLUMN id SET DEFAULT nextval('public.ci_pipeline_chat_data_id_seq'::regclass);


--
-- Name: ci_pipeline_messages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_messages ALTER COLUMN id SET DEFAULT nextval('public.ci_pipeline_messages_id_seq'::regclass);


--
-- Name: ci_pipeline_schedule_variables id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_schedule_variables ALTER COLUMN id SET DEFAULT nextval('public.ci_pipeline_schedule_variables_id_seq'::regclass);


--
-- Name: ci_pipeline_schedules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_schedules ALTER COLUMN id SET DEFAULT nextval('public.ci_pipeline_schedules_id_seq'::regclass);


--
-- Name: ci_pipeline_variables id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_variables ALTER COLUMN id SET DEFAULT nextval('public.ci_pipeline_variables_id_seq'::regclass);


--
-- Name: ci_pipelines id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines ALTER COLUMN id SET DEFAULT nextval('public.ci_pipelines_id_seq'::regclass);


--
-- Name: ci_pipelines_config pipeline_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines_config ALTER COLUMN pipeline_id SET DEFAULT nextval('public.ci_pipelines_config_pipeline_id_seq'::regclass);


--
-- Name: ci_platform_metrics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_platform_metrics ALTER COLUMN id SET DEFAULT nextval('public.ci_platform_metrics_id_seq'::regclass);


--
-- Name: ci_project_monthly_usages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_project_monthly_usages ALTER COLUMN id SET DEFAULT nextval('public.ci_project_monthly_usages_id_seq'::regclass);


--
-- Name: ci_refs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_refs ALTER COLUMN id SET DEFAULT nextval('public.ci_refs_id_seq'::regclass);


--
-- Name: ci_resource_groups id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_resource_groups ALTER COLUMN id SET DEFAULT nextval('public.ci_resource_groups_id_seq'::regclass);


--
-- Name: ci_resources id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_resources ALTER COLUMN id SET DEFAULT nextval('public.ci_resources_id_seq'::regclass);


--
-- Name: ci_runner_namespaces id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runner_namespaces ALTER COLUMN id SET DEFAULT nextval('public.ci_runner_namespaces_id_seq'::regclass);


--
-- Name: ci_runner_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runner_projects ALTER COLUMN id SET DEFAULT nextval('public.ci_runner_projects_id_seq'::regclass);


--
-- Name: ci_runners id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runners ALTER COLUMN id SET DEFAULT nextval('public.ci_runners_id_seq'::regclass);


--
-- Name: ci_running_builds id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_running_builds ALTER COLUMN id SET DEFAULT nextval('public.ci_running_builds_id_seq'::regclass);


--
-- Name: ci_sources_pipelines id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_pipelines ALTER COLUMN id SET DEFAULT nextval('public.ci_sources_pipelines_id_seq'::regclass);


--
-- Name: ci_sources_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_projects ALTER COLUMN id SET DEFAULT nextval('public.ci_sources_projects_id_seq'::regclass);


--
-- Name: ci_stages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_stages ALTER COLUMN id SET DEFAULT nextval('public.ci_stages_id_seq'::regclass);


--
-- Name: ci_subscriptions_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_subscriptions_projects ALTER COLUMN id SET DEFAULT nextval('public.ci_subscriptions_projects_id_seq'::regclass);


--
-- Name: ci_trigger_requests id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_trigger_requests ALTER COLUMN id SET DEFAULT nextval('public.ci_trigger_requests_id_seq'::regclass);


--
-- Name: ci_triggers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_triggers ALTER COLUMN id SET DEFAULT nextval('public.ci_triggers_id_seq'::regclass);


--
-- Name: ci_unit_test_failures id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_unit_test_failures ALTER COLUMN id SET DEFAULT nextval('public.ci_unit_test_failures_id_seq'::regclass);


--
-- Name: ci_unit_tests id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_unit_tests ALTER COLUMN id SET DEFAULT nextval('public.ci_unit_tests_id_seq'::regclass);


--
-- Name: ci_variables id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_variables ALTER COLUMN id SET DEFAULT nextval('public.ci_variables_id_seq'::regclass);


--
-- Name: cluster_agent_tokens id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_agent_tokens ALTER COLUMN id SET DEFAULT nextval('public.cluster_agent_tokens_id_seq'::regclass);


--
-- Name: cluster_agents id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_agents ALTER COLUMN id SET DEFAULT nextval('public.cluster_agents_id_seq'::regclass);


--
-- Name: cluster_groups id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_groups ALTER COLUMN id SET DEFAULT nextval('public.cluster_groups_id_seq'::regclass);


--
-- Name: cluster_platforms_kubernetes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_platforms_kubernetes ALTER COLUMN id SET DEFAULT nextval('public.cluster_platforms_kubernetes_id_seq'::regclass);


--
-- Name: cluster_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_projects ALTER COLUMN id SET DEFAULT nextval('public.cluster_projects_id_seq'::regclass);


--
-- Name: cluster_providers_aws id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_providers_aws ALTER COLUMN id SET DEFAULT nextval('public.cluster_providers_aws_id_seq'::regclass);


--
-- Name: cluster_providers_gcp id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_providers_gcp ALTER COLUMN id SET DEFAULT nextval('public.cluster_providers_gcp_id_seq'::regclass);


--
-- Name: clusters id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters ALTER COLUMN id SET DEFAULT nextval('public.clusters_id_seq'::regclass);


--
-- Name: clusters_applications_cert_managers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_cert_managers ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_cert_managers_id_seq'::regclass);


--
-- Name: clusters_applications_cilium id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_cilium ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_cilium_id_seq'::regclass);


--
-- Name: clusters_applications_crossplane id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_crossplane ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_crossplane_id_seq'::regclass);


--
-- Name: clusters_applications_elastic_stacks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_elastic_stacks ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_elastic_stacks_id_seq'::regclass);


--
-- Name: clusters_applications_helm id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_helm ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_helm_id_seq'::regclass);


--
-- Name: clusters_applications_ingress id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_ingress ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_ingress_id_seq'::regclass);


--
-- Name: clusters_applications_jupyter id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_jupyter ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_jupyter_id_seq'::regclass);


--
-- Name: clusters_applications_knative id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_knative ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_knative_id_seq'::regclass);


--
-- Name: clusters_applications_prometheus id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_prometheus ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_prometheus_id_seq'::regclass);


--
-- Name: clusters_applications_runners id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_runners ALTER COLUMN id SET DEFAULT nextval('public.clusters_applications_runners_id_seq'::regclass);


--
-- Name: clusters_kubernetes_namespaces id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_kubernetes_namespaces ALTER COLUMN id SET DEFAULT nextval('public.clusters_kubernetes_namespaces_id_seq'::regclass);


--
-- Name: commit_user_mentions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.commit_user_mentions ALTER COLUMN id SET DEFAULT nextval('public.commit_user_mentions_id_seq'::regclass);


--
-- Name: compliance_management_frameworks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.compliance_management_frameworks ALTER COLUMN id SET DEFAULT nextval('public.compliance_management_frameworks_id_seq'::regclass);


--
-- Name: container_repositories id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.container_repositories ALTER COLUMN id SET DEFAULT nextval('public.container_repositories_id_seq'::regclass);


--
-- Name: conversational_development_index_metrics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.conversational_development_index_metrics ALTER COLUMN id SET DEFAULT nextval('public.conversational_development_index_metrics_id_seq'::regclass);


--
-- Name: csv_issue_imports id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.csv_issue_imports ALTER COLUMN id SET DEFAULT nextval('public.csv_issue_imports_id_seq'::regclass);


--
-- Name: custom_emoji id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.custom_emoji ALTER COLUMN id SET DEFAULT nextval('public.custom_emoji_id_seq'::regclass);


--
-- Name: customer_relations_organizations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.customer_relations_organizations ALTER COLUMN id SET DEFAULT nextval('public.customer_relations_organizations_id_seq'::regclass);


--
-- Name: dast_profile_schedules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profile_schedules ALTER COLUMN id SET DEFAULT nextval('public.dast_profile_schedules_id_seq'::regclass);


--
-- Name: dast_profiles id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profiles ALTER COLUMN id SET DEFAULT nextval('public.dast_profiles_id_seq'::regclass);


--
-- Name: dast_scanner_profiles id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_scanner_profiles ALTER COLUMN id SET DEFAULT nextval('public.dast_scanner_profiles_id_seq'::regclass);


--
-- Name: dast_site_profile_secret_variables id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profile_secret_variables ALTER COLUMN id SET DEFAULT nextval('public.dast_site_profile_secret_variables_id_seq'::regclass);


--
-- Name: dast_site_profiles id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles ALTER COLUMN id SET DEFAULT nextval('public.dast_site_profiles_id_seq'::regclass);


--
-- Name: dast_site_tokens id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_tokens ALTER COLUMN id SET DEFAULT nextval('public.dast_site_tokens_id_seq'::regclass);


--
-- Name: dast_site_validations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_validations ALTER COLUMN id SET DEFAULT nextval('public.dast_site_validations_id_seq'::regclass);


--
-- Name: dast_sites id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_sites ALTER COLUMN id SET DEFAULT nextval('public.dast_sites_id_seq'::regclass);


--
-- Name: dep_ci_build_trace_section_names id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dep_ci_build_trace_section_names ALTER COLUMN id SET DEFAULT nextval('public.dep_ci_build_trace_section_names_id_seq'::regclass);


--
-- Name: dependency_proxy_blobs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_blobs ALTER COLUMN id SET DEFAULT nextval('public.dependency_proxy_blobs_id_seq'::regclass);


--
-- Name: dependency_proxy_group_settings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_group_settings ALTER COLUMN id SET DEFAULT nextval('public.dependency_proxy_group_settings_id_seq'::regclass);


--
-- Name: dependency_proxy_manifests id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_manifests ALTER COLUMN id SET DEFAULT nextval('public.dependency_proxy_manifests_id_seq'::regclass);


--
-- Name: deploy_keys_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deploy_keys_projects ALTER COLUMN id SET DEFAULT nextval('public.deploy_keys_projects_id_seq'::regclass);


--
-- Name: deploy_tokens id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deploy_tokens ALTER COLUMN id SET DEFAULT nextval('public.deploy_tokens_id_seq'::regclass);


--
-- Name: deployments id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployments ALTER COLUMN id SET DEFAULT nextval('public.deployments_id_seq'::regclass);


--
-- Name: description_versions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.description_versions ALTER COLUMN id SET DEFAULT nextval('public.description_versions_id_seq'::regclass);


--
-- Name: design_management_designs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_designs ALTER COLUMN id SET DEFAULT nextval('public.design_management_designs_id_seq'::regclass);


--
-- Name: design_management_designs_versions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_designs_versions ALTER COLUMN id SET DEFAULT nextval('public.design_management_designs_versions_id_seq'::regclass);


--
-- Name: design_management_versions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_versions ALTER COLUMN id SET DEFAULT nextval('public.design_management_versions_id_seq'::regclass);


--
-- Name: design_user_mentions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_user_mentions ALTER COLUMN id SET DEFAULT nextval('public.design_user_mentions_id_seq'::regclass);


--
-- Name: detached_partitions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.detached_partitions ALTER COLUMN id SET DEFAULT nextval('public.detached_partitions_id_seq'::regclass);


--
-- Name: diff_note_positions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.diff_note_positions ALTER COLUMN id SET DEFAULT nextval('public.diff_note_positions_id_seq'::regclass);


--
-- Name: dora_daily_metrics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dora_daily_metrics ALTER COLUMN id SET DEFAULT nextval('public.dora_daily_metrics_id_seq'::regclass);


--
-- Name: draft_notes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.draft_notes ALTER COLUMN id SET DEFAULT nextval('public.draft_notes_id_seq'::regclass);


--
-- Name: elastic_index_settings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_index_settings ALTER COLUMN id SET DEFAULT nextval('public.elastic_index_settings_id_seq'::regclass);


--
-- Name: elastic_reindexing_slices id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_reindexing_slices ALTER COLUMN id SET DEFAULT nextval('public.elastic_reindexing_slices_id_seq'::regclass);


--
-- Name: elastic_reindexing_subtasks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_reindexing_subtasks ALTER COLUMN id SET DEFAULT nextval('public.elastic_reindexing_subtasks_id_seq'::regclass);


--
-- Name: elastic_reindexing_tasks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_reindexing_tasks ALTER COLUMN id SET DEFAULT nextval('public.elastic_reindexing_tasks_id_seq'::regclass);


--
-- Name: emails id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.emails ALTER COLUMN id SET DEFAULT nextval('public.emails_id_seq'::regclass);


--
-- Name: environments id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.environments ALTER COLUMN id SET DEFAULT nextval('public.environments_id_seq'::regclass);


--
-- Name: epic_issues id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_issues ALTER COLUMN id SET DEFAULT nextval('public.epic_issues_id_seq'::regclass);


--
-- Name: epic_metrics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_metrics ALTER COLUMN id SET DEFAULT nextval('public.epic_metrics_id_seq'::regclass);


--
-- Name: epic_user_mentions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_user_mentions ALTER COLUMN id SET DEFAULT nextval('public.epic_user_mentions_id_seq'::regclass);


--
-- Name: epics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics ALTER COLUMN id SET DEFAULT nextval('public.epics_id_seq'::regclass);


--
-- Name: error_tracking_client_keys id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_client_keys ALTER COLUMN id SET DEFAULT nextval('public.error_tracking_client_keys_id_seq'::regclass);


--
-- Name: error_tracking_error_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_error_events ALTER COLUMN id SET DEFAULT nextval('public.error_tracking_error_events_id_seq'::regclass);


--
-- Name: error_tracking_errors id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_errors ALTER COLUMN id SET DEFAULT nextval('public.error_tracking_errors_id_seq'::regclass);


--
-- Name: events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.events ALTER COLUMN id SET DEFAULT nextval('public.events_id_seq'::regclass);


--
-- Name: evidences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.evidences ALTER COLUMN id SET DEFAULT nextval('public.evidences_id_seq'::regclass);


--
-- Name: experiment_subjects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_subjects ALTER COLUMN id SET DEFAULT nextval('public.experiment_subjects_id_seq'::regclass);


--
-- Name: experiment_users id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_users ALTER COLUMN id SET DEFAULT nextval('public.experiment_users_id_seq'::regclass);


--
-- Name: experiments id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiments ALTER COLUMN id SET DEFAULT nextval('public.experiments_id_seq'::regclass);


--
-- Name: external_approval_rules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_approval_rules ALTER COLUMN id SET DEFAULT nextval('public.external_approval_rules_id_seq'::regclass);


--
-- Name: external_approval_rules_protected_branches id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_approval_rules_protected_branches ALTER COLUMN id SET DEFAULT nextval('public.external_approval_rules_protected_branches_id_seq'::regclass);


--
-- Name: external_pull_requests id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_pull_requests ALTER COLUMN id SET DEFAULT nextval('public.external_pull_requests_id_seq'::regclass);


--
-- Name: external_status_checks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_status_checks ALTER COLUMN id SET DEFAULT nextval('public.external_status_checks_id_seq'::regclass);


--
-- Name: external_status_checks_protected_branches id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_status_checks_protected_branches ALTER COLUMN id SET DEFAULT nextval('public.external_status_checks_protected_branches_id_seq'::regclass);


--
-- Name: feature_gates id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.feature_gates ALTER COLUMN id SET DEFAULT nextval('public.feature_gates_id_seq'::regclass);


--
-- Name: features id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.features ALTER COLUMN id SET DEFAULT nextval('public.features_id_seq'::regclass);


--
-- Name: fork_network_members id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.fork_network_members ALTER COLUMN id SET DEFAULT nextval('public.fork_network_members_id_seq'::regclass);


--
-- Name: fork_networks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.fork_networks ALTER COLUMN id SET DEFAULT nextval('public.fork_networks_id_seq'::regclass);


--
-- Name: geo_cache_invalidation_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_cache_invalidation_events ALTER COLUMN id SET DEFAULT nextval('public.geo_cache_invalidation_events_id_seq'::regclass);


--
-- Name: geo_container_repository_updated_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_container_repository_updated_events ALTER COLUMN id SET DEFAULT nextval('public.geo_container_repository_updated_events_id_seq'::regclass);


--
-- Name: geo_event_log id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log ALTER COLUMN id SET DEFAULT nextval('public.geo_event_log_id_seq'::regclass);


--
-- Name: geo_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_events ALTER COLUMN id SET DEFAULT nextval('public.geo_events_id_seq'::regclass);


--
-- Name: geo_hashed_storage_attachments_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_hashed_storage_attachments_events ALTER COLUMN id SET DEFAULT nextval('public.geo_hashed_storage_attachments_events_id_seq'::regclass);


--
-- Name: geo_hashed_storage_migrated_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_hashed_storage_migrated_events ALTER COLUMN id SET DEFAULT nextval('public.geo_hashed_storage_migrated_events_id_seq'::regclass);


--
-- Name: geo_job_artifact_deleted_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_job_artifact_deleted_events ALTER COLUMN id SET DEFAULT nextval('public.geo_job_artifact_deleted_events_id_seq'::regclass);


--
-- Name: geo_lfs_object_deleted_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_lfs_object_deleted_events ALTER COLUMN id SET DEFAULT nextval('public.geo_lfs_object_deleted_events_id_seq'::regclass);


--
-- Name: geo_node_namespace_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_node_namespace_links ALTER COLUMN id SET DEFAULT nextval('public.geo_node_namespace_links_id_seq'::regclass);


--
-- Name: geo_node_statuses id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_node_statuses ALTER COLUMN id SET DEFAULT nextval('public.geo_node_statuses_id_seq'::regclass);


--
-- Name: geo_nodes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_nodes ALTER COLUMN id SET DEFAULT nextval('public.geo_nodes_id_seq'::regclass);


--
-- Name: geo_repositories_changed_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repositories_changed_events ALTER COLUMN id SET DEFAULT nextval('public.geo_repositories_changed_events_id_seq'::regclass);


--
-- Name: geo_repository_created_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_created_events ALTER COLUMN id SET DEFAULT nextval('public.geo_repository_created_events_id_seq'::regclass);


--
-- Name: geo_repository_deleted_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_deleted_events ALTER COLUMN id SET DEFAULT nextval('public.geo_repository_deleted_events_id_seq'::regclass);


--
-- Name: geo_repository_renamed_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_renamed_events ALTER COLUMN id SET DEFAULT nextval('public.geo_repository_renamed_events_id_seq'::regclass);


--
-- Name: geo_repository_updated_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_updated_events ALTER COLUMN id SET DEFAULT nextval('public.geo_repository_updated_events_id_seq'::regclass);


--
-- Name: geo_reset_checksum_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_reset_checksum_events ALTER COLUMN id SET DEFAULT nextval('public.geo_reset_checksum_events_id_seq'::regclass);


--
-- Name: geo_upload_deleted_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_upload_deleted_events ALTER COLUMN id SET DEFAULT nextval('public.geo_upload_deleted_events_id_seq'::regclass);


--
-- Name: gitlab_subscription_histories id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gitlab_subscription_histories ALTER COLUMN id SET DEFAULT nextval('public.gitlab_subscription_histories_id_seq'::regclass);


--
-- Name: gitlab_subscriptions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gitlab_subscriptions ALTER COLUMN id SET DEFAULT nextval('public.gitlab_subscriptions_id_seq'::regclass);


--
-- Name: gpg_key_subkeys id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_key_subkeys ALTER COLUMN id SET DEFAULT nextval('public.gpg_key_subkeys_id_seq'::regclass);


--
-- Name: gpg_keys id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_keys ALTER COLUMN id SET DEFAULT nextval('public.gpg_keys_id_seq'::regclass);


--
-- Name: gpg_signatures id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_signatures ALTER COLUMN id SET DEFAULT nextval('public.gpg_signatures_id_seq'::regclass);


--
-- Name: grafana_integrations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.grafana_integrations ALTER COLUMN id SET DEFAULT nextval('public.grafana_integrations_id_seq'::regclass);


--
-- Name: group_custom_attributes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_custom_attributes ALTER COLUMN id SET DEFAULT nextval('public.group_custom_attributes_id_seq'::regclass);


--
-- Name: group_deploy_keys id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_keys ALTER COLUMN id SET DEFAULT nextval('public.group_deploy_keys_id_seq'::regclass);


--
-- Name: group_deploy_keys_groups id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_keys_groups ALTER COLUMN id SET DEFAULT nextval('public.group_deploy_keys_groups_id_seq'::regclass);


--
-- Name: group_deploy_tokens id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_tokens ALTER COLUMN id SET DEFAULT nextval('public.group_deploy_tokens_id_seq'::regclass);


--
-- Name: group_group_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_group_links ALTER COLUMN id SET DEFAULT nextval('public.group_group_links_id_seq'::regclass);


--
-- Name: group_import_states group_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_import_states ALTER COLUMN group_id SET DEFAULT nextval('public.group_import_states_group_id_seq'::regclass);


--
-- Name: group_repository_storage_moves id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_repository_storage_moves ALTER COLUMN id SET DEFAULT nextval('public.group_repository_storage_moves_id_seq'::regclass);


--
-- Name: historical_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.historical_data ALTER COLUMN id SET DEFAULT nextval('public.historical_data_id_seq'::regclass);


--
-- Name: identities id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.identities ALTER COLUMN id SET DEFAULT nextval('public.identities_id_seq'::regclass);


--
-- Name: import_export_uploads id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.import_export_uploads ALTER COLUMN id SET DEFAULT nextval('public.import_export_uploads_id_seq'::regclass);


--
-- Name: import_failures id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.import_failures ALTER COLUMN id SET DEFAULT nextval('public.import_failures_id_seq'::regclass);


--
-- Name: in_product_marketing_emails id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.in_product_marketing_emails ALTER COLUMN id SET DEFAULT nextval('public.in_product_marketing_emails_id_seq'::regclass);


--
-- Name: incident_management_escalation_policies id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_escalation_policies ALTER COLUMN id SET DEFAULT nextval('public.incident_management_escalation_policies_id_seq'::regclass);


--
-- Name: incident_management_escalation_rules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_escalation_rules ALTER COLUMN id SET DEFAULT nextval('public.incident_management_escalation_rules_id_seq'::regclass);


--
-- Name: incident_management_issuable_escalation_statuses id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_issuable_escalation_statuses ALTER COLUMN id SET DEFAULT nextval('public.incident_management_issuable_escalation_statuses_id_seq'::regclass);


--
-- Name: incident_management_oncall_participants id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_participants ALTER COLUMN id SET DEFAULT nextval('public.incident_management_oncall_participants_id_seq'::regclass);


--
-- Name: incident_management_oncall_rotations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_rotations ALTER COLUMN id SET DEFAULT nextval('public.incident_management_oncall_rotations_id_seq'::regclass);


--
-- Name: incident_management_oncall_schedules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_schedules ALTER COLUMN id SET DEFAULT nextval('public.incident_management_oncall_schedules_id_seq'::regclass);


--
-- Name: incident_management_oncall_shifts id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_shifts ALTER COLUMN id SET DEFAULT nextval('public.incident_management_oncall_shifts_id_seq'::regclass);


--
-- Name: incident_management_pending_alert_escalations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_pending_alert_escalations ALTER COLUMN id SET DEFAULT nextval('public.incident_management_pending_alert_escalations_id_seq'::regclass);


--
-- Name: index_statuses id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.index_statuses ALTER COLUMN id SET DEFAULT nextval('public.index_statuses_id_seq'::regclass);


--
-- Name: insights id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.insights ALTER COLUMN id SET DEFAULT nextval('public.insights_id_seq'::regclass);


--
-- Name: integrations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.integrations ALTER COLUMN id SET DEFAULT nextval('public.integrations_id_seq'::regclass);


--
-- Name: internal_ids id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.internal_ids ALTER COLUMN id SET DEFAULT nextval('public.internal_ids_id_seq'::regclass);


--
-- Name: ip_restrictions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ip_restrictions ALTER COLUMN id SET DEFAULT nextval('public.ip_restrictions_id_seq'::regclass);


--
-- Name: issuable_metric_images id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_metric_images ALTER COLUMN id SET DEFAULT nextval('public.issuable_metric_images_id_seq'::regclass);


--
-- Name: issuable_severities id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_severities ALTER COLUMN id SET DEFAULT nextval('public.issuable_severities_id_seq'::regclass);


--
-- Name: issuable_slas id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_slas ALTER COLUMN id SET DEFAULT nextval('public.issuable_slas_id_seq'::regclass);


--
-- Name: issue_email_participants id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_email_participants ALTER COLUMN id SET DEFAULT nextval('public.issue_email_participants_id_seq'::regclass);


--
-- Name: issue_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_links ALTER COLUMN id SET DEFAULT nextval('public.issue_links_id_seq'::regclass);


--
-- Name: issue_metrics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_metrics ALTER COLUMN id SET DEFAULT nextval('public.issue_metrics_id_seq'::regclass);


--
-- Name: issue_tracker_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_tracker_data ALTER COLUMN id SET DEFAULT nextval('public.issue_tracker_data_id_seq'::regclass);


--
-- Name: issue_user_mentions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_user_mentions ALTER COLUMN id SET DEFAULT nextval('public.issue_user_mentions_id_seq'::regclass);


--
-- Name: issues id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues ALTER COLUMN id SET DEFAULT nextval('public.issues_id_seq'::regclass);


--
-- Name: iterations_cadences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.iterations_cadences ALTER COLUMN id SET DEFAULT nextval('public.iterations_cadences_id_seq'::regclass);


--
-- Name: jira_connect_installations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_connect_installations ALTER COLUMN id SET DEFAULT nextval('public.jira_connect_installations_id_seq'::regclass);


--
-- Name: jira_connect_subscriptions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_connect_subscriptions ALTER COLUMN id SET DEFAULT nextval('public.jira_connect_subscriptions_id_seq'::regclass);


--
-- Name: jira_imports id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_imports ALTER COLUMN id SET DEFAULT nextval('public.jira_imports_id_seq'::regclass);


--
-- Name: jira_tracker_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_tracker_data ALTER COLUMN id SET DEFAULT nextval('public.jira_tracker_data_id_seq'::regclass);


--
-- Name: keys id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.keys ALTER COLUMN id SET DEFAULT nextval('public.keys_id_seq'::regclass);


--
-- Name: label_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.label_links ALTER COLUMN id SET DEFAULT nextval('public.label_links_id_seq'::regclass);


--
-- Name: label_priorities id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.label_priorities ALTER COLUMN id SET DEFAULT nextval('public.label_priorities_id_seq'::regclass);


--
-- Name: labels id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.labels ALTER COLUMN id SET DEFAULT nextval('public.labels_id_seq'::regclass);


--
-- Name: ldap_group_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ldap_group_links ALTER COLUMN id SET DEFAULT nextval('public.ldap_group_links_id_seq'::regclass);


--
-- Name: lfs_file_locks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_file_locks ALTER COLUMN id SET DEFAULT nextval('public.lfs_file_locks_id_seq'::regclass);


--
-- Name: lfs_objects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_objects ALTER COLUMN id SET DEFAULT nextval('public.lfs_objects_id_seq'::regclass);


--
-- Name: lfs_objects_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_objects_projects ALTER COLUMN id SET DEFAULT nextval('public.lfs_objects_projects_id_seq'::regclass);


--
-- Name: licenses id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.licenses ALTER COLUMN id SET DEFAULT nextval('public.licenses_id_seq'::regclass);


--
-- Name: list_user_preferences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.list_user_preferences ALTER COLUMN id SET DEFAULT nextval('public.list_user_preferences_id_seq'::regclass);


--
-- Name: lists id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lists ALTER COLUMN id SET DEFAULT nextval('public.lists_id_seq'::regclass);


--
-- Name: members id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.members ALTER COLUMN id SET DEFAULT nextval('public.members_id_seq'::regclass);


--
-- Name: merge_request_assignees id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_assignees ALTER COLUMN id SET DEFAULT nextval('public.merge_request_assignees_id_seq'::regclass);


--
-- Name: merge_request_blocks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_blocks ALTER COLUMN id SET DEFAULT nextval('public.merge_request_blocks_id_seq'::regclass);


--
-- Name: merge_request_cleanup_schedules merge_request_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_cleanup_schedules ALTER COLUMN merge_request_id SET DEFAULT nextval('public.merge_request_cleanup_schedules_merge_request_id_seq'::regclass);


--
-- Name: merge_request_context_commits id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_context_commits ALTER COLUMN id SET DEFAULT nextval('public.merge_request_context_commits_id_seq'::regclass);


--
-- Name: merge_request_diff_commit_users id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_commit_users ALTER COLUMN id SET DEFAULT nextval('public.merge_request_diff_commit_users_id_seq'::regclass);


--
-- Name: merge_request_diff_details merge_request_diff_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_details ALTER COLUMN merge_request_diff_id SET DEFAULT nextval('public.merge_request_diff_details_merge_request_diff_id_seq'::regclass);


--
-- Name: merge_request_diffs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diffs ALTER COLUMN id SET DEFAULT nextval('public.merge_request_diffs_id_seq'::regclass);


--
-- Name: merge_request_metrics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_metrics ALTER COLUMN id SET DEFAULT nextval('public.merge_request_metrics_id_seq'::regclass);


--
-- Name: merge_request_reviewers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_reviewers ALTER COLUMN id SET DEFAULT nextval('public.merge_request_reviewers_id_seq'::regclass);


--
-- Name: merge_request_user_mentions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_user_mentions ALTER COLUMN id SET DEFAULT nextval('public.merge_request_user_mentions_id_seq'::regclass);


--
-- Name: merge_requests id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests ALTER COLUMN id SET DEFAULT nextval('public.merge_requests_id_seq'::regclass);


--
-- Name: merge_requests_closing_issues id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests_closing_issues ALTER COLUMN id SET DEFAULT nextval('public.merge_requests_closing_issues_id_seq'::regclass);


--
-- Name: merge_trains id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_trains ALTER COLUMN id SET DEFAULT nextval('public.merge_trains_id_seq'::regclass);


--
-- Name: metrics_dashboard_annotations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.metrics_dashboard_annotations ALTER COLUMN id SET DEFAULT nextval('public.metrics_dashboard_annotations_id_seq'::regclass);


--
-- Name: metrics_users_starred_dashboards id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.metrics_users_starred_dashboards ALTER COLUMN id SET DEFAULT nextval('public.metrics_users_starred_dashboards_id_seq'::regclass);


--
-- Name: milestones id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.milestones ALTER COLUMN id SET DEFAULT nextval('public.milestones_id_seq'::regclass);


--
-- Name: namespace_admin_notes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_admin_notes ALTER COLUMN id SET DEFAULT nextval('public.namespace_admin_notes_id_seq'::regclass);


--
-- Name: namespace_statistics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_statistics ALTER COLUMN id SET DEFAULT nextval('public.namespace_statistics_id_seq'::regclass);


--
-- Name: namespaces id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespaces ALTER COLUMN id SET DEFAULT nextval('public.namespaces_id_seq'::regclass);


--
-- Name: note_diff_files id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.note_diff_files ALTER COLUMN id SET DEFAULT nextval('public.note_diff_files_id_seq'::regclass);


--
-- Name: notes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.notes ALTER COLUMN id SET DEFAULT nextval('public.notes_id_seq'::regclass);


--
-- Name: notification_settings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.notification_settings ALTER COLUMN id SET DEFAULT nextval('public.notification_settings_id_seq'::regclass);


--
-- Name: oauth_access_grants id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_access_grants ALTER COLUMN id SET DEFAULT nextval('public.oauth_access_grants_id_seq'::regclass);


--
-- Name: oauth_access_tokens id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_access_tokens ALTER COLUMN id SET DEFAULT nextval('public.oauth_access_tokens_id_seq'::regclass);


--
-- Name: oauth_applications id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_applications ALTER COLUMN id SET DEFAULT nextval('public.oauth_applications_id_seq'::regclass);


--
-- Name: oauth_openid_requests id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_openid_requests ALTER COLUMN id SET DEFAULT nextval('public.oauth_openid_requests_id_seq'::regclass);


--
-- Name: onboarding_progresses id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.onboarding_progresses ALTER COLUMN id SET DEFAULT nextval('public.onboarding_progresses_id_seq'::regclass);


--
-- Name: open_project_tracker_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.open_project_tracker_data ALTER COLUMN id SET DEFAULT nextval('public.open_project_tracker_data_id_seq'::regclass);


--
-- Name: operations_feature_flag_scopes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flag_scopes ALTER COLUMN id SET DEFAULT nextval('public.operations_feature_flag_scopes_id_seq'::regclass);


--
-- Name: operations_feature_flags id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags ALTER COLUMN id SET DEFAULT nextval('public.operations_feature_flags_id_seq'::regclass);


--
-- Name: operations_feature_flags_clients id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags_clients ALTER COLUMN id SET DEFAULT nextval('public.operations_feature_flags_clients_id_seq'::regclass);


--
-- Name: operations_feature_flags_issues id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags_issues ALTER COLUMN id SET DEFAULT nextval('public.operations_feature_flags_issues_id_seq'::regclass);


--
-- Name: operations_scopes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_scopes ALTER COLUMN id SET DEFAULT nextval('public.operations_scopes_id_seq'::regclass);


--
-- Name: operations_strategies id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_strategies ALTER COLUMN id SET DEFAULT nextval('public.operations_strategies_id_seq'::regclass);


--
-- Name: operations_strategies_user_lists id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_strategies_user_lists ALTER COLUMN id SET DEFAULT nextval('public.operations_strategies_user_lists_id_seq'::regclass);


--
-- Name: operations_user_lists id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_user_lists ALTER COLUMN id SET DEFAULT nextval('public.operations_user_lists_id_seq'::regclass);


--
-- Name: packages_build_infos id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_build_infos ALTER COLUMN id SET DEFAULT nextval('public.packages_build_infos_id_seq'::regclass);


--
-- Name: packages_composer_cache_files id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_composer_cache_files ALTER COLUMN id SET DEFAULT nextval('public.packages_composer_cache_files_id_seq'::regclass);


--
-- Name: packages_conan_file_metadata id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_conan_file_metadata ALTER COLUMN id SET DEFAULT nextval('public.packages_conan_file_metadata_id_seq'::regclass);


--
-- Name: packages_conan_metadata id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_conan_metadata ALTER COLUMN id SET DEFAULT nextval('public.packages_conan_metadata_id_seq'::regclass);


--
-- Name: packages_debian_group_architectures id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_architectures ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_group_architectures_id_seq'::regclass);


--
-- Name: packages_debian_group_component_files id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_component_files ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_group_component_files_id_seq'::regclass);


--
-- Name: packages_debian_group_components id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_components ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_group_components_id_seq'::regclass);


--
-- Name: packages_debian_group_distribution_keys id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_distribution_keys ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_group_distribution_keys_id_seq'::regclass);


--
-- Name: packages_debian_group_distributions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_distributions ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_group_distributions_id_seq'::regclass);


--
-- Name: packages_debian_project_architectures id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_architectures ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_project_architectures_id_seq'::regclass);


--
-- Name: packages_debian_project_component_files id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_component_files ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_project_component_files_id_seq'::regclass);


--
-- Name: packages_debian_project_components id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_components ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_project_components_id_seq'::regclass);


--
-- Name: packages_debian_project_distribution_keys id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_distribution_keys ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_project_distribution_keys_id_seq'::regclass);


--
-- Name: packages_debian_project_distributions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_distributions ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_project_distributions_id_seq'::regclass);


--
-- Name: packages_debian_publications id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_publications ALTER COLUMN id SET DEFAULT nextval('public.packages_debian_publications_id_seq'::regclass);


--
-- Name: packages_dependencies id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_dependencies ALTER COLUMN id SET DEFAULT nextval('public.packages_dependencies_id_seq'::regclass);


--
-- Name: packages_dependency_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_dependency_links ALTER COLUMN id SET DEFAULT nextval('public.packages_dependency_links_id_seq'::regclass);


--
-- Name: packages_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_events ALTER COLUMN id SET DEFAULT nextval('public.packages_events_id_seq'::regclass);


--
-- Name: packages_maven_metadata id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_maven_metadata ALTER COLUMN id SET DEFAULT nextval('public.packages_maven_metadata_id_seq'::regclass);


--
-- Name: packages_package_file_build_infos id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_package_file_build_infos ALTER COLUMN id SET DEFAULT nextval('public.packages_package_file_build_infos_id_seq'::regclass);


--
-- Name: packages_package_files id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_package_files ALTER COLUMN id SET DEFAULT nextval('public.packages_package_files_id_seq'::regclass);


--
-- Name: packages_packages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_packages ALTER COLUMN id SET DEFAULT nextval('public.packages_packages_id_seq'::regclass);


--
-- Name: packages_tags id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_tags ALTER COLUMN id SET DEFAULT nextval('public.packages_tags_id_seq'::regclass);


--
-- Name: pages_deployments id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_deployments ALTER COLUMN id SET DEFAULT nextval('public.pages_deployments_id_seq'::regclass);


--
-- Name: pages_domain_acme_orders id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_domain_acme_orders ALTER COLUMN id SET DEFAULT nextval('public.pages_domain_acme_orders_id_seq'::regclass);


--
-- Name: pages_domains id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_domains ALTER COLUMN id SET DEFAULT nextval('public.pages_domains_id_seq'::regclass);


--
-- Name: partitioned_foreign_keys id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.partitioned_foreign_keys ALTER COLUMN id SET DEFAULT nextval('public.partitioned_foreign_keys_id_seq'::regclass);


--
-- Name: path_locks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.path_locks ALTER COLUMN id SET DEFAULT nextval('public.path_locks_id_seq'::regclass);


--
-- Name: personal_access_tokens id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.personal_access_tokens ALTER COLUMN id SET DEFAULT nextval('public.personal_access_tokens_id_seq'::regclass);


--
-- Name: plan_limits id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.plan_limits ALTER COLUMN id SET DEFAULT nextval('public.plan_limits_id_seq'::regclass);


--
-- Name: plans id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.plans ALTER COLUMN id SET DEFAULT nextval('public.plans_id_seq'::regclass);


--
-- Name: pool_repositories id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pool_repositories ALTER COLUMN id SET DEFAULT nextval('public.pool_repositories_id_seq'::regclass);


--
-- Name: postgres_async_indexes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.postgres_async_indexes ALTER COLUMN id SET DEFAULT nextval('public.postgres_async_indexes_id_seq'::regclass);


--
-- Name: postgres_reindex_actions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.postgres_reindex_actions ALTER COLUMN id SET DEFAULT nextval('public.postgres_reindex_actions_id_seq'::regclass);


--
-- Name: product_analytics_events_experimental id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.product_analytics_events_experimental ALTER COLUMN id SET DEFAULT nextval('public.product_analytics_events_experimental_id_seq'::regclass);


--
-- Name: programming_languages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.programming_languages ALTER COLUMN id SET DEFAULT nextval('public.programming_languages_id_seq'::regclass);


--
-- Name: project_aliases id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_aliases ALTER COLUMN id SET DEFAULT nextval('public.project_aliases_id_seq'::regclass);


--
-- Name: project_auto_devops id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_auto_devops ALTER COLUMN id SET DEFAULT nextval('public.project_auto_devops_id_seq'::regclass);


--
-- Name: project_ci_cd_settings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_ci_cd_settings ALTER COLUMN id SET DEFAULT nextval('public.project_ci_cd_settings_id_seq'::regclass);


--
-- Name: project_ci_feature_usages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_ci_feature_usages ALTER COLUMN id SET DEFAULT nextval('public.project_ci_feature_usages_id_seq'::regclass);


--
-- Name: project_compliance_framework_settings project_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_compliance_framework_settings ALTER COLUMN project_id SET DEFAULT nextval('public.project_compliance_framework_settings_project_id_seq'::regclass);


--
-- Name: project_custom_attributes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_custom_attributes ALTER COLUMN id SET DEFAULT nextval('public.project_custom_attributes_id_seq'::regclass);


--
-- Name: project_daily_statistics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_daily_statistics ALTER COLUMN id SET DEFAULT nextval('public.project_daily_statistics_id_seq'::regclass);


--
-- Name: project_deploy_tokens id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_deploy_tokens ALTER COLUMN id SET DEFAULT nextval('public.project_deploy_tokens_id_seq'::regclass);


--
-- Name: project_export_jobs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_export_jobs ALTER COLUMN id SET DEFAULT nextval('public.project_export_jobs_id_seq'::regclass);


--
-- Name: project_features id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_features ALTER COLUMN id SET DEFAULT nextval('public.project_features_id_seq'::regclass);


--
-- Name: project_group_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_group_links ALTER COLUMN id SET DEFAULT nextval('public.project_group_links_id_seq'::regclass);


--
-- Name: project_import_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_import_data ALTER COLUMN id SET DEFAULT nextval('public.project_import_data_id_seq'::regclass);


--
-- Name: project_incident_management_settings project_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_incident_management_settings ALTER COLUMN project_id SET DEFAULT nextval('public.project_incident_management_settings_project_id_seq'::regclass);


--
-- Name: project_mirror_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_mirror_data ALTER COLUMN id SET DEFAULT nextval('public.project_mirror_data_id_seq'::regclass);


--
-- Name: project_repositories id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repositories ALTER COLUMN id SET DEFAULT nextval('public.project_repositories_id_seq'::regclass);


--
-- Name: project_repository_states id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repository_states ALTER COLUMN id SET DEFAULT nextval('public.project_repository_states_id_seq'::regclass);


--
-- Name: project_repository_storage_moves id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repository_storage_moves ALTER COLUMN id SET DEFAULT nextval('public.project_repository_storage_moves_id_seq'::regclass);


--
-- Name: project_security_settings project_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_security_settings ALTER COLUMN project_id SET DEFAULT nextval('public.project_security_settings_project_id_seq'::regclass);


--
-- Name: project_statistics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_statistics ALTER COLUMN id SET DEFAULT nextval('public.project_statistics_id_seq'::regclass);


--
-- Name: project_tracing_settings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_tracing_settings ALTER COLUMN id SET DEFAULT nextval('public.project_tracing_settings_id_seq'::regclass);


--
-- Name: projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.projects ALTER COLUMN id SET DEFAULT nextval('public.projects_id_seq'::regclass);


--
-- Name: prometheus_alert_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alert_events ALTER COLUMN id SET DEFAULT nextval('public.prometheus_alert_events_id_seq'::regclass);


--
-- Name: prometheus_alerts id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alerts ALTER COLUMN id SET DEFAULT nextval('public.prometheus_alerts_id_seq'::regclass);


--
-- Name: prometheus_metrics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_metrics ALTER COLUMN id SET DEFAULT nextval('public.prometheus_metrics_id_seq'::regclass);


--
-- Name: protected_branch_merge_access_levels id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_merge_access_levels ALTER COLUMN id SET DEFAULT nextval('public.protected_branch_merge_access_levels_id_seq'::regclass);


--
-- Name: protected_branch_push_access_levels id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_push_access_levels ALTER COLUMN id SET DEFAULT nextval('public.protected_branch_push_access_levels_id_seq'::regclass);


--
-- Name: protected_branch_unprotect_access_levels id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_unprotect_access_levels ALTER COLUMN id SET DEFAULT nextval('public.protected_branch_unprotect_access_levels_id_seq'::regclass);


--
-- Name: protected_branches id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branches ALTER COLUMN id SET DEFAULT nextval('public.protected_branches_id_seq'::regclass);


--
-- Name: protected_environment_deploy_access_levels id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environment_deploy_access_levels ALTER COLUMN id SET DEFAULT nextval('public.protected_environment_deploy_access_levels_id_seq'::regclass);


--
-- Name: protected_environments id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environments ALTER COLUMN id SET DEFAULT nextval('public.protected_environments_id_seq'::regclass);


--
-- Name: protected_tag_create_access_levels id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_tag_create_access_levels ALTER COLUMN id SET DEFAULT nextval('public.protected_tag_create_access_levels_id_seq'::regclass);


--
-- Name: protected_tags id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_tags ALTER COLUMN id SET DEFAULT nextval('public.protected_tags_id_seq'::regclass);


--
-- Name: push_rules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.push_rules ALTER COLUMN id SET DEFAULT nextval('public.push_rules_id_seq'::regclass);


--
-- Name: raw_usage_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.raw_usage_data ALTER COLUMN id SET DEFAULT nextval('public.raw_usage_data_id_seq'::regclass);


--
-- Name: redirect_routes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.redirect_routes ALTER COLUMN id SET DEFAULT nextval('public.redirect_routes_id_seq'::regclass);


--
-- Name: release_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.release_links ALTER COLUMN id SET DEFAULT nextval('public.release_links_id_seq'::regclass);


--
-- Name: releases id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.releases ALTER COLUMN id SET DEFAULT nextval('public.releases_id_seq'::regclass);


--
-- Name: remote_mirrors id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.remote_mirrors ALTER COLUMN id SET DEFAULT nextval('public.remote_mirrors_id_seq'::regclass);


--
-- Name: required_code_owners_sections id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.required_code_owners_sections ALTER COLUMN id SET DEFAULT nextval('public.required_code_owners_sections_id_seq'::regclass);


--
-- Name: requirements id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements ALTER COLUMN id SET DEFAULT nextval('public.requirements_id_seq'::regclass);


--
-- Name: requirements_management_test_reports id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements_management_test_reports ALTER COLUMN id SET DEFAULT nextval('public.requirements_management_test_reports_id_seq'::regclass);


--
-- Name: resource_iteration_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_iteration_events ALTER COLUMN id SET DEFAULT nextval('public.resource_iteration_events_id_seq'::regclass);


--
-- Name: resource_label_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_label_events ALTER COLUMN id SET DEFAULT nextval('public.resource_label_events_id_seq'::regclass);


--
-- Name: resource_milestone_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_milestone_events ALTER COLUMN id SET DEFAULT nextval('public.resource_milestone_events_id_seq'::regclass);


--
-- Name: resource_state_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_state_events ALTER COLUMN id SET DEFAULT nextval('public.resource_state_events_id_seq'::regclass);


--
-- Name: resource_weight_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_weight_events ALTER COLUMN id SET DEFAULT nextval('public.resource_weight_events_id_seq'::regclass);


--
-- Name: reviews id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.reviews ALTER COLUMN id SET DEFAULT nextval('public.reviews_id_seq'::regclass);


--
-- Name: routes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.routes ALTER COLUMN id SET DEFAULT nextval('public.routes_id_seq'::regclass);


--
-- Name: saml_group_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.saml_group_links ALTER COLUMN id SET DEFAULT nextval('public.saml_group_links_id_seq'::regclass);


--
-- Name: saml_providers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.saml_providers ALTER COLUMN id SET DEFAULT nextval('public.saml_providers_id_seq'::regclass);


--
-- Name: scim_identities id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.scim_identities ALTER COLUMN id SET DEFAULT nextval('public.scim_identities_id_seq'::regclass);


--
-- Name: scim_oauth_access_tokens id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.scim_oauth_access_tokens ALTER COLUMN id SET DEFAULT nextval('public.scim_oauth_access_tokens_id_seq'::regclass);


--
-- Name: security_findings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_findings ALTER COLUMN id SET DEFAULT nextval('public.security_findings_id_seq'::regclass);


--
-- Name: security_orchestration_policy_configurations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_orchestration_policy_configurations ALTER COLUMN id SET DEFAULT nextval('public.security_orchestration_policy_configurations_id_seq'::regclass);


--
-- Name: security_orchestration_policy_rule_schedules id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_orchestration_policy_rule_schedules ALTER COLUMN id SET DEFAULT nextval('public.security_orchestration_policy_rule_schedules_id_seq'::regclass);


--
-- Name: security_scans id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_scans ALTER COLUMN id SET DEFAULT nextval('public.security_scans_id_seq'::regclass);


--
-- Name: self_managed_prometheus_alert_events id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.self_managed_prometheus_alert_events ALTER COLUMN id SET DEFAULT nextval('public.self_managed_prometheus_alert_events_id_seq'::regclass);


--
-- Name: sent_notifications id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sent_notifications ALTER COLUMN id SET DEFAULT nextval('public.sent_notifications_id_seq'::regclass);


--
-- Name: sentry_issues id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sentry_issues ALTER COLUMN id SET DEFAULT nextval('public.sentry_issues_id_seq'::regclass);


--
-- Name: shards id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.shards ALTER COLUMN id SET DEFAULT nextval('public.shards_id_seq'::regclass);


--
-- Name: slack_integrations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.slack_integrations ALTER COLUMN id SET DEFAULT nextval('public.slack_integrations_id_seq'::regclass);


--
-- Name: smartcard_identities id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.smartcard_identities ALTER COLUMN id SET DEFAULT nextval('public.smartcard_identities_id_seq'::regclass);


--
-- Name: snippet_repository_storage_moves id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_repository_storage_moves ALTER COLUMN id SET DEFAULT nextval('public.snippet_repository_storage_moves_id_seq'::regclass);


--
-- Name: snippet_user_mentions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_user_mentions ALTER COLUMN id SET DEFAULT nextval('public.snippet_user_mentions_id_seq'::regclass);


--
-- Name: snippets id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippets ALTER COLUMN id SET DEFAULT nextval('public.snippets_id_seq'::regclass);


--
-- Name: software_license_policies id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.software_license_policies ALTER COLUMN id SET DEFAULT nextval('public.software_license_policies_id_seq'::regclass);


--
-- Name: software_licenses id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.software_licenses ALTER COLUMN id SET DEFAULT nextval('public.software_licenses_id_seq'::regclass);


--
-- Name: spam_logs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.spam_logs ALTER COLUMN id SET DEFAULT nextval('public.spam_logs_id_seq'::regclass);


--
-- Name: sprints id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sprints ALTER COLUMN id SET DEFAULT nextval('public.sprints_id_seq'::regclass);


--
-- Name: status_check_responses id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_check_responses ALTER COLUMN id SET DEFAULT nextval('public.status_check_responses_id_seq'::regclass);


--
-- Name: status_page_published_incidents id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_page_published_incidents ALTER COLUMN id SET DEFAULT nextval('public.status_page_published_incidents_id_seq'::regclass);


--
-- Name: status_page_settings project_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_page_settings ALTER COLUMN project_id SET DEFAULT nextval('public.status_page_settings_project_id_seq'::regclass);


--
-- Name: subscriptions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.subscriptions ALTER COLUMN id SET DEFAULT nextval('public.subscriptions_id_seq'::regclass);


--
-- Name: suggestions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.suggestions ALTER COLUMN id SET DEFAULT nextval('public.suggestions_id_seq'::regclass);


--
-- Name: system_note_metadata id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.system_note_metadata ALTER COLUMN id SET DEFAULT nextval('public.system_note_metadata_id_seq'::regclass);


--
-- Name: taggings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.taggings ALTER COLUMN id SET DEFAULT nextval('public.taggings_id_seq'::regclass);


--
-- Name: tags id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.tags ALTER COLUMN id SET DEFAULT nextval('public.tags_id_seq'::regclass);


--
-- Name: term_agreements id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.term_agreements ALTER COLUMN id SET DEFAULT nextval('public.term_agreements_id_seq'::regclass);


--
-- Name: terraform_state_versions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_state_versions ALTER COLUMN id SET DEFAULT nextval('public.terraform_state_versions_id_seq'::regclass);


--
-- Name: terraform_states id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_states ALTER COLUMN id SET DEFAULT nextval('public.terraform_states_id_seq'::regclass);


--
-- Name: timelogs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.timelogs ALTER COLUMN id SET DEFAULT nextval('public.timelogs_id_seq'::regclass);


--
-- Name: todos id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.todos ALTER COLUMN id SET DEFAULT nextval('public.todos_id_seq'::regclass);


--
-- Name: token_with_ivs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.token_with_ivs ALTER COLUMN id SET DEFAULT nextval('public.token_with_ivs_id_seq'::regclass);


--
-- Name: trending_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.trending_projects ALTER COLUMN id SET DEFAULT nextval('public.trending_projects_id_seq'::regclass);


--
-- Name: u2f_registrations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.u2f_registrations ALTER COLUMN id SET DEFAULT nextval('public.u2f_registrations_id_seq'::regclass);


--
-- Name: upcoming_reconciliations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.upcoming_reconciliations ALTER COLUMN id SET DEFAULT nextval('public.upcoming_reconciliations_id_seq'::regclass);


--
-- Name: uploads id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.uploads ALTER COLUMN id SET DEFAULT nextval('public.uploads_id_seq'::regclass);


--
-- Name: user_agent_details id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_agent_details ALTER COLUMN id SET DEFAULT nextval('public.user_agent_details_id_seq'::regclass);


--
-- Name: user_callouts id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_callouts ALTER COLUMN id SET DEFAULT nextval('public.user_callouts_id_seq'::regclass);


--
-- Name: user_canonical_emails id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_canonical_emails ALTER COLUMN id SET DEFAULT nextval('public.user_canonical_emails_id_seq'::regclass);


--
-- Name: user_custom_attributes id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_custom_attributes ALTER COLUMN id SET DEFAULT nextval('public.user_custom_attributes_id_seq'::regclass);


--
-- Name: user_details user_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_details ALTER COLUMN user_id SET DEFAULT nextval('public.user_details_user_id_seq'::regclass);


--
-- Name: user_permission_export_uploads id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_permission_export_uploads ALTER COLUMN id SET DEFAULT nextval('public.user_permission_export_uploads_id_seq'::regclass);


--
-- Name: user_preferences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_preferences ALTER COLUMN id SET DEFAULT nextval('public.user_preferences_id_seq'::regclass);


--
-- Name: user_statuses user_id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_statuses ALTER COLUMN user_id SET DEFAULT nextval('public.user_statuses_user_id_seq'::regclass);


--
-- Name: user_synced_attributes_metadata id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_synced_attributes_metadata ALTER COLUMN id SET DEFAULT nextval('public.user_synced_attributes_metadata_id_seq'::regclass);


--
-- Name: users id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass);


--
-- Name: users_ops_dashboard_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_ops_dashboard_projects ALTER COLUMN id SET DEFAULT nextval('public.users_ops_dashboard_projects_id_seq'::regclass);


--
-- Name: users_star_projects id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_star_projects ALTER COLUMN id SET DEFAULT nextval('public.users_star_projects_id_seq'::regclass);


--
-- Name: users_statistics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_statistics ALTER COLUMN id SET DEFAULT nextval('public.users_statistics_id_seq'::regclass);


--
-- Name: vulnerabilities id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities ALTER COLUMN id SET DEFAULT nextval('public.vulnerabilities_id_seq'::regclass);


--
-- Name: vulnerability_exports id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_exports ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_exports_id_seq'::regclass);


--
-- Name: vulnerability_external_issue_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_external_issue_links ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_external_issue_links_id_seq'::regclass);


--
-- Name: vulnerability_feedback id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_feedback ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_feedback_id_seq'::regclass);


--
-- Name: vulnerability_finding_evidence_assets id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_assets ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_evidence_assets_id_seq'::regclass);


--
-- Name: vulnerability_finding_evidence_headers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_headers ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_evidence_headers_id_seq'::regclass);


--
-- Name: vulnerability_finding_evidence_requests id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_requests ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_evidence_requests_id_seq'::regclass);


--
-- Name: vulnerability_finding_evidence_responses id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_responses ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_evidence_responses_id_seq'::regclass);


--
-- Name: vulnerability_finding_evidence_sources id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_sources ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_evidence_sources_id_seq'::regclass);


--
-- Name: vulnerability_finding_evidence_supporting_messages id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_supporting_messages ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_evidence_supporting_messages_id_seq'::regclass);


--
-- Name: vulnerability_finding_evidences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidences ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_evidences_id_seq'::regclass);


--
-- Name: vulnerability_finding_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_links ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_links_id_seq'::regclass);


--
-- Name: vulnerability_finding_signatures id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_signatures ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_finding_signatures_id_seq'::regclass);


--
-- Name: vulnerability_findings_remediations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_findings_remediations ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_findings_remediations_id_seq'::regclass);


--
-- Name: vulnerability_flags id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_flags ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_flags_id_seq'::regclass);


--
-- Name: vulnerability_historical_statistics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_historical_statistics ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_historical_statistics_id_seq'::regclass);


--
-- Name: vulnerability_identifiers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_identifiers ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_identifiers_id_seq'::regclass);


--
-- Name: vulnerability_issue_links id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_issue_links ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_issue_links_id_seq'::regclass);


--
-- Name: vulnerability_occurrence_identifiers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrence_identifiers ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_occurrence_identifiers_id_seq'::regclass);


--
-- Name: vulnerability_occurrence_pipelines id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrence_pipelines ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_occurrence_pipelines_id_seq'::regclass);


--
-- Name: vulnerability_occurrences id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrences ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_occurrences_id_seq'::regclass);


--
-- Name: vulnerability_remediations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_remediations ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_remediations_id_seq'::regclass);


--
-- Name: vulnerability_scanners id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_scanners ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_scanners_id_seq'::regclass);


--
-- Name: vulnerability_statistics id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_statistics ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_statistics_id_seq'::regclass);


--
-- Name: vulnerability_user_mentions id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_user_mentions ALTER COLUMN id SET DEFAULT nextval('public.vulnerability_user_mentions_id_seq'::regclass);


--
-- Name: web_hook_logs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.web_hook_logs ALTER COLUMN id SET DEFAULT nextval('public.web_hook_logs_id_seq'::regclass);


--
-- Name: web_hooks id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.web_hooks ALTER COLUMN id SET DEFAULT nextval('public.web_hooks_id_seq'::regclass);


--
-- Name: webauthn_registrations id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.webauthn_registrations ALTER COLUMN id SET DEFAULT nextval('public.webauthn_registrations_id_seq'::regclass);


--
-- Name: wiki_page_meta id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.wiki_page_meta ALTER COLUMN id SET DEFAULT nextval('public.wiki_page_meta_id_seq'::regclass);


--
-- Name: wiki_page_slugs id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.wiki_page_slugs ALTER COLUMN id SET DEFAULT nextval('public.wiki_page_slugs_id_seq'::regclass);


--
-- Name: work_item_types id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.work_item_types ALTER COLUMN id SET DEFAULT nextval('public.work_item_types_id_seq'::regclass);


--
-- Name: x509_certificates id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_certificates ALTER COLUMN id SET DEFAULT nextval('public.x509_certificates_id_seq'::regclass);


--
-- Name: x509_commit_signatures id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_commit_signatures ALTER COLUMN id SET DEFAULT nextval('public.x509_commit_signatures_id_seq'::regclass);


--
-- Name: x509_issuers id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_issuers ALTER COLUMN id SET DEFAULT nextval('public.x509_issuers_id_seq'::regclass);


--
-- Name: zentao_tracker_data id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.zentao_tracker_data ALTER COLUMN id SET DEFAULT nextval('public.zentao_tracker_data_id_seq'::regclass);


--
-- Name: zoom_meetings id; Type: DEFAULT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.zoom_meetings ALTER COLUMN id SET DEFAULT nextval('public.zoom_meetings_id_seq'::regclass);


--
-- Data for Name: audit_events_000000; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.audit_events_000000 (id, author_id, entity_id, entity_type, details, ip_address, author_name, entity_path, target_details, created_at, target_type, target_id) FROM stdin;
\.


--
-- Data for Name: audit_events_202109; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.audit_events_202109 (id, author_id, entity_id, entity_type, details, ip_address, author_name, entity_path, target_details, created_at, target_type, target_id) FROM stdin;
1	1	1	User	---\n:with: standard\n:target_id: 1\n:target_type: User\n:target_details: Administrator\n:author_name: Administrator\n	\N	Administrator	\N	Administrator	2021-09-07 08:09:12.266064	User	1
2	1	1	User	---\n:with: standard\n:target_id: 1\n:target_type: User\n:target_details: Administrator\n:author_name: Administrator\n	\N	Administrator	\N	Administrator	2021-09-07 10:38:44.711305	User	1
3	4	4	User	---\n:with: standard\n:target_id: 4\n:target_type: User\n:target_details: Jahid Hasan\n:author_name: Jahid Hasan\n	\N	Jahid Hasan	\N	Jahid Hasan	2021-09-07 10:55:11.883273	User	4
4	1	1	User	---\n:with: standard\n:target_id: 1\n:target_type: User\n:target_details: Administrator\n:author_name: Administrator\n	\N	Administrator	\N	Administrator	2021-09-07 10:56:25.966502	User	1
5	1	1	User	---\n:with: standard\n:target_id: 1\n:target_type: User\n:target_details: Administrator\n:author_name: Administrator\n	\N	Administrator	\N	Administrator	2021-09-12 03:01:41.736221	User	1
6	1	1	User	---\n:with: standard\n:target_id: 1\n:target_type: User\n:target_details: Administrator\n:author_name: Administrator\n	\N	Administrator	\N	Administrator	2021-09-12 03:10:18.382979	User	1
7	6	6	User	---\n:with: standard\n:target_id: 6\n:target_type: User\n:target_details: Sabbir Ahmed\n:author_name: Sabbir Ahmed\n	\N	Sabbir Ahmed	\N	Sabbir Ahmed	2021-09-12 03:14:54.354506	User	6
8	7	7	User	---\n:with: standard\n:target_id: 7\n:target_type: User\n:target_details: Sabbir Ahmed\n:author_name: Sabbir Ahmed\n	\N	Sabbir Ahmed	\N	Sabbir Ahmed	2021-09-12 03:26:58.695521	User	7
\.


--
-- Data for Name: audit_events_202110; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.audit_events_202110 (id, author_id, entity_id, entity_type, details, ip_address, author_name, entity_path, target_details, created_at, target_type, target_id) FROM stdin;
\.


--
-- Data for Name: audit_events_202111; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.audit_events_202111 (id, author_id, entity_id, entity_type, details, ip_address, author_name, entity_path, target_details, created_at, target_type, target_id) FROM stdin;
\.


--
-- Data for Name: audit_events_202112; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.audit_events_202112 (id, author_id, entity_id, entity_type, details, ip_address, author_name, entity_path, target_details, created_at, target_type, target_id) FROM stdin;
\.


--
-- Data for Name: audit_events_202201; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.audit_events_202201 (id, author_id, entity_id, entity_type, details, ip_address, author_name, entity_path, target_details, created_at, target_type, target_id) FROM stdin;
\.


--
-- Data for Name: audit_events_202202; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.audit_events_202202 (id, author_id, entity_id, entity_type, details, ip_address, author_name, entity_path, target_details, created_at, target_type, target_id) FROM stdin;
\.


--
-- Data for Name: audit_events_202203; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.audit_events_202203 (id, author_id, entity_id, entity_type, details, ip_address, author_name, entity_path, target_details, created_at, target_type, target_id) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202106; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202106 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202107; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202107 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202108; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202108 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202109; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202109 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202110; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202110 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202111; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202111 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202112; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202112 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202201; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202201 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202202; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202202 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: web_hook_logs_202203; Type: TABLE DATA; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

COPY gitlab_partitions_dynamic.web_hook_logs_202203 (id, web_hook_id, trigger, url, request_headers, request_data, response_headers, response_body, response_status, execution_duration, internal_error_message, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_00; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_00 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_01; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_01 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_02; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_02 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_03; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_03 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_04; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_04 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_05; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_05 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_06; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_06 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_07; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_07 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_08; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_08 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_09; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_09 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_10; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_10 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_11; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_11 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_12; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_12 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_13; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_13 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_14; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_14 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_15; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_15 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_16; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_16 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_17; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_17 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_18; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_18 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_19; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_19 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_20; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_20 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_21; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_21 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_22; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_22 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_23; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_23 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_24; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_24 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_25; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_25 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_26; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_26 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_27; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_27 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_28; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_28 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_29; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_29 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_30; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_30 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_31; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_31 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_32; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_32 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_33; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_33 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_34; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_34 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_35; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_35 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_36; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_36 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_37; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_37 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_38; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_38 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_39; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_39 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_40; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_40 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_41; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_41 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_42; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_42 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_43; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_43 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_44; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_44 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_45; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_45 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_46; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_46 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_47; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_47 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_48; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_48 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_49; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_49 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_50; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_50 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_51; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_51 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_52; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_52 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_53; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_53 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_54; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_54 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_55; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_55 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_56; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_56 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_57; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_57 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_58; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_58 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_59; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_59 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_60; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_60 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_61; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_61 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_62; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_62 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: product_analytics_events_experimental_63; Type: TABLE DATA; Schema: gitlab_partitions_static; Owner: gitlab
--

COPY gitlab_partitions_static.product_analytics_events_experimental_63 (id, project_id, platform, etl_tstamp, collector_tstamp, dvce_created_tstamp, event, event_id, txn_id, name_tracker, v_tracker, v_collector, v_etl, user_id, user_ipaddress, user_fingerprint, domain_userid, domain_sessionidx, network_userid, geo_country, geo_region, geo_city, geo_zipcode, geo_latitude, geo_longitude, geo_region_name, ip_isp, ip_organization, ip_domain, ip_netspeed, page_url, page_title, page_referrer, page_urlscheme, page_urlhost, page_urlport, page_urlpath, page_urlquery, page_urlfragment, refr_urlscheme, refr_urlhost, refr_urlport, refr_urlpath, refr_urlquery, refr_urlfragment, refr_medium, refr_source, refr_term, mkt_medium, mkt_source, mkt_term, mkt_content, mkt_campaign, se_category, se_action, se_label, se_property, se_value, tr_orderid, tr_affiliation, tr_total, tr_tax, tr_shipping, tr_city, tr_state, tr_country, ti_orderid, ti_sku, ti_name, ti_category, ti_price, ti_quantity, pp_xoffset_min, pp_xoffset_max, pp_yoffset_min, pp_yoffset_max, useragent, br_name, br_family, br_version, br_type, br_renderengine, br_lang, br_features_pdf, br_features_flash, br_features_java, br_features_director, br_features_quicktime, br_features_realplayer, br_features_windowsmedia, br_features_gears, br_features_silverlight, br_cookies, br_colordepth, br_viewwidth, br_viewheight, os_name, os_family, os_manufacturer, os_timezone, dvce_type, dvce_ismobile, dvce_screenwidth, dvce_screenheight, doc_charset, doc_width, doc_height, tr_currency, tr_total_base, tr_tax_base, tr_shipping_base, ti_currency, ti_price_base, base_currency, geo_timezone, mkt_clickid, mkt_network, etl_tags, dvce_sent_tstamp, refr_domain_userid, refr_dvce_tstamp, domain_sessionid, derived_tstamp, event_vendor, event_name, event_format, event_version, event_fingerprint, true_tstamp) FROM stdin;
\.


--
-- Data for Name: abuse_reports; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.abuse_reports (id, reporter_id, user_id, message, created_at, updated_at, message_html, cached_markdown_version) FROM stdin;
\.


--
-- Data for Name: alert_management_alert_assignees; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.alert_management_alert_assignees (id, user_id, alert_id) FROM stdin;
\.


--
-- Data for Name: alert_management_alert_user_mentions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.alert_management_alert_user_mentions (id, alert_management_alert_id, note_id, mentioned_users_ids, mentioned_projects_ids, mentioned_groups_ids) FROM stdin;
\.


--
-- Data for Name: alert_management_alerts; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.alert_management_alerts (id, created_at, updated_at, started_at, ended_at, events, iid, severity, status, fingerprint, issue_id, project_id, title, description, service, monitoring_tool, hosts, payload, prometheus_alert_id, environment_id, domain) FROM stdin;
\.


--
-- Data for Name: alert_management_http_integrations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.alert_management_http_integrations (id, created_at, updated_at, project_id, active, encrypted_token, encrypted_token_iv, endpoint_identifier, name, payload_example, payload_attribute_mapping) FROM stdin;
\.


--
-- Data for Name: allowed_email_domains; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.allowed_email_domains (id, created_at, updated_at, group_id, domain) FROM stdin;
\.


--
-- Data for Name: analytics_cycle_analytics_group_stages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_cycle_analytics_group_stages (id, created_at, updated_at, relative_position, start_event_identifier, end_event_identifier, group_id, start_event_label_id, end_event_label_id, hidden, custom, name, group_value_stream_id, stage_event_hash_id) FROM stdin;
\.


--
-- Data for Name: analytics_cycle_analytics_group_value_streams; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_cycle_analytics_group_value_streams (id, created_at, updated_at, group_id, name) FROM stdin;
\.


--
-- Data for Name: analytics_cycle_analytics_project_stages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_cycle_analytics_project_stages (id, created_at, updated_at, relative_position, start_event_identifier, end_event_identifier, project_id, start_event_label_id, end_event_label_id, hidden, custom, name, project_value_stream_id, stage_event_hash_id) FROM stdin;
\.


--
-- Data for Name: analytics_cycle_analytics_project_value_streams; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_cycle_analytics_project_value_streams (id, created_at, updated_at, project_id, name) FROM stdin;
\.


--
-- Data for Name: analytics_cycle_analytics_stage_event_hashes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_cycle_analytics_stage_event_hashes (id, hash_sha256) FROM stdin;
\.


--
-- Data for Name: analytics_devops_adoption_segments; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_devops_adoption_segments (id, last_recorded_at, created_at, updated_at, namespace_id, display_namespace_id) FROM stdin;
\.


--
-- Data for Name: analytics_devops_adoption_snapshots; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_devops_adoption_snapshots (id, segment_id, recorded_at, issue_opened, merge_request_opened, merge_request_approved, runner_configured, pipeline_succeeded, deploy_succeeded, security_scan_succeeded, end_time, total_projects_count, code_owners_used_count, namespace_id, sast_enabled_count, dast_enabled_count, dependency_scanning_enabled_count, coverage_fuzzing_enabled_count, vulnerability_management_used_count) FROM stdin;
\.


--
-- Data for Name: analytics_language_trend_repository_languages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_language_trend_repository_languages (file_count, programming_language_id, project_id, loc, bytes, percentage, snapshot_date) FROM stdin;
\.


--
-- Data for Name: analytics_usage_trends_measurements; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.analytics_usage_trends_measurements (id, count, recorded_at, identifier) FROM stdin;
\.


--
-- Data for Name: appearances; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.appearances (id, title, description, logo, updated_by, header_logo, created_at, updated_at, description_html, cached_markdown_version, new_project_guidelines, new_project_guidelines_html, header_message, header_message_html, footer_message, footer_message_html, message_background_color, message_font_color, favicon, email_header_and_footer_enabled, profile_image_guidelines, profile_image_guidelines_html) FROM stdin;
\.


--
-- Data for Name: application_setting_terms; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.application_setting_terms (id, cached_markdown_version, terms, terms_html) FROM stdin;
\.


--
-- Data for Name: application_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.application_settings (id, default_projects_limit, signup_enabled, gravatar_enabled, sign_in_text, created_at, updated_at, home_page_url, default_branch_protection, help_text, restricted_visibility_levels, version_check_enabled, max_attachment_size, default_project_visibility, default_snippet_visibility, user_oauth_applications, after_sign_out_path, session_expire_delay, import_sources, help_page_text, shared_runners_enabled, max_artifacts_size, runners_registration_token, max_pages_size, require_two_factor_authentication, two_factor_grace_period, metrics_enabled, metrics_host, metrics_pool_size, metrics_timeout, metrics_method_call_threshold, recaptcha_enabled, metrics_port, akismet_enabled, metrics_sample_interval, email_author_in_body, default_group_visibility, repository_checks_enabled, shared_runners_text, metrics_packet_size, disabled_oauth_sign_in_sources, health_check_access_token, send_user_confirmation_email, container_registry_token_expire_delay, after_sign_up_text, user_default_external, elasticsearch_indexing, elasticsearch_search, repository_storages, enabled_git_access_protocol, usage_ping_enabled, sign_in_text_html, help_page_text_html, shared_runners_text_html, after_sign_up_text_html, rsa_key_restriction, dsa_key_restriction, ecdsa_key_restriction, ed25519_key_restriction, housekeeping_enabled, housekeeping_bitmaps_enabled, housekeeping_incremental_repack_period, housekeeping_full_repack_period, housekeeping_gc_period, html_emails_enabled, plantuml_url, plantuml_enabled, shared_runners_minutes, repository_size_limit, terminal_max_session_time, unique_ips_limit_per_user, unique_ips_limit_time_window, unique_ips_limit_enabled, default_artifacts_expire_in, elasticsearch_url, elasticsearch_aws, elasticsearch_aws_region, elasticsearch_aws_access_key, geo_status_timeout, uuid, polling_interval_multiplier, cached_markdown_version, check_namespace_plan, mirror_max_delay, mirror_max_capacity, mirror_capacity_threshold, prometheus_metrics_enabled, authorized_keys_enabled, help_page_hide_commercial_content, help_page_support_url, slack_app_enabled, slack_app_id, performance_bar_allowed_group_id, allow_group_owners_to_manage_ldap, hashed_storage_enabled, project_export_enabled, auto_devops_enabled, throttle_unauthenticated_enabled, throttle_unauthenticated_requests_per_period, throttle_unauthenticated_period_in_seconds, throttle_authenticated_api_enabled, throttle_authenticated_api_requests_per_period, throttle_authenticated_api_period_in_seconds, throttle_authenticated_web_enabled, throttle_authenticated_web_requests_per_period, throttle_authenticated_web_period_in_seconds, gitaly_timeout_default, gitaly_timeout_medium, gitaly_timeout_fast, mirror_available, password_authentication_enabled_for_web, password_authentication_enabled_for_git, auto_devops_domain, external_authorization_service_enabled, external_authorization_service_url, external_authorization_service_default_label, pages_domain_verification_enabled, user_default_internal_regex, external_authorization_service_timeout, external_auth_client_cert, encrypted_external_auth_client_key, encrypted_external_auth_client_key_iv, encrypted_external_auth_client_key_pass, encrypted_external_auth_client_key_pass_iv, email_additional_text, enforce_terms, file_template_project_id, pseudonymizer_enabled, hide_third_party_offers, snowplow_enabled, snowplow_collector_hostname, snowplow_cookie_domain, web_ide_clientside_preview_enabled, user_show_add_ssh_key_message, custom_project_templates_group_id, usage_stats_set_by_user_id, receive_max_input_size, diff_max_patch_bytes, archive_builds_in_seconds, commit_email_hostname, protected_ci_variables, runners_registration_token_encrypted, local_markdown_version, first_day_of_week, elasticsearch_limit_indexing, default_project_creation, lets_encrypt_notification_email, lets_encrypt_terms_of_service_accepted, geo_node_allowed_ips, elasticsearch_shards, elasticsearch_replicas, encrypted_lets_encrypt_private_key, encrypted_lets_encrypt_private_key_iv, required_instance_ci_template, dns_rebinding_protection_enabled, default_project_deletion_protection, grafana_enabled, lock_memberships_to_ldap, time_tracking_limit_to_hours, grafana_url, login_recaptcha_protection_enabled, outbound_local_requests_whitelist, raw_blob_request_limit, allow_local_requests_from_web_hooks_and_services, allow_local_requests_from_system_hooks, instance_administration_project_id, asset_proxy_enabled, asset_proxy_url, encrypted_asset_proxy_secret_key, encrypted_asset_proxy_secret_key_iv, static_objects_external_storage_url, static_objects_external_storage_auth_token, max_personal_access_token_lifetime, throttle_protected_paths_enabled, throttle_protected_paths_requests_per_period, throttle_protected_paths_period_in_seconds, protected_paths, throttle_incident_management_notification_enabled, throttle_incident_management_notification_period_in_seconds, throttle_incident_management_notification_per_period, push_event_hooks_limit, push_event_activities_limit, custom_http_clone_url_root, deletion_adjourned_period, license_trial_ends_on, eks_integration_enabled, eks_account_id, eks_access_key_id, encrypted_eks_secret_access_key_iv, encrypted_eks_secret_access_key, snowplow_app_id, productivity_analytics_start_date, default_ci_config_path, sourcegraph_enabled, sourcegraph_url, sourcegraph_public_only, snippet_size_limit, minimum_password_length, encrypted_akismet_api_key, encrypted_akismet_api_key_iv, encrypted_elasticsearch_aws_secret_access_key, encrypted_elasticsearch_aws_secret_access_key_iv, encrypted_recaptcha_private_key, encrypted_recaptcha_private_key_iv, encrypted_recaptcha_site_key, encrypted_recaptcha_site_key_iv, encrypted_slack_app_secret, encrypted_slack_app_secret_iv, encrypted_slack_app_verification_token, encrypted_slack_app_verification_token_iv, force_pages_access_control, updating_name_disabled_for_users, instance_administrators_group_id, elasticsearch_indexed_field_length_limit, elasticsearch_max_bulk_size_mb, elasticsearch_max_bulk_concurrency, disable_overriding_approvers_per_merge_request, prevent_merge_requests_author_approval, prevent_merge_requests_committers_approval, email_restrictions_enabled, email_restrictions, npm_package_requests_forwarding, seat_link_enabled, container_expiration_policies_enable_historic_entries, issues_create_limit, push_rule_id, group_owners_can_manage_default_branch_protection, container_registry_vendor, container_registry_version, container_registry_features, spam_check_endpoint_url, spam_check_endpoint_enabled, elasticsearch_pause_indexing, repository_storages_weighted, max_import_size, enforce_pat_expiration, compliance_frameworks, notify_on_unknown_sign_in, default_branch_name, project_import_limit, project_export_limit, project_download_export_limit, group_import_limit, group_export_limit, group_download_export_limit, maintenance_mode, maintenance_mode_message, wiki_page_max_content_bytes, elasticsearch_indexed_file_size_limit_kb, enforce_namespace_storage_limit, container_registry_delete_tags_service_timeout, kroki_url, kroki_enabled, elasticsearch_client_request_timeout, gitpod_enabled, gitpod_url, abuse_notification_email, require_admin_approval_after_user_signup, help_page_documentation_base_url, automatic_purchased_storage_allocation, encrypted_ci_jwt_signing_key, encrypted_ci_jwt_signing_key_iv, container_registry_expiration_policies_worker_capacity, elasticsearch_analyzers_smartcn_enabled, elasticsearch_analyzers_smartcn_search, elasticsearch_analyzers_kuromoji_enabled, elasticsearch_analyzers_kuromoji_search, secret_detection_token_revocation_enabled, secret_detection_token_revocation_url, encrypted_secret_detection_token_revocation_token, encrypted_secret_detection_token_revocation_token_iv, domain_denylist_enabled, domain_denylist, domain_allowlist, new_user_signups_cap, encrypted_cloud_license_auth_token, encrypted_cloud_license_auth_token_iv, secret_detection_revocation_token_types_url, cloud_license_enabled, disable_feed_token, personal_access_token_prefix, rate_limiting_response_text, invisible_captcha_enabled, container_registry_cleanup_tags_service_max_list_size, enforce_ssh_key_expiration, git_two_factor_session_expiry, keep_latest_artifact, notes_create_limit, notes_create_limit_allowlist, kroki_formats, in_product_marketing_emails_enabled, asset_proxy_whitelist, admin_mode, delayed_project_removal, lock_delayed_project_removal, external_pipeline_validation_service_timeout, encrypted_external_pipeline_validation_service_token, encrypted_external_pipeline_validation_service_token_iv, external_pipeline_validation_service_url, throttle_unauthenticated_packages_api_requests_per_period, throttle_unauthenticated_packages_api_period_in_seconds, throttle_authenticated_packages_api_requests_per_period, throttle_authenticated_packages_api_period_in_seconds, throttle_unauthenticated_packages_api_enabled, throttle_authenticated_packages_api_enabled, deactivate_dormant_users, whats_new_variant, encrypted_spam_check_api_key, encrypted_spam_check_api_key_iv, floc_enabled, elasticsearch_username, encrypted_elasticsearch_password, encrypted_elasticsearch_password_iv, diff_max_lines, diff_max_files, valid_runner_registrars, encrypted_mailgun_signing_key, encrypted_mailgun_signing_key_iv, mailgun_events_enabled, usage_ping_features_enabled, encrypted_customers_dot_jwt_signing_key, encrypted_customers_dot_jwt_signing_key_iv, pypi_package_requests_forwarding) FROM stdin;
1	100000	t	t		2021-09-07 08:00:42.50162	2021-09-12 03:32:59.658311		2	\N	--- []\n	t	10	0	0	t		10080	---\n- github\n- bitbucket\n- bitbucket_server\n- gitlab\n- google_code\n- fogbugz\n- git\n- gitlab_project\n- gitea\n- manifest\n- phabricator\n	\N	t	100	\N	100	t	48	f	localhost	16	10	10	f	8089	f	15	f	0	t	\N	1	\N	dJ8cBF__jEPA4EVowKZs	t	5		f	f	f	---\n- default\n	\N	t					0	0	0	0	t	t	10	50	200	t	\N	f	0	0	0	10	3600	f	30 days	http://localhost:9200	f	us-east-1	\N	10	414604bf-f7b6-4186-85bd-1d7c04afdaf8	1.0	1900544	f	300	100	50	t	t	f	\N	f	\N	\N	t	t	t	t	f	3600	3600	f	7200	3600	f	7200	3600	55	30	10	t	t	t	\N	f	\N	\N	t	\N	0.5	\N	\N	\N	\N	\N	\N	f	\N	f	f	f	\N	\N	f	t	\N	\N	\N	204800	\N	users.noreply.54.254.5.202	t	ckCOYjokJU8hbYc2l+STXDXK2e2ReaJ60Avi5SmGqYRDZE/f	0	0	f	2	\N	f	0.0.0.0/0, ::/0	5	1	\N	\N	\N	t	f	f	f	f	/-/grafana	f	{}	300	f	t	1	f	\N	\N	\N	\N	\N	\N	f	10	60	{/users/password,/users/sign_in,/api/v3/session.json,/api/v3/session,/api/v4/session.json,/api/v4/session,/users,/users/confirmation,/unsubscribes/,/import/github/personal_access_token,/admin/session}	f	3600	3600	3	3	\N	7	\N	f	\N	\N	\N	\N	\N	2021-09-07 08:00:41.982214+00	\N	f	\N	t	52428800	8	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	f	f	2	0	10	10	f	f	f	f		t	t	f	300	\N	t			{}	\N	f	f	{"default": 100}	0	t	{}	t	\N	6	6	1	6	6	1	f	\N	52428800	1024	f	250	\N	f	0	f	https://gitpod.io/	\N	t	\N	f	p8Vyw6WtQluzfWDLa/75cnENitEnu8zYqTVRrQq9jhZauzVrqKhpBjcDaYRq\nlpJAY0hdOFayQAWkhbEjevKA1aSbjDVME5SUki+l/YaFIl/82lC8T+35c7No\nGLbzz+2T/T1ZFKnBwVjxv9TDQVjrbCsLbyDf6+Yvk/SddNT47IrzSEf/Jb7r\n/CtJwIWcbdt2IMqfqLg3cetg0WHO1Z9NhW2RoA8azMceDbjDDrlHcsstLXDX\ncpgnEtYD9jUyy2JyKGXEKRiS+ciwDpZ0LiIT+/RoC0VSDp5ajITqQvTewtVG\nEmxurwU2PQHPNtp6N5IclyY3UU81PhYWNRMOxMS2alFrd9dNqOFeuOxyTaEL\nyMUitq/Lx8DrffWRKgmqyscXFDG7O2CEb2T75MAC7zHIoyGwTfEjz/ath2Oo\nCZRFiL5G0fE7ghyd/8R0+o8IRaw85vKnJcOC9YqQWFAdEmNzp/5xikP+IpII\ngkqXWu9bW9YScQlGdJJgGnd00MxU5todr1++ABk6zujVkrjVrKjXnWSvOwjX\nLUvbdSkvqr3/x0Q8Ay8mJsNiD6rgzwtJ9oqyZAWlOpFGlzgUoxLnTph8H9kP\nJDdT/j28TGMr0c5qrLcNEimr8F4O4v9RdSeo+nq80yyK62WZYUJXRad/eJCs\nZh0jfE+dDq17X7pHoJ8zg3oVrIOOEkZp2F1JxMbb2v0g5jDYFjtOe0vr537j\niG1ZVTOYeC06G68ynIPD6BIi++plZpgMW4dUsiVVjVU/kUIulcX1azaZwi9U\neaoEkvUhjI4dyYQT86VZb3FVX7jH4x4n+Dx2H784ru7nJEuxFEeeqUCQ4cFy\nmr7CgumMvaB2B+zDgFmtiZTfo05Pxdv0WDJsvLmgTJWpw+nFJy6Df5OvRzXF\nH0B0dRXB0CTT8Bex/mdvTvCSKt6cp9rlgLcG99JavaGNrU8LGc06QsKCkTTK\nZP7mJ5+x7dE9bfg2C30m45BE+HlfBqulxvG7Z+waMK96AuVi2pvI3XbvV0RH\nJegFnu9/gbb2lscTExa5NVl10o3z+1+vEyuWjGDcs/Fh513ZJwnb+EfiLsPu\nbwJkpWYBBLnLEMiA5YNyiz9J1Bx9BszYctqSojJRRcujaK1iQGkI/gdstLsv\n0hUu3FFslhlqTKhGu/ckxR6AbV0K7s4SMvtl93+nWv9UyWSvqZpAW3AxFFET\nBo2d8Eju7RBd4Qsh0aMpeKBJzZzSsycDs0N6m4qAAvuC2fHAE3wzsDCH509z\nS/czcrrGJizO9Hbb4LTuLQmOaBCOYNRENwX7ymxZ/zfGmlO9431zxcIVrF64\ndfJdzVmlMdyJbmvs2UBtlxaL8NZXso/ZK23bCu9sHiOfYGit9oGBLDr9qczT\nSBYIlyzcfe2OVmPDD7ggGtiVvJJ2Vxw5UcYgWbnJWGCbZwpRt9iTmO4OKeFw\nGQiqNCVc5iVLGkLT1lrrz2XYQg5q3MoooxJcvyJzi7kh05Fhip0pppjt7ioj\nfIWYfLzpmWkYqFVAD5P97qrptYGCs6vus3TprAt17TqbaLwRPBSOmlZD8WNs\nVkl3ZmcBVvcFotCZ8qS1LIlhZg9R0HRNKcvdPyEA49QArWMn8vwM92a93qRW\nLU0bGBOIZIWASA7y69nu7J6I16TYgZZKDMyiCfqT9Gtm5wv7Ct291iSXHqWM\nUHMYvrI7uJZfPp/SatqSejUCuNyyMIKfhHi4tk/B6ghmusabAGQmxCDs+vsR\n+Osu+7CZZ0BEb77XmAKfQlZvugHagpyJaJAFAIGO8WkQx+sYVPZ2RbSFMsJU\nMlR+ZHOBvqr/EaieRmwEqSD8vlWBlGeHolutgGoxMXnLIu4Kdpnw/kx8xl2n\nm3EgBR5bYV9S7VOm7mwKSI6tIpfZQ4MvBz10L8jiQBgrMSmGToqk3aMRQDGF\nNpSynSrND33dqu6ch556OFXI3niGlkiBGTfi6+63BDNvDNkEm2ZaRQTcR1NK\nd06BvorKt3o9HXr0ASXJ8hWnSTu7FHvF4oePuboDxve0nK3VVHnsonQLp9tO\nbaDasVGkrE+IN/ZessixYpQF0u6C+ZSh8+vsIEOU0E8eTDALOtM/rwV2Uhb9\nabYDN5jzc3myEF7bsTZz7tUrYYMwLtYkaQet8g2t/1m7siWoeF1YaL20ZR5e\n8zc3t6buG5zOF7VMelnQgAUnivFiJVfLRrK2tfObRfIBvxX7gUo1v3OhS3Os\nTOxmO1LpUpEXrZgL4EvGp1armoLlzJGjH/qu+ISb\n	vNGIL0LiJ1l30uGe\n	0	f	f	f	f	f	\N	\N	\N	f	\N	\N	\N	\N	\N	\N	f	f	\N	\N	f	200	t	15	t	300	{}	{"bpmn": false, "blockdiag": false, "excalidraw": false}	t	\N	f	f	f	\N	\N	\N	\N	800	15	1000	15	f	f	f	0	\N	\N	f	\N	\N	\N	50000	1000	{project,group}	\N	\N	f	f	\N	\N	t
\.


--
-- Data for Name: approval_merge_request_rule_sources; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_merge_request_rule_sources (id, approval_merge_request_rule_id, approval_project_rule_id) FROM stdin;
\.


--
-- Data for Name: approval_merge_request_rules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_merge_request_rules (id, created_at, updated_at, merge_request_id, approvals_required, name, rule_type, report_type, section, modified_from_project_rule) FROM stdin;
\.


--
-- Data for Name: approval_merge_request_rules_approved_approvers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_merge_request_rules_approved_approvers (id, approval_merge_request_rule_id, user_id) FROM stdin;
\.


--
-- Data for Name: approval_merge_request_rules_groups; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_merge_request_rules_groups (id, approval_merge_request_rule_id, group_id) FROM stdin;
\.


--
-- Data for Name: approval_merge_request_rules_users; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_merge_request_rules_users (id, approval_merge_request_rule_id, user_id) FROM stdin;
\.


--
-- Data for Name: approval_project_rules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_project_rules (id, created_at, updated_at, project_id, approvals_required, name, rule_type, scanners, vulnerabilities_allowed, severity_levels) FROM stdin;
\.


--
-- Data for Name: approval_project_rules_groups; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_project_rules_groups (id, approval_project_rule_id, group_id) FROM stdin;
\.


--
-- Data for Name: approval_project_rules_protected_branches; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_project_rules_protected_branches (approval_project_rule_id, protected_branch_id) FROM stdin;
\.


--
-- Data for Name: approval_project_rules_users; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approval_project_rules_users (id, approval_project_rule_id, user_id) FROM stdin;
\.


--
-- Data for Name: approvals; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approvals (id, merge_request_id, user_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: approver_groups; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approver_groups (id, target_id, target_type, group_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: approvers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.approvers (id, target_id, target_type, user_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: ar_internal_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ar_internal_metadata (key, value, created_at, updated_at) FROM stdin;
environment	production	2021-09-07 08:00:41.294212	2021-09-07 08:00:41.294212
schema_sha1	9e4cf29887c19b180d58cdd906513f15d76a8b30	2021-09-07 08:00:41.304299	2021-09-07 08:00:41.304299
\.


--
-- Data for Name: atlassian_identities; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.atlassian_identities (user_id, created_at, updated_at, expires_at, extern_uid, encrypted_token, encrypted_token_iv, encrypted_refresh_token, encrypted_refresh_token_iv) FROM stdin;
\.


--
-- Data for Name: authentication_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.authentication_events (id, created_at, user_id, result, ip_address, provider, user_name) FROM stdin;
1	2021-09-07 08:09:12.247006+00	1	1	103.125.97.156	standard	Administrator
2	2021-09-07 10:38:44.690625+00	1	1	103.125.97.156	standard	Administrator
4	2021-09-07 10:56:25.960295+00	1	1	103.125.97.156	standard	Administrator
5	2021-09-12 03:01:41.71182+00	1	1	103.87.212.202	standard	Administrator
6	2021-09-12 03:10:18.365582+00	1	1	103.87.212.202	standard	Administrator
3	2021-09-07 10:55:11.866242+00	\N	1	103.125.97.156	standard	Jahid Hasan
7	2021-09-12 03:14:54.348736+00	\N	1	103.87.212.202	standard	Sabbir Ahmed
8	2021-09-12 03:26:58.677663+00	7	1	103.87.212.202	standard	Sabbir Ahmed
\.


--
-- Data for Name: award_emoji; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.award_emoji (id, name, user_id, awardable_id, awardable_type, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: aws_roles; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.aws_roles (user_id, created_at, updated_at, role_arn, role_external_id, region) FROM stdin;
\.


--
-- Data for Name: background_migration_jobs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.background_migration_jobs (id, created_at, updated_at, status, class_name, arguments) FROM stdin;
\.


--
-- Data for Name: badges; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.badges (id, link_url, image_url, project_id, group_id, type, name, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: banned_users; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.banned_users (created_at, updated_at, user_id) FROM stdin;
\.


--
-- Data for Name: batched_background_migration_jobs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.batched_background_migration_jobs (id, created_at, updated_at, started_at, finished_at, batched_background_migration_id, min_value, max_value, batch_size, sub_batch_size, status, attempts, metrics, pause_ms) FROM stdin;
\.


--
-- Data for Name: batched_background_migrations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.batched_background_migrations (id, created_at, updated_at, min_value, max_value, batch_size, sub_batch_size, "interval", status, job_class_name, batch_class_name, table_name, column_name, job_arguments, total_tuple_count, pause_ms) FROM stdin;
\.


--
-- Data for Name: board_assignees; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.board_assignees (id, board_id, assignee_id) FROM stdin;
\.


--
-- Data for Name: board_group_recent_visits; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.board_group_recent_visits (id, created_at, updated_at, user_id, board_id, group_id) FROM stdin;
\.


--
-- Data for Name: board_labels; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.board_labels (id, board_id, label_id) FROM stdin;
\.


--
-- Data for Name: board_project_recent_visits; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.board_project_recent_visits (id, created_at, updated_at, user_id, project_id, board_id) FROM stdin;
\.


--
-- Data for Name: board_user_preferences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.board_user_preferences (id, user_id, board_id, hide_labels, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: boards; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.boards (id, project_id, created_at, updated_at, name, milestone_id, group_id, weight, hide_backlog_list, hide_closed_list, iteration_id) FROM stdin;
\.


--
-- Data for Name: boards_epic_board_labels; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.boards_epic_board_labels (id, epic_board_id, label_id) FROM stdin;
\.


--
-- Data for Name: boards_epic_board_positions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.boards_epic_board_positions (id, epic_board_id, epic_id, relative_position, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: boards_epic_board_recent_visits; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.boards_epic_board_recent_visits (id, user_id, epic_board_id, group_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: boards_epic_boards; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.boards_epic_boards (id, hide_backlog_list, hide_closed_list, group_id, created_at, updated_at, name) FROM stdin;
\.


--
-- Data for Name: boards_epic_list_user_preferences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.boards_epic_list_user_preferences (id, user_id, epic_list_id, created_at, updated_at, collapsed) FROM stdin;
\.


--
-- Data for Name: boards_epic_lists; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.boards_epic_lists (id, created_at, updated_at, epic_board_id, label_id, "position", list_type) FROM stdin;
\.


--
-- Data for Name: boards_epic_user_preferences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.boards_epic_user_preferences (id, board_id, user_id, epic_id, collapsed) FROM stdin;
\.


--
-- Data for Name: broadcast_messages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.broadcast_messages (id, message, starts_at, ends_at, created_at, updated_at, color, font, message_html, cached_markdown_version, target_path, broadcast_type, dismissable) FROM stdin;
\.


--
-- Data for Name: bulk_import_configurations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.bulk_import_configurations (id, bulk_import_id, encrypted_url, encrypted_url_iv, encrypted_access_token, encrypted_access_token_iv, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: bulk_import_entities; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.bulk_import_entities (id, bulk_import_id, parent_id, namespace_id, project_id, source_type, source_full_path, destination_name, destination_namespace, status, jid, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: bulk_import_export_uploads; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.bulk_import_export_uploads (id, export_id, updated_at, export_file) FROM stdin;
\.


--
-- Data for Name: bulk_import_exports; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.bulk_import_exports (id, group_id, project_id, created_at, updated_at, status, relation, jid, error) FROM stdin;
\.


--
-- Data for Name: bulk_import_failures; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.bulk_import_failures (id, bulk_import_entity_id, created_at, pipeline_class, exception_class, exception_message, correlation_id_value, pipeline_step) FROM stdin;
\.


--
-- Data for Name: bulk_import_trackers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.bulk_import_trackers (id, bulk_import_entity_id, relation, next_page, has_next_page, jid, stage, status) FROM stdin;
\.


--
-- Data for Name: bulk_imports; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.bulk_imports (id, user_id, source_type, status, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: chat_names; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.chat_names (id, user_id, service_id, team_id, team_domain, chat_id, chat_name, last_used_at, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: chat_teams; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.chat_teams (id, namespace_id, team_id, name, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: ci_build_needs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_build_needs (id, build_id_convert_to_bigint, name, artifacts, optional, build_id) FROM stdin;
\.


--
-- Data for Name: ci_build_pending_states; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_build_pending_states (id, created_at, updated_at, build_id, state, failure_reason, trace_checksum, trace_bytesize) FROM stdin;
\.


--
-- Data for Name: ci_build_report_results; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_build_report_results (build_id, project_id, data) FROM stdin;
\.


--
-- Data for Name: ci_build_trace_chunks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_build_trace_chunks (id, build_id_convert_to_bigint, chunk_index, data_store, raw_data, checksum, lock_version, build_id) FROM stdin;
\.


--
-- Data for Name: ci_build_trace_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_build_trace_metadata (build_id, trace_artifact_id, archival_attempts, checksum, remote_checksum) FROM stdin;
\.


--
-- Data for Name: ci_builds; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_builds (id, status, finished_at, trace, created_at, updated_at, started_at, runner_id, coverage, commit_id, name, options, allow_failure, stage, trigger_request_id, stage_idx, tag, ref, user_id, type, target_url, description, project_id, erased_by_id, erased_at, artifacts_expire_at, environment, "when", yaml_variables, queued_at, token, lock_version, coverage_regex, auto_canceled_by_id, retried, stage_id, protected, failure_reason, scheduled_at, token_encrypted, upstream_pipeline_id, resource_group_id, waiting_for_resource_at, processed, scheduling_type, id_convert_to_bigint, stage_id_convert_to_bigint) FROM stdin;
\.


--
-- Data for Name: ci_builds_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_builds_metadata (id, build_id, project_id, timeout, timeout_source, interruptible, config_options, config_variables, has_exposed_artifacts, environment_auto_stop_in, expanded_environment_name, secrets, build_id_convert_to_bigint, id_convert_to_bigint) FROM stdin;
\.


--
-- Data for Name: ci_builds_runner_session; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_builds_runner_session (id, build_id_convert_to_bigint, url, certificate, "authorization", build_id) FROM stdin;
\.


--
-- Data for Name: ci_daily_build_group_report_results; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_daily_build_group_report_results (id, date, project_id, last_pipeline_id, ref_path, group_name, data, default_branch, group_id) FROM stdin;
\.


--
-- Data for Name: ci_deleted_objects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_deleted_objects (id, file_store, pick_up_at, store_dir, file) FROM stdin;
\.


--
-- Data for Name: ci_freeze_periods; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_freeze_periods (id, project_id, freeze_start, freeze_end, cron_timezone, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: ci_group_variables; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_group_variables (id, key, value, encrypted_value, encrypted_value_salt, encrypted_value_iv, group_id, protected, created_at, updated_at, masked, variable_type, environment_scope) FROM stdin;
\.


--
-- Data for Name: ci_instance_variables; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_instance_variables (id, variable_type, masked, protected, key, encrypted_value, encrypted_value_iv) FROM stdin;
\.


--
-- Data for Name: ci_job_artifacts; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_job_artifacts (id_convert_to_bigint, project_id, job_id_convert_to_bigint, file_type, size, created_at, updated_at, expire_at, file, file_store, file_sha256, file_format, file_location, id, job_id) FROM stdin;
\.


--
-- Data for Name: ci_job_token_project_scope_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_job_token_project_scope_links (id, source_project_id, target_project_id, added_by_id, created_at) FROM stdin;
\.


--
-- Data for Name: ci_job_variables; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_job_variables (id, key, encrypted_value, encrypted_value_iv, job_id, variable_type, source) FROM stdin;
\.


--
-- Data for Name: ci_minutes_additional_packs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_minutes_additional_packs (id, created_at, updated_at, namespace_id, expires_at, number_of_minutes, purchase_xid) FROM stdin;
\.


--
-- Data for Name: ci_namespace_monthly_usages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_namespace_monthly_usages (id, namespace_id, date, additional_amount_available, amount_used) FROM stdin;
\.


--
-- Data for Name: ci_pending_builds; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pending_builds (id, build_id, project_id, created_at, protected, instance_runners_enabled, namespace_id, minutes_exceeded) FROM stdin;
\.


--
-- Data for Name: ci_pipeline_artifacts; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pipeline_artifacts (id, created_at, updated_at, pipeline_id, project_id, size, file_store, file_type, file_format, file, expire_at, verification_started_at, verification_retry_at, verified_at, verification_state, verification_retry_count, verification_checksum, verification_failure) FROM stdin;
\.


--
-- Data for Name: ci_pipeline_chat_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pipeline_chat_data (id, pipeline_id, chat_name_id, response_url) FROM stdin;
\.


--
-- Data for Name: ci_pipeline_messages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pipeline_messages (id, severity, pipeline_id, content) FROM stdin;
\.


--
-- Data for Name: ci_pipeline_schedule_variables; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pipeline_schedule_variables (id, key, value, encrypted_value, encrypted_value_salt, encrypted_value_iv, pipeline_schedule_id, created_at, updated_at, variable_type) FROM stdin;
\.


--
-- Data for Name: ci_pipeline_schedules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pipeline_schedules (id, description, ref, cron, cron_timezone, next_run_at, project_id, owner_id, active, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: ci_pipeline_variables; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pipeline_variables (id, key, value, encrypted_value, encrypted_value_salt, encrypted_value_iv, pipeline_id, variable_type) FROM stdin;
\.


--
-- Data for Name: ci_pipelines; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pipelines (id, ref, sha, before_sha, created_at, updated_at, tag, yaml_errors, committed_at, project_id, status, started_at, finished_at, duration, user_id, lock_version, auto_canceled_by_id, pipeline_schedule_id, source, config_source, protected, failure_reason, iid, merge_request_id, source_sha, target_sha, external_pull_request_id, ci_ref_id, locked) FROM stdin;
\.


--
-- Data for Name: ci_pipelines_config; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_pipelines_config (pipeline_id, content) FROM stdin;
\.


--
-- Data for Name: ci_platform_metrics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_platform_metrics (id, recorded_at, platform_target, count) FROM stdin;
\.


--
-- Data for Name: ci_project_monthly_usages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_project_monthly_usages (id, project_id, date, amount_used) FROM stdin;
\.


--
-- Data for Name: ci_refs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_refs (id, project_id, lock_version, status, ref_path) FROM stdin;
\.


--
-- Data for Name: ci_resource_groups; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_resource_groups (id, created_at, updated_at, project_id, key) FROM stdin;
\.


--
-- Data for Name: ci_resources; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_resources (id, created_at, updated_at, resource_group_id, build_id) FROM stdin;
\.


--
-- Data for Name: ci_runner_namespaces; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_runner_namespaces (id, runner_id, namespace_id) FROM stdin;
\.


--
-- Data for Name: ci_runner_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_runner_projects (id, runner_id, created_at, updated_at, project_id) FROM stdin;
\.


--
-- Data for Name: ci_runners; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_runners (id, token, created_at, updated_at, description, contacted_at, active, name, version, revision, platform, architecture, run_untagged, locked, access_level, ip_address, maximum_timeout, runner_type, token_encrypted, public_projects_minutes_cost_factor, private_projects_minutes_cost_factor, config) FROM stdin;
\.


--
-- Data for Name: ci_running_builds; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_running_builds (id, build_id, project_id, runner_id, created_at, runner_type) FROM stdin;
\.


--
-- Data for Name: ci_sources_pipelines; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_sources_pipelines (id, project_id, pipeline_id, source_project_id, source_job_id_convert_to_bigint, source_pipeline_id, source_job_id) FROM stdin;
\.


--
-- Data for Name: ci_sources_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_sources_projects (id, pipeline_id, source_project_id) FROM stdin;
\.


--
-- Data for Name: ci_stages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_stages (id_convert_to_bigint, project_id, pipeline_id, created_at, updated_at, name, status, lock_version, "position", id) FROM stdin;
\.


--
-- Data for Name: ci_subscriptions_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_subscriptions_projects (id, downstream_project_id, upstream_project_id) FROM stdin;
\.


--
-- Data for Name: ci_trigger_requests; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_trigger_requests (id, trigger_id, variables, created_at, updated_at, commit_id) FROM stdin;
\.


--
-- Data for Name: ci_triggers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_triggers (id, token, created_at, updated_at, project_id, owner_id, description, ref) FROM stdin;
\.


--
-- Data for Name: ci_unit_test_failures; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_unit_test_failures (id, failed_at, unit_test_id, build_id) FROM stdin;
\.


--
-- Data for Name: ci_unit_tests; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_unit_tests (id, project_id, key_hash, name, suite_name) FROM stdin;
\.


--
-- Data for Name: ci_variables; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ci_variables (id, key, value, encrypted_value, encrypted_value_salt, encrypted_value_iv, project_id, protected, environment_scope, masked, variable_type) FROM stdin;
\.


--
-- Data for Name: cluster_agent_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.cluster_agent_tokens (id, created_at, updated_at, agent_id, token_encrypted, created_by_user_id, description, name, last_used_at) FROM stdin;
\.


--
-- Data for Name: cluster_agents; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.cluster_agents (id, created_at, updated_at, project_id, name, created_by_user_id) FROM stdin;
\.


--
-- Data for Name: cluster_groups; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.cluster_groups (id, cluster_id, group_id) FROM stdin;
\.


--
-- Data for Name: cluster_platforms_kubernetes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.cluster_platforms_kubernetes (id, cluster_id, created_at, updated_at, api_url, ca_cert, namespace, username, encrypted_password, encrypted_password_iv, encrypted_token, encrypted_token_iv, authorization_type) FROM stdin;
\.


--
-- Data for Name: cluster_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.cluster_projects (id, project_id, cluster_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: cluster_providers_aws; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.cluster_providers_aws (id, cluster_id, num_nodes, status, created_at, updated_at, key_name, role_arn, region, vpc_id, subnet_ids, security_group_id, instance_type, access_key_id, encrypted_secret_access_key_iv, encrypted_secret_access_key, session_token, status_reason, kubernetes_version) FROM stdin;
\.


--
-- Data for Name: cluster_providers_gcp; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.cluster_providers_gcp (id, cluster_id, status, num_nodes, created_at, updated_at, status_reason, gcp_project_id, zone, machine_type, operation_id, endpoint, encrypted_access_token, encrypted_access_token_iv, legacy_abac, cloud_run) FROM stdin;
\.


--
-- Data for Name: clusters; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters (id, user_id, provider_type, platform_type, created_at, updated_at, enabled, name, environment_scope, cluster_type, domain, managed, namespace_per_environment, management_project_id, cleanup_status, cleanup_status_reason, helm_major_version) FROM stdin;
\.


--
-- Data for Name: clusters_applications_cert_managers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_cert_managers (id, cluster_id, status, version, email, created_at, updated_at, status_reason) FROM stdin;
\.


--
-- Data for Name: clusters_applications_cilium; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_cilium (id, cluster_id, created_at, updated_at, status, status_reason) FROM stdin;
\.


--
-- Data for Name: clusters_applications_crossplane; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_crossplane (id, created_at, updated_at, cluster_id, status, version, stack, status_reason) FROM stdin;
\.


--
-- Data for Name: clusters_applications_elastic_stacks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_elastic_stacks (id, created_at, updated_at, cluster_id, status, version, status_reason) FROM stdin;
\.


--
-- Data for Name: clusters_applications_helm; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_helm (id, cluster_id, created_at, updated_at, status, version, status_reason, encrypted_ca_key, encrypted_ca_key_iv, ca_cert) FROM stdin;
\.


--
-- Data for Name: clusters_applications_ingress; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_ingress (id, cluster_id, created_at, updated_at, status, ingress_type, version, cluster_ip, status_reason, external_ip, external_hostname) FROM stdin;
\.


--
-- Data for Name: clusters_applications_jupyter; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_jupyter (id, cluster_id, oauth_application_id, status, version, hostname, created_at, updated_at, status_reason) FROM stdin;
\.


--
-- Data for Name: clusters_applications_knative; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_knative (id, cluster_id, created_at, updated_at, status, version, hostname, status_reason, external_ip, external_hostname) FROM stdin;
\.


--
-- Data for Name: clusters_applications_prometheus; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_prometheus (id, cluster_id, status, version, status_reason, created_at, updated_at, last_update_started_at, encrypted_alert_manager_token, encrypted_alert_manager_token_iv, healthy) FROM stdin;
\.


--
-- Data for Name: clusters_applications_runners; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_applications_runners (id, cluster_id, runner_id, status, created_at, updated_at, version, status_reason, privileged) FROM stdin;
\.


--
-- Data for Name: clusters_integration_elasticstack; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_integration_elasticstack (created_at, updated_at, cluster_id, enabled, chart_version) FROM stdin;
\.


--
-- Data for Name: clusters_integration_prometheus; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_integration_prometheus (created_at, updated_at, cluster_id, enabled, encrypted_alert_manager_token, encrypted_alert_manager_token_iv) FROM stdin;
\.


--
-- Data for Name: clusters_kubernetes_namespaces; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.clusters_kubernetes_namespaces (id, cluster_id, project_id, cluster_project_id, created_at, updated_at, encrypted_service_account_token, encrypted_service_account_token_iv, namespace, service_account_name, environment_id) FROM stdin;
\.


--
-- Data for Name: commit_user_mentions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.commit_user_mentions (id, note_id, mentioned_users_ids, mentioned_projects_ids, mentioned_groups_ids, commit_id) FROM stdin;
\.


--
-- Data for Name: compliance_management_frameworks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.compliance_management_frameworks (id, name, description, color, namespace_id, regulated, pipeline_configuration_full_path) FROM stdin;
\.


--
-- Data for Name: container_expiration_policies; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.container_expiration_policies (project_id, created_at, updated_at, next_run_at, name_regex, cadence, older_than, keep_n, enabled, name_regex_keep) FROM stdin;
1	2021-09-07 08:00:44.855692+00	2021-09-07 08:00:44.855692+00	2021-09-08 08:00:44.852648+00	.*	1d	90d	10	f	\N
\.


--
-- Data for Name: container_repositories; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.container_repositories (id, project_id, name, created_at, updated_at, status, expiration_policy_started_at, expiration_policy_cleanup_status, expiration_policy_completed_at) FROM stdin;
\.


--
-- Data for Name: conversational_development_index_metrics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.conversational_development_index_metrics (id, leader_issues, instance_issues, leader_notes, instance_notes, leader_milestones, instance_milestones, leader_boards, instance_boards, leader_merge_requests, instance_merge_requests, leader_ci_pipelines, instance_ci_pipelines, leader_environments, instance_environments, leader_deployments, instance_deployments, leader_projects_prometheus_active, instance_projects_prometheus_active, leader_service_desk_issues, instance_service_desk_issues, created_at, updated_at, percentage_boards, percentage_ci_pipelines, percentage_deployments, percentage_environments, percentage_issues, percentage_merge_requests, percentage_milestones, percentage_notes, percentage_projects_prometheus_active, percentage_service_desk_issues) FROM stdin;
\.


--
-- Data for Name: csv_issue_imports; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.csv_issue_imports (id, project_id, user_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: custom_emoji; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.custom_emoji (id, namespace_id, created_at, updated_at, name, file, external, creator_id) FROM stdin;
\.


--
-- Data for Name: customer_relations_organizations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.customer_relations_organizations (id, group_id, created_at, updated_at, state, default_rate, name, description) FROM stdin;
\.


--
-- Data for Name: dast_profile_schedules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_profile_schedules (id, project_id, dast_profile_id, user_id, next_run_at, created_at, updated_at, active, cron) FROM stdin;
\.


--
-- Data for Name: dast_profiles; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_profiles (id, project_id, dast_site_profile_id, dast_scanner_profile_id, created_at, updated_at, name, description, branch_name) FROM stdin;
\.


--
-- Data for Name: dast_profiles_pipelines; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_profiles_pipelines (dast_profile_id, ci_pipeline_id) FROM stdin;
\.


--
-- Data for Name: dast_scanner_profiles; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_scanner_profiles (id, created_at, updated_at, project_id, spider_timeout, target_timeout, name, scan_type, use_ajax_spider, show_debug_messages) FROM stdin;
\.


--
-- Data for Name: dast_scanner_profiles_builds; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_scanner_profiles_builds (dast_scanner_profile_id, ci_build_id) FROM stdin;
\.


--
-- Data for Name: dast_site_profile_secret_variables; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_site_profile_secret_variables (id, dast_site_profile_id, created_at, updated_at, variable_type, key, encrypted_value, encrypted_value_iv) FROM stdin;
\.


--
-- Data for Name: dast_site_profiles; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_site_profiles (id, project_id, dast_site_id, created_at, updated_at, name, excluded_urls, auth_enabled, auth_url, auth_username_field, auth_password_field, auth_username, target_type) FROM stdin;
\.


--
-- Data for Name: dast_site_profiles_builds; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_site_profiles_builds (dast_site_profile_id, ci_build_id) FROM stdin;
\.


--
-- Data for Name: dast_site_profiles_pipelines; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_site_profiles_pipelines (dast_site_profile_id, ci_pipeline_id) FROM stdin;
\.


--
-- Data for Name: dast_site_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_site_tokens (id, project_id, created_at, updated_at, expired_at, token, url) FROM stdin;
\.


--
-- Data for Name: dast_site_validations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_site_validations (id, dast_site_token_id, created_at, updated_at, validation_started_at, validation_passed_at, validation_failed_at, validation_last_retried_at, validation_strategy, url_base, url_path, state) FROM stdin;
\.


--
-- Data for Name: dast_sites; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dast_sites (id, project_id, created_at, updated_at, url, dast_site_validation_id) FROM stdin;
\.


--
-- Data for Name: dep_ci_build_trace_section_names; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dep_ci_build_trace_section_names (id, project_id, name) FROM stdin;
\.


--
-- Data for Name: dep_ci_build_trace_sections; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dep_ci_build_trace_sections (project_id, date_start, date_end, byte_start, byte_end, build_id, section_name_id, build_id_convert_to_bigint) FROM stdin;
\.


--
-- Data for Name: dependency_proxy_blobs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dependency_proxy_blobs (id, group_id, created_at, updated_at, size, file_store, file_name, file) FROM stdin;
\.


--
-- Data for Name: dependency_proxy_group_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dependency_proxy_group_settings (id, group_id, created_at, updated_at, enabled) FROM stdin;
\.


--
-- Data for Name: dependency_proxy_manifests; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dependency_proxy_manifests (id, created_at, updated_at, group_id, size, file_store, file_name, file, digest, content_type) FROM stdin;
\.


--
-- Data for Name: deploy_keys_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.deploy_keys_projects (id, deploy_key_id, project_id, created_at, updated_at, can_push) FROM stdin;
\.


--
-- Data for Name: deploy_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.deploy_tokens (id, revoked, read_repository, read_registry, expires_at, created_at, name, token, username, token_encrypted, deploy_token_type, write_registry, read_package_registry, write_package_registry) FROM stdin;
\.


--
-- Data for Name: deployment_clusters; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.deployment_clusters (deployment_id, cluster_id, kubernetes_namespace) FROM stdin;
\.


--
-- Data for Name: deployment_merge_requests; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.deployment_merge_requests (deployment_id, merge_request_id, environment_id) FROM stdin;
\.


--
-- Data for Name: deployments; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.deployments (id, iid, project_id, environment_id, ref, tag, sha, user_id, deployable_id_convert_to_bigint, deployable_type, created_at, updated_at, on_stop, status, finished_at, cluster_id, deployable_id) FROM stdin;
\.


--
-- Data for Name: description_versions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.description_versions (id, created_at, updated_at, issue_id, merge_request_id, epic_id, description, deleted_at) FROM stdin;
\.


--
-- Data for Name: design_management_designs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.design_management_designs (id, project_id, issue_id, filename, relative_position, iid) FROM stdin;
\.


--
-- Data for Name: design_management_designs_versions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.design_management_designs_versions (id, design_id, version_id, event, image_v432x230) FROM stdin;
\.


--
-- Data for Name: design_management_versions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.design_management_versions (id, sha, issue_id, created_at, author_id) FROM stdin;
\.


--
-- Data for Name: design_user_mentions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.design_user_mentions (id, design_id, note_id, mentioned_users_ids, mentioned_projects_ids, mentioned_groups_ids) FROM stdin;
\.


--
-- Data for Name: detached_partitions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.detached_partitions (id, created_at, updated_at, drop_after, table_name) FROM stdin;
\.


--
-- Data for Name: diff_note_positions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.diff_note_positions (id, note_id, old_line, new_line, diff_content_type, diff_type, line_code, base_sha, start_sha, head_sha, old_path, new_path) FROM stdin;
\.


--
-- Data for Name: dora_daily_metrics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.dora_daily_metrics (id, environment_id, date, deployment_frequency, lead_time_for_changes_in_seconds) FROM stdin;
\.


--
-- Data for Name: draft_notes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.draft_notes (id, merge_request_id, author_id, resolve_discussion, discussion_id, note, "position", original_position, change_position, commit_id) FROM stdin;
\.


--
-- Data for Name: elastic_index_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.elastic_index_settings (id, created_at, updated_at, number_of_replicas, number_of_shards, alias_name) FROM stdin;
\.


--
-- Data for Name: elastic_reindexing_slices; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.elastic_reindexing_slices (id, created_at, updated_at, elastic_reindexing_subtask_id, elastic_slice, elastic_max_slice, retry_attempt, elastic_task) FROM stdin;
\.


--
-- Data for Name: elastic_reindexing_subtasks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.elastic_reindexing_subtasks (id, elastic_reindexing_task_id, alias_name, index_name_from, index_name_to, elastic_task, documents_count_target, documents_count, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: elastic_reindexing_tasks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.elastic_reindexing_tasks (id, created_at, updated_at, state, in_progress, error_message, delete_original_index_at, max_slices_running, slice_multiplier) FROM stdin;
\.


--
-- Data for Name: elasticsearch_indexed_namespaces; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.elasticsearch_indexed_namespaces (created_at, updated_at, namespace_id) FROM stdin;
\.


--
-- Data for Name: elasticsearch_indexed_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.elasticsearch_indexed_projects (created_at, updated_at, project_id) FROM stdin;
\.


--
-- Data for Name: emails; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.emails (id, user_id, email, created_at, updated_at, confirmation_token, confirmed_at, confirmation_sent_at) FROM stdin;
\.


--
-- Data for Name: environments; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.environments (id, project_id, name, created_at, updated_at, external_url, environment_type, state, slug, auto_stop_at, auto_delete_at, tier) FROM stdin;
1	1	production	2021-09-07 08:00:44.962091	2021-09-07 08:00:44.962091	\N	\N	available	production	\N	\N	0
\.


--
-- Data for Name: epic_issues; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.epic_issues (id, epic_id, issue_id, relative_position) FROM stdin;
\.


--
-- Data for Name: epic_metrics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.epic_metrics (id, epic_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: epic_user_mentions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.epic_user_mentions (id, epic_id, note_id, mentioned_users_ids, mentioned_projects_ids, mentioned_groups_ids) FROM stdin;
\.


--
-- Data for Name: epics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.epics (id, group_id, author_id, assignee_id, iid, cached_markdown_version, updated_by_id, last_edited_by_id, lock_version, start_date, end_date, last_edited_at, created_at, updated_at, title, title_html, description, description_html, start_date_sourcing_milestone_id, due_date_sourcing_milestone_id, start_date_fixed, due_date_fixed, start_date_is_fixed, due_date_is_fixed, closed_by_id, closed_at, parent_id, relative_position, state_id, start_date_sourcing_epic_id, due_date_sourcing_epic_id, confidential, external_key) FROM stdin;
\.


--
-- Data for Name: error_tracking_client_keys; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.error_tracking_client_keys (id, project_id, active, public_key, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: error_tracking_error_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.error_tracking_error_events (id, error_id, description, environment, level, occurred_at, payload, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: error_tracking_errors; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.error_tracking_errors (id, project_id, name, description, actor, first_seen_at, last_seen_at, platform, created_at, updated_at, events_count, status) FROM stdin;
\.


--
-- Data for Name: events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.events (id, project_id, author_id, target_id, created_at, updated_at, action, target_type, group_id, fingerprint, id_convert_to_bigint) FROM stdin;
\.


--
-- Data for Name: evidences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.evidences (id, release_id, created_at, updated_at, summary_sha, summary) FROM stdin;
\.


--
-- Data for Name: experiment_subjects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.experiment_subjects (id, experiment_id, user_id, project_id, variant, created_at, updated_at, converted_at, context, namespace_id) FROM stdin;
\.


--
-- Data for Name: experiment_users; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.experiment_users (id, experiment_id, user_id, group_type, created_at, updated_at, converted_at, context) FROM stdin;
\.


--
-- Data for Name: experiments; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.experiments (id, name) FROM stdin;
\.


--
-- Data for Name: external_approval_rules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.external_approval_rules (id, project_id, created_at, updated_at, external_url, name) FROM stdin;
\.


--
-- Data for Name: external_approval_rules_protected_branches; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.external_approval_rules_protected_branches (id, external_approval_rule_id, protected_branch_id) FROM stdin;
\.


--
-- Data for Name: external_pull_requests; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.external_pull_requests (id, created_at, updated_at, project_id, pull_request_iid, status, source_branch, target_branch, source_repository, target_repository, source_sha, target_sha) FROM stdin;
\.


--
-- Data for Name: external_status_checks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.external_status_checks (id, project_id, created_at, updated_at, external_url, name) FROM stdin;
\.


--
-- Data for Name: external_status_checks_protected_branches; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.external_status_checks_protected_branches (id, external_status_check_id, protected_branch_id) FROM stdin;
\.


--
-- Data for Name: feature_gates; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.feature_gates (id, feature_key, key, value, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: features; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.features (id, key, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: fork_network_members; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.fork_network_members (id, fork_network_id, project_id, forked_from_project_id) FROM stdin;
\.


--
-- Data for Name: fork_networks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.fork_networks (id, root_project_id, deleted_root_project_name) FROM stdin;
\.


--
-- Data for Name: geo_cache_invalidation_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_cache_invalidation_events (id, key) FROM stdin;
\.


--
-- Data for Name: geo_container_repository_updated_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_container_repository_updated_events (id, container_repository_id) FROM stdin;
\.


--
-- Data for Name: geo_event_log; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_event_log (id, created_at, repository_updated_event_id, repository_deleted_event_id, repository_renamed_event_id, repositories_changed_event_id, repository_created_event_id, hashed_storage_migrated_event_id, lfs_object_deleted_event_id, hashed_storage_attachments_event_id, upload_deleted_event_id, job_artifact_deleted_event_id, reset_checksum_event_id, cache_invalidation_event_id, container_repository_updated_event_id, geo_event_id) FROM stdin;
\.


--
-- Data for Name: geo_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_events (id, replicable_name, event_name, payload, created_at) FROM stdin;
\.


--
-- Data for Name: geo_hashed_storage_attachments_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_hashed_storage_attachments_events (id, project_id, old_attachments_path, new_attachments_path) FROM stdin;
\.


--
-- Data for Name: geo_hashed_storage_migrated_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_hashed_storage_migrated_events (id, project_id, repository_storage_name, old_disk_path, new_disk_path, old_wiki_disk_path, new_wiki_disk_path, old_storage_version, new_storage_version, old_design_disk_path, new_design_disk_path) FROM stdin;
\.


--
-- Data for Name: geo_job_artifact_deleted_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_job_artifact_deleted_events (id, job_artifact_id_convert_to_bigint, file_path, job_artifact_id) FROM stdin;
\.


--
-- Data for Name: geo_lfs_object_deleted_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_lfs_object_deleted_events (id, lfs_object_id, oid, file_path) FROM stdin;
\.


--
-- Data for Name: geo_node_namespace_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_node_namespace_links (id, geo_node_id, namespace_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: geo_node_statuses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_node_statuses (id, geo_node_id, db_replication_lag_seconds, repositories_synced_count, repositories_failed_count, lfs_objects_count, lfs_objects_synced_count, lfs_objects_failed_count, attachments_count, attachments_synced_count, attachments_failed_count, last_event_id, last_event_date, cursor_last_event_id, cursor_last_event_date, created_at, updated_at, last_successful_status_check_at, status_message, replication_slots_count, replication_slots_used_count, replication_slots_max_retained_wal_bytes, wikis_synced_count, wikis_failed_count, job_artifacts_count, job_artifacts_synced_count, job_artifacts_failed_count, version, revision, repositories_verified_count, repositories_verification_failed_count, wikis_verified_count, wikis_verification_failed_count, lfs_objects_synced_missing_on_primary_count, job_artifacts_synced_missing_on_primary_count, attachments_synced_missing_on_primary_count, repositories_checksummed_count, repositories_checksum_failed_count, repositories_checksum_mismatch_count, wikis_checksummed_count, wikis_checksum_failed_count, wikis_checksum_mismatch_count, storage_configuration_digest, repositories_retrying_verification_count, wikis_retrying_verification_count, projects_count, container_repositories_count, container_repositories_synced_count, container_repositories_failed_count, container_repositories_registry_count, design_repositories_count, design_repositories_synced_count, design_repositories_failed_count, design_repositories_registry_count, status) FROM stdin;
\.


--
-- Data for Name: geo_nodes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_nodes (id, "primary", oauth_application_id, enabled, access_key, encrypted_secret_access_key, encrypted_secret_access_key_iv, clone_url_prefix, files_max_capacity, repos_max_capacity, url, selective_sync_type, selective_sync_shards, verification_max_capacity, minimum_reverification_interval, internal_url, name, container_repositories_max_capacity, created_at, updated_at, sync_object_storage) FROM stdin;
\.


--
-- Data for Name: geo_repositories_changed_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_repositories_changed_events (id, geo_node_id) FROM stdin;
\.


--
-- Data for Name: geo_repository_created_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_repository_created_events (id, project_id, repository_storage_name, repo_path, wiki_path, project_name) FROM stdin;
\.


--
-- Data for Name: geo_repository_deleted_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_repository_deleted_events (id, project_id, repository_storage_name, deleted_path, deleted_wiki_path, deleted_project_name) FROM stdin;
\.


--
-- Data for Name: geo_repository_renamed_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_repository_renamed_events (id, project_id, repository_storage_name, old_path_with_namespace, new_path_with_namespace, old_wiki_path_with_namespace, new_wiki_path_with_namespace, old_path, new_path) FROM stdin;
\.


--
-- Data for Name: geo_repository_updated_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_repository_updated_events (id, branches_affected, tags_affected, project_id, source, new_branch, remove_branch, ref) FROM stdin;
\.


--
-- Data for Name: geo_reset_checksum_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_reset_checksum_events (id, project_id) FROM stdin;
\.


--
-- Data for Name: geo_upload_deleted_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.geo_upload_deleted_events (id, upload_id, file_path, model_id, model_type, uploader) FROM stdin;
\.


--
-- Data for Name: gitlab_subscription_histories; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.gitlab_subscription_histories (id, gitlab_subscription_created_at, gitlab_subscription_updated_at, start_date, end_date, trial_ends_on, namespace_id, hosted_plan_id, max_seats_used, seats, trial, change_type, gitlab_subscription_id, created_at, trial_starts_on, auto_renew, trial_extension_type) FROM stdin;
\.


--
-- Data for Name: gitlab_subscriptions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.gitlab_subscriptions (id, created_at, updated_at, start_date, end_date, trial_ends_on, namespace_id, hosted_plan_id, max_seats_used, seats, trial, trial_starts_on, auto_renew, seats_in_use, seats_owed, trial_extension_type) FROM stdin;
\.


--
-- Data for Name: gpg_key_subkeys; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.gpg_key_subkeys (id, gpg_key_id, keyid, fingerprint) FROM stdin;
\.


--
-- Data for Name: gpg_keys; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.gpg_keys (id, created_at, updated_at, user_id, primary_keyid, fingerprint, key) FROM stdin;
\.


--
-- Data for Name: gpg_signatures; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.gpg_signatures (id, created_at, updated_at, project_id, gpg_key_id, commit_sha, gpg_key_primary_keyid, gpg_key_user_name, gpg_key_user_email, verification_status, gpg_key_subkey_id) FROM stdin;
\.


--
-- Data for Name: grafana_integrations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.grafana_integrations (id, project_id, created_at, updated_at, encrypted_token, encrypted_token_iv, grafana_url, enabled) FROM stdin;
\.


--
-- Data for Name: group_custom_attributes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_custom_attributes (id, created_at, updated_at, group_id, key, value) FROM stdin;
\.


--
-- Data for Name: group_deletion_schedules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_deletion_schedules (group_id, user_id, marked_for_deletion_on) FROM stdin;
\.


--
-- Data for Name: group_deploy_keys; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_deploy_keys (id, user_id, created_at, updated_at, last_used_at, expires_at, key, title, fingerprint, fingerprint_sha256) FROM stdin;
\.


--
-- Data for Name: group_deploy_keys_groups; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_deploy_keys_groups (id, created_at, updated_at, group_id, group_deploy_key_id, can_push) FROM stdin;
\.


--
-- Data for Name: group_deploy_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_deploy_tokens (id, created_at, updated_at, group_id, deploy_token_id) FROM stdin;
\.


--
-- Data for Name: group_group_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_group_links (id, created_at, updated_at, shared_group_id, shared_with_group_id, expires_at, group_access) FROM stdin;
\.


--
-- Data for Name: group_import_states; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_import_states (group_id, created_at, updated_at, status, jid, last_error, user_id) FROM stdin;
\.


--
-- Data for Name: group_merge_request_approval_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_merge_request_approval_settings (created_at, updated_at, group_id, allow_author_approval, allow_committer_approval, allow_overrides_to_approver_list_per_merge_request, retain_approvals_on_push, require_password_to_approve) FROM stdin;
\.


--
-- Data for Name: group_repository_storage_moves; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_repository_storage_moves (id, created_at, updated_at, group_id, state, source_storage_name, destination_storage_name) FROM stdin;
\.


--
-- Data for Name: group_wiki_repositories; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.group_wiki_repositories (shard_id, group_id, disk_path) FROM stdin;
\.


--
-- Data for Name: historical_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.historical_data (id, date, active_user_count, created_at, updated_at, recorded_at) FROM stdin;
\.


--
-- Data for Name: identities; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.identities (id, extern_uid, provider, user_id, created_at, updated_at, secondary_extern_uid, saml_provider_id) FROM stdin;
\.


--
-- Data for Name: import_export_uploads; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.import_export_uploads (id, updated_at, project_id, import_file, export_file, group_id, remote_import_url) FROM stdin;
\.


--
-- Data for Name: import_failures; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.import_failures (id, relation_index, project_id, created_at, relation_key, exception_class, correlation_id_value, exception_message, retry_count, group_id, source) FROM stdin;
\.


--
-- Data for Name: in_product_marketing_emails; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.in_product_marketing_emails (id, user_id, cta_clicked_at, track, series, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: incident_management_escalation_policies; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.incident_management_escalation_policies (id, project_id, name, description) FROM stdin;
\.


--
-- Data for Name: incident_management_escalation_rules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.incident_management_escalation_rules (id, policy_id, oncall_schedule_id, status, elapsed_time_seconds, is_removed, user_id) FROM stdin;
\.


--
-- Data for Name: incident_management_issuable_escalation_statuses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.incident_management_issuable_escalation_statuses (id, created_at, updated_at, issue_id, policy_id, escalations_started_at, resolved_at, status) FROM stdin;
\.


--
-- Data for Name: incident_management_oncall_participants; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.incident_management_oncall_participants (id, oncall_rotation_id, user_id, color_palette, color_weight, is_removed) FROM stdin;
\.


--
-- Data for Name: incident_management_oncall_rotations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.incident_management_oncall_rotations (id, created_at, updated_at, oncall_schedule_id, length, length_unit, starts_at, name, ends_at, active_period_start, active_period_end) FROM stdin;
\.


--
-- Data for Name: incident_management_oncall_schedules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.incident_management_oncall_schedules (id, created_at, updated_at, project_id, iid, name, description, timezone) FROM stdin;
\.


--
-- Data for Name: incident_management_oncall_shifts; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.incident_management_oncall_shifts (id, rotation_id, participant_id, starts_at, ends_at) FROM stdin;
\.


--
-- Data for Name: index_statuses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.index_statuses (id, project_id, indexed_at, note, last_commit, created_at, updated_at, last_wiki_commit, wiki_indexed_at) FROM stdin;
\.


--
-- Data for Name: insights; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.insights (id, namespace_id, project_id) FROM stdin;
\.


--
-- Data for Name: integrations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.integrations (id, type, project_id, created_at, updated_at, active, properties, push_events, issues_events, merge_requests_events, tag_push_events, note_events, category, wiki_page_events, pipeline_events, confidential_issues_events, commit_events, job_events, confidential_note_events, deployment_events, comment_on_event_enabled, template, instance, comment_detail, inherit_from_id, alert_events, group_id, type_new) FROM stdin;
1	PrometheusService	1	2021-09-07 08:00:45.281302	2021-09-07 08:00:45.281302	t	{"api_url":"http://localhost:9090","manual_configuration":true}	t	t	t	t	t	monitoring	t	t	t	t	t	t	f	t	f	f	\N	\N	t	\N	Integrations::Prometheus
\.


--
-- Data for Name: internal_ids; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.internal_ids (id, project_id, usage, last_value, namespace_id) FROM stdin;
\.


--
-- Data for Name: ip_restrictions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ip_restrictions (id, group_id, range) FROM stdin;
\.


--
-- Data for Name: issuable_metric_images; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issuable_metric_images (id, issue_id, created_at, updated_at, file_store, file, url) FROM stdin;
\.


--
-- Data for Name: issuable_severities; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issuable_severities (id, issue_id, severity) FROM stdin;
\.


--
-- Data for Name: issuable_slas; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issuable_slas (id, issue_id, due_at, label_applied, issuable_closed) FROM stdin;
\.


--
-- Data for Name: issue_assignees; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issue_assignees (user_id, issue_id) FROM stdin;
\.


--
-- Data for Name: issue_email_participants; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issue_email_participants (id, issue_id, created_at, updated_at, email) FROM stdin;
\.


--
-- Data for Name: issue_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issue_links (id, source_id, target_id, created_at, updated_at, link_type) FROM stdin;
\.


--
-- Data for Name: issue_metrics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issue_metrics (id, issue_id, first_mentioned_in_commit_at, first_associated_with_milestone_at, first_added_to_board_at, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: issue_tracker_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issue_tracker_data (id, service_id, created_at, updated_at, encrypted_project_url, encrypted_project_url_iv, encrypted_issues_url, encrypted_issues_url_iv, encrypted_new_issue_url, encrypted_new_issue_url_iv) FROM stdin;
\.


--
-- Data for Name: issue_user_mentions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issue_user_mentions (id, issue_id, note_id, mentioned_users_ids, mentioned_projects_ids, mentioned_groups_ids) FROM stdin;
\.


--
-- Data for Name: issues; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issues (id, title, author_id, project_id, created_at, updated_at, description, milestone_id, iid, updated_by_id, weight, confidential, due_date, moved_to_id, lock_version, title_html, description_html, time_estimate, relative_position, service_desk_reply_to, cached_markdown_version, last_edited_at, last_edited_by_id, discussion_locked, closed_at, closed_by_id, state_id, duplicated_to_id, promoted_to_epic_id, health_status, external_key, sprint_id, issue_type, blocking_issues_count, upvotes_count, work_item_type_id) FROM stdin;
\.


--
-- Data for Name: issues_prometheus_alert_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issues_prometheus_alert_events (issue_id, prometheus_alert_event_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: issues_self_managed_prometheus_alert_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.issues_self_managed_prometheus_alert_events (issue_id, self_managed_prometheus_alert_event_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: iterations_cadences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.iterations_cadences (id, group_id, created_at, updated_at, start_date, last_run_date, duration_in_weeks, iterations_in_advance, active, automatic, title, roll_over, description) FROM stdin;
\.


--
-- Data for Name: jira_connect_installations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.jira_connect_installations (id, client_key, encrypted_shared_secret, encrypted_shared_secret_iv, base_url, instance_url) FROM stdin;
\.


--
-- Data for Name: jira_connect_subscriptions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.jira_connect_subscriptions (id, jira_connect_installation_id, namespace_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: jira_imports; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.jira_imports (id, project_id, user_id, label_id, created_at, updated_at, finished_at, jira_project_xid, total_issue_count, imported_issues_count, failed_to_import_count, status, jid, jira_project_key, jira_project_name, scheduled_at, error_message) FROM stdin;
\.


--
-- Data for Name: jira_tracker_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.jira_tracker_data (id, service_id, created_at, updated_at, encrypted_url, encrypted_url_iv, encrypted_api_url, encrypted_api_url_iv, encrypted_username, encrypted_username_iv, encrypted_password, encrypted_password_iv, jira_issue_transition_id, project_key, issues_enabled, deployment_type, vulnerabilities_issuetype, vulnerabilities_enabled, jira_issue_transition_automatic) FROM stdin;
\.


--
-- Data for Name: keys; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.keys (id, user_id, created_at, updated_at, key, title, type, fingerprint, public, last_used_at, fingerprint_sha256, expires_at, expiry_notification_delivered_at, before_expiry_notification_delivered_at) FROM stdin;
1	7	2021-09-12 03:34:45.486511	2021-09-12 03:34:45.486511	ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHRvOGW5m0ifWBG8jjos20zC7/mYibohfrbH+yD8WArA me@sabbir.dev	me@sabbir.dev	\N	71:f3:52:d2:cd:75:73:32:1a:77:64:58:ef:d5:88:9c	f	\N	\\x4f16c3289e3f9d74a931a83c733c6692ae7e82e3dafeafc7a7c7c837ab449894	\N	\N	\N
\.


--
-- Data for Name: label_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.label_links (id, label_id, target_id, target_type, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: label_priorities; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.label_priorities (id, project_id, label_id, priority, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: labels; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.labels (id, title, color, project_id, created_at, updated_at, template, description, description_html, type, group_id, cached_markdown_version) FROM stdin;
\.


--
-- Data for Name: ldap_group_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.ldap_group_links (id, cn, group_access, group_id, created_at, updated_at, provider, filter) FROM stdin;
\.


--
-- Data for Name: lfs_file_locks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.lfs_file_locks (id, project_id, user_id, created_at, path) FROM stdin;
\.


--
-- Data for Name: lfs_objects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.lfs_objects (id, oid, size, created_at, updated_at, file, file_store) FROM stdin;
\.


--
-- Data for Name: lfs_objects_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.lfs_objects_projects (id, lfs_object_id, project_id, created_at, updated_at, repository_type) FROM stdin;
\.


--
-- Data for Name: licenses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.licenses (id, data, created_at, updated_at, cloud, last_synced_at) FROM stdin;
\.


--
-- Data for Name: list_user_preferences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.list_user_preferences (id, user_id, list_id, created_at, updated_at, collapsed) FROM stdin;
\.


--
-- Data for Name: lists; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.lists (id, board_id, label_id, list_type, "position", created_at, updated_at, user_id, milestone_id, max_issue_count, max_issue_weight, limit_metric, iteration_id) FROM stdin;
\.


--
-- Data for Name: members; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.members (id, access_level, source_id, source_type, user_id, notification_level, type, created_at, updated_at, created_by_id, invite_email, invite_token, invite_accepted_at, requested_at, expires_at, ldap, override) FROM stdin;
1	50	2	Namespace	1	3	GroupMember	2021-09-07 08:00:44.124299	2021-09-07 08:00:44.124299	\N	\N	\N	\N	\N	\N	f	f
2	50	9	Namespace	7	3	GroupMember	2021-09-12 03:29:59.209176	2021-09-12 03:29:59.209176	\N	\N	\N	\N	\N	\N	f	f
\.


--
-- Data for Name: merge_request_assignees; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_assignees (id, user_id, merge_request_id, created_at) FROM stdin;
\.


--
-- Data for Name: merge_request_blocks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_blocks (id, blocking_merge_request_id, blocked_merge_request_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: merge_request_cleanup_schedules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_cleanup_schedules (merge_request_id, scheduled_at, completed_at, created_at, updated_at, status, failed_count) FROM stdin;
\.


--
-- Data for Name: merge_request_context_commit_diff_files; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_context_commit_diff_files (sha, relative_order, new_file, renamed_file, deleted_file, too_large, a_mode, b_mode, new_path, old_path, diff, "binary", merge_request_context_commit_id) FROM stdin;
\.


--
-- Data for Name: merge_request_context_commits; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_context_commits (id, authored_date, committed_date, relative_order, sha, author_name, author_email, committer_name, committer_email, message, merge_request_id, trailers) FROM stdin;
\.


--
-- Data for Name: merge_request_diff_commit_users; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_diff_commit_users (id, name, email) FROM stdin;
\.


--
-- Data for Name: merge_request_diff_commits; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_diff_commits (authored_date, committed_date, merge_request_diff_id, relative_order, sha, author_name, author_email, committer_name, committer_email, message, trailers, commit_author_id, committer_id) FROM stdin;
\.


--
-- Data for Name: merge_request_diff_details; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_diff_details (merge_request_diff_id, verification_retry_at, verified_at, verification_retry_count, verification_checksum, verification_failure, verification_state, verification_started_at) FROM stdin;
\.


--
-- Data for Name: merge_request_diff_files; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_diff_files (merge_request_diff_id, relative_order, new_file, renamed_file, deleted_file, too_large, a_mode, b_mode, new_path, old_path, diff, "binary", external_diff_offset, external_diff_size) FROM stdin;
\.


--
-- Data for Name: merge_request_diffs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_diffs (id, state, merge_request_id, created_at, updated_at, base_commit_sha, real_size, head_commit_sha, start_commit_sha, commits_count, external_diff, external_diff_store, stored_externally, files_count, sorted, diff_type) FROM stdin;
\.


--
-- Data for Name: merge_request_metrics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_metrics (id, merge_request_id, latest_build_started_at, latest_build_finished_at, first_deployed_to_production_at, merged_at, created_at, updated_at, pipeline_id, merged_by_id, latest_closed_by_id, latest_closed_at, first_comment_at, first_commit_at, last_commit_at, diff_size, modified_paths_size, commits_count, first_approved_at, first_reassigned_at, added_lines, removed_lines, target_project_id) FROM stdin;
\.


--
-- Data for Name: merge_request_reviewers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_reviewers (id, user_id, merge_request_id, created_at, state) FROM stdin;
\.


--
-- Data for Name: merge_request_user_mentions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_request_user_mentions (id, merge_request_id, note_id, mentioned_users_ids, mentioned_projects_ids, mentioned_groups_ids) FROM stdin;
\.


--
-- Data for Name: merge_requests; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_requests (id, target_branch, source_branch, source_project_id, author_id, assignee_id, title, created_at, updated_at, milestone_id, merge_status, target_project_id, iid, description, updated_by_id, merge_error, merge_params, merge_when_pipeline_succeeds, merge_user_id, merge_commit_sha, approvals_before_merge, rebase_commit_sha, in_progress_merge_commit_sha, lock_version, title_html, description_html, time_estimate, squash, cached_markdown_version, last_edited_at, last_edited_by_id, head_pipeline_id, merge_jid, discussion_locked, latest_merge_request_diff_id, allow_maintainer_to_push, state_id, rebase_jid, squash_commit_sha, sprint_id, merge_ref_sha, draft) FROM stdin;
\.


--
-- Data for Name: merge_requests_closing_issues; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_requests_closing_issues (id, merge_request_id, issue_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: merge_trains; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.merge_trains (id, merge_request_id, user_id, pipeline_id, created_at, updated_at, target_project_id, target_branch, status, merged_at, duration) FROM stdin;
\.


--
-- Data for Name: metrics_dashboard_annotations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.metrics_dashboard_annotations (id, starting_at, ending_at, environment_id, cluster_id, dashboard_path, panel_xid, description) FROM stdin;
\.


--
-- Data for Name: metrics_users_starred_dashboards; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.metrics_users_starred_dashboards (id, created_at, updated_at, project_id, user_id, dashboard_path) FROM stdin;
\.


--
-- Data for Name: milestone_releases; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.milestone_releases (milestone_id, release_id) FROM stdin;
\.


--
-- Data for Name: milestones; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.milestones (id, title, project_id, description, due_date, created_at, updated_at, state, iid, title_html, description_html, start_date, cached_markdown_version, group_id) FROM stdin;
\.


--
-- Data for Name: namespace_admin_notes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.namespace_admin_notes (id, created_at, updated_at, namespace_id, note) FROM stdin;
\.


--
-- Data for Name: namespace_aggregation_schedules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.namespace_aggregation_schedules (namespace_id) FROM stdin;
\.


--
-- Data for Name: namespace_limits; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.namespace_limits (additional_purchased_storage_size, additional_purchased_storage_ends_on, namespace_id, temporary_storage_increase_ends_on) FROM stdin;
\.


--
-- Data for Name: namespace_package_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.namespace_package_settings (namespace_id, maven_duplicates_allowed, maven_duplicate_exception_regex, generic_duplicates_allowed, generic_duplicate_exception_regex) FROM stdin;
\.


--
-- Data for Name: namespace_root_storage_statistics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.namespace_root_storage_statistics (namespace_id, updated_at, repository_size, lfs_objects_size, wiki_size, build_artifacts_size, storage_size, packages_size, snippets_size, pipeline_artifacts_size, uploads_size) FROM stdin;
\.


--
-- Data for Name: namespace_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.namespace_settings (created_at, updated_at, namespace_id, prevent_forking_outside_group, allow_mfa_for_subgroups, default_branch_name, repository_read_only, delayed_project_removal, resource_access_token_creation_allowed, lock_delayed_project_removal, prevent_sharing_groups_outside_hierarchy, new_user_signups_cap) FROM stdin;
2021-09-07 08:00:43.215215+00	2021-09-07 08:00:43.215215+00	1	f	t	\N	f	\N	t	f	f	\N
2021-09-07 08:00:44.062047+00	2021-09-07 08:00:44.062047+00	2	f	t	\N	f	\N	t	f	f	\N
2021-09-12 03:11:20.558624+00	2021-09-12 03:11:20.558624+00	6	f	t	\N	f	\N	t	f	f	\N
2021-09-12 03:25:27.202528+00	2021-09-12 03:25:27.202528+00	8	f	t	\N	f	\N	t	f	f	\N
2021-09-12 03:29:59.105036+00	2021-09-12 03:29:59.105036+00	9	f	t	\N	f	\N	t	f	f	\N
\.


--
-- Data for Name: namespace_statistics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.namespace_statistics (id, namespace_id, shared_runners_seconds, shared_runners_seconds_last_reset, storage_size, wiki_size) FROM stdin;
\.


--
-- Data for Name: namespaces; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.namespaces (id, name, path, owner_id, created_at, updated_at, type, description, avatar, membership_lock, share_with_group_lock, visibility_level, request_access_enabled, ldap_sync_status, ldap_sync_error, ldap_sync_last_update_at, ldap_sync_last_successful_update_at, ldap_sync_last_sync_at, description_html, lfs_enabled, parent_id, shared_runners_minutes_limit, repository_size_limit, require_two_factor_authentication, two_factor_grace_period, cached_markdown_version, project_creation_level, runners_token, file_template_project_id, saml_discovery_token, runners_token_encrypted, custom_project_templates_group_id, auto_devops_enabled, extra_shared_runners_minutes_limit, last_ci_minutes_notification_at, last_ci_minutes_usage_notification_level, subgroup_creation_level, emails_disabled, max_pages_size, max_artifacts_size, mentions_disabled, default_branch_protection, unlock_membership_to_ldap, max_personal_access_token_lifetime, push_rule_id, shared_runners_enabled, allow_descendants_override_disabled_shared_runners, traversal_ids, delayed_project_removal) FROM stdin;
1	Administrator	root	1	2021-09-07 08:00:43.162618	2021-09-07 08:00:43.162618	\N		\N	f	f	20	t	ready	\N	\N	\N	\N		\N	\N	\N	\N	f	48	1900544	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	1	\N	\N	\N	\N	\N	\N	\N	\N	t	f	{1}	f
2	GitLab Instance	gitlab-instance-9d36b029	\N	2021-09-07 08:00:43.755364	2021-09-07 08:00:43.755364	Group		\N	f	f	10	t	ready	\N	\N	\N	\N		\N	\N	\N	\N	f	48	1900544	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	1	\N	\N	\N	\N	\N	\N	\N	\N	t	f	{2}	f
6	Ghost User	ghost	5	2021-09-12 03:11:20.523486	2021-09-12 03:11:20.523486	\N		\N	f	f	20	t	ready	\N	\N	\N	\N		\N	\N	\N	\N	f	48	1900544	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	1	\N	\N	\N	\N	\N	\N	\N	\N	t	f	{6}	f
8	Sabbir Ahmed	sabbir	7	2021-09-12 03:25:27.158849	2021-09-12 03:25:27.158849	\N		\N	f	f	20	t	ready	\N	\N	\N	\N		\N	\N	\N	\N	f	48	1900544	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	1	\N	\N	\N	\N	\N	\N	\N	\N	t	f	{8}	f
9	DevOps	devops	\N	2021-09-12 03:29:58.980876	2021-09-12 03:29:58.980876	Group		\N	f	f	0	t	ready	\N	\N	\N	\N		\N	\N	\N	\N	f	48	1900544	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	1	\N	\N	\N	\N	\N	\N	\N	\N	t	f	{9}	f
\.


--
-- Data for Name: note_diff_files; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.note_diff_files (id, diff_note_id, diff, new_file, renamed_file, deleted_file, a_mode, b_mode, new_path, old_path) FROM stdin;
\.


--
-- Data for Name: notes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.notes (id, note, noteable_type, author_id, created_at, updated_at, project_id, attachment, line_code, commit_id, noteable_id, system, st_diff, updated_by_id, type, "position", original_position, resolved_at, resolved_by_id, discussion_id, note_html, cached_markdown_version, change_position, resolved_by_push, review_id, confidential, last_edited_at) FROM stdin;
\.


--
-- Data for Name: notification_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.notification_settings (id, user_id, source_id, source_type, level, created_at, updated_at, new_note, new_issue, reopen_issue, close_issue, reassign_issue, new_merge_request, reopen_merge_request, close_merge_request, reassign_merge_request, merge_merge_request, failed_pipeline, success_pipeline, push_to_merge_request, issue_due, new_epic, notification_email, fixed_pipeline, new_release, moved_project, change_reviewer_merge_request, merge_when_pipeline_succeeds) FROM stdin;
1	1	2	Namespace	3	2021-09-07 08:00:44.16715	2021-09-07 08:00:44.16715	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	t	\N	f
2	1	\N	\N	1	2021-09-07 08:00:45.388873	2021-09-07 08:00:45.388873	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	t	\N	f
3	7	9	Namespace	3	2021-09-12 03:29:59.274546	2021-09-12 03:29:59.274546	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	t	\N	f
4	7	\N	\N	1	2021-09-12 03:29:59.429035	2021-09-12 03:29:59.429035	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	t	\N	f
\.


--
-- Data for Name: oauth_access_grants; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.oauth_access_grants (id, resource_owner_id, application_id, token, expires_in, redirect_uri, created_at, revoked_at, scopes, code_challenge, code_challenge_method) FROM stdin;
\.


--
-- Data for Name: oauth_access_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.oauth_access_tokens (id, resource_owner_id, application_id, token, refresh_token, expires_in, revoked_at, created_at, scopes) FROM stdin;
\.


--
-- Data for Name: oauth_applications; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.oauth_applications (id, name, uid, secret, redirect_uri, scopes, created_at, updated_at, owner_id, owner_type, trusted, confidential) FROM stdin;
\.


--
-- Data for Name: oauth_openid_requests; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.oauth_openid_requests (id, access_grant_id, nonce) FROM stdin;
\.


--
-- Data for Name: onboarding_progresses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.onboarding_progresses (id, namespace_id, created_at, updated_at, git_pull_at, git_write_at, merge_request_created_at, pipeline_created_at, user_added_at, trial_started_at, subscription_created_at, required_mr_approvals_enabled_at, code_owners_enabled_at, scoped_label_created_at, security_scan_enabled_at, issue_auto_closed_at, repository_imported_at, repository_mirrored_at, issue_created_at) FROM stdin;
1	2	2021-09-07 08:00:44.253176+00	2021-09-07 08:00:44.253176+00	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N
2	9	2021-09-12 03:29:59.380799+00	2021-09-12 03:29:59.380799+00	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N
\.


--
-- Data for Name: open_project_tracker_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.open_project_tracker_data (id, service_id, created_at, updated_at, encrypted_url, encrypted_url_iv, encrypted_api_url, encrypted_api_url_iv, encrypted_token, encrypted_token_iv, closed_status_id, project_identifier_code) FROM stdin;
\.


--
-- Data for Name: operations_feature_flag_scopes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.operations_feature_flag_scopes (id, feature_flag_id, created_at, updated_at, active, environment_scope, strategies) FROM stdin;
\.


--
-- Data for Name: operations_feature_flags; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.operations_feature_flags (id, project_id, active, created_at, updated_at, name, description, iid, version) FROM stdin;
\.


--
-- Data for Name: operations_feature_flags_clients; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.operations_feature_flags_clients (id, project_id, token_encrypted) FROM stdin;
\.


--
-- Data for Name: operations_feature_flags_issues; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.operations_feature_flags_issues (id, feature_flag_id, issue_id) FROM stdin;
\.


--
-- Data for Name: operations_scopes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.operations_scopes (id, strategy_id, environment_scope) FROM stdin;
\.


--
-- Data for Name: operations_strategies; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.operations_strategies (id, feature_flag_id, name, parameters) FROM stdin;
\.


--
-- Data for Name: operations_strategies_user_lists; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.operations_strategies_user_lists (id, strategy_id, user_list_id) FROM stdin;
\.


--
-- Data for Name: operations_user_lists; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.operations_user_lists (id, project_id, created_at, updated_at, iid, name, user_xids) FROM stdin;
\.


--
-- Data for Name: packages_build_infos; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_build_infos (id, package_id, pipeline_id) FROM stdin;
\.


--
-- Data for Name: packages_composer_cache_files; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_composer_cache_files (id, created_at, updated_at, delete_at, namespace_id, file_store, file, file_sha256) FROM stdin;
\.


--
-- Data for Name: packages_composer_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_composer_metadata (package_id, target_sha, composer_json, version_cache_sha) FROM stdin;
\.


--
-- Data for Name: packages_conan_file_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_conan_file_metadata (id, package_file_id, created_at, updated_at, recipe_revision, package_revision, conan_package_reference, conan_file_type) FROM stdin;
\.


--
-- Data for Name: packages_conan_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_conan_metadata (id, package_id, created_at, updated_at, package_username, package_channel) FROM stdin;
\.


--
-- Data for Name: packages_debian_file_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_file_metadata (created_at, updated_at, package_file_id, file_type, component, architecture, fields) FROM stdin;
\.


--
-- Data for Name: packages_debian_group_architectures; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_group_architectures (id, created_at, updated_at, distribution_id, name) FROM stdin;
\.


--
-- Data for Name: packages_debian_group_component_files; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_group_component_files (id, created_at, updated_at, component_id, architecture_id, size, file_type, compression_type, file_store, file, file_md5, file_sha256) FROM stdin;
\.


--
-- Data for Name: packages_debian_group_components; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_group_components (id, created_at, updated_at, distribution_id, name) FROM stdin;
\.


--
-- Data for Name: packages_debian_group_distribution_keys; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_group_distribution_keys (id, created_at, updated_at, distribution_id, encrypted_private_key, encrypted_private_key_iv, encrypted_passphrase, encrypted_passphrase_iv, public_key, fingerprint) FROM stdin;
\.


--
-- Data for Name: packages_debian_group_distributions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_group_distributions (id, created_at, updated_at, group_id, creator_id, valid_time_duration_seconds, file_store, automatic, automatic_upgrades, codename, suite, origin, label, version, description, file, file_signature, signed_file, signed_file_store) FROM stdin;
\.


--
-- Data for Name: packages_debian_project_architectures; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_project_architectures (id, created_at, updated_at, distribution_id, name) FROM stdin;
\.


--
-- Data for Name: packages_debian_project_component_files; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_project_component_files (id, created_at, updated_at, component_id, architecture_id, size, file_type, compression_type, file_store, file, file_md5, file_sha256) FROM stdin;
\.


--
-- Data for Name: packages_debian_project_components; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_project_components (id, created_at, updated_at, distribution_id, name) FROM stdin;
\.


--
-- Data for Name: packages_debian_project_distribution_keys; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_project_distribution_keys (id, created_at, updated_at, distribution_id, encrypted_private_key, encrypted_private_key_iv, encrypted_passphrase, encrypted_passphrase_iv, public_key, fingerprint) FROM stdin;
\.


--
-- Data for Name: packages_debian_project_distributions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_project_distributions (id, created_at, updated_at, project_id, creator_id, valid_time_duration_seconds, file_store, automatic, automatic_upgrades, codename, suite, origin, label, version, description, file, file_signature, signed_file, signed_file_store) FROM stdin;
\.


--
-- Data for Name: packages_debian_publications; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_debian_publications (id, package_id, distribution_id) FROM stdin;
\.


--
-- Data for Name: packages_dependencies; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_dependencies (id, name, version_pattern) FROM stdin;
\.


--
-- Data for Name: packages_dependency_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_dependency_links (id, package_id, dependency_id, dependency_type) FROM stdin;
\.


--
-- Data for Name: packages_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_events (id, event_type, event_scope, originator_type, originator, created_at, package_id) FROM stdin;
\.


--
-- Data for Name: packages_helm_file_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_helm_file_metadata (created_at, updated_at, package_file_id, channel, metadata) FROM stdin;
\.


--
-- Data for Name: packages_maven_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_maven_metadata (id, package_id, created_at, updated_at, app_group, app_name, app_version, path) FROM stdin;
\.


--
-- Data for Name: packages_nuget_dependency_link_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_nuget_dependency_link_metadata (dependency_link_id, target_framework) FROM stdin;
\.


--
-- Data for Name: packages_nuget_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_nuget_metadata (package_id, license_url, project_url, icon_url) FROM stdin;
\.


--
-- Data for Name: packages_package_file_build_infos; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_package_file_build_infos (id, package_file_id, pipeline_id) FROM stdin;
\.


--
-- Data for Name: packages_package_files; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_package_files (id, package_id, created_at, updated_at, size, file_store, file_md5, file_sha1, file_name, file, file_sha256, verification_retry_at, verified_at, verification_failure, verification_retry_count, verification_checksum, verification_state, verification_started_at) FROM stdin;
\.


--
-- Data for Name: packages_packages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_packages (id, project_id, created_at, updated_at, name, version, package_type, creator_id, status) FROM stdin;
\.


--
-- Data for Name: packages_pypi_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_pypi_metadata (package_id, required_python) FROM stdin;
\.


--
-- Data for Name: packages_rubygems_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_rubygems_metadata (created_at, updated_at, package_id, authors, files, summary, description, email, homepage, licenses, metadata, author, bindir, cert_chain, executables, extensions, extra_rdoc_files, platform, post_install_message, rdoc_options, require_paths, required_ruby_version, required_rubygems_version, requirements, rubygems_version, signing_key) FROM stdin;
\.


--
-- Data for Name: packages_tags; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.packages_tags (id, package_id, name, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: pages_deployments; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.pages_deployments (id, created_at, updated_at, project_id, ci_build_id, file_store, file, file_count, file_sha256, size) FROM stdin;
\.


--
-- Data for Name: pages_domain_acme_orders; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.pages_domain_acme_orders (id, pages_domain_id, expires_at, created_at, updated_at, url, challenge_token, challenge_file_content, encrypted_private_key, encrypted_private_key_iv) FROM stdin;
\.


--
-- Data for Name: pages_domains; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.pages_domains (id, project_id, certificate, encrypted_key, encrypted_key_iv, encrypted_key_salt, domain, verified_at, verification_code, enabled_until, remove_at, auto_ssl_enabled, certificate_valid_not_before, certificate_valid_not_after, certificate_source, wildcard, usage, scope, auto_ssl_failed) FROM stdin;
\.


--
-- Data for Name: partitioned_foreign_keys; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.partitioned_foreign_keys (id, cascade_delete, from_table, from_column, to_table, to_column) FROM stdin;
\.


--
-- Data for Name: path_locks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.path_locks (id, path, project_id, user_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: personal_access_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.personal_access_tokens (id, user_id, name, revoked, expires_at, created_at, updated_at, scopes, impersonation, token_digest, expire_notification_delivered, last_used_at, after_expiry_notification_delivered) FROM stdin;
\.


--
-- Data for Name: plan_limits; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.plan_limits (id, plan_id, ci_active_pipelines, ci_pipeline_size, ci_active_jobs, project_hooks, group_hooks, ci_project_subscriptions, ci_pipeline_schedules, offset_pagination_limit, ci_instance_level_variables, storage_size_limit, ci_max_artifact_size_lsif, ci_max_artifact_size_archive, ci_max_artifact_size_metadata, ci_max_artifact_size_trace, ci_max_artifact_size_junit, ci_max_artifact_size_sast, ci_max_artifact_size_dependency_scanning, ci_max_artifact_size_container_scanning, ci_max_artifact_size_dast, ci_max_artifact_size_codequality, ci_max_artifact_size_license_management, ci_max_artifact_size_license_scanning, ci_max_artifact_size_performance, ci_max_artifact_size_metrics, ci_max_artifact_size_metrics_referee, ci_max_artifact_size_network_referee, ci_max_artifact_size_dotenv, ci_max_artifact_size_cobertura, ci_max_artifact_size_terraform, ci_max_artifact_size_accessibility, ci_max_artifact_size_cluster_applications, ci_max_artifact_size_secret_detection, ci_max_artifact_size_requirements, ci_max_artifact_size_coverage_fuzzing, ci_max_artifact_size_browser_performance, ci_max_artifact_size_load_performance, ci_needs_size_limit, conan_max_file_size, maven_max_file_size, npm_max_file_size, nuget_max_file_size, pypi_max_file_size, generic_packages_max_file_size, golang_max_file_size, debian_max_file_size, project_feature_flags, ci_max_artifact_size_api_fuzzing, ci_pipeline_deployments, pull_mirror_interval_seconds, daily_invites, rubygems_max_file_size, terraform_module_max_file_size, helm_max_file_size, ci_registered_group_runners, ci_registered_project_runners, web_hook_calls, ci_daily_pipeline_schedule_triggers, ci_max_artifact_size_running_container_scanning, ci_max_artifact_size_cluster_image_scanning, ci_jobs_trace_size_limit, pages_file_entries) FROM stdin;
\.


--
-- Data for Name: plans; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.plans (id, created_at, updated_at, name, title) FROM stdin;
1	2021-09-07 08:00:44.312436	2021-09-07 08:00:44.312436	default	Default
\.


--
-- Data for Name: pool_repositories; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.pool_repositories (id, shard_id, disk_path, state, source_project_id) FROM stdin;
\.


--
-- Data for Name: postgres_async_indexes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.postgres_async_indexes (id, created_at, updated_at, name, definition, table_name) FROM stdin;
\.


--
-- Data for Name: postgres_reindex_actions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.postgres_reindex_actions (id, action_start, action_end, ondisk_size_bytes_start, ondisk_size_bytes_end, state, index_identifier, bloat_estimate_bytes_start) FROM stdin;
\.


--
-- Data for Name: programming_languages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.programming_languages (id, name, color, created_at) FROM stdin;
\.


--
-- Data for Name: project_access_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_access_tokens (personal_access_token_id, project_id) FROM stdin;
\.


--
-- Data for Name: project_alerting_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_alerting_settings (project_id, encrypted_token, encrypted_token_iv) FROM stdin;
\.


--
-- Data for Name: project_aliases; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_aliases (id, project_id, name, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: project_authorizations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_authorizations (user_id, project_id, access_level) FROM stdin;
1	1	50
\.


--
-- Data for Name: project_auto_devops; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_auto_devops (id, project_id, created_at, updated_at, enabled, deploy_strategy) FROM stdin;
\.


--
-- Data for Name: project_ci_cd_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_ci_cd_settings (id, project_id, group_runners_enabled, merge_pipelines_enabled, default_git_depth, forward_deployment_enabled, merge_trains_enabled, auto_rollback_enabled, keep_latest_artifact, restrict_user_defined_variables, job_token_scope_enabled) FROM stdin;
1	1	t	\N	50	t	f	f	t	f	f
\.


--
-- Data for Name: project_ci_feature_usages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_ci_feature_usages (id, project_id, feature, default_branch) FROM stdin;
\.


--
-- Data for Name: project_compliance_framework_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_compliance_framework_settings (project_id, framework_id) FROM stdin;
\.


--
-- Data for Name: project_custom_attributes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_custom_attributes (id, created_at, updated_at, project_id, key, value) FROM stdin;
\.


--
-- Data for Name: project_daily_statistics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_daily_statistics (id, project_id, fetch_count, date) FROM stdin;
\.


--
-- Data for Name: project_deploy_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_deploy_tokens (id, project_id, deploy_token_id, created_at) FROM stdin;
\.


--
-- Data for Name: project_error_tracking_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_error_tracking_settings (project_id, enabled, api_url, encrypted_token, encrypted_token_iv, project_name, organization_name, integrated) FROM stdin;
\.


--
-- Data for Name: project_export_jobs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_export_jobs (id, project_id, created_at, updated_at, status, jid) FROM stdin;
\.


--
-- Data for Name: project_feature_usages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_feature_usages (project_id, jira_dvcs_cloud_last_sync_at, jira_dvcs_server_last_sync_at) FROM stdin;
\.


--
-- Data for Name: project_features; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_features (id, project_id, merge_requests_access_level, issues_access_level, wiki_access_level, snippets_access_level, builds_access_level, created_at, updated_at, repository_access_level, pages_access_level, forking_access_level, metrics_dashboard_access_level, requirements_access_level, operations_access_level, analytics_access_level, security_and_compliance_access_level, container_registry_access_level) FROM stdin;
\.


--
-- Data for Name: project_group_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_group_links (id, project_id, group_id, created_at, updated_at, group_access, expires_at) FROM stdin;
\.


--
-- Data for Name: project_import_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_import_data (id, project_id, data, encrypted_credentials, encrypted_credentials_iv, encrypted_credentials_salt) FROM stdin;
\.


--
-- Data for Name: project_incident_management_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_incident_management_settings (project_id, create_issue, send_email, issue_template_key, pagerduty_active, encrypted_pagerduty_token, encrypted_pagerduty_token_iv, auto_close_incident, sla_timer, sla_timer_minutes) FROM stdin;
\.


--
-- Data for Name: project_metrics_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_metrics_settings (project_id, external_dashboard_url, dashboard_timezone) FROM stdin;
\.


--
-- Data for Name: project_mirror_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_mirror_data (id, project_id, retry_count, last_update_started_at, last_update_scheduled_at, next_execution_timestamp, status, jid, last_error, last_update_at, last_successful_update_at, correlation_id_value) FROM stdin;
\.


--
-- Data for Name: project_pages_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_pages_metadata (project_id, deployed, artifacts_archive_id, pages_deployment_id) FROM stdin;
1	f	\N	\N
\.


--
-- Data for Name: project_repositories; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_repositories (id, shard_id, disk_path, project_id) FROM stdin;
\.


--
-- Data for Name: project_repository_states; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_repository_states (id, project_id, repository_verification_checksum, wiki_verification_checksum, last_repository_verification_failure, last_wiki_verification_failure, repository_retry_at, wiki_retry_at, repository_retry_count, wiki_retry_count, last_repository_verification_ran_at, last_wiki_verification_ran_at) FROM stdin;
\.


--
-- Data for Name: project_repository_storage_moves; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_repository_storage_moves (id, created_at, updated_at, project_id, state, source_storage_name, destination_storage_name) FROM stdin;
\.


--
-- Data for Name: project_security_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_security_settings (project_id, created_at, updated_at, auto_fix_container_scanning, auto_fix_dast, auto_fix_dependency_scanning, auto_fix_sast) FROM stdin;
\.


--
-- Data for Name: project_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_settings (project_id, created_at, updated_at, push_rule_id, show_default_award_emojis, allow_merge_on_skipped_pipeline, squash_option, has_confluence, has_vulnerabilities, allow_editing_commit_messages, prevent_merge_without_jira_issue, cve_id_request_enabled, mr_default_target_self, previous_default_branch) FROM stdin;
\.


--
-- Data for Name: project_statistics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_statistics (id, project_id, namespace_id, commit_count, storage_size, repository_size, lfs_objects_size, build_artifacts_size, shared_runners_seconds, shared_runners_seconds_last_reset, packages_size, wiki_size, snippets_size, pipeline_artifacts_size, uploads_size) FROM stdin;
\.


--
-- Data for Name: project_tracing_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.project_tracing_settings (id, created_at, updated_at, project_id, external_url) FROM stdin;
\.


--
-- Data for Name: projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.projects (id, name, path, description, created_at, updated_at, creator_id, namespace_id, last_activity_at, import_url, visibility_level, archived, avatar, merge_requests_template, star_count, merge_requests_rebase_enabled, import_type, import_source, approvals_before_merge, reset_approvals_on_push, merge_requests_ff_only_enabled, issues_template, mirror, mirror_last_update_at, mirror_last_successful_update_at, mirror_user_id, shared_runners_enabled, runners_token, build_coverage_regex, build_allow_git_fetch, build_timeout, mirror_trigger_builds, pending_delete, public_builds, last_repository_check_failed, last_repository_check_at, container_registry_enabled, only_allow_merge_if_pipeline_succeeds, has_external_issue_tracker, repository_storage, repository_read_only, request_access_enabled, has_external_wiki, ci_config_path, lfs_enabled, description_html, only_allow_merge_if_all_discussions_are_resolved, repository_size_limit, printing_merge_request_link_enabled, auto_cancel_pending_pipelines, service_desk_enabled, cached_markdown_version, delete_error, last_repository_updated_at, disable_overriding_approvers_per_merge_request, storage_version, resolve_outdated_diff_discussions, remote_mirror_available_overridden, only_mirror_protected_branches, pull_mirror_available_overridden, jobs_cache_index, external_authorization_classification_label, mirror_overwrites_diverged_branches, pages_https_only, external_webhook_token, packages_enabled, merge_requests_author_approval, pool_repository_id, runners_token_encrypted, bfg_object_map, detected_repository_languages, merge_requests_disable_committers_approval, require_password_to_approve, emails_disabled, max_pages_size, max_artifacts_size, pull_mirror_branch_prefix, remove_source_branch_after_merge, marked_for_deletion_at, marked_for_deletion_by_user_id, autoclose_referenced_issues, suggestion_commit_message) FROM stdin;
1	Monitoring	Monitoring	This project is automatically generated and helps monitor this GitLab instance. [Learn more](/help/administration/monitoring/gitlab_self_monitoring_project/index).	2021-09-07 08:00:44.64057	2021-09-07 08:00:44.64057	1	2	2021-09-07 08:00:44.64057	\N	10	f	\N	\N	0	f	\N	\N	0	t	f	\N	f	\N	\N	\N	t	\N	\N	t	3600	f	f	t	f	2021-09-12 03:20:21.731014	\N	f	\N	default	\N	t	\N	\N	\N	<p data-sourcepos="1:1-1:163" dir="auto">This project is automatically generated and helps monitor this GitLab instance. <a href="/help/administration/monitoring/gitlab_self_monitoring_project/index">Learn more</a>.</p>	f	\N	t	1	t	1900544	\N	2021-09-07 08:00:44.64057	\N	2	f	\N	\N	\N	\N	\N	\N	t	\N	t	f	\N	IFKHOyk3EyFMSLRKmuzBIX373f55fyd3OLoz/5NavX7iMDUd	\N	\N	\N	\N	\N	\N	\N	\N	t	\N	\N	t	\N
\.


--
-- Data for Name: prometheus_alert_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.prometheus_alert_events (id, project_id, prometheus_alert_id, started_at, ended_at, status, payload_key) FROM stdin;
\.


--
-- Data for Name: prometheus_alerts; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.prometheus_alerts (id, created_at, updated_at, threshold, operator, environment_id, project_id, prometheus_metric_id, runbook_url) FROM stdin;
1	2021-09-07 08:02:02.758489+00	2021-09-07 08:02:02.758489+00	0.1	2	1	1	13	\N
2	2021-09-07 08:02:02.831462+00	2021-09-07 08:02:02.831462+00	0.1	2	1	1	10	\N
3	2021-09-07 08:02:02.842479+00	2021-09-07 08:02:02.842479+00	0.1	2	1	1	22	\N
\.


--
-- Data for Name: prometheus_metrics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.prometheus_metrics (id, project_id, title, query, y_label, unit, legend, "group", created_at, updated_at, common, identifier, dashboard_path) FROM stdin;
1	\N	Memory Usage (Total)	avg(sum(container_memory_usage_bytes{container!="POD",pod=~"^{{ci_environment_slug}}-(.*)",namespace="{{kube_namespace}}"}) by (job)) without (job)  /1024/1024/1024     OR      avg(sum(container_memory_usage_bytes{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-(.*)",namespace="{{kube_namespace}}"}) by (job)) without (job)  /1024/1024/1024	Total Memory Used (GB)	GB	Total (GB)	-5	2021-09-07 08:00:45.576389+00	2021-09-07 08:00:45.576389+00	t	system_metrics_kubernetes_container_memory_total	\N
2	\N	Core Usage (Total)	avg(sum(rate(container_cpu_usage_seconds_total{container!="POD",pod=~"^{{ci_environment_slug}}-(.*)",namespace="{{kube_namespace}}"}[15m])) by (job)) without (job)     OR      avg(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-(.*)",namespace="{{kube_namespace}}"}[15m])) by (job)) without (job)	Total Cores	cores	Total (cores)	-5	2021-09-07 08:00:45.582198+00	2021-09-07 08:00:45.582198+00	t	system_metrics_kubernetes_container_cores_total	\N
3	\N	Memory Usage (Pod average)	avg(sum(container_memory_usage_bytes{container!="POD",pod=~"^{{ci_environment_slug}}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="{{kube_namespace}}"}) by (job)) without (job) / count(avg(container_memory_usage_bytes{container!="POD",pod=~"^{{ci_environment_slug}}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="{{kube_namespace}}"}) without (job)) /1024/1024     OR      avg(sum(container_memory_usage_bytes{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="{{kube_namespace}}"}) by (job)) without (job) / count(avg(container_memory_usage_bytes{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="{{kube_namespace}}"}) without (job)) /1024/1024	Memory Used per Pod (MB)	MB	Pod average (MB)	-5	2021-09-07 08:00:45.586859+00	2021-09-07 08:00:45.586859+00	t	system_metrics_kubernetes_container_memory_average	\N
4	\N	Canary: Memory Usage (Pod Average)	avg(sum(container_memory_usage_bytes{container!="POD",pod=~"^{{ci_environment_slug}}-canary-(.*)",namespace="{{kube_namespace}}"}) by (job)) without (job) / count(avg(container_memory_usage_bytes{container!="POD",pod=~"^{{ci_environment_slug}}-canary-(.*)",namespace="{{kube_namespace}}"}) without (job)) /1024/1024     OR      avg(sum(container_memory_usage_bytes{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-canary-(.*)",namespace="{{kube_namespace}}"}) by (job)) without (job) / count(avg(container_memory_usage_bytes{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-canary-(.*)",namespace="{{kube_namespace}}"}) without (job)) /1024/1024	Memory Used per Pod (MB)	MB	Pod average (MB)	-5	2021-09-07 08:00:45.590213+00	2021-09-07 08:00:45.590213+00	t	system_metrics_kubernetes_container_memory_average_canary	\N
5	\N	Core Usage (Pod Average)	avg(sum(rate(container_cpu_usage_seconds_total{container!="POD",pod=~"^{{ci_environment_slug}}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="{{kube_namespace}}"}[15m])) by (job)) without (job) / count(sum(rate(container_cpu_usage_seconds_total{container!="POD",pod=~"^{{ci_environment_slug}}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="{{kube_namespace}}"}[15m])) by (pod))     OR      avg(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="{{kube_namespace}}"}[15m])) by (job)) without (job) / count(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="{{kube_namespace}}"}[15m])) by (pod_name))	Cores per Pod	cores	Pod average (cores)	-5	2021-09-07 08:00:45.593342+00	2021-09-07 08:00:45.593342+00	t	system_metrics_kubernetes_container_core_usage	\N
6	\N	Canary: Core Usage (Pod Average)	avg(sum(rate(container_cpu_usage_seconds_total{container!="POD",pod=~"^{{ci_environment_slug}}-canary-(.*)",namespace="{{kube_namespace}}"}[15m])) by (job)) without (job) / count(sum(rate(container_cpu_usage_seconds_total{container!="POD",pod=~"^{{ci_environment_slug}}-canary-(.*)",namespace="{{kube_namespace}}"}[15m])) by (pod))     OR      avg(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-canary-(.*)",namespace="{{kube_namespace}}"}[15m])) by (job)) without (job) / count(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",pod_name=~"^{{ci_environment_slug}}-canary-(.*)",namespace="{{kube_namespace}}"}[15m])) by (pod_name))	Cores per Pod	cores	Pod average (cores)	-5	2021-09-07 08:00:45.596415+00	2021-09-07 08:00:45.596415+00	t	system_metrics_kubernetes_container_core_usage_canary	\N
7	\N	Knative function invocations	sum(ceil(rate(istio_requests_total{destination_service_namespace="{{kube_namespace}}", destination_service=~"{{function_name}}.*"}[1m])*60))	Invocations	requests	invocations / minute	-5	2021-09-07 08:00:45.598898+00	2021-09-07 08:00:45.598898+00	t	system_metrics_knative_function_invocation_count	\N
8	\N	Throughput	sum(rate(nginx_upstream_responses_total{upstream=~"{{kube_namespace}}-{{ci_environment_slug}}-.*"}[2m])) by (status_code)	Requests / Sec	req / sec	Status Code	-1	2021-09-07 08:00:45.601304+00	2021-09-07 08:00:45.601304+00	t	response_metrics_nginx_ingress_throughput_status_code	\N
9	\N	Latency	avg(nginx_upstream_response_msecs_avg{upstream=~"{{kube_namespace}}-{{ci_environment_slug}}-.*"})	Latency (ms)	ms	Pod average (ms)	-1	2021-09-07 08:00:45.603896+00	2021-09-07 08:00:45.603896+00	t	response_metrics_nginx_ingress_latency_pod_average	\N
10	\N	HTTP Error Rate	sum(rate(nginx_upstream_responses_total{status_code="5xx", upstream=~"{{kube_namespace}}-{{ci_environment_slug}}-.*"}[2m])) / sum(rate(nginx_upstream_responses_total{upstream=~"{{kube_namespace}}-{{ci_environment_slug}}-.*"}[2m])) * 100	HTTP Errors (%)	%	5xx Errors (%)	-1	2021-09-07 08:00:45.606399+00	2021-09-07 08:00:45.606399+00	t	response_metrics_nginx_ingress_http_error_rate	\N
11	\N	Throughput	sum(label_replace(rate(nginx_ingress_controller_requests{namespace="{{kube_namespace}}",ingress=~".*{{ci_environment_slug}}.*"}[2m]), "status_code", "${1}xx", "status", "(.)..")) by (status_code)	Requests / Sec	req / sec	Status Code	-6	2021-09-07 08:00:45.608881+00	2021-09-07 08:00:45.608881+00	t	response_metrics_nginx_ingress_16_throughput_status_code	\N
12	\N	Latency	sum(rate(nginx_ingress_controller_ingress_upstream_latency_seconds_sum{namespace="{{kube_namespace}}",ingress=~".*{{ci_environment_slug}}.*"}[2m])) / sum(rate(nginx_ingress_controller_ingress_upstream_latency_seconds_count{namespace="{{kube_namespace}}",ingress=~".*{{ci_environment_slug}}.*"}[2m])) * 1000	Latency (ms)	ms	Pod average (ms)	-6	2021-09-07 08:00:45.611781+00	2021-09-07 08:00:45.611781+00	t	response_metrics_nginx_ingress_16_latency_pod_average	\N
13	\N	HTTP Error Rate	sum(rate(nginx_ingress_controller_requests{status=~"5.*",namespace="{{kube_namespace}}",ingress=~".*{{ci_environment_slug}}.*"}[2m])) / sum(rate(nginx_ingress_controller_requests{namespace="{{kube_namespace}}",ingress=~".*{{ci_environment_slug}}.*"}[2m])) * 100	HTTP Errors (%)	%	5xx Errors (%)	-6	2021-09-07 08:00:45.61434+00	2021-09-07 08:00:45.61434+00	t	response_metrics_nginx_ingress_16_http_error_rate	\N
14	\N	Throughput	sum(rate(haproxy_frontend_http_requests_total{ {{environment_filter}} }[2m])) by (code)	Requests / Sec	req / sec	Status Code	-2	2021-09-07 08:00:45.616982+00	2021-09-07 08:00:45.616982+00	t	response_metrics_ha_proxy_throughput_status_code	\N
15	\N	HTTP Error Rate	sum(rate(haproxy_frontend_http_responses_total{code="5xx",{{environment_filter}} }[2m])) / sum(rate(haproxy_frontend_http_responses_total{ {{environment_filter}} }[2m]))	Error Rate (%)	%	HTTP Errors (%)	-2	2021-09-07 08:00:45.619954+00	2021-09-07 08:00:45.619954+00	t	response_metrics_ha_proxy_http_error_rate	\N
16	\N	Throughput	sum(aws_elb_request_count_sum{ {{environment_filter}} }) / 60	Requests / Sec	req / sec	Total (req/sec)	-3	2021-09-07 08:00:45.622653+00	2021-09-07 08:00:45.622653+00	t	response_metrics_aws_elb_throughput_requests	\N
17	\N	Latency	avg(aws_elb_latency_average{ {{environment_filter}} }) * 1000	Latency (ms)	ms	Average (ms)	-3	2021-09-07 08:00:45.62546+00	2021-09-07 08:00:45.62546+00	t	response_metrics_aws_elb_latency_average	\N
18	\N	HTTP Error Rate	sum(aws_elb_httpcode_backend_5_xx_sum{ {{environment_filter}} }) / sum(aws_elb_request_count_sum{ {{environment_filter}} })	Error Rate (%)	%	HTTP Errors (%)	-3	2021-09-07 08:00:45.628372+00	2021-09-07 08:00:45.628372+00	t	response_metrics_aws_elb_http_error_rate	\N
19	\N	Throughput	sum(rate(nginx_server_requests{server_zone!="*", server_zone!="_", {{environment_filter}} }[2m])) by (code)	Requests / Sec	req / sec	Status Code	-4	2021-09-07 08:00:45.631134+00	2021-09-07 08:00:45.631134+00	t	response_metrics_nginx_throughput_status_code	\N
20	\N	Latency	avg(nginx_server_requestMsec{ {{environment_filter}} })	Latency (ms)	ms	Upstream (ms)	-4	2021-09-07 08:00:45.634013+00	2021-09-07 08:00:45.634013+00	t	response_metrics_nginx_latency	\N
21	\N	HTTP Error Rate (Errors / Sec)	sum(rate(nginx_server_requests{code="5xx", {{environment_filter}} }[2m]))	HTTP 500 Errors / Sec	errors / sec	HTTP Errors	-4	2021-09-07 08:00:45.637373+00	2021-09-07 08:00:45.637373+00	t	response_metrics_nginx_http_error_rate	\N
22	\N	HTTP Error Rate	sum(rate(nginx_server_requests{code=~"5.*", host="*", {{environment_filter}} }[2m])) / sum(rate(nginx_server_requests{code="total", host="*", {{environment_filter}} }[2m])) * 100	HTTP Errors (%)	%	5xx Errors (%)	-4	2021-09-07 08:00:45.640091+00	2021-09-07 08:00:45.640091+00	t	response_metrics_nginx_http_error_percentage	\N
\.


--
-- Data for Name: protected_branch_merge_access_levels; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.protected_branch_merge_access_levels (id, protected_branch_id, access_level, created_at, updated_at, user_id, group_id) FROM stdin;
\.


--
-- Data for Name: protected_branch_push_access_levels; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.protected_branch_push_access_levels (id, protected_branch_id, access_level, created_at, updated_at, user_id, group_id, deploy_key_id) FROM stdin;
\.


--
-- Data for Name: protected_branch_unprotect_access_levels; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.protected_branch_unprotect_access_levels (id, protected_branch_id, access_level, user_id, group_id) FROM stdin;
\.


--
-- Data for Name: protected_branches; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.protected_branches (id, project_id, name, created_at, updated_at, code_owner_approval_required, allow_force_push) FROM stdin;
\.


--
-- Data for Name: protected_environment_deploy_access_levels; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.protected_environment_deploy_access_levels (id, created_at, updated_at, access_level, protected_environment_id, user_id, group_id) FROM stdin;
\.


--
-- Data for Name: protected_environments; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.protected_environments (id, project_id, created_at, updated_at, name, group_id) FROM stdin;
\.


--
-- Data for Name: protected_tag_create_access_levels; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.protected_tag_create_access_levels (id, protected_tag_id, access_level, user_id, group_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: protected_tags; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.protected_tags (id, project_id, name, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: push_event_payloads; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.push_event_payloads (commit_count, event_id_convert_to_bigint, action, ref_type, commit_from, commit_to, ref, commit_title, ref_count, event_id) FROM stdin;
\.


--
-- Data for Name: push_rules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.push_rules (id, force_push_regex, delete_branch_regex, commit_message_regex, deny_delete_tag, project_id, created_at, updated_at, author_email_regex, member_check, file_name_regex, is_sample, max_file_size, prevent_secrets, branch_name_regex, reject_unsigned_commits, commit_committer_check, regexp_uses_re2, commit_message_negative_regex) FROM stdin;
\.


--
-- Data for Name: raw_usage_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.raw_usage_data (id, created_at, updated_at, recorded_at, sent_at, payload, version_usage_data_id_value) FROM stdin;
\.


--
-- Data for Name: redirect_routes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.redirect_routes (id, source_id, source_type, path, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: release_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.release_links (id, release_id, url, name, created_at, updated_at, filepath, link_type) FROM stdin;
\.


--
-- Data for Name: releases; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.releases (id, tag, description, project_id, created_at, updated_at, description_html, cached_markdown_version, author_id, name, sha, released_at) FROM stdin;
\.


--
-- Data for Name: remote_mirrors; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.remote_mirrors (id, project_id, url, enabled, update_status, last_update_at, last_successful_update_at, last_error, encrypted_credentials, encrypted_credentials_iv, encrypted_credentials_salt, created_at, updated_at, last_update_started_at, only_protected_branches, remote_name, error_notification_sent, keep_divergent_refs) FROM stdin;
\.


--
-- Data for Name: repository_languages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.repository_languages (project_id, programming_language_id, share) FROM stdin;
\.


--
-- Data for Name: required_code_owners_sections; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.required_code_owners_sections (id, protected_branch_id, name) FROM stdin;
\.


--
-- Data for Name: requirements; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.requirements (id, created_at, updated_at, project_id, author_id, iid, cached_markdown_version, state, title, title_html, description, description_html, issue_id) FROM stdin;
\.


--
-- Data for Name: requirements_management_test_reports; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.requirements_management_test_reports (id, created_at, requirement_id, author_id, state, build_id, issue_id) FROM stdin;
\.


--
-- Data for Name: resource_iteration_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.resource_iteration_events (id, user_id, issue_id, merge_request_id, iteration_id, created_at, action) FROM stdin;
\.


--
-- Data for Name: resource_label_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.resource_label_events (id, action, issue_id, merge_request_id, epic_id, label_id, user_id, created_at, cached_markdown_version, reference, reference_html) FROM stdin;
\.


--
-- Data for Name: resource_milestone_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.resource_milestone_events (id, user_id, issue_id, merge_request_id, milestone_id, action, state, created_at) FROM stdin;
\.


--
-- Data for Name: resource_state_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.resource_state_events (id, user_id, issue_id, merge_request_id, created_at, state, epic_id, source_commit, close_after_error_tracking_resolve, close_auto_resolve_prometheus_alert, source_merge_request_id) FROM stdin;
\.


--
-- Data for Name: resource_weight_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.resource_weight_events (id, user_id, issue_id, weight, created_at) FROM stdin;
\.


--
-- Data for Name: reviews; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.reviews (id, author_id, merge_request_id, project_id, created_at) FROM stdin;
\.


--
-- Data for Name: routes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.routes (id, source_id, source_type, path, created_at, updated_at, name) FROM stdin;
1	1	Namespace	root	2021-09-07 08:00:43.171443	2021-09-07 08:00:43.171443	Administrator
2	2	Namespace	gitlab-instance-9d36b029	2021-09-07 08:00:44.051676	2021-09-07 08:00:44.051676	GitLab Instance
3	1	Project	gitlab-instance-9d36b029/Monitoring	2021-09-07 08:00:44.791756	2021-09-07 08:00:44.791756	GitLab Instance / Monitoring
7	6	Namespace	ghost	2021-09-12 03:11:20.528841	2021-09-12 03:11:20.528841	Ghost User
9	8	Namespace	sabbir	2021-09-12 03:25:27.164454	2021-09-12 03:25:27.164454	Sabbir Ahmed
10	9	Namespace	devops	2021-09-12 03:29:58.987729	2021-09-12 03:29:58.987729	DevOps
\.


--
-- Data for Name: saml_group_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.saml_group_links (id, access_level, group_id, created_at, updated_at, saml_group_name) FROM stdin;
\.


--
-- Data for Name: saml_providers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.saml_providers (id, group_id, enabled, certificate_fingerprint, sso_url, enforced_sso, enforced_group_managed_accounts, prohibited_outer_forks, default_membership_role, git_check_enforced) FROM stdin;
\.


--
-- Data for Name: schema_migrations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.schema_migrations (version, finished_at) FROM stdin;
20200110121314	2021-09-07 08:00:41.2018+00
20200415161206	2021-09-07 08:00:41.2018+00
20200415160722	2021-09-07 08:00:41.2018+00
20210105052229	2021-09-07 08:00:41.2018+00
20200730133730	2021-09-07 08:00:41.2018+00
20190430142025	2021-09-07 08:00:41.2018+00
20200921113722	2021-09-07 08:00:41.2018+00
20210705142714	2021-09-07 08:00:41.2018+00
20191004151428	2021-09-07 08:00:41.2018+00
20210413123832	2021-09-07 08:00:41.2018+00
20210804202057	2021-09-07 08:00:41.2018+00
20191107064946	2021-09-07 08:00:41.2018+00
20191108202723	2021-09-07 08:00:41.2018+00
20210510191551	2021-09-07 08:00:41.2018+00
20200721140507	2021-09-07 08:00:41.2018+00
20190513174947	2021-09-07 08:00:41.2018+00
20200323071918	2021-09-07 08:00:41.2018+00
20210409185501	2021-09-07 08:00:41.2018+00
20200304121844	2021-09-07 08:00:41.2018+00
20201222151823	2021-09-07 08:00:41.2018+00
20200319203901	2021-09-07 08:00:41.2018+00
20200510181937	2021-09-07 08:00:41.2018+00
20210610141711	2021-09-07 08:00:41.2018+00
20191016220135	2021-09-07 08:00:41.2018+00
20210429192653	2021-09-07 08:00:41.2018+00
20191128145233	2021-09-07 08:00:41.2018+00
20190524071727	2021-09-07 08:00:41.2018+00
20210401175134	2021-09-07 08:00:41.2018+00
20200323075043	2021-09-07 08:00:41.2018+00
20200511145545	2021-09-07 08:00:41.2018+00
20200617150041	2021-09-07 08:00:41.2018+00
20200429023324	2021-09-07 08:00:41.2018+00
20210713042153	2021-09-07 08:00:41.2018+00
20210518001450	2021-09-07 08:00:41.2018+00
20200715171155	2021-09-07 08:00:41.2018+00
20210614142311	2021-09-07 08:00:41.2018+00
20200311094020	2021-09-07 08:00:41.2018+00
20210721145029	2021-09-07 08:00:41.2018+00
20200220115023	2021-09-07 08:00:41.2018+00
20191205212923	2021-09-07 08:00:41.2018+00
20210311045139	2021-09-07 08:00:41.2018+00
20200729175935	2021-09-07 08:00:41.2018+00
20200618152212	2021-09-07 08:00:41.2018+00
20201120125953	2021-09-07 08:00:41.2018+00
20201231133921	2021-09-07 08:00:41.2018+00
20190902160015	2021-09-07 08:00:41.2018+00
20201211090634	2021-09-07 08:00:41.2018+00
20191115001123	2021-09-07 08:00:41.2018+00
20191030135044	2021-09-07 08:00:41.2018+00
20201119125730	2021-09-07 08:00:41.2018+00
20210414130526	2021-09-07 08:00:41.2018+00
20191007163736	2021-09-07 08:00:41.2018+00
20201214000000	2021-09-07 08:00:41.2018+00
20210216122140	2021-09-07 08:00:41.2018+00
20200224185814	2021-09-07 08:00:41.2018+00
20200609142508	2021-09-07 08:00:41.2018+00
20210311045138	2021-09-07 08:00:41.2018+00
20200215222507	2021-09-07 08:00:41.2018+00
20210305183904	2021-09-07 08:00:41.2018+00
20210218105431	2021-09-07 08:00:41.2018+00
20191004080818	2021-09-07 08:00:41.2018+00
20191223124940	2021-09-07 08:00:41.2018+00
20200722133040	2021-09-07 08:00:41.2018+00
20201022191817	2021-09-07 08:00:41.2018+00
20200210135504	2021-09-07 08:00:41.2018+00
20210602155110	2021-09-07 08:00:41.2018+00
20200615141554	2021-09-07 08:00:41.2018+00
20210422023046	2021-09-07 08:00:41.2018+00
20200324093258	2021-09-07 08:00:41.2018+00
20191106144901	2021-09-07 08:00:41.2018+00
20200915164448	2021-09-07 08:00:41.2018+00
20190419123057	2021-09-07 08:00:41.2018+00
20210216193620	2021-09-07 08:00:41.2018+00
20200909194524	2021-09-07 08:00:41.2018+00
20210813111909	2021-09-07 08:00:41.2018+00
20200925125321	2021-09-07 08:00:41.2018+00
20210705130919	2021-09-07 08:00:41.2018+00
20210422022825	2021-09-07 08:00:41.2018+00
20210503105845	2021-09-07 08:00:41.2018+00
20210319071214	2021-09-07 08:00:41.2018+00
20201127170848	2021-09-07 08:00:41.2018+00
20200907062101	2021-09-07 08:00:41.2018+00
20210727175201	2021-09-07 08:00:41.2018+00
20210302025305	2021-09-07 08:00:41.2018+00
20200226100624	2021-09-07 08:00:41.2018+00
20201201190002	2021-09-07 08:00:41.2018+00
20191112212815	2021-09-07 08:00:41.2018+00
20200805152108	2021-09-07 08:00:41.2018+00
20210415172516	2021-09-07 08:00:41.2018+00
20210402005225	2021-09-07 08:00:41.2018+00
20190828172831	2021-09-07 08:00:41.2018+00
20200214214934	2021-09-07 08:00:41.2018+00
20200207062728	2021-09-07 08:00:41.2018+00
20210604032738	2021-09-07 08:00:41.2018+00
20190325165127	2021-09-07 08:00:41.2018+00
20200211155000	2021-09-07 08:00:41.2018+00
20210504085144	2021-09-07 08:00:41.2018+00
20200626060151	2021-09-07 08:00:41.2018+00
20190605104727	2021-09-07 08:00:41.2018+00
20200729180539	2021-09-07 08:00:41.2018+00
20191024134020	2021-09-07 08:00:41.2018+00
20210531070452	2021-09-07 08:00:41.2018+00
20200317142110	2021-09-07 08:00:41.2018+00
20190926041216	2021-09-07 08:00:41.2018+00
20190215154930	2021-09-07 08:00:41.2018+00
20210601133459	2021-09-07 08:00:41.2018+00
20200110089001	2021-09-07 08:00:41.2018+00
20200916120837	2021-09-07 08:00:41.2018+00
20200914091326	2021-09-07 08:00:41.2018+00
20210422195929	2021-09-07 08:00:41.2018+00
20201029143650	2021-09-07 08:00:41.2018+00
20210616154808	2021-09-07 08:00:41.2018+00
20210209160510	2021-09-07 08:00:41.2018+00
20200221144534	2021-09-07 08:00:41.2018+00
20210313045617	2021-09-07 08:00:41.2018+00
20191003250045	2021-09-07 08:00:41.2018+00
20210401192808	2021-09-07 08:00:41.2018+00
20200304124406	2021-09-07 08:00:41.2018+00
20200420092011	2021-09-07 08:00:41.2018+00
20200213155311	2021-09-07 08:00:41.2018+00
20200819192143	2021-09-07 08:00:41.2018+00
20200102170221	2021-09-07 08:00:41.2018+00
20210216223335	2021-09-07 08:00:41.2018+00
20200211174946	2021-09-07 08:00:41.2018+00
20200128133510	2021-09-07 08:00:41.2018+00
20210709132707	2021-09-07 08:00:41.2018+00
20210601123341	2021-09-07 08:00:41.2018+00
20190613073003	2021-09-07 08:00:41.2018+00
20191007163701	2021-09-07 08:00:41.2018+00
20190930153535	2021-09-07 08:00:41.2018+00
20200813135558	2021-09-07 08:00:41.2018+00
20210706120847	2021-09-07 08:00:41.2018+00
20200917135802	2021-09-07 08:00:41.2018+00
20200407171417	2021-09-07 08:00:41.2018+00
20201105024127	2021-09-07 08:00:41.2018+00
20200424135319	2021-09-07 08:00:41.2018+00
20200701221303	2021-09-07 08:00:41.2018+00
20201021085007	2021-09-07 08:00:41.2018+00
20200615234047	2021-09-07 08:00:41.2018+00
20200922093004	2021-09-07 08:00:41.2018+00
20190415095825	2021-09-07 08:00:41.2018+00
20210622135221	2021-09-07 08:00:41.2018+00
20210414100914	2021-09-07 08:00:41.2018+00
20200526164947	2021-09-07 08:00:41.2018+00
20210707151536	2021-09-07 08:00:41.2018+00
20191114173508	2021-09-07 08:00:41.2018+00
20191008180203	2021-09-07 08:00:41.2018+00
20210223230600	2021-09-07 08:00:41.2018+00
20200907092610	2021-09-07 08:00:41.2018+00
20201111100136	2021-09-07 08:00:41.2018+00
20200318152134	2021-09-07 08:00:41.2018+00
20210331145548	2021-09-07 08:00:41.2018+00
20210331180118	2021-09-07 08:00:41.2018+00
20200511092714	2021-09-07 08:00:41.2018+00
20210323182846	2021-09-07 08:00:41.2018+00
20190626175626	2021-09-07 08:00:41.2018+00
20191206022133	2021-09-07 08:00:41.2018+00
20191206014412	2021-09-07 08:00:41.2018+00
20210128114526	2021-09-07 08:00:41.2018+00
20200713071042	2021-09-07 08:00:41.2018+00
20201214111858	2021-09-07 08:00:41.2018+00
20200421054930	2021-09-07 08:00:41.2018+00
20200706035141	2021-09-07 08:00:41.2018+00
20200910155617	2021-09-07 08:00:41.2018+00
20200617001637	2021-09-07 08:00:41.2018+00
20190715044501	2021-09-07 08:00:41.2018+00
20210714120600	2021-09-07 08:00:41.2018+00
20190903150358	2021-09-07 08:00:41.2018+00
20200730131946	2021-09-07 08:00:41.2018+00
20190919162036	2021-09-07 08:00:41.2018+00
20201208181411	2021-09-07 08:00:41.2018+00
20200511080113	2021-09-07 08:00:41.2018+00
20201027135651	2021-09-07 08:00:41.2018+00
20200910175553	2021-09-07 08:00:41.2018+00
20200728080250	2021-09-07 08:00:41.2018+00
20210531071107	2021-09-07 08:00:41.2018+00
20200716044023	2021-09-07 08:00:41.2018+00
20200219141307	2021-09-07 08:00:41.2018+00
20200220180944	2021-09-07 08:00:41.2018+00
20190801142441	2021-09-07 08:00:41.2018+00
20200128132510	2021-09-07 08:00:41.2018+00
20200127090233	2021-09-07 08:00:41.2018+00
20200609142507	2021-09-07 08:00:41.2018+00
20200915185707	2021-09-07 08:00:41.2018+00
20201102112206	2021-09-07 08:00:41.2018+00
20210318134427	2021-09-07 08:00:41.2018+00
20210306121310	2021-09-07 08:00:41.2018+00
20200323011955	2021-09-07 08:00:41.2018+00
20210630025020	2021-09-07 08:00:41.2018+00
20210215144909	2021-09-07 08:00:41.2018+00
20191017094449	2021-09-07 08:00:41.2018+00
20210303064142	2021-09-07 08:00:41.2018+00
20200805150316	2021-09-07 08:00:41.2018+00
20210311120154	2021-09-07 08:00:41.2018+00
20200623142159	2021-09-07 08:00:41.2018+00
20210716074555	2021-09-07 08:00:41.2018+00
20210419203018	2021-09-07 08:00:41.2018+00
20201030223933	2021-09-07 08:00:41.2018+00
20210212163231	2021-09-07 08:00:41.2018+00
20210525085158	2021-09-07 08:00:41.2018+00
20201117184334	2021-09-07 08:00:41.2018+00
20200406141452	2021-09-07 08:00:41.2018+00
20210420121149	2021-09-07 08:00:41.2018+00
20210721134706	2021-09-07 08:00:41.2018+00
20190827102026	2021-09-07 08:00:41.2018+00
20200515153633	2021-09-07 08:00:41.2018+00
20210108161039	2021-09-07 08:00:41.2018+00
20200215225103	2021-09-07 08:00:41.2018+00
20210813101742	2021-09-07 08:00:41.2018+00
20200830201204	2021-09-07 08:00:41.2018+00
20210706142819	2021-09-07 08:00:41.2018+00
20201019111952	2021-09-07 08:00:41.2018+00
20210604051742	2021-09-07 08:00:41.2018+00
20210630144339	2021-09-07 08:00:41.2018+00
20210311093723	2021-09-07 08:00:41.2018+00
20191204192726	2021-09-07 08:00:41.2018+00
20210525100603	2021-09-07 08:00:41.2018+00
20210308175227	2021-09-07 08:00:41.2018+00
20191225071320	2021-09-07 08:00:41.2018+00
20210709221051	2021-09-07 08:00:41.2018+00
20210317155207	2021-09-07 08:00:41.2018+00
20191112221821	2021-09-07 08:00:41.2018+00
20190828083843	2021-09-07 08:00:41.2018+00
20201119053603	2021-09-07 08:00:41.2018+00
20190524073827	2021-09-07 08:00:41.2018+00
20200510182824	2021-09-07 08:00:41.2018+00
20200812112204	2021-09-07 08:00:41.2018+00
20200525121014	2021-09-07 08:00:41.2018+00
20200704143633	2021-09-07 08:00:41.2018+00
20200304121828	2021-09-07 08:00:41.2018+00
20210115090452	2021-09-07 08:00:41.2018+00
20210212153934	2021-09-07 08:00:41.2018+00
20200925193815	2021-09-07 08:00:41.2018+00
20210407150240	2021-09-07 08:00:41.2018+00
20201203171631	2021-09-07 08:00:41.2018+00
20210513155635	2021-09-07 08:00:41.2018+00
20200319124127	2021-09-07 08:00:41.2018+00
20201126165919	2021-09-07 08:00:41.2018+00
20210705143150	2021-09-07 08:00:41.2018+00
20200309140540	2021-09-07 08:00:41.2018+00
20190606014128	2021-09-07 08:00:41.2018+00
20210625094554	2021-09-07 08:00:41.2018+00
20200827114902	2021-09-07 08:00:41.2018+00
20210129225244	2021-09-07 08:00:41.2018+00
20190822185441	2021-09-07 08:00:41.2018+00
20201215205404	2021-09-07 08:00:41.2018+00
20210414130017	2021-09-07 08:00:41.2018+00
20210721174441	2021-09-07 08:00:41.2018+00
20200504191813	2021-09-07 08:00:41.2018+00
20201201033202	2021-09-07 08:00:41.2018+00
20191026120008	2021-09-07 08:00:41.2018+00
20200219142522	2021-09-07 08:00:41.2018+00
20200306170321	2021-09-07 08:00:41.2018+00
20191112115247	2021-09-07 08:00:41.2018+00
20190102152410	2021-09-07 08:00:41.2018+00
20190715140740	2021-09-07 08:00:41.2018+00
20190826090628	2021-09-07 08:00:41.2018+00
20190719174505	2021-09-07 08:00:41.2018+00
20200702123805	2021-09-07 08:00:41.2018+00
20200903092241	2021-09-07 08:00:41.2018+00
20210629104933	2021-09-07 08:00:41.2018+00
20200821034419	2021-09-07 08:00:41.2018+00
20201112145311	2021-09-07 08:00:41.2018+00
20200207090921	2021-09-07 08:00:41.2018+00
20191218190253	2021-09-07 08:00:41.2018+00
20190524062810	2021-09-07 08:00:41.2018+00
20191105140942	2021-09-07 08:00:41.2018+00
20201019152046	2021-09-07 08:00:41.2018+00
20210331105335	2021-09-07 08:00:41.2018+00
20201116211829	2021-09-07 08:00:41.2018+00
20200311084025	2021-09-07 08:00:41.2018+00
20200423081519	2021-09-07 08:00:41.2018+00
20200512160004	2021-09-07 08:00:41.2018+00
20200825180050	2021-09-07 08:00:41.2018+00
20200722075411	2021-09-07 08:00:41.2018+00
20181228175414	2021-09-07 08:00:41.2018+00
20191125024005	2021-09-07 08:00:41.2018+00
20210621155328	2021-09-07 08:00:41.2018+00
20200821224343	2021-09-07 08:00:41.2018+00
20200424102023	2021-09-07 08:00:41.2018+00
20190703185326	2021-09-07 08:00:41.2018+00
20200219183456	2021-09-07 08:00:41.2018+00
20191009110757	2021-09-07 08:00:41.2018+00
20200812150810	2021-09-07 08:00:41.2018+00
20200609012539	2021-09-07 08:00:41.2018+00
20200929063159	2021-09-07 08:00:41.2018+00
20210317192943	2021-09-07 08:00:41.2018+00
20190925055902	2021-09-07 08:00:41.2018+00
20200812150811	2021-09-07 08:00:41.2018+00
20210422142647	2021-09-07 08:00:41.2018+00
20191003060227	2021-09-07 08:00:41.2018+00
20200812150812	2021-09-07 08:00:41.2018+00
20210415100159	2021-09-07 08:00:41.2018+00
20201022192254	2021-09-07 08:00:41.2018+00
20210721134707	2021-09-07 08:00:41.2018+00
20200403132349	2021-09-07 08:00:41.2018+00
20201022080802	2021-09-07 08:00:41.2018+00
20210729061556	2021-09-07 08:00:41.2018+00
20190130091630	2021-09-07 08:00:41.2018+00
20200903064431	2021-09-07 08:00:41.2018+00
20190709220014	2021-09-07 08:00:41.2018+00
20210325150837	2021-09-07 08:00:41.2018+00
20200423075720	2021-09-07 08:00:41.2018+00
20201217111448	2021-09-07 08:00:41.2018+00
20200210184420	2021-09-07 08:00:41.2018+00
20200219193058	2021-09-07 08:00:41.2018+00
20200325104756	2021-09-07 08:00:41.2018+00
20190918121135	2021-09-07 08:00:41.2018+00
20200204113224	2021-09-07 08:00:41.2018+00
20200313203550	2021-09-07 08:00:41.2018+00
20210218040814	2021-09-07 08:00:41.2018+00
20190124200344	2021-09-07 08:00:41.2018+00
20210805131510	2021-09-07 08:00:41.2018+00
20200527152657	2021-09-07 08:00:41.2018+00
20210805192450	2021-09-07 08:00:41.2018+00
20190802195602	2021-09-07 08:00:41.2018+00
20210119153801	2021-09-07 08:00:41.2018+00
20200120083607	2021-09-07 08:00:41.2018+00
20191218122457	2021-09-07 08:00:41.2018+00
20210127202613	2021-09-07 08:00:41.2018+00
20200920130356	2021-09-07 08:00:41.2018+00
20200210184410	2021-09-07 08:00:41.2018+00
20210621043337	2021-09-07 08:00:41.2018+00
20191206122926	2021-09-07 08:00:41.2018+00
20210305031822	2021-09-07 08:00:41.2018+00
20201110221400	2021-09-07 08:00:41.2018+00
20191014025629	2021-09-07 08:00:41.2018+00
20190910125852	2021-09-07 08:00:41.2018+00
20201008075620	2021-09-07 08:00:41.2018+00
20210520102039	2021-09-07 08:00:41.2018+00
20200826220746	2021-09-07 08:00:41.2018+00
20190418182545	2021-09-07 08:00:41.2018+00
20210112143418	2021-09-07 08:00:41.2018+00
20190322164830	2021-09-07 08:00:41.2018+00
20191114173602	2021-09-07 08:00:41.2018+00
20201111051655	2021-09-07 08:00:41.2018+00
20190115054215	2021-09-07 08:00:41.2018+00
20190724112147	2021-09-07 08:00:41.2018+00
20210602122233	2021-09-07 08:00:41.2018+00
20200519115908	2021-09-07 08:00:41.2018+00
20200922231755	2021-09-07 08:00:41.2018+00
20210420012444	2021-09-07 08:00:41.2018+00
20200511220023	2021-09-07 08:00:41.2018+00
20210707171536	2021-09-07 08:00:41.2018+00
20200408154604	2021-09-07 08:00:41.2018+00
20200803125340	2021-09-07 08:00:41.2018+00
20190905091812	2021-09-07 08:00:41.2018+00
20190312071108	2021-09-07 08:00:41.2018+00
20200325162730	2021-09-07 08:00:41.2018+00
20200706005325	2021-09-07 08:00:41.2018+00
20200522235146	2021-09-07 08:00:41.2018+00
20190325105715	2021-09-07 08:00:41.2018+00
20210429131525	2021-09-07 08:00:41.2018+00
20200115135234	2021-09-07 08:00:41.2018+00
20210225153522	2021-09-07 08:00:41.2018+00
20190517153211	2021-09-07 08:00:41.2018+00
20200304160801	2021-09-07 08:00:41.2018+00
20200727142337	2021-09-07 08:00:41.2018+00
20200604143628	2021-09-07 08:00:41.2018+00
20200123091854	2021-09-07 08:00:41.2018+00
20201029052241	2021-09-07 08:00:41.2018+00
20210721125620	2021-09-07 08:00:41.2018+00
20200204070729	2021-09-07 08:00:41.2018+00
20191202181924	2021-09-07 08:00:41.2018+00
20200408132152	2021-09-07 08:00:41.2018+00
20210222085551	2021-09-07 08:00:41.2018+00
20191121122856	2021-09-07 08:00:41.2018+00
20191227140254	2021-09-07 08:00:41.2018+00
20201104142036	2021-09-07 08:00:41.2018+00
20210222042745	2021-09-07 08:00:41.2018+00
20200518133123	2021-09-07 08:00:41.2018+00
20200121132641	2021-09-07 08:00:41.2018+00
20210603140302	2021-09-07 08:00:41.2018+00
20201124122817	2021-09-07 08:00:41.2018+00
20210107194543	2021-09-07 08:00:41.2018+00
20201124185639	2021-09-07 08:00:41.2018+00
20191216183532	2021-09-07 08:00:41.2018+00
20201209154746	2021-09-07 08:00:41.2018+00
20210412142223	2021-09-07 08:00:41.2018+00
20200527211605	2021-09-07 08:00:41.2018+00
20200318183553	2021-09-07 08:00:41.2018+00
20201026182253	2021-09-07 08:00:41.2018+00
20191217165641	2021-09-07 08:00:41.2018+00
20201208081429	2021-09-07 08:00:41.2018+00
20200709101408	2021-09-07 08:00:41.2018+00
20210406140057	2021-09-07 08:00:41.2018+00
20200511208012	2021-09-07 08:00:41.2018+00
20190409224933	2021-09-07 08:00:41.2018+00
20210306121300	2021-09-07 08:00:41.2018+00
20210527134019	2021-09-07 08:00:41.2018+00
20201221225303	2021-09-07 08:00:41.2018+00
20200827150057	2021-09-07 08:00:41.2018+00
20200226162239	2021-09-07 08:00:41.2018+00
20200108233040	2021-09-07 08:00:41.2018+00
20201119162801	2021-09-07 08:00:41.2018+00
20201103013242	2021-09-07 08:00:41.2018+00
20210107154615	2021-09-07 08:00:41.2018+00
20200324115359	2021-09-07 08:00:41.2018+00
20200911120132	2021-09-07 08:00:41.2018+00
20200511092505	2021-09-07 08:00:41.2018+00
20200624142107	2021-09-07 08:00:41.2018+00
20200604174544	2021-09-07 08:00:41.2018+00
20201119031515	2021-09-07 08:00:41.2018+00
20190715193142	2021-09-07 08:00:41.2018+00
20190816151221	2021-09-07 08:00:41.2018+00
20200212052620	2021-09-07 08:00:41.2018+00
20200311093210	2021-09-07 08:00:41.2018+00
20200825154237	2021-09-07 08:00:41.2018+00
20210526222715	2021-09-07 08:00:41.2018+00
20210610042700	2021-09-07 08:00:41.2018+00
20210412172030	2021-09-07 08:00:41.2018+00
20201120144823	2021-09-07 08:00:41.2018+00
20200325104833	2021-09-07 08:00:41.2018+00
20200521022725	2021-09-07 08:00:41.2018+00
20210430100947	2021-09-07 08:00:41.2018+00
20191125133353	2021-09-07 08:00:41.2018+00
20201211145950	2021-09-07 08:00:41.2018+00
20190725183432	2021-09-07 08:00:41.2018+00
20200831224343	2021-09-07 08:00:41.2018+00
20191029191901	2021-09-07 08:00:41.2018+00
20201228184500	2021-09-07 08:00:41.2018+00
20201106193452	2021-09-07 08:00:41.2018+00
20200601210148	2021-09-07 08:00:41.2018+00
20191212162434	2021-09-07 08:00:41.2018+00
20200511121610	2021-09-07 08:00:41.2018+00
20200921131313	2021-09-07 08:00:41.2018+00
20201204085522	2021-09-07 08:00:41.2018+00
20201204110700	2021-09-07 08:00:41.2018+00
20210511142748	2021-09-07 08:00:41.2018+00
20191107173446	2021-09-07 08:00:41.2018+00
20201116090328	2021-09-07 08:00:41.2018+00
20191026041447	2021-09-07 08:00:41.2018+00
20200427064130	2021-09-07 08:00:41.2018+00
20200702201039	2021-09-07 08:00:41.2018+00
20190819231552	2021-09-07 08:00:41.2018+00
20190116234221	2021-09-07 08:00:41.2018+00
20201204111300	2021-09-07 08:00:41.2018+00
20210224161552	2021-09-07 08:00:41.2018+00
20200429181335	2021-09-07 08:00:41.2018+00
20190204115450	2021-09-07 08:00:41.2018+00
20201230180202	2021-09-07 08:00:41.2018+00
20201224144948	2021-09-07 08:00:41.2018+00
20200511083541	2021-09-07 08:00:41.2018+00
20200805071842	2021-09-07 08:00:41.2018+00
20210513155447	2021-09-07 08:00:41.2018+00
20200810101029	2021-09-07 08:00:41.2018+00
20200211155100	2021-09-07 08:00:41.2018+00
20191106150931	2021-09-07 08:00:41.2018+00
20200727114147	2021-09-07 08:00:41.2018+00
20200511121620	2021-09-07 08:00:41.2018+00
20200505164958	2021-09-07 08:00:41.2018+00
20190218134209	2021-09-07 08:00:41.2018+00
20190228192410	2021-09-07 08:00:41.2018+00
20200311082301	2021-09-07 08:00:41.2018+00
20200325183636	2021-09-07 08:00:41.2018+00
20201229105948	2021-09-07 08:00:41.2018+00
20200420172752	2021-09-07 08:00:41.2018+00
20210423124223	2021-09-07 08:00:41.2018+00
20210325092215	2021-09-07 08:00:41.2018+00
20200929113254	2021-09-07 08:00:41.2018+00
20190830075508	2021-09-07 08:00:41.2018+00
20200402185044	2021-09-07 08:00:41.2018+00
20191028162543	2021-09-07 08:00:41.2018+00
20200717080257	2021-09-07 08:00:41.2018+00
20210729192148	2021-09-07 08:00:41.2018+00
20210422181809	2021-09-07 08:00:41.2018+00
20200718040300	2021-09-07 08:00:41.2018+00
20200727082309	2021-09-07 08:00:41.2018+00
20191101092917	2021-09-07 08:00:41.2018+00
20201108134919	2021-09-07 08:00:41.2018+00
20200928203531	2021-09-07 08:00:41.2018+00
20210311120156	2021-09-07 08:00:41.2018+00
20190726101050	2021-09-07 08:00:41.2018+00
20210219111040	2021-09-07 08:00:41.2018+00
20200616124338	2021-09-07 08:00:41.2018+00
20200817100710	2021-09-07 08:00:41.2018+00
20210812171704	2021-09-07 08:00:41.2018+00
20210608103230	2021-09-07 08:00:41.2018+00
20210511095658	2021-09-07 08:00:41.2018+00
20201203123201	2021-09-07 08:00:41.2018+00
20200608212807	2021-09-07 08:00:41.2018+00
20200421111005	2021-09-07 08:00:41.2018+00
20210617022324	2021-09-07 08:00:41.2018+00
20190607190856	2021-09-07 08:00:41.2018+00
20210203221631	2021-09-07 08:00:41.2018+00
20200423081409	2021-09-07 08:00:41.2018+00
20200703064117	2021-09-07 08:00:41.2018+00
20210722150102	2021-09-07 08:00:41.2018+00
20210226141517	2021-09-07 08:00:41.2018+00
20201102152945	2021-09-07 08:00:41.2018+00
20200423101529	2021-09-07 08:00:41.2018+00
20210305002016	2021-09-07 08:00:41.2018+00
20201028182809	2021-09-07 08:00:41.2018+00
20201008144854	2021-09-07 08:00:41.2018+00
20210413092922	2021-09-07 08:00:41.2018+00
20200925112104	2021-09-07 08:00:41.2018+00
20210615064342	2021-09-07 08:00:41.2018+00
20200730083043	2021-09-07 08:00:41.2018+00
20200316111759	2021-09-07 08:00:41.2018+00
20210518074332	2021-09-07 08:00:41.2018+00
20210729163312	2021-09-07 08:00:41.2018+00
20200123091734	2021-09-07 08:00:41.2018+00
20200929032729	2021-09-07 08:00:41.2018+00
20200727100631	2021-09-07 08:00:41.2018+00
20210616110748	2021-09-07 08:00:41.2018+00
20210511165250	2021-09-07 08:00:41.2018+00
20200811154631	2021-09-07 08:00:41.2018+00
20200716145156	2021-09-07 08:00:41.2018+00
20200429182245	2021-09-07 08:00:41.2018+00
20210531053916	2021-09-07 08:00:41.2018+00
20200912152943	2021-09-07 08:00:41.2018+00
20201214184020	2021-09-07 08:00:41.2018+00
20200304160823	2021-09-07 08:00:41.2018+00
20210607080044	2021-09-07 08:00:41.2018+00
20210615234935	2021-09-07 08:00:41.2018+00
20190926180443	2021-09-07 08:00:41.2018+00
20200203025821	2021-09-07 08:00:41.2018+00
20191014132931	2021-09-07 08:00:41.2018+00
20201019094741	2021-09-07 08:00:41.2018+00
20191120200015	2021-09-07 08:00:41.2018+00
20190624123615	2021-09-07 08:00:41.2018+00
20200827060932	2021-09-07 08:00:41.2018+00
20210317105904	2021-09-07 08:00:41.2018+00
20201202142751	2021-09-07 08:00:41.2018+00
20200325094612	2021-09-07 08:00:41.2018+00
20200203015140	2021-09-07 08:00:41.2018+00
20200817070126	2021-09-07 08:00:41.2018+00
20210427045604	2021-09-07 08:00:41.2018+00
20201120071303	2021-09-07 08:00:41.2018+00
20210621223000	2021-09-07 08:00:41.2018+00
20210805085706	2021-09-07 08:00:41.2018+00
20200221074028	2021-09-07 08:00:41.2018+00
20201001101136	2021-09-07 08:00:41.2018+00
20200623000320	2021-09-07 08:00:41.2018+00
20210621111747	2021-09-07 08:00:41.2018+00
20210527065005	2021-09-07 08:00:41.2018+00
20200623170000	2021-09-07 08:00:41.2018+00
20191205145647	2021-09-07 08:00:41.2018+00
20190416213631	2021-09-07 08:00:41.2018+00
20210623163342	2021-09-07 08:00:41.2018+00
20200114113341	2021-09-07 08:00:41.2018+00
20210804151444	2021-09-07 08:00:41.2018+00
20190326164045	2021-09-07 08:00:41.2018+00
20191030223057	2021-09-07 08:00:41.2018+00
20210719145532	2021-09-07 08:00:41.2018+00
20200203183508	2021-09-07 08:00:41.2018+00
20200826220745	2021-09-07 08:00:41.2018+00
20200902135542	2021-09-07 08:00:41.2018+00
20201223114050	2021-09-07 08:00:41.2018+00
20210303053341	2021-09-07 08:00:41.2018+00
20200128141125	2021-09-07 08:00:41.2018+00
20201204111600	2021-09-07 08:00:41.2018+00
20210222192144	2021-09-07 08:00:41.2018+00
20210601131742	2021-09-07 08:00:41.2018+00
20210401134455	2021-09-07 08:00:41.2018+00
20200227164113	2021-09-07 08:00:41.2018+00
20201104124300	2021-09-07 08:00:41.2018+00
20200131140428	2021-09-07 08:00:41.2018+00
20190715042813	2021-09-07 08:00:41.2018+00
20200311141053	2021-09-07 08:00:41.2018+00
20200525144525	2021-09-07 08:00:41.2018+00
20200311141943	2021-09-07 08:00:41.2018+00
20210208125248	2021-09-07 08:00:41.2018+00
20201021105959	2021-09-07 08:00:41.2018+00
20190725080128	2021-09-07 08:00:41.2018+00
20190621151636	2021-09-07 08:00:41.2018+00
20210430124630	2021-09-07 08:00:41.2018+00
20200701205710	2021-09-07 08:00:41.2018+00
20210610113229	2021-09-07 08:00:41.2018+00
20210226120851	2021-09-07 08:00:41.2018+00
20200827060911	2021-09-07 08:00:41.2018+00
20210429024843	2021-09-07 08:00:41.2018+00
20210204152257	2021-09-07 08:00:41.2018+00
20200304023851	2021-09-07 08:00:41.2018+00
20210713144637	2021-09-07 08:00:41.2018+00
20200226100614	2021-09-07 08:00:41.2018+00
20200421054948	2021-09-07 08:00:41.2018+00
20200824130447	2021-09-07 08:00:41.2018+00
20200312125121	2021-09-07 08:00:41.2018+00
20210701111627	2021-09-07 08:00:41.2018+00
20191017180026	2021-09-07 08:00:41.2018+00
20201112173911	2021-09-07 08:00:41.2018+00
20210407140539	2021-09-07 08:00:41.2018+00
20200402001106	2021-09-07 08:00:41.2018+00
20210527185542	2021-09-07 08:00:41.2018+00
20200511130130	2021-09-07 08:00:41.2018+00
20190930082942	2021-09-07 08:00:41.2018+00
20191118211629	2021-09-07 08:00:41.2018+00
20200607223047	2021-09-07 08:00:41.2018+00
20190919040324	2021-09-07 08:00:41.2018+00
20200720154007	2021-09-07 08:00:41.2018+00
20210322182751	2021-09-07 08:00:41.2018+00
20191105094558	2021-09-07 08:00:41.2018+00
20210621223242	2021-09-07 08:00:41.2018+00
20200510182218	2021-09-07 08:00:41.2018+00
20210520133032	2021-09-07 08:00:41.2018+00
20191015154408	2021-09-07 08:00:41.2018+00
20190527194830	2021-09-07 08:00:41.2018+00
20210804154407	2021-09-07 08:00:41.2018+00
20190919104119	2021-09-07 08:00:41.2018+00
20191208071111	2021-09-07 08:00:41.2018+00
20210325113129	2021-09-07 08:00:41.2018+00
20210708063032	2021-09-07 08:00:41.2018+00
20200608212549	2021-09-07 08:00:41.2018+00
20200219133859	2021-09-07 08:00:41.2018+00
20201207151651	2021-09-07 08:00:41.2018+00
20210308190413	2021-09-07 08:00:41.2018+00
20200912153218	2021-09-07 08:00:41.2018+00
20190913174707	2021-09-07 08:00:41.2018+00
20200603073101	2021-09-07 08:00:41.2018+00
20200825081035	2021-09-07 08:00:41.2018+00
20190225152525	2021-09-07 08:00:41.2018+00
20190214112022	2021-09-07 08:00:41.2018+00
20191127163053	2021-09-07 08:00:41.2018+00
20200430174637	2021-09-07 08:00:41.2018+00
20191105155113	2021-09-07 08:00:41.2018+00
20200908064229	2021-09-07 08:00:41.2018+00
20210114142443	2021-09-07 08:00:41.2018+00
20210222185538	2021-09-07 08:00:41.2018+00
20200527170649	2021-09-07 08:00:41.2018+00
20210526190259	2021-09-07 08:00:41.2018+00
20200213220159	2021-09-07 08:00:41.2018+00
20191105193652	2021-09-07 08:00:41.2018+00
20200804041930	2021-09-07 08:00:41.2018+00
20200909161624	2021-09-07 08:00:41.2018+00
20200528125905	2021-09-07 08:00:41.2018+00
20210617180131	2021-09-07 08:00:41.2018+00
20210627204936	2021-09-07 08:00:41.2018+00
20210423160427	2021-09-07 08:00:41.2018+00
20210208125050	2021-09-07 08:00:41.2018+00
20210415144538	2021-09-07 08:00:41.2018+00
20200617002030	2021-09-07 08:00:41.2018+00
20200819202048	2021-09-07 08:00:41.2018+00
20210205104425	2021-09-07 08:00:41.2018+00
20200514000132	2021-09-07 08:00:41.2018+00
20201030200115	2021-09-07 08:00:41.2018+00
20190827222124	2021-09-07 08:00:41.2018+00
20191204093410	2021-09-07 08:00:41.2018+00
20191123062354	2021-09-07 08:00:41.2018+00
20201027211138	2021-09-07 08:00:41.2018+00
20200203025602	2021-09-07 08:00:41.2018+00
20200114112932	2021-09-07 08:00:41.2018+00
20190918104212	2021-09-07 08:00:41.2018+00
20200901212304	2021-09-07 08:00:41.2018+00
20200304090155	2021-09-07 08:00:41.2018+00
20201005153955	2021-09-07 08:00:41.2018+00
20200331220930	2021-09-07 08:00:41.2018+00
20210729061526	2021-09-07 08:00:41.2018+00
20200706170536	2021-09-07 08:00:41.2018+00
20201204193952	2021-09-07 08:00:41.2018+00
20200408154533	2021-09-07 08:00:41.2018+00
20210514063252	2021-09-07 08:00:41.2018+00
20200203104214	2021-09-07 08:00:41.2018+00
20190709220143	2021-09-07 08:00:41.2018+00
20200904174901	2021-09-07 08:00:41.2018+00
20210629153519	2021-09-07 08:00:41.2018+00
20210423155059	2021-09-07 08:00:41.2018+00
20200211152410	2021-09-07 08:00:41.2018+00
20201110161542	2021-09-07 08:00:41.2018+00
20201012122428	2021-09-07 08:00:41.2018+00
20190911115056	2021-09-07 08:00:41.2018+00
20200722202318	2021-09-07 08:00:41.2018+00
20201007033723	2021-09-07 08:00:41.2018+00
20210520133440	2021-09-07 08:00:41.2018+00
20191121111621	2021-09-07 08:00:41.2018+00
20200916135044	2021-09-07 08:00:41.2018+00
20200124053531	2021-09-07 08:00:41.2018+00
20210610102413	2021-09-07 08:00:41.2018+00
20201008013434	2021-09-07 08:00:41.2018+00
20191218125015	2021-09-07 08:00:41.2018+00
20190416213615	2021-09-07 08:00:41.2018+00
20200316162648	2021-09-07 08:00:41.2018+00
20200703121557	2021-09-07 08:00:41.2018+00
20201106135608	2021-09-07 08:00:41.2018+00
20200908095446	2021-09-07 08:00:41.2018+00
20200825081055	2021-09-07 08:00:41.2018+00
20200623000148	2021-09-07 08:00:41.2018+00
20201106134950	2021-09-07 08:00:41.2018+00
20201118093135	2021-09-07 08:00:41.2018+00
20200403184110	2021-09-07 08:00:41.2018+00
20191003195218	2021-09-07 08:00:41.2018+00
20191021101942	2021-09-07 08:00:41.2018+00
20200407171133	2021-09-07 08:00:41.2018+00
20210312140029	2021-09-07 08:00:41.2018+00
20210520012430	2021-09-07 08:00:41.2018+00
20210719192928	2021-09-07 08:00:41.2018+00
20200625082258	2021-09-07 08:00:41.2018+00
20201001022100	2021-09-07 08:00:41.2018+00
20190815093936	2021-09-07 08:00:41.2018+00
20210427200840	2021-09-07 08:00:41.2018+00
20210608072346	2021-09-07 08:00:41.2018+00
20210126030249	2021-09-07 08:00:41.2018+00
20200826053152	2021-09-07 08:00:41.2018+00
20210621090030	2021-09-07 08:00:41.2018+00
20210628124505	2021-09-07 08:00:41.2018+00
20191214175727	2021-09-07 08:00:41.2018+00
20200227165129	2021-09-07 08:00:41.2018+00
20201112195322	2021-09-07 08:00:41.2018+00
20191209215316	2021-09-07 08:00:41.2018+00
20200214025454	2021-09-07 08:00:41.2018+00
20200122144759	2021-09-07 08:00:41.2018+00
20210324112439	2021-09-07 08:00:41.2018+00
20200508140959	2021-09-07 08:00:41.2018+00
20210415142700	2021-09-07 08:00:41.2018+00
20200128134110	2021-09-07 08:00:41.2018+00
20191119221041	2021-09-07 08:00:41.2018+00
20210205143926	2021-09-07 08:00:41.2018+00
20200207182131	2021-09-07 08:00:41.2018+00
20210512120122	2021-09-07 08:00:41.2018+00
20200602143020	2021-09-07 08:00:41.2018+00
20200912193210	2021-09-07 08:00:41.2018+00
20200206141511	2021-09-07 08:00:41.2018+00
20200808221641	2021-09-07 08:00:41.2018+00
20191216074802	2021-09-07 08:00:41.2018+00
20200608075553	2021-09-07 08:00:41.2018+00
20190712064021	2021-09-07 08:00:41.2018+00
20210611080951	2021-09-07 08:00:41.2018+00
20200217225719	2021-09-07 08:00:41.2018+00
20200325104834	2021-09-07 08:00:41.2018+00
20190917173107	2021-09-07 08:00:41.2018+00
20210224132547	2021-09-07 08:00:41.2018+00
20210217101901	2021-09-07 08:00:41.2018+00
20210729192959	2021-09-07 08:00:41.2018+00
20191115115522	2021-09-07 08:00:41.2018+00
20200824045812	2021-09-07 08:00:41.2018+00
20201204215353	2021-09-07 08:00:41.2018+00
20190529142545	2021-09-07 08:00:41.2018+00
20191014030134	2021-09-07 08:00:41.2018+00
20210804200114	2021-09-07 08:00:41.2018+00
20191118173522	2021-09-07 08:00:41.2018+00
20200413072059	2021-09-07 08:00:41.2018+00
20200928131934	2021-09-07 08:00:41.2018+00
20210621091830	2021-09-07 08:00:41.2018+00
20200624222443	2021-09-07 08:00:41.2018+00
20200831074356	2021-09-07 08:00:41.2018+00
20200831204646	2021-09-07 08:00:41.2018+00
20190115054216	2021-09-07 08:00:41.2018+00
20200710113437	2021-09-07 08:00:41.2018+00
20200521225327	2021-09-07 08:00:41.2018+00
20200819113644	2021-09-07 08:00:41.2018+00
20210720130006	2021-09-07 08:00:41.2018+00
20200509203901	2021-09-07 08:00:41.2018+00
20200113133352	2021-09-07 08:00:41.2018+00
20200729151021	2021-09-07 08:00:41.2018+00
20210706213537	2021-09-07 08:00:41.2018+00
20201210175044	2021-09-07 08:00:41.2018+00
20200506125731	2021-09-07 08:00:41.2018+00
20190904205212	2021-09-07 08:00:41.2018+00
20200304085423	2021-09-07 08:00:41.2018+00
20210706151154	2021-09-07 08:00:41.2018+00
20210325152011	2021-09-07 08:00:41.2018+00
20200323080714	2021-09-07 08:00:41.2018+00
20200129172428	2021-09-07 08:00:41.2018+00
20210621164210	2021-09-07 08:00:41.2018+00
20210623074226	2021-09-07 08:00:41.2018+00
20191122161519	2021-09-07 08:00:41.2018+00
20210812145010	2021-09-07 08:00:41.2018+00
20210205134213	2021-09-07 08:00:41.2018+00
20210201034649	2021-09-07 08:00:41.2018+00
20200811130433	2021-09-07 08:00:41.2018+00
20210106191305	2021-09-07 08:00:41.2018+00
20200909083339	2021-09-07 08:00:41.2018+00
20210611082822	2021-09-07 08:00:41.2018+00
20191112214305	2021-09-07 08:00:41.2018+00
20201103184333	2021-09-07 08:00:41.2018+00
20210209171525	2021-09-07 08:00:41.2018+00
20200828155205	2021-09-07 08:00:41.2018+00
20190726101133	2021-09-07 08:00:41.2018+00
20201103202213	2021-09-07 08:00:41.2018+00
20191119231621	2021-09-07 08:00:41.2018+00
20190424134256	2021-09-07 08:00:41.2018+00
20200117112554	2021-09-07 08:00:41.2018+00
20210621084632	2021-09-07 08:00:41.2018+00
20200916081749	2021-09-07 08:00:41.2018+00
20210302074524	2021-09-07 08:00:41.2018+00
20200420172927	2021-09-07 08:00:41.2018+00
20200807150937	2021-09-07 08:00:41.2018+00
20200907124300	2021-09-07 08:00:41.2018+00
20210806011811	2021-09-07 08:00:41.2018+00
20210126091713	2021-09-07 08:00:41.2018+00
20191003150045	2021-09-07 08:00:41.2018+00
20200515152649	2021-09-07 08:00:41.2018+00
20200403185127	2021-09-07 08:00:41.2018+00
20201004163918	2021-09-07 08:00:41.2018+00
20200511121549	2021-09-07 08:00:41.2018+00
20190404231137	2021-09-07 08:00:41.2018+00
20200827142811	2021-09-07 08:00:41.2018+00
20200207185149	2021-09-07 08:00:41.2018+00
20210713070842	2021-09-07 08:00:41.2018+00
20191028184740	2021-09-07 08:00:41.2018+00
20210713135152	2021-09-07 08:00:41.2018+00
20190627100221	2021-09-07 08:00:41.2018+00
20201214084105	2021-09-07 08:00:41.2018+00
20200921093826	2021-09-07 08:00:41.2018+00
20191008143850	2021-09-07 08:00:41.2018+00
20210303121224	2021-09-07 08:00:41.2018+00
20200124143014	2021-09-07 08:00:41.2018+00
20210628154900	2021-09-07 08:00:41.2018+00
20201015121805	2021-09-07 08:00:41.2018+00
20210111075105	2021-09-07 08:00:41.2018+00
20210112202949	2021-09-07 08:00:41.2018+00
20200108155731	2021-09-07 08:00:41.2018+00
20210312174321	2021-09-07 08:00:41.2018+00
20191029095537	2021-09-07 08:00:41.2018+00
20210701033622	2021-09-07 08:00:41.2018+00
20200825081025	2021-09-07 08:00:41.2018+00
20190715114644	2021-09-07 08:00:41.2018+00
20200123040535	2021-09-07 08:00:41.2018+00
20200512085150	2021-09-07 08:00:41.2018+00
20191121193110	2021-09-07 08:00:41.2018+00
20200729202222	2021-09-07 08:00:41.2018+00
20210305182855	2021-09-07 08:00:41.2018+00
20200923140404	2021-09-07 08:00:41.2018+00
20201202160105	2021-09-07 08:00:41.2018+00
20200720191134	2021-09-07 08:00:41.2018+00
20200310075115	2021-09-07 08:00:41.2018+00
20210203143131	2021-09-07 08:00:41.2018+00
20210114033715	2021-09-07 08:00:41.2018+00
20201021155606	2021-09-07 08:00:41.2018+00
20200224163804	2021-09-07 08:00:41.2018+00
20200731201834	2021-09-07 08:00:41.2018+00
20200914183227	2021-09-07 08:00:41.2018+00
20210330091751	2021-09-07 08:00:41.2018+00
20201127141433	2021-09-07 08:00:41.2018+00
20201201192112	2021-09-07 08:00:41.2018+00
20200122161638	2021-09-07 08:00:41.2018+00
20190830080123	2021-09-07 08:00:41.2018+00
20200513235532	2021-09-07 08:00:41.2018+00
20200903054946	2021-09-07 08:00:41.2018+00
20210607154719	2021-09-07 08:00:41.2018+00
20201023114628	2021-09-07 08:00:41.2018+00
20191023152913	2021-09-07 08:00:41.2018+00
20210616145254	2021-09-07 08:00:41.2018+00
20210224133337	2021-09-07 08:00:41.2018+00
20210527130524	2021-09-07 08:00:41.2018+00
20210225090801	2021-09-07 08:00:41.2018+00
20190709204413	2021-09-07 08:00:41.2018+00
20201217112249	2021-09-07 08:00:41.2018+00
20210430121522	2021-09-07 08:00:41.2018+00
20200716234259	2021-09-07 08:00:41.2018+00
20210624180613	2021-09-07 08:00:41.2018+00
20210105153342	2021-09-07 08:00:41.2018+00
20210709221659	2021-09-07 08:00:41.2018+00
20210604133651	2021-09-07 08:00:41.2018+00
20210527194558	2021-09-07 08:00:41.2018+00
20210412111213	2021-09-07 08:00:41.2018+00
20200402124802	2021-09-07 08:00:41.2018+00
20210326190903	2021-09-07 08:00:41.2018+00
20191010174846	2021-09-07 08:00:41.2018+00
20200331195952	2021-09-07 08:00:41.2018+00
20201110133629	2021-09-07 08:00:41.2018+00
20210222030537	2021-09-07 08:00:41.2018+00
20210223133116	2021-09-07 08:00:41.2018+00
20210427194958	2021-09-07 08:00:41.2018+00
20201012073022	2021-09-07 08:00:41.2018+00
20201208210209	2021-09-07 08:00:41.2018+00
20200728174137	2021-09-07 08:00:41.2018+00
20190910000130	2021-09-07 08:00:41.2018+00
20200128105731	2021-09-07 08:00:41.2018+00
20191128145231	2021-09-07 08:00:41.2018+00
20210409084242	2021-09-07 08:00:41.2018+00
20210722055217	2021-09-07 08:00:41.2018+00
20210205084357	2021-09-07 08:00:41.2018+00
20200221142216	2021-09-07 08:00:41.2018+00
20200717163656	2021-09-07 08:00:41.2018+00
20200715202659	2021-09-07 08:00:41.2018+00
20210128140232	2021-09-07 08:00:41.2018+00
20190606175050	2021-09-07 08:00:41.2018+00
20191217212348	2021-09-07 08:00:41.2018+00
20210709024048	2021-09-07 08:00:41.2018+00
20201112132808	2021-09-07 08:00:41.2018+00
20210609013512	2021-09-07 08:00:41.2018+00
20200512195442	2021-09-07 08:00:41.2018+00
20201005092703	2021-09-07 08:00:41.2018+00
20201215084652	2021-09-07 08:00:41.2018+00
20190920194925	2021-09-07 08:00:41.2018+00
20190702173936	2021-09-07 08:00:41.2018+00
20190901174200	2021-09-07 08:00:41.2018+00
20200928095732	2021-09-07 08:00:41.2018+00
20210722074220	2021-09-07 08:00:41.2018+00
20200103190741	2021-09-07 08:00:41.2018+00
20190222051615	2021-09-07 08:00:41.2018+00
20200212134201	2021-09-07 08:00:41.2018+00
20191229140154	2021-09-07 08:00:41.2018+00
20200207151640	2021-09-07 08:00:41.2018+00
20201027210127	2021-09-07 08:00:41.2018+00
20200826092324	2021-09-07 08:00:41.2018+00
20191104142124	2021-09-07 08:00:41.2018+00
20200924035825	2021-09-07 08:00:41.2018+00
20201019130244	2021-09-07 08:00:41.2018+00
20190725012225	2021-09-07 08:00:41.2018+00
20210316094047	2021-09-07 08:00:41.2018+00
20200219184219	2021-09-07 08:00:41.2018+00
20210614124111	2021-09-07 08:00:41.2018+00
20210721125820	2021-09-07 08:00:41.2018+00
20200510183128	2021-09-07 08:00:41.2018+00
20201111051847	2021-09-07 08:00:41.2018+00
20200707071941	2021-09-07 08:00:41.2018+00
20200304024042	2021-09-07 08:00:41.2018+00
20190627122264	2021-09-07 08:00:41.2018+00
20200518091745	2021-09-07 08:00:41.2018+00
20210809123658	2021-09-07 08:00:41.2018+00
20190422082247	2021-09-07 08:00:41.2018+00
20200610130002	2021-09-07 08:00:41.2018+00
20210721174411	2021-09-07 08:00:41.2018+00
20201106134139	2021-09-07 08:00:41.2018+00
20200414112444	2021-09-07 08:00:41.2018+00
20201022103304	2021-09-07 08:00:41.2018+00
20210415155043	2021-09-07 08:00:41.2018+00
20200416111111	2021-09-07 08:00:41.2018+00
20200318163148	2021-09-07 08:00:41.2018+00
20210621044000	2021-09-07 08:00:41.2018+00
20200527211000	2021-09-07 08:00:41.2018+00
20200303074328	2021-09-07 08:00:41.2018+00
20191017045817	2021-09-07 08:00:41.2018+00
20200121200203	2021-09-07 08:00:41.2018+00
20201112130715	2021-09-07 08:00:41.2018+00
20201204205814	2021-09-07 08:00:41.2018+00
20200103192914	2021-09-07 08:00:41.2018+00
20190805140353	2021-09-07 08:00:41.2018+00
20190802091750	2021-09-07 08:00:41.2018+00
20210722010101	2021-09-07 08:00:41.2018+00
20210111075104	2021-09-07 08:00:41.2018+00
20200723125205	2021-09-07 08:00:41.2018+00
20200406095930	2021-09-07 08:00:41.2018+00
20210701111909	2021-09-07 08:00:41.2018+00
20200416120354	2021-09-07 08:00:41.2018+00
20210413155324	2021-09-07 08:00:41.2018+00
20201109144634	2021-09-07 08:00:41.2018+00
20191014084150	2021-09-07 08:00:41.2018+00
20190528173628	2021-09-07 08:00:41.2018+00
20210819183128	2021-09-07 08:00:41.2018+00
20200415203024	2021-09-07 08:00:41.2018+00
20200921130028	2021-09-07 08:00:41.2018+00
20190815093949	2021-09-07 08:00:41.2018+00
20200623141544	2021-09-07 08:00:41.2018+00
20210107105306	2021-09-07 08:00:41.2018+00
20200330074719	2021-09-07 08:00:41.2018+00
20200623090030	2021-09-07 08:00:41.2018+00
20210426225417	2021-09-07 08:00:41.2018+00
20201119133534	2021-09-07 08:00:41.2018+00
20210728174349	2021-09-07 08:00:41.2018+00
20200204113223	2021-09-07 08:00:41.2018+00
20200519074709	2021-09-07 08:00:41.2018+00
20200617001001	2021-09-07 08:00:41.2018+00
20200319071702	2021-09-07 08:00:41.2018+00
20191212140117	2021-09-07 08:00:41.2018+00
20190520200123	2021-09-07 08:00:41.2018+00
20200209131152	2021-09-07 08:00:41.2018+00
20210430130259	2021-09-07 08:00:41.2018+00
20190516155724	2021-09-07 08:00:41.2018+00
20210730103808	2021-09-07 08:00:41.2018+00
20191213143656	2021-09-07 08:00:41.2018+00
20200826212800	2021-09-07 08:00:41.2018+00
20200817142800	2021-09-07 08:00:41.2018+00
20200919200318	2021-09-07 08:00:41.2018+00
20210707095545	2021-09-07 08:00:41.2018+00
20190807023052	2021-09-07 08:00:41.2018+00
20200724130639	2021-09-07 08:00:41.2018+00
20210115220610	2021-09-07 08:00:41.2018+00
20190930025655	2021-09-07 08:00:41.2018+00
20201028160832	2021-09-07 08:00:41.2018+00
20191208110214	2021-09-07 08:00:41.2018+00
20200414144547	2021-09-07 08:00:41.2018+00
20200203025619	2021-09-07 08:00:41.2018+00
20210531054108	2021-09-07 08:00:41.2018+00
20200331113728	2021-09-07 08:00:41.2018+00
20200708080631	2021-09-07 08:00:41.2018+00
20190415172035	2021-09-07 08:00:41.2018+00
20210111053308	2021-09-07 08:00:41.2018+00
20210809143931	2021-09-07 08:00:41.2018+00
20190830080626	2021-09-07 08:00:41.2018+00
20200626130220	2021-09-07 08:00:41.2018+00
20210205213933	2021-09-07 08:00:41.2018+00
20200622103836	2021-09-07 08:00:41.2018+00
20210818034001	2021-09-07 08:00:41.2018+00
20200421195234	2021-09-07 08:00:41.2018+00
20210601080039	2021-09-07 08:00:41.2018+00
20210721125804	2021-09-07 08:00:41.2018+00
20200615123055	2021-09-07 08:00:41.2018+00
20200323011225	2021-09-07 08:00:41.2018+00
20200303181648	2021-09-07 08:00:41.2018+00
20210329102724	2021-09-07 08:00:41.2018+00
20190623212503	2021-09-07 08:00:41.2018+00
20200309162244	2021-09-07 08:00:41.2018+00
20190313092516	2021-09-07 08:00:41.2018+00
20200625113337	2021-09-07 08:00:41.2018+00
20200707094341	2021-09-07 08:00:41.2018+00
20210622041846	2021-09-07 08:00:41.2018+00
20191125140458	2021-09-07 08:00:41.2018+00
20210706084713	2021-09-07 08:00:41.2018+00
20210512183309	2021-09-07 08:00:41.2018+00
20210401134157	2021-09-07 08:00:41.2018+00
20210517221612	2021-09-07 08:00:41.2018+00
20200901203055	2021-09-07 08:00:41.2018+00
20200722132540	2021-09-07 08:00:41.2018+00
20200527094322	2021-09-07 08:00:41.2018+00
20201103045515	2021-09-07 08:00:41.2018+00
20200526013844	2021-09-07 08:00:41.2018+00
20200622070606	2021-09-07 08:00:41.2018+00
20200905013247	2021-09-07 08:00:41.2018+00
20200420162730	2021-09-07 08:00:41.2018+00
20210526160133	2021-09-07 08:00:41.2018+00
20190418132750	2021-09-07 08:00:41.2018+00
20210326035553	2021-09-07 08:00:41.2018+00
20190522143720	2021-09-07 08:00:41.2018+00
20210511104929	2021-09-07 08:00:41.2018+00
20191115115043	2021-09-07 08:00:41.2018+00
20210624112821	2021-09-07 08:00:41.2018+00
20210719182944	2021-09-07 08:00:41.2018+00
20200617000757	2021-09-07 08:00:41.2018+00
20190927074328	2021-09-07 08:00:41.2018+00
20200617205000	2021-09-07 08:00:41.2018+00
20200402115013	2021-09-07 08:00:41.2018+00
20210203223551	2021-09-07 08:00:41.2018+00
20210521073920	2021-09-07 08:00:41.2018+00
20200409211607	2021-09-07 08:00:41.2018+00
20210721125637	2021-09-07 08:00:41.2018+00
20210429193106	2021-09-07 08:00:41.2018+00
20200420201933	2021-09-07 08:00:41.2018+00
20210201140434	2021-09-07 08:00:41.2018+00
20210303165302	2021-09-07 08:00:41.2018+00
20201228110238	2021-09-07 08:00:41.2018+00
20201008125643	2021-09-07 08:00:41.2018+00
20200106085831	2021-09-07 08:00:41.2018+00
20210607050531	2021-09-07 08:00:41.2018+00
20190515125613	2021-09-07 08:00:41.2018+00
20191104205020	2021-09-07 08:00:41.2018+00
20201028184640	2021-09-07 08:00:41.2018+00
20200806004742	2021-09-07 08:00:41.2018+00
20191001170300	2021-09-07 08:00:41.2018+00
20190801193427	2021-09-07 08:00:41.2018+00
20201204090855	2021-09-07 08:00:41.2018+00
20200312163407	2021-09-07 08:00:41.2018+00
20201111110918	2021-09-07 08:00:41.2018+00
20190723153247	2021-09-07 08:00:41.2018+00
20200710102418	2021-09-07 08:00:41.2018+00
20200320123839	2021-09-07 08:00:41.2018+00
20210519104931	2021-09-07 08:00:41.2018+00
20200623141217	2021-09-07 08:00:41.2018+00
20210421022010	2021-09-07 08:00:41.2018+00
20200304023245	2021-09-07 08:00:41.2018+00
20190530154715	2021-09-07 08:00:41.2018+00
20210403022952	2021-09-07 08:00:41.2018+00
20190902152329	2021-09-07 08:00:41.2018+00
20200527092027	2021-09-07 08:00:41.2018+00
20190611100201	2021-09-07 08:00:41.2018+00
20200316173312	2021-09-07 08:00:41.2018+00
20200820105408	2021-09-07 08:00:41.2018+00
20210423054537	2021-09-07 08:00:41.2018+00
20200408154331	2021-09-07 08:00:41.2018+00
20200724100123	2021-09-07 08:00:41.2018+00
20200331132103	2021-09-07 08:00:41.2018+00
20210423171304	2021-09-07 08:00:41.2018+00
20200914155135	2021-09-07 08:00:41.2018+00
20210517144856	2021-09-07 08:00:41.2018+00
20201012140452	2021-09-07 08:00:41.2018+00
20201126172030	2021-09-07 08:00:41.2018+00
20190918104222	2021-09-07 08:00:41.2018+00
20201021105347	2021-09-07 08:00:41.2018+00
20191216074803	2021-09-07 08:00:41.2018+00
20210629031900	2021-09-07 08:00:41.2018+00
20190710151229	2021-09-07 08:00:41.2018+00
20190219201635	2021-09-07 08:00:41.2018+00
20200428134356	2021-09-07 08:00:41.2018+00
20201030121314	2021-09-07 08:00:41.2018+00
20210121093618	2021-09-07 08:00:41.2018+00
20200130161817	2021-09-07 08:00:41.2018+00
20200914070140	2021-09-07 08:00:41.2018+00
20200526153844	2021-09-07 08:00:41.2018+00
20200420115948	2021-09-07 08:00:41.2018+00
20200915134004	2021-09-07 08:00:41.2018+00
20200728175710	2021-09-07 08:00:41.2018+00
20200409105455	2021-09-07 08:00:41.2018+00
20190715173819	2021-09-07 08:00:41.2018+00
20200121194154	2021-09-07 08:00:41.2018+00
20200616145031	2021-09-07 08:00:41.2018+00
20201030200539	2021-09-07 08:00:41.2018+00
20201202155913	2021-09-07 08:00:41.2018+00
20200804222543	2021-09-07 08:00:41.2018+00
20210505092746	2021-09-07 08:00:41.2018+00
20190607205656	2021-09-07 08:00:41.2018+00
20210526181821	2021-09-07 08:00:41.2018+00
20200218113721	2021-09-07 08:00:41.2018+00
20200618105638	2021-09-07 08:00:41.2018+00
20210423054022	2021-09-07 08:00:41.2018+00
20210122153259	2021-09-07 08:00:41.2018+00
20190408163745	2021-09-07 08:00:41.2018+00
20210609193101	2021-09-07 08:00:41.2018+00
20210222105120	2021-09-07 08:00:41.2018+00
20200925153423	2021-09-07 08:00:41.2018+00
20190104182041	2021-09-07 08:00:41.2018+00
20200519141534	2021-09-07 08:00:41.2018+00
20191127151619	2021-09-07 08:00:41.2018+00
20201210101250	2021-09-07 08:00:41.2018+00
20200731201408	2021-09-07 08:00:41.2018+00
20200622104923	2021-09-07 08:00:41.2018+00
20200508091106	2021-09-07 08:00:41.2018+00
20190729180447	2021-09-07 08:00:41.2018+00
20210311120153	2021-09-07 08:00:41.2018+00
20200323134519	2021-09-07 08:00:41.2018+00
20200305121159	2021-09-07 08:00:41.2018+00
20201127104228	2021-09-07 08:00:41.2018+00
20200605093113	2021-09-07 08:00:41.2018+00
20200406132529	2021-09-07 08:00:41.2018+00
20200915044225	2021-09-07 08:00:41.2018+00
20200721230558	2021-09-07 08:00:41.2018+00
20210427062807	2021-09-07 08:00:41.2018+00
20210219100137	2021-09-07 08:00:41.2018+00
20190325080727	2021-09-07 08:00:41.2018+00
20200407182205	2021-09-07 08:00:41.2018+00
20200416005331	2021-09-07 08:00:41.2018+00
20200615083635	2021-09-07 08:00:41.2018+00
20210328214434	2021-09-07 08:00:41.2018+00
20210324131727	2021-09-07 08:00:41.2018+00
20200722084623	2021-09-07 08:00:41.2018+00
20200306170211	2021-09-07 08:00:41.2018+00
20200330203826	2021-09-07 08:00:41.2018+00
20201208175117	2021-09-07 08:00:41.2018+00
20190719122333	2021-09-07 08:00:41.2018+00
20210309160106	2021-09-07 08:00:41.2018+00
20190628191740	2021-09-07 08:00:41.2018+00
20210720083432	2021-09-07 08:00:41.2018+00
20201203144655	2021-09-07 08:00:41.2018+00
20191118155702	2021-09-07 08:00:41.2018+00
20201005094331	2021-09-07 08:00:41.2018+00
20200925193906	2021-09-07 08:00:41.2018+00
20210714043818	2021-09-07 08:00:41.2018+00
20210115215854	2021-09-07 08:00:41.2018+00
20200519194042	2021-09-07 08:00:41.2018+00
20200915191156	2021-09-07 08:00:41.2018+00
20191111115431	2021-09-07 08:00:41.2018+00
20201002175953	2021-09-07 08:00:41.2018+00
20210519132129	2021-09-07 08:00:41.2018+00
20200310145304	2021-09-07 08:00:41.2018+00
20190506135400	2021-09-07 08:00:41.2018+00
20201124075951	2021-09-07 08:00:41.2018+00
20200515155620	2021-09-07 08:00:41.2018+00
20210106061254	2021-09-07 08:00:41.2018+00
20190506135337	2021-09-07 08:00:41.2018+00
20190722104947	2021-09-07 08:00:41.2018+00
20200326134443	2021-09-07 08:00:41.2018+00
20201125030847	2021-09-07 08:00:41.2018+00
20190603124955	2021-09-07 08:00:41.2018+00
20210302160544	2021-09-07 08:00:41.2018+00
20200521225346	2021-09-07 08:00:41.2018+00
20190819131155	2021-09-07 08:00:41.2018+00
20200721052853	2021-09-07 08:00:41.2018+00
20191031095636	2021-09-07 08:00:41.2018+00
20190905074652	2021-09-07 08:00:41.2018+00
20200423081441	2021-09-07 08:00:41.2018+00
20200326114443	2021-09-07 08:00:41.2018+00
20200831065322	2021-09-07 08:00:41.2018+00
20210203002331	2021-09-07 08:00:41.2018+00
20200221100514	2021-09-07 08:00:41.2018+00
20200330121000	2021-09-07 08:00:41.2018+00
20200217210353	2021-09-07 08:00:41.2018+00
20200408133211	2021-09-07 08:00:41.2018+00
20190808152507	2021-09-07 08:00:41.2018+00
20200805151726	2021-09-07 08:00:41.2018+00
20210629101712	2021-09-07 08:00:41.2018+00
20210222070356	2021-09-07 08:00:41.2018+00
20200225111018	2021-09-07 08:00:41.2018+00
20210301150451	2021-09-07 08:00:41.2018+00
20190802235445	2021-09-07 08:00:41.2018+00
20200831065320	2021-09-07 08:00:41.2018+00
20200415192656	2021-09-07 08:00:41.2018+00
20210526190553	2021-09-07 08:00:41.2018+00
20200115135132	2021-09-07 08:00:41.2018+00
20210505070612	2021-09-07 08:00:41.2018+00
20210707173645	2021-09-07 08:00:41.2018+00
20201214112752	2021-09-07 08:00:41.2018+00
20200615111857	2021-09-07 08:00:41.2018+00
20190716144222	2021-09-07 08:00:41.2018+00
20191205084057	2021-09-07 08:00:41.2018+00
20190419121952	2021-09-07 08:00:41.2018+00
20190521174505	2021-09-07 08:00:41.2018+00
20201030203854	2021-09-07 08:00:41.2018+00
20210722074309	2021-09-07 08:00:41.2018+00
20210816161107	2021-09-07 08:00:41.2018+00
20210809194250	2021-09-07 08:00:41.2018+00
20210210221006	2021-09-07 08:00:41.2018+00
20200519171058	2021-09-07 08:00:41.2018+00
20191209143606	2021-09-07 08:00:41.2018+00
20200703154822	2021-09-07 08:00:41.2018+00
20210419224834	2021-09-07 08:00:41.2018+00
20200701091253	2021-09-07 08:00:41.2018+00
20210128140157	2021-09-07 08:00:41.2018+00
20200707095849	2021-09-07 08:00:41.2018+00
20191014123159	2021-09-07 08:00:41.2018+00
20191213184609	2021-09-07 08:00:41.2018+00
20190911115207	2021-09-07 08:00:41.2018+00
20200319123041	2021-09-07 08:00:41.2018+00
20190703130053	2021-09-07 08:00:41.2018+00
20200604001128	2021-09-07 08:00:41.2018+00
20210512183310	2021-09-07 08:00:41.2018+00
20210317104032	2021-09-07 08:00:41.2018+00
20210303091651	2021-09-07 08:00:41.2018+00
20200204131831	2021-09-07 08:00:41.2018+00
20191003064615	2021-09-07 08:00:41.2018+00
20201120140210	2021-09-07 08:00:41.2018+00
20200929052138	2021-09-07 08:00:41.2018+00
20200511162115	2021-09-07 08:00:41.2018+00
20200922075244	2021-09-07 08:00:41.2018+00
20191129134844	2021-09-07 08:00:41.2018+00
20201102114018	2021-09-07 08:00:41.2018+00
20191003195620	2021-09-07 08:00:41.2018+00
20200311154110	2021-09-07 08:00:41.2018+00
20191121121947	2021-09-07 08:00:41.2018+00
20210421190157	2021-09-07 08:00:41.2018+00
20190301081611	2021-09-07 08:00:41.2018+00
20210205144537	2021-09-07 08:00:41.2018+00
20200730044810	2021-09-07 08:00:41.2018+00
20210713123345	2021-09-07 08:00:41.2018+00
20191017134513	2021-09-07 08:00:41.2018+00
20210722074339	2021-09-07 08:00:41.2018+00
20200117194840	2021-09-07 08:00:41.2018+00
20200813143356	2021-09-07 08:00:41.2018+00
20210421081724	2021-09-07 08:00:41.2018+00
20210430124212	2021-09-07 08:00:41.2018+00
20190628185000	2021-09-07 08:00:41.2018+00
20191114173624	2021-09-07 08:00:41.2018+00
20190715215532	2021-09-07 08:00:41.2018+00
20200226162156	2021-09-07 08:00:41.2018+00
20201123161611	2021-09-07 08:00:41.2018+00
20210214205155	2021-09-07 08:00:41.2018+00
20200312053852	2021-09-07 08:00:41.2018+00
20201015121825	2021-09-07 08:00:41.2018+00
20210609090856	2021-09-07 08:00:41.2018+00
20200511130129	2021-09-07 08:00:41.2018+00
20200414115801	2021-09-07 08:00:41.2018+00
20200103195205	2021-09-07 08:00:41.2018+00
20210210210232	2021-09-07 08:00:41.2018+00
20200407120000	2021-09-07 08:00:41.2018+00
20200930131343	2021-09-07 08:00:41.2018+00
20200110203532	2021-09-07 08:00:41.2018+00
20201204111100	2021-09-07 08:00:41.2018+00
20201029144444	2021-09-07 08:00:41.2018+00
20200417044453	2021-09-07 08:00:41.2018+00
20200124110831	2021-09-07 08:00:41.2018+00
20200923102312	2021-09-07 08:00:41.2018+00
20200716120419	2021-09-07 08:00:41.2018+00
20210323155010	2021-09-07 08:00:41.2018+00
20210305182740	2021-09-07 08:00:41.2018+00
20200922170907	2021-09-07 08:00:41.2018+00
20200206091544	2021-09-07 08:00:41.2018+00
20200914104642	2021-09-07 08:00:41.2018+00
20200629134747	2021-09-07 08:00:41.2018+00
20210420120734	2021-09-07 08:00:41.2018+00
20210714015537	2021-09-07 08:00:41.2018+00
20210323130831	2021-09-07 08:00:41.2018+00
20210525075724	2021-09-07 08:00:41.2018+00
20200806172909	2021-09-07 08:00:41.2018+00
20201021101956	2021-09-07 08:00:41.2018+00
20200305082754	2021-09-07 08:00:41.2018+00
20200807152315	2021-09-07 08:00:41.2018+00
20210101110640	2021-09-07 08:00:41.2018+00
20190605184422	2021-09-07 08:00:41.2018+00
20210722074242	2021-09-07 08:00:41.2018+00
20210325151758	2021-09-07 08:00:41.2018+00
20210513155546	2021-09-07 08:00:41.2018+00
20200204131054	2021-09-07 08:00:41.2018+00
20210729123101	2021-09-07 08:00:41.2018+00
20200402123926	2021-09-07 08:00:41.2018+00
20200123090839	2021-09-07 08:00:41.2018+00
20200203025801	2021-09-07 08:00:41.2018+00
20201204105300	2021-09-07 08:00:41.2018+00
20200305200641	2021-09-07 08:00:41.2018+00
20200622235737	2021-09-07 08:00:41.2018+00
20210218144656	2021-09-07 08:00:41.2018+00
20200128184209	2021-09-07 08:00:41.2018+00
20200619000316	2021-09-07 08:00:41.2018+00
20210317123054	2021-09-07 08:00:41.2018+00
20210105103649	2021-09-07 08:00:41.2018+00
20191115091425	2021-09-07 08:00:41.2018+00
20200710152642	2021-09-07 08:00:41.2018+00
20200416120128	2021-09-07 08:00:41.2018+00
20210122073805	2021-09-07 08:00:41.2018+00
20210606143426	2021-09-07 08:00:41.2018+00
20210205214003	2021-09-07 08:00:41.2018+00
20191129144631	2021-09-07 08:00:41.2018+00
20191003350045	2021-09-07 08:00:41.2018+00
20200424043515	2021-09-07 08:00:41.2018+00
20210118111307	2021-09-07 08:00:41.2018+00
20200526142550	2021-09-07 08:00:41.2018+00
20200820204041	2021-09-07 08:00:41.2018+00
20201107032257	2021-09-07 08:00:41.2018+00
20200911121027	2021-09-07 08:00:41.2018+00
20200415161021	2021-09-07 08:00:41.2018+00
20200306193236	2021-09-07 08:00:41.2018+00
20200928123510	2021-09-07 08:00:41.2018+00
20210429181325	2021-09-07 08:00:41.2018+00
20210818055357	2021-09-07 08:00:41.2018+00
20200422213749	2021-09-07 08:00:41.2018+00
20210224150506	2021-09-07 08:00:41.2018+00
20200221105436	2021-09-07 08:00:41.2018+00
20191001040549	2021-09-07 08:00:41.2018+00
20210729202143	2021-09-07 08:00:41.2018+00
20200117194830	2021-09-07 08:00:41.2018+00
20201008224441	2021-09-07 08:00:41.2018+00
20200505171834	2021-09-07 08:00:41.2018+00
20210816183304	2021-09-07 08:00:41.2018+00
20190612111201	2021-09-07 08:00:41.2018+00
20200326144443	2021-09-07 08:00:41.2018+00
20200306192548	2021-09-07 08:00:41.2018+00
20200219105209	2021-09-07 08:00:41.2018+00
20200809221641	2021-09-07 08:00:41.2018+00
20210223132934	2021-09-07 08:00:41.2018+00
20200703125016	2021-09-07 08:00:41.2018+00
20190914223900	2021-09-07 08:00:41.2018+00
20191111175230	2021-09-07 08:00:41.2018+00
20210427084924	2021-09-07 08:00:41.2018+00
20200229171700	2021-09-07 08:00:41.2018+00
20201211042306	2021-09-07 08:00:41.2018+00
20200713141854	2021-09-07 08:00:41.2018+00
20200602013901	2021-09-07 08:00:41.2018+00
20200406193427	2021-09-07 08:00:41.2018+00
20200423080334	2021-09-07 08:00:41.2018+00
20200527095401	2021-09-07 08:00:41.2018+00
20210811122206	2021-09-07 08:00:41.2018+00
20200610033228	2021-09-07 08:00:41.2018+00
20210427045711	2021-09-07 08:00:41.2018+00
20200715124210	2021-09-07 08:00:41.2018+00
20200928233632	2021-09-07 08:00:41.2018+00
20200317110602	2021-09-07 08:00:41.2018+00
20191213104838	2021-09-07 08:00:41.2018+00
20200608212030	2021-09-07 08:00:41.2018+00
20210330130420	2021-09-07 08:00:41.2018+00
20210706115312	2021-09-07 08:00:41.2018+00
20190628145246	2021-09-07 08:00:41.2018+00
20191118053631	2021-09-07 08:00:41.2018+00
20200504200709	2021-09-07 08:00:41.2018+00
20200304211738	2021-09-07 08:00:41.2018+00
20210127052226	2021-09-07 08:00:41.2018+00
20210303165201	2021-09-07 08:00:41.2018+00
20210806152104	2021-09-07 08:00:41.2018+00
20200129035708	2021-09-07 08:00:41.2018+00
20200508203901	2021-09-07 08:00:41.2018+00
20200722133540	2021-09-07 08:00:41.2018+00
20210713211008	2021-09-07 08:00:41.2018+00
20200710102846	2021-09-07 08:00:41.2018+00
20190703171157	2021-09-07 08:00:41.2018+00
20190218134158	2021-09-07 08:00:41.2018+00
20190729062536	2021-09-07 08:00:41.2018+00
20210214201118	2021-09-07 08:00:41.2018+00
20191127221608	2021-09-07 08:00:41.2018+00
20201102073808	2021-09-07 08:00:41.2018+00
20210119162812	2021-09-07 08:00:41.2018+00
20201119164605	2021-09-07 08:00:41.2018+00
20191218225624	2021-09-07 08:00:41.2018+00
20200408212219	2021-09-07 08:00:41.2018+00
20190107151020	2021-09-07 08:00:41.2018+00
20210128152830	2021-09-07 08:00:41.2018+00
20201218194311	2021-09-07 08:00:41.2018+00
20200805151001	2021-09-07 08:00:41.2018+00
20210630224625	2021-09-07 08:00:41.2018+00
20191013100213	2021-09-07 08:00:41.2018+00
20200406192059	2021-09-07 08:00:41.2018+00
20210311120155	2021-09-07 08:00:41.2018+00
20190801114109	2021-09-07 08:00:41.2018+00
20190910103144	2021-09-07 08:00:41.2018+00
20200310133822	2021-09-07 08:00:41.2018+00
20191008013056	2021-09-07 08:00:41.2018+00
20210322115438	2021-09-07 08:00:41.2018+00
20210216135504	2021-09-07 08:00:41.2018+00
20190930063627	2021-09-07 08:00:41.2018+00
20201209193551	2021-09-07 08:00:41.2018+00
20200630091656	2021-09-07 08:00:41.2018+00
20191204114127	2021-09-07 08:00:41.2018+00
20210401131948	2021-09-07 08:00:41.2018+00
20210121100038	2021-09-07 08:00:41.2018+00
20191114204343	2021-09-07 08:00:41.2018+00
20190429082448	2021-09-07 08:00:41.2018+00
20191124150431	2021-09-07 08:00:41.2018+00
20200210062432	2021-09-07 08:00:41.2018+00
20201117203224	2021-09-07 08:00:41.2018+00
20210611101034	2021-09-07 08:00:41.2018+00
20201214113729	2021-09-07 08:00:41.2018+00
20190906104555	2021-09-07 08:00:41.2018+00
20210715074933	2021-09-07 08:00:41.2018+00
20200527151413	2021-09-07 08:00:41.2018+00
20200625174052	2021-09-07 08:00:41.2018+00
20200723132258	2021-09-07 08:00:41.2018+00
20201201175656	2021-09-07 08:00:41.2018+00
20200513234502	2021-09-07 08:00:41.2018+00
20200703035021	2021-09-07 08:00:41.2018+00
20200907021256	2021-09-07 08:00:41.2018+00
20191111115229	2021-09-07 08:00:41.2018+00
20210420103955	2021-09-07 08:00:41.2018+00
20201216154457	2021-09-07 08:00:41.2018+00
20200604145731	2021-09-07 08:00:41.2018+00
20190722132830	2021-09-07 08:00:41.2018+00
20201021102554	2021-09-07 08:00:41.2018+00
20210331000934	2021-09-07 08:00:41.2018+00
20200123045415	2021-09-07 08:00:41.2018+00
20200305151736	2021-09-07 08:00:41.2018+00
20191216074800	2021-09-07 08:00:41.2018+00
20210120180956	2021-09-07 08:00:41.2018+00
20190703043358	2021-09-07 08:00:41.2018+00
20200617001848	2021-09-07 08:00:41.2018+00
20190715142138	2021-09-07 08:00:41.2018+00
20200925194006	2021-09-07 08:00:41.2018+00
20200526115436	2021-09-07 08:00:41.2018+00
20191017001326	2021-09-07 08:00:41.2018+00
20191011084019	2021-09-07 08:00:41.2018+00
20210705144657	2021-09-07 08:00:41.2018+00
20210217100728	2021-09-07 08:00:41.2018+00
20210127143025	2021-09-07 08:00:41.2018+00
20200811055018	2021-09-07 08:00:41.2018+00
20210604034354	2021-09-07 08:00:41.2018+00
20200505172405	2021-09-07 08:00:41.2018+00
20210630222522	2021-09-07 08:00:41.2018+00
20201109114603	2021-09-07 08:00:41.2018+00
20201230161206	2021-09-07 08:00:41.2018+00
20200807132726	2021-09-07 08:00:41.2018+00
20201015073808	2021-09-07 08:00:41.2018+00
20210722151951	2021-09-07 08:00:41.2018+00
20201117075742	2021-09-07 08:00:41.2018+00
20201028160831	2021-09-07 08:00:41.2018+00
20190809072552	2021-09-07 08:00:41.2018+00
20200424050250	2021-09-07 08:00:41.2018+00
20190929180751	2021-09-07 08:00:41.2018+00
20200423080607	2021-09-07 08:00:41.2018+00
20190801060809	2021-09-07 08:00:41.2018+00
20200731085019	2021-09-07 08:00:41.2018+00
20200919204155	2021-09-07 08:00:41.2018+00
20190220150130	2021-09-07 08:00:41.2018+00
20210722074256	2021-09-07 08:00:41.2018+00
20200810152043	2021-09-07 08:00:41.2018+00
20200212014653	2021-09-07 08:00:41.2018+00
20190611161641	2021-09-07 08:00:41.2018+00
20200202100932	2021-09-07 08:00:41.2018+00
20200703124823	2021-09-07 08:00:41.2018+00
20200723040950	2021-09-07 08:00:41.2018+00
20200302142052	2021-09-07 08:00:41.2018+00
20200526000407	2021-09-07 08:00:41.2018+00
20210708202548	2021-09-07 08:00:41.2018+00
20190416213556	2021-09-07 08:00:41.2018+00
20210208103243	2021-09-07 08:00:41.2018+00
20200618134223	2021-09-07 08:00:41.2018+00
20210303193605	2021-09-07 08:00:41.2018+00
20210208161207	2021-09-07 08:00:41.2018+00
20210203222620	2021-09-07 08:00:41.2018+00
20191105134413	2021-09-07 08:00:41.2018+00
20200325160952	2021-09-07 08:00:41.2018+00
20190604184643	2021-09-07 08:00:41.2018+00
20190618171120	2021-09-07 08:00:41.2018+00
20200508050301	2021-09-07 08:00:41.2018+00
20210316152500	2021-09-07 08:00:41.2018+00
20200804041018	2021-09-07 08:00:41.2018+00
20200407222647	2021-09-07 08:00:41.2018+00
20191127151629	2021-09-07 08:00:41.2018+00
20190528180441	2021-09-07 08:00:41.2018+00
20200831222347	2021-09-07 08:00:41.2018+00
20201216185336	2021-09-07 08:00:41.2018+00
20200908212414	2021-09-07 08:00:41.2018+00
20200420104323	2021-09-07 08:00:41.2018+00
20200403185422	2021-09-07 08:00:41.2018+00
20190812070645	2021-09-07 08:00:41.2018+00
20210715074359	2021-09-07 08:00:41.2018+00
20200204113225	2021-09-07 08:00:41.2018+00
20210427125400	2021-09-07 08:00:41.2018+00
20190404143330	2021-09-07 08:00:41.2018+00
20191008200204	2021-09-07 08:00:41.2018+00
20190912061145	2021-09-07 08:00:41.2018+00
20190905022045	2021-09-07 08:00:41.2018+00
20200411125656	2021-09-07 08:00:41.2018+00
20201217070530	2021-09-07 08:00:41.2018+00
20210604082145	2021-09-07 08:00:41.2018+00
20210430135954	2021-09-07 08:00:41.2018+00
20210721174453	2021-09-07 08:00:41.2018+00
20210705132928	2021-09-07 08:00:41.2018+00
20210219102900	2021-09-07 08:00:41.2018+00
20200701070435	2021-09-07 08:00:41.2018+00
20210416172516	2021-09-07 08:00:41.2018+00
20201006014605	2021-09-07 08:00:41.2018+00
20201216151616	2021-09-07 08:00:41.2018+00
20201209163958	2021-09-07 08:00:41.2018+00
20190315191339	2021-09-07 08:00:41.2018+00
20210222085529	2021-09-07 08:00:41.2018+00
20190103140724	2021-09-07 08:00:41.2018+00
20210713223941	2021-09-07 08:00:41.2018+00
20210622141148	2021-09-07 08:00:41.2018+00
20210211195543	2021-09-07 08:00:41.2018+00
20201207165956	2021-09-07 08:00:41.2018+00
20210727113447	2021-09-07 08:00:41.2018+00
20201021152210	2021-09-07 08:00:41.2018+00
20200729200808	2021-09-07 08:00:41.2018+00
20200203232433	2021-09-07 08:00:41.2018+00
20190606202100	2021-09-07 08:00:41.2018+00
20210706151446	2021-09-07 08:00:41.2018+00
20201111110318	2021-09-07 08:00:41.2018+00
20201217132603	2021-09-07 08:00:41.2018+00
20210421021510	2021-09-07 08:00:41.2018+00
20191112090226	2021-09-07 08:00:41.2018+00
20210804150624	2021-09-07 08:00:41.2018+00
20190530042141	2021-09-07 08:00:41.2018+00
20200310123229	2021-09-07 08:00:41.2018+00
20191119220425	2021-09-07 08:00:41.2018+00
20200512164334	2021-09-07 08:00:41.2018+00
20191030193050	2021-09-07 08:00:41.2018+00
20200226162723	2021-09-07 08:00:41.2018+00
20201014205300	2021-09-07 08:00:41.2018+00
20210802131812	2021-09-07 08:00:41.2018+00
20190711124721	2021-09-07 08:00:41.2018+00
20200310135823	2021-09-07 08:00:41.2018+00
20190329085614	2021-09-07 08:00:41.2018+00
20210802043253	2021-09-07 08:00:41.2018+00
20200622095419	2021-09-07 08:00:41.2018+00
20200109233938	2021-09-07 08:00:41.2018+00
20200514000340	2021-09-07 08:00:41.2018+00
20210205174154	2021-09-07 08:00:41.2018+00
20200510182556	2021-09-07 08:00:41.2018+00
20190731084415	2021-09-07 08:00:41.2018+00
20191031112603	2021-09-07 08:00:41.2018+00
20210706212710	2021-09-07 08:00:41.2018+00
20200129034515	2021-09-07 08:00:41.2018+00
20190821040941	2021-09-07 08:00:41.2018+00
20200127111840	2021-09-07 08:00:41.2018+00
20200608212652	2021-09-07 08:00:41.2018+00
20190814205640	2021-09-07 08:00:41.2018+00
20200122123016	2021-09-07 08:00:41.2018+00
20190610142825	2021-09-07 08:00:41.2018+00
20200608212435	2021-09-07 08:00:41.2018+00
20210413132500	2021-09-07 08:00:41.2018+00
20210420221106	2021-09-07 08:00:41.2018+00
20191023093207	2021-09-07 08:00:41.2018+00
20190712040412	2021-09-07 08:00:41.2018+00
20190613030606	2021-09-07 08:00:41.2018+00
20200212133945	2021-09-07 08:00:41.2018+00
20201120092000	2021-09-07 08:00:41.2018+00
20200928125258	2021-09-07 08:00:41.2018+00
20200923071644	2021-09-07 08:00:41.2018+00
20210113231546	2021-09-07 08:00:41.2018+00
20200121194048	2021-09-07 08:00:41.2018+00
20190929180827	2021-09-07 08:00:41.2018+00
20210415101228	2021-09-07 08:00:41.2018+00
20200219193117	2021-09-07 08:00:41.2018+00
20210303193544	2021-09-07 08:00:41.2018+00
20200310215714	2021-09-07 08:00:41.2018+00
20210601125410	2021-09-07 08:00:41.2018+00
20190606034427	2021-09-07 08:00:41.2018+00
20201110035029	2021-09-07 08:00:41.2018+00
20201130103926	2021-09-07 08:00:41.2018+00
20201201163227	2021-09-07 08:00:41.2018+00
20201005092753	2021-09-07 08:00:41.2018+00
20210218144056	2021-09-07 08:00:41.2018+00
20200306170531	2021-09-07 08:00:41.2018+00
20191008142331	2021-09-07 08:00:41.2018+00
20200106071113	2021-09-07 08:00:41.2018+00
20210317035357	2021-09-07 08:00:41.2018+00
20191114201118	2021-09-07 08:00:41.2018+00
20200102140148	2021-09-07 08:00:41.2018+00
20210602164044	2021-09-07 08:00:41.2018+00
20200213220211	2021-09-07 08:00:41.2018+00
20200818052219	2021-09-07 08:00:41.2018+00
20190924124627	2021-09-07 08:00:41.2018+00
20200824124623	2021-09-07 08:00:41.2018+00
20200429015603	2021-09-07 08:00:41.2018+00
20200917165525	2021-09-07 08:00:41.2018+00
20190607085356	2021-09-07 08:00:41.2018+00
20210430122951	2021-09-07 08:00:41.2018+00
20190712040400	2021-09-07 08:00:41.2018+00
20190109153125	2021-09-07 08:00:41.2018+00
20210407002511	2021-09-07 08:00:41.2018+00
20200326124443	2021-09-07 08:00:41.2018+00
20210510083845	2021-09-07 08:00:41.2018+00
20200514000009	2021-09-07 08:00:41.2018+00
20200313101649	2021-09-07 08:00:41.2018+00
20201204111500	2021-09-07 08:00:41.2018+00
20200406102120	2021-09-07 08:00:41.2018+00
20210419090542	2021-09-07 08:00:41.2018+00
20201117153333	2021-09-07 08:00:41.2018+00
20191122135327	2021-09-07 08:00:41.2018+00
20200413230056	2021-09-07 08:00:41.2018+00
20190531153110	2021-09-07 08:00:41.2018+00
20210507191949	2021-09-07 08:00:41.2018+00
20210209232508	2021-09-07 08:00:41.2018+00
20201214032220	2021-09-07 08:00:41.2018+00
20190523112344	2021-09-07 08:00:41.2018+00
20200422091541	2021-09-07 08:00:41.2018+00
20190918025618	2021-09-07 08:00:41.2018+00
20200511162057	2021-09-07 08:00:41.2018+00
20200909194014	2021-09-07 08:00:41.2018+00
20200820130839	2021-09-07 08:00:41.2018+00
20210219211845	2021-09-07 08:00:41.2018+00
20190722144316	2021-09-07 08:00:41.2018+00
20200811211536	2021-09-07 08:00:41.2018+00
20191216183531	2021-09-07 08:00:41.2018+00
20191216094119	2021-09-07 08:00:41.2018+00
20200312134637	2021-09-07 08:00:41.2018+00
20200811194848	2021-09-07 08:00:41.2018+00
20210311120152	2021-09-07 08:00:41.2018+00
20191009110124	2021-09-07 08:00:41.2018+00
20200207132752	2021-09-07 08:00:41.2018+00
20210513163904	2021-09-07 08:00:41.2018+00
20190711200508	2021-09-07 08:00:41.2018+00
20210601132134	2021-09-07 08:00:41.2018+00
20200330203837	2021-09-07 08:00:41.2018+00
20190527011309	2021-09-07 08:00:41.2018+00
20200518114540	2021-09-07 08:00:41.2018+00
20190828110802	2021-09-07 08:00:41.2018+00
20190929180813	2021-09-07 08:00:41.2018+00
20210326121537	2021-09-07 08:00:41.2018+00
20210817084338	2021-09-07 08:00:41.2018+00
20190516011213	2021-09-07 08:00:41.2018+00
20190327163904	2021-09-07 08:00:41.2018+00
20190905140605	2021-09-07 08:00:41.2018+00
20201221124036	2021-09-07 08:00:41.2018+00
20201026051643	2021-09-07 08:00:41.2018+00
20190909141517	2021-09-07 08:00:41.2018+00
20200811154630	2021-09-07 08:00:41.2018+00
20200430130048	2021-09-07 08:00:41.2018+00
20201012140110	2021-09-07 08:00:41.2018+00
20200318165448	2021-09-07 08:00:41.2018+00
20210106155209	2021-09-07 08:00:41.2018+00
20200117194900	2021-09-07 08:00:41.2018+00
20210802112233	2021-09-07 08:00:41.2018+00
20210722210041	2021-09-07 08:00:41.2018+00
20200827104432	2021-09-07 08:00:41.2018+00
20201030092151	2021-09-07 08:00:41.2018+00
20210122155158	2021-09-07 08:00:41.2018+00
20210316094323	2021-09-07 08:00:41.2018+00
20190907184714	2021-09-07 08:00:41.2018+00
20200519201128	2021-09-07 08:00:41.2018+00
20200311214912	2021-09-07 08:00:41.2018+00
20190628185004	2021-09-07 08:00:41.2018+00
20190426180107	2021-09-07 08:00:41.2018+00
20200908100053	2021-09-07 08:00:41.2018+00
20200326135443	2021-09-07 08:00:41.2018+00
20200303055348	2021-09-07 08:00:41.2018+00
20190918104731	2021-09-07 08:00:41.2018+00
20210702124842	2021-09-07 08:00:41.2018+00
20200717040735	2021-09-07 08:00:41.2018+00
20200930094812	2021-09-07 08:00:41.2018+00
20190913175827	2021-09-07 08:00:41.2018+00
20190320174702	2021-09-07 08:00:41.2018+00
20210519132109	2021-09-07 08:00:41.2018+00
20210329192716	2021-09-07 08:00:41.2018+00
20201014163633	2021-09-07 08:00:41.2018+00
20210721174521	2021-09-07 08:00:41.2018+00
20201204110800	2021-09-07 08:00:41.2018+00
20200928100408	2021-09-07 08:00:41.2018+00
20201105135051	2021-09-07 08:00:41.2018+00
20200314060834	2021-09-07 08:00:41.2018+00
20210511095657	2021-09-07 08:00:41.2018+00
20210525184900	2021-09-07 08:00:41.2018+00
20191022113635	2021-09-07 08:00:41.2018+00
20200522205606	2021-09-07 08:00:41.2018+00
20201019172704	2021-09-07 08:00:41.2018+00
20200421233150	2021-09-07 08:00:41.2018+00
20190322132835	2021-09-07 08:00:41.2018+00
20210429032320	2021-09-07 08:00:41.2018+00
20200609142506	2021-09-07 08:00:41.2018+00
20201027101010	2021-09-07 08:00:41.2018+00
20200116175538	2021-09-07 08:00:41.2018+00
20200406102111	2021-09-07 08:00:41.2018+00
20200306160521	2021-09-07 08:00:41.2018+00
20201002012659	2021-09-07 08:00:41.2018+00
20200323074147	2021-09-07 08:00:41.2018+00
20200527152116	2021-09-07 08:00:41.2018+00
20200910131217	2021-09-07 08:00:41.2018+00
20191003161031	2021-09-07 08:00:41.2018+00
20200408154624	2021-09-07 08:00:41.2018+00
20210623123722	2021-09-07 08:00:41.2018+00
20200807110237	2021-09-07 08:00:41.2018+00
20210316171009	2021-09-07 08:00:41.2018+00
20200615193524	2021-09-07 08:00:41.2018+00
20200420094444	2021-09-07 08:00:41.2018+00
20200826073745	2021-09-07 08:00:41.2018+00
20210424163400	2021-09-07 08:00:41.2018+00
20191114132259	2021-09-07 08:00:41.2018+00
20201011005400	2021-09-07 08:00:41.2018+00
20190606163724	2021-09-07 08:00:41.2018+00
20201022144501	2021-09-07 08:00:41.2018+00
20200908033805	2021-09-07 08:00:41.2018+00
20200701064756	2021-09-07 08:00:41.2018+00
20210423054846	2021-09-07 08:00:41.2018+00
20210526135911	2021-09-07 08:00:41.2018+00
20210811214811	2021-09-07 08:00:41.2018+00
20201208143911	2021-09-07 08:00:41.2018+00
20200421092907	2021-09-07 08:00:41.2018+00
20200417075843	2021-09-07 08:00:41.2018+00
20200305020459	2021-09-07 08:00:41.2018+00
20200624075411	2021-09-07 08:00:41.2018+00
20200131191754	2021-09-07 08:00:41.2018+00
20191218124915	2021-09-07 08:00:41.2018+00
20201202133606	2021-09-07 08:00:41.2018+00
20210413130011	2021-09-07 08:00:41.2018+00
20201002094617	2021-09-07 08:00:41.2018+00
20210215095328	2021-09-07 08:00:41.2018+00
20200513235347	2021-09-07 08:00:41.2018+00
20201204111000	2021-09-07 08:00:41.2018+00
20210412132824	2021-09-07 08:00:41.2018+00
20200131181354	2021-09-07 08:00:41.2018+00
20190911115109	2021-09-07 08:00:41.2018+00
20191111121500	2021-09-07 08:00:41.2018+00
20191112023159	2021-09-07 08:00:41.2018+00
20201119213406	2021-09-07 08:00:41.2018+00
20190206193120	2021-09-07 08:00:41.2018+00
20201029144524	2021-09-07 08:00:41.2018+00
20210721125525	2021-09-07 08:00:41.2018+00
20201103095752	2021-09-07 08:00:41.2018+00
20201112215132	2021-09-07 08:00:41.2018+00
20190225160301	2021-09-07 08:00:41.2018+00
20191119023952	2021-09-07 08:00:41.2018+00
20210722155635	2021-09-07 08:00:41.2018+00
20200821194920	2021-09-07 08:00:41.2018+00
20200810160355	2021-09-07 08:00:41.2018+00
20191028130054	2021-09-07 08:00:41.2018+00
20200203025744	2021-09-07 08:00:41.2018+00
20201105143312	2021-09-07 08:00:41.2018+00
20200402115623	2021-09-07 08:00:41.2018+00
20201021220101	2021-09-07 08:00:41.2018+00
20200407094923	2021-09-07 08:00:41.2018+00
20191205094702	2021-09-07 08:00:41.2018+00
20190410173409	2021-09-07 08:00:41.2018+00
20200528171933	2021-09-07 08:00:41.2018+00
20190830140240	2021-09-07 08:00:41.2018+00
20210414045322	2021-09-07 08:00:41.2018+00
20200511191027	2021-09-07 08:00:41.2018+00
20200401091051	2021-09-07 08:00:41.2018+00
20210730102952	2021-09-07 08:00:41.2018+00
20200607235435	2021-09-07 08:00:41.2018+00
20200211155539	2021-09-07 08:00:41.2018+00
20200921203231	2021-09-07 08:00:41.2018+00
20201015231049	2021-09-07 08:00:41.2018+00
20191120084627	2021-09-07 08:00:41.2018+00
20210616185947	2021-09-07 08:00:41.2018+00
20200406100909	2021-09-07 08:00:41.2018+00
20200227140242	2021-09-07 08:00:41.2018+00
20191103202505	2021-09-07 08:00:41.2018+00
20210302150310	2021-09-07 08:00:41.2018+00
20200325152327	2021-09-07 08:00:41.2018+00
20191112115317	2021-09-07 08:00:41.2018+00
20201111152859	2021-09-07 08:00:41.2018+00
20201026200736	2021-09-07 08:00:41.2018+00
20210503131747	2021-09-07 08:00:41.2018+00
20210616111311	2021-09-07 08:00:41.2018+00
20210412132736	2021-09-07 08:00:41.2018+00
20191003130045	2021-09-07 08:00:41.2018+00
20210308175226	2021-09-07 08:00:41.2018+00
20200625045442	2021-09-07 08:00:41.2018+00
20200712235622	2021-09-07 08:00:41.2018+00
20210413121101	2021-09-07 08:00:41.2018+00
20190312113634	2021-09-07 08:00:41.2018+00
20191026124116	2021-09-07 08:00:41.2018+00
20200526193555	2021-09-07 08:00:41.2018+00
20200521225337	2021-09-07 08:00:41.2018+00
20210728110654	2021-09-07 08:00:41.2018+00
20201111115414	2021-09-07 08:00:41.2018+00
20200813153434	2021-09-07 08:00:41.2018+00
20210623133635	2021-09-07 08:00:41.2018+00
20200729181641	2021-09-07 08:00:41.2018+00
20210414095944	2021-09-07 08:00:41.2018+00
20200528054112	2021-09-07 08:00:41.2018+00
20200714075739	2021-09-07 08:00:41.2018+00
20190912223232	2021-09-07 08:00:41.2018+00
20200508021128	2021-09-07 08:00:41.2018+00
20190927055500	2021-09-07 08:00:41.2018+00
20200617001118	2021-09-07 08:00:41.2018+00
20200615121217	2021-09-07 08:00:41.2018+00
20200609212701	2021-09-07 08:00:41.2018+00
20190927055540	2021-09-07 08:00:41.2018+00
20200302152516	2021-09-07 08:00:41.2018+00
20200109030418	2021-09-07 08:00:41.2018+00
20210330015805	2021-09-07 08:00:41.2018+00
20200911121048	2021-09-07 08:00:41.2018+00
20210414131600	2021-09-07 08:00:41.2018+00
20200908183231	2021-09-07 08:00:41.2018+00
20210126092102	2021-09-07 08:00:41.2018+00
20210304133508	2021-09-07 08:00:41.2018+00
20191205060723	2021-09-07 08:00:41.2018+00
20200117194850	2021-09-07 08:00:41.2018+00
20210209110019	2021-09-07 08:00:41.2018+00
20201204111400	2021-09-07 08:00:41.2018+00
20200601120434	2021-09-07 08:00:41.2018+00
20201204141038	2021-09-07 08:00:41.2018+00
20200304160800	2021-09-07 08:00:41.2018+00
20200916165232	2021-09-07 08:00:41.2018+00
20200930132319	2021-09-07 08:00:41.2018+00
20201028204306	2021-09-07 08:00:41.2018+00
20210125105410	2021-09-07 08:00:41.2018+00
20191016133352	2021-09-07 08:00:41.2018+00
20210414133310	2021-09-07 08:00:41.2018+00
20200306095654	2021-09-07 08:00:41.2018+00
20210709085759	2021-09-07 08:00:41.2018+00
20190711200053	2021-09-07 08:00:41.2018+00
20201109184023	2021-09-07 08:00:41.2018+00
20200313203525	2021-09-07 08:00:41.2018+00
20210511104930	2021-09-07 08:00:41.2018+00
20200701190523	2021-09-07 08:00:41.2018+00
20191203121729	2021-09-07 08:00:41.2018+00
20200217223651	2021-09-07 08:00:41.2018+00
20191025092748	2021-09-07 08:00:41.2018+00
20210427094931	2021-09-07 08:00:41.2018+00
20190919183411	2021-09-07 08:00:41.2018+00
20210708131048	2021-09-07 08:00:41.2018+00
20200311192351	2021-09-07 08:00:41.2018+00
20201128210000	2021-09-07 08:00:41.2018+00
20191115001843	2021-09-07 08:00:41.2018+00
20201007033527	2021-09-07 08:00:41.2018+00
20200513160930	2021-09-07 08:00:41.2018+00
20210423164702	2021-09-07 08:00:41.2018+00
20200528123703	2021-09-07 08:00:41.2018+00
20191003161032	2021-09-07 08:00:41.2018+00
20201102152554	2021-09-07 08:00:41.2018+00
20190904173203	2021-09-07 08:00:41.2018+00
20200722091435	2021-09-07 08:00:41.2018+00
20210726202748	2021-09-07 08:00:41.2018+00
20190926225633	2021-09-07 08:00:41.2018+00
20200622070620	2021-09-07 08:00:41.2018+00
20190723105753	2021-09-07 08:00:41.2018+00
20200123155929	2021-09-07 08:00:41.2018+00
20210111051045	2021-09-07 08:00:41.2018+00
20200520103514	2021-09-07 08:00:41.2018+00
20191129144630	2021-09-07 08:00:41.2018+00
20210506064413	2021-09-07 08:00:41.2018+00
20200323122201	2021-09-07 08:00:41.2018+00
20201111145317	2021-09-07 08:00:41.2018+00
20200715135130	2021-09-07 08:00:41.2018+00
20201123081307	2021-09-07 08:00:41.2018+00
20200728163009	2021-09-07 08:00:41.2018+00
20210510191552	2021-09-07 08:00:41.2018+00
20191128145232	2021-09-07 08:00:41.2018+00
20200408125046	2021-09-07 08:00:41.2018+00
20200511115430	2021-09-07 08:00:41.2018+00
20200226162634	2021-09-07 08:00:41.2018+00
20210602155056	2021-09-07 08:00:41.2018+00
20200330123739	2021-09-07 08:00:41.2018+00
20210813195518	2021-09-07 08:00:41.2018+00
20200908094810	2021-09-07 08:00:41.2018+00
20210104163218	2021-09-07 08:00:41.2018+00
20200609002841	2021-09-07 08:00:41.2018+00
20200410232012	2021-09-07 08:00:41.2018+00
20200901214416	2021-09-07 08:00:41.2018+00
20200325111432	2021-09-07 08:00:41.2018+00
20190625115224	2021-09-07 08:00:41.2018+00
20190412155659	2021-09-07 08:00:41.2018+00
20200928210524	2021-09-07 08:00:41.2018+00
20200618134723	2021-09-07 08:00:41.2018+00
20200613104045	2021-09-07 08:00:41.2018+00
20200507221434	2021-09-07 08:00:41.2018+00
20201019113009	2021-09-07 08:00:41.2018+00
20210430134202	2021-09-07 08:00:41.2018+00
20191207104000	2021-09-07 08:00:41.2018+00
20210602122213	2021-09-07 08:00:41.2018+00
20190613231640	2021-09-07 08:00:41.2018+00
20190715043954	2021-09-07 08:00:41.2018+00
20210310111009	2021-09-07 08:00:41.2018+00
20200605003204	2021-09-07 08:00:41.2018+00
20191121161018	2021-09-07 08:00:41.2018+00
20210420012909	2021-09-07 08:00:41.2018+00
20190416185130	2021-09-07 08:00:41.2018+00
20201117213024	2021-09-07 08:00:41.2018+00
20191213120427	2021-09-07 08:00:41.2018+00
20200219135440	2021-09-07 08:00:41.2018+00
20190115092821	2021-09-07 08:00:41.2018+00
20200729191227	2021-09-07 08:00:41.2018+00
20200721043502	2021-09-07 08:00:41.2018+00
20190910114843	2021-09-07 08:00:41.2018+00
20200226100634	2021-09-07 08:00:41.2018+00
20190911115222	2021-09-07 08:00:41.2018+00
20200817195628	2021-09-07 08:00:41.2018+00
20200225123228	2021-09-07 08:00:41.2018+00
20200313202430	2021-09-07 08:00:41.2018+00
20201104204739	2021-09-07 08:00:41.2018+00
20200311165635	2021-09-07 08:00:41.2018+00
20210616134905	2021-09-07 08:00:41.2018+00
20190415030217	2021-09-07 08:00:41.2018+00
20201109180311	2021-09-07 08:00:41.2018+00
20200309195710	2021-09-07 08:00:41.2018+00
20200203025400	2021-09-07 08:00:41.2018+00
20200410104828	2021-09-07 08:00:41.2018+00
20200228160542	2021-09-07 08:00:41.2018+00
20200608212824	2021-09-07 08:00:41.2018+00
20210411212813	2021-09-07 08:00:41.2018+00
20200129133716	2021-09-07 08:00:41.2018+00
20190131122559	2021-09-07 08:00:41.2018+00
20200513224143	2021-09-07 08:00:41.2018+00
20190412183653	2021-09-07 08:00:41.2018+00
20191009222222	2021-09-07 08:00:41.2018+00
20200206135203	2021-09-07 08:00:41.2018+00
20210608103235	2021-09-07 08:00:41.2018+00
20200716234518	2021-09-07 08:00:41.2018+00
20201008011937	2021-09-07 08:00:41.2018+00
20200210092405	2021-09-07 08:00:41.2018+00
20210317210338	2021-09-07 08:00:41.2018+00
20210117210226	2021-09-07 08:00:41.2018+00
20210126233608	2021-09-07 08:00:41.2018+00
20201008011523	2021-09-07 08:00:41.2018+00
20201009090954	2021-09-07 08:00:41.2018+00
20210407111027	2021-09-07 08:00:41.2018+00
20210525100539	2021-09-07 08:00:41.2018+00
20200803111512	2021-09-07 08:00:41.2018+00
20200629192638	2021-09-07 08:00:41.2018+00
20200922052316	2021-09-07 08:00:41.2018+00
20200311074438	2021-09-07 08:00:41.2018+00
20210420173030	2021-09-07 08:00:41.2018+00
20200922095954	2021-09-07 08:00:41.2018+00
20190822181528	2021-09-07 08:00:41.2018+00
20200706154619	2021-09-07 08:00:41.2018+00
20200214085940	2021-09-07 08:00:41.2018+00
20210506150833	2021-09-07 08:00:41.2018+00
20201019101549	2021-09-07 08:00:41.2018+00
20190625184066	2021-09-07 08:00:41.2018+00
20210409185531	2021-09-07 08:00:41.2018+00
20200722131241	2021-09-07 08:00:41.2018+00
20210721125545	2021-09-07 08:00:41.2018+00
20200310132654	2021-09-07 08:00:41.2018+00
20210427212034	2021-09-07 08:00:41.2018+00
20201201034258	2021-09-07 08:00:41.2018+00
20200409105456	2021-09-07 08:00:41.2018+00
20200213093702	2021-09-07 08:00:41.2018+00
20190715215549	2021-09-07 08:00:41.2018+00
20200914184212	2021-09-07 08:00:41.2018+00
20191202031812	2021-09-07 08:00:41.2018+00
20200401095430	2021-09-07 08:00:41.2018+00
20201020102551	2021-09-07 08:00:41.2018+00
20200320112455	2021-09-07 08:00:41.2018+00
20200525114553	2021-09-07 08:00:41.2018+00
20201204111200	2021-09-07 08:00:41.2018+00
20190823055948	2021-09-07 08:00:41.2018+00
20200827085101	2021-09-07 08:00:41.2018+00
20190430131225	2021-09-07 08:00:41.2018+00
20210804150320	2021-09-07 08:00:41.2018+00
20201012134230	2021-09-07 08:00:41.2018+00
20210611100359	2021-09-07 08:00:41.2018+00
20201027002551	2021-09-07 08:00:41.2018+00
20191112105448	2021-09-07 08:00:41.2018+00
20190423124640	2021-09-07 08:00:41.2018+00
20210430034712	2021-09-07 08:00:41.2018+00
20210712052519	2021-09-07 08:00:41.2018+00
20201228110136	2021-09-07 08:00:41.2018+00
20200420172113	2021-09-07 08:00:41.2018+00
20200311130802	2021-09-07 08:00:41.2018+00
20210505124816	2021-09-07 08:00:41.2018+00
20190918102042	2021-09-07 08:00:41.2018+00
20200807070820	2021-09-07 08:00:41.2018+00
20191004133612	2021-09-07 08:00:41.2018+00
20210604070207	2021-09-07 08:00:41.2018+00
20200506085748	2021-09-07 08:00:41.2018+00
20200703165434	2021-09-07 08:00:41.2018+00
20191115114032	2021-09-07 08:00:41.2018+00
20200927224750	2021-09-07 08:00:41.2018+00
20200818092401	2021-09-07 08:00:41.2018+00
20200313123934	2021-09-07 08:00:41.2018+00
20200816133024	2021-09-07 08:00:41.2018+00
20200622040750	2021-09-07 08:00:41.2018+00
20200608203426	2021-09-07 08:00:41.2018+00
20190514105711	2021-09-07 08:00:41.2018+00
20200803112806	2021-09-07 08:00:41.2018+00
20200318140400	2021-09-07 08:00:41.2018+00
20210721135638	2021-09-07 08:00:41.2018+00
20210708134446	2021-09-07 08:00:41.2018+00
20200221023320	2021-09-07 08:00:41.2018+00
20200226124757	2021-09-07 08:00:41.2018+00
20210713075117	2021-09-07 08:00:41.2018+00
20201111051904	2021-09-07 08:00:41.2018+00
20200619154527	2021-09-07 08:00:41.2018+00
20201124030537	2021-09-07 08:00:41.2018+00
20190826100605	2021-09-07 08:00:41.2018+00
20190220142344	2021-09-07 08:00:41.2018+00
20200630110826	2021-09-07 08:00:41.2018+00
20210419090412	2021-09-07 08:00:41.2018+00
20200121194000	2021-09-07 08:00:41.2018+00
20210317104301	2021-09-07 08:00:41.2018+00
20191204070713	2021-09-07 08:00:41.2018+00
20190902131045	2021-09-07 08:00:41.2018+00
20210210093901	2021-09-07 08:00:41.2018+00
20210305145622	2021-09-07 08:00:41.2018+00
20190828170945	2021-09-07 08:00:41.2018+00
20200604174558	2021-09-07 08:00:41.2018+00
20190910212256	2021-09-07 08:00:41.2018+00
20190613044655	2021-09-07 08:00:41.2018+00
20201022094846	2021-09-07 08:00:41.2018+00
20200710130234	2021-09-07 08:00:41.2018+00
20190612111404	2021-09-07 08:00:41.2018+00
20200731090553	2021-09-07 08:00:41.2018+00
20201021142812	2021-09-07 08:00:41.2018+00
20200214034836	2021-09-07 08:00:41.2018+00
20210102164121	2021-09-07 08:00:41.2018+00
20200826121552	2021-09-07 08:00:41.2018+00
20200824130028	2021-09-07 08:00:41.2018+00
20210218142626	2021-09-07 08:00:41.2018+00
20210208144134	2021-09-07 08:00:41.2018+00
20190511144331	2021-09-07 08:00:41.2018+00
20190703171555	2021-09-07 08:00:41.2018+00
20200415153154	2021-09-07 08:00:41.2018+00
20200420104303	2021-09-07 08:00:41.2018+00
20200326145443	2021-09-07 08:00:41.2018+00
20191125114345	2021-09-07 08:00:41.2018+00
20200326122700	2021-09-07 08:00:41.2018+00
20210215172449	2021-09-07 08:00:41.2018+00
20200304024025	2021-09-07 08:00:41.2018+00
20191111165017	2021-09-07 08:00:41.2018+00
20191120115530	2021-09-07 08:00:41.2018+00
20200623073431	2021-09-07 08:00:41.2018+00
20210309181019	2021-09-07 08:00:41.2018+00
20210317100520	2021-09-07 08:00:41.2018+00
20200417145946	2021-09-07 08:00:41.2018+00
20200710105332	2021-09-07 08:00:41.2018+00
20191003300045	2021-09-07 08:00:41.2018+00
20200116051619	2021-09-07 08:00:41.2018+00
20200320212400	2021-09-07 08:00:41.2018+00
20191017191341	2021-09-07 08:00:41.2018+00
20210312193532	2021-09-07 08:00:41.2018+00
20210203092549	2021-09-07 08:00:41.2018+00
20190211131150	2021-09-07 08:00:41.2018+00
20210329191850	2021-09-07 08:00:41.2018+00
20210617161348	2021-09-07 08:00:41.2018+00
20210506065000	2021-09-07 08:00:41.2018+00
20210527133919	2021-09-07 08:00:41.2018+00
20200804035230	2021-09-07 08:00:41.2018+00
20200107172020	2021-09-07 08:00:41.2018+00
20200318164448	2021-09-07 08:00:41.2018+00
20200407121321	2021-09-07 08:00:41.2018+00
20200623185440	2021-09-07 08:00:41.2018+00
20200108100603	2021-09-07 08:00:41.2018+00
20201112215028	2021-09-07 08:00:41.2018+00
20201015194852	2021-09-07 08:00:41.2018+00
20200207184023	2021-09-07 08:00:41.2018+00
20200608072931	2021-09-07 08:00:41.2018+00
20201105021637	2021-09-07 08:00:41.2018+00
20200331103637	2021-09-07 08:00:41.2018+00
20200922133949	2021-09-07 08:00:41.2018+00
20201215132151	2021-09-07 08:00:41.2018+00
20210519154058	2021-09-07 08:00:41.2018+00
20210308175224	2021-09-07 08:00:41.2018+00
20190920224341	2021-09-07 08:00:41.2018+00
20210420210642	2021-09-07 08:00:41.2018+00
20210323125809	2021-09-07 08:00:41.2018+00
20210105052034	2021-09-07 08:00:41.2018+00
20201125233219	2021-09-07 08:00:41.2018+00
20201113105000	2021-09-07 08:00:41.2018+00
20200605160806	2021-09-07 08:00:41.2018+00
20191004081520	2021-09-07 08:00:41.2018+00
20201105143211	2021-09-07 08:00:41.2018+00
20210313045845	2021-09-07 08:00:41.2018+00
20201016074302	2021-09-07 08:00:41.2018+00
20191030152934	2021-09-07 08:00:41.2018+00
20200810100921	2021-09-07 08:00:41.2018+00
20190611090827	2021-09-07 08:00:41.2018+00
20190611161642	2021-09-07 08:00:41.2018+00
20200114140305	2021-09-07 08:00:41.2018+00
20201103110018	2021-09-07 08:00:41.2018+00
20210610153556	2021-09-07 08:00:41.2018+00
20210722132844	2021-09-07 08:00:41.2018+00
20201012194936	2021-09-07 08:00:41.2018+00
20210322063450	2021-09-07 08:00:41.2018+00
20200811154632	2021-09-07 08:00:41.2018+00
20210127152613	2021-09-07 08:00:41.2018+00
20200720154123	2021-09-07 08:00:41.2018+00
20200429181955	2021-09-07 08:00:41.2018+00
20190925055714	2021-09-07 08:00:41.2018+00
20190711201818	2021-09-07 08:00:41.2018+00
20210804153307	2021-09-07 08:00:41.2018+00
20210707210916	2021-09-07 08:00:41.2018+00
20210730170823	2021-09-07 08:00:41.2018+00
20190909045845	2021-09-07 08:00:41.2018+00
20210428151144	2021-09-07 08:00:41.2018+00
20200916151442	2021-09-07 08:00:41.2018+00
20190905223800	2021-09-07 08:00:41.2018+00
20191108031900	2021-09-07 08:00:41.2018+00
20200123091422	2021-09-07 08:00:41.2018+00
20210504164429	2021-09-07 08:00:41.2018+00
20210419203017	2021-09-07 08:00:41.2018+00
20190619175843	2021-09-07 08:00:41.2018+00
20201112173532	2021-09-07 08:00:41.2018+00
20200605160836	2021-09-07 08:00:41.2018+00
20210113231532	2021-09-07 08:00:41.2018+00
20210526181820	2021-09-07 08:00:41.2018+00
20210430154631	2021-09-07 08:00:41.2018+00
20200608205813	2021-09-07 08:00:41.2018+00
20201203123524	2021-09-07 08:00:41.2018+00
20210504143128	2021-09-07 08:00:41.2018+00
20201021190539	2021-09-07 08:00:41.2018+00
20200222055543	2021-09-07 08:00:41.2018+00
20200901170135	2021-09-07 08:00:41.2018+00
20200624142207	2021-09-07 08:00:41.2018+00
20210106153021	2021-09-07 08:00:41.2018+00
20200828155134	2021-09-07 08:00:41.2018+00
20190903150435	2021-09-07 08:00:41.2018+00
20201202025644	2021-09-07 08:00:41.2018+00
20200408175424	2021-09-07 08:00:41.2018+00
20210601073400	2021-09-07 08:00:41.2018+00
20200923130057	2021-09-07 08:00:41.2018+00
20210113224909	2021-09-07 08:00:41.2018+00
20200406135648	2021-09-07 08:00:41.2018+00
20210706152139	2021-09-07 08:00:41.2018+00
20200723128332	2021-09-07 08:00:41.2018+00
20210305180331	2021-09-07 08:00:41.2018+00
20201007115209	2021-09-07 08:00:41.2018+00
20210722110515	2021-09-07 08:00:41.2018+00
20210323064751	2021-09-07 08:00:41.2018+00
20200811130000	2021-09-07 08:00:41.2018+00
20191002123516	2021-09-07 08:00:41.2018+00
20200103192859	2021-09-07 08:00:41.2018+00
20200925114522	2021-09-07 08:00:41.2018+00
20191218084115	2021-09-07 08:00:41.2018+00
20191126134210	2021-09-07 08:00:41.2018+00
20200704161600	2021-09-07 08:00:41.2018+00
20191123081456	2021-09-07 08:00:41.2018+00
20210302155904	2021-09-07 08:00:41.2018+00
20190627051902	2021-09-07 08:00:41.2018+00
20200605160851	2021-09-07 08:00:41.2018+00
20210329095548	2021-09-07 08:00:41.2018+00
20210517075444	2021-09-07 08:00:41.2018+00
20210527131039	2021-09-07 08:00:41.2018+00
20210105154321	2021-09-07 08:00:41.2018+00
20190620105427	2021-09-07 08:00:41.2018+00
20210614143954	2021-09-07 08:00:41.2018+00
20210609125005	2021-09-07 08:00:41.2018+00
20210429143649	2021-09-07 08:00:41.2018+00
20200625193358	2021-09-07 08:00:41.2018+00
20210406144743	2021-09-07 08:00:41.2018+00
20200407094005	2021-09-07 08:00:41.2018+00
20201019091307	2021-09-07 08:00:41.2018+00
20210430121542	2021-09-07 08:00:41.2018+00
20201103192526	2021-09-07 08:00:41.2018+00
20201126190039	2021-09-07 08:00:41.2018+00
20200720053909	2021-09-07 08:00:41.2018+00
20210302103851	2021-09-07 08:00:41.2018+00
20200526120714	2021-09-07 08:00:41.2018+00
20200408154455	2021-09-07 08:00:41.2018+00
20190418132125	2021-09-07 08:00:41.2018+00
20200213204737	2021-09-07 08:00:41.2018+00
20200615232735	2021-09-07 08:00:41.2018+00
20210708130419	2021-09-07 08:00:41.2018+00
20201223012231	2021-09-07 08:00:41.2018+00
20190604091310	2021-09-07 08:00:41.2018+00
20210128172149	2021-09-07 08:00:41.2018+00
20210505170152	2021-09-07 08:00:41.2018+00
20210504153354	2021-09-07 08:00:41.2018+00
20200206112850	2021-09-07 08:00:41.2018+00
20201014142521	2021-09-07 08:00:41.2018+00
20191105094625	2021-09-07 08:00:41.2018+00
20210208200914	2021-09-07 08:00:41.2018+00
20200519101002	2021-09-07 08:00:41.2018+00
20210726134950	2021-09-07 08:00:41.2018+00
20200130145430	2021-09-07 08:00:41.2018+00
20210803110920	2021-09-07 08:00:41.2018+00
20210204212850	2021-09-07 08:00:41.2018+00
20190806071559	2021-09-07 08:00:41.2018+00
20190325111602	2021-09-07 08:00:41.2018+00
20191002031332	2021-09-07 08:00:41.2018+00
20190910211526	2021-09-07 08:00:41.2018+00
20190414185432	2021-09-07 08:00:41.2018+00
20200511115431	2021-09-07 08:00:41.2018+00
20200917121650	2021-09-07 08:00:41.2018+00
20200909040555	2021-09-07 08:00:41.2018+00
20210223053451	2021-09-07 08:00:41.2018+00
20201106082723	2021-09-07 08:00:41.2018+00
20190312113229	2021-09-07 08:00:41.2018+00
20200730210506	2021-09-07 08:00:41.2018+00
20200408110856	2021-09-07 08:00:41.2018+00
20200819082334	2021-09-07 08:00:41.2018+00
20210203092540	2021-09-07 08:00:41.2018+00
20190820163320	2021-09-07 08:00:41.2018+00
20210322063407	2021-09-07 08:00:41.2018+00
20210604034158	2021-09-07 08:00:41.2018+00
20210310000627	2021-09-07 08:00:41.2018+00
20200113151354	2021-09-07 08:00:41.2018+00
20201022094845	2021-09-07 08:00:41.2018+00
20200904092131	2021-09-07 08:00:41.2018+00
20210323131543	2021-09-07 08:00:41.2018+00
20190602014139	2021-09-07 08:00:41.2018+00
20200722132040	2021-09-07 08:00:41.2018+00
20200130134335	2021-09-07 08:00:41.2018+00
20200506154421	2021-09-07 08:00:41.2018+00
20200420141733	2021-09-07 08:00:41.2018+00
20201202161021	2021-09-07 08:00:41.2018+00
20210426094549	2021-09-07 08:00:41.2018+00
20200603180338	2021-09-07 08:00:41.2018+00
20190905091831	2021-09-07 08:00:41.2018+00
20200608214008	2021-09-07 08:00:41.2018+00
20200408154411	2021-09-07 08:00:41.2018+00
20210311022012	2021-09-07 08:00:41.2018+00
20210529164247	2021-09-07 08:00:41.2018+00
20200701093859	2021-09-07 08:00:41.2018+00
20190611100202	2021-09-07 08:00:41.2018+00
20200305020458	2021-09-07 08:00:41.2018+00
20191016072826	2021-09-07 08:00:41.2018+00
20190114172110	2021-09-07 08:00:41.2018+00
20190729090456	2021-09-07 08:00:41.2018+00
20201015154527	2021-09-07 08:00:41.2018+00
20200724100421	2021-09-07 08:00:41.2018+00
20210705124128	2021-09-07 08:00:41.2018+00
20200213100530	2021-09-07 08:00:41.2018+00
20210112084512	2021-09-07 08:00:41.2018+00
20210205213915	2021-09-07 08:00:41.2018+00
20190516151857	2021-09-07 08:00:41.2018+00
20200429001827	2021-09-07 08:00:41.2018+00
20210302212623	2021-09-07 08:00:41.2018+00
20201019161924	2021-09-07 08:00:41.2018+00
20201201161655	2021-09-07 08:00:41.2018+00
20201109080645	2021-09-07 08:00:41.2018+00
20200929114107	2021-09-07 08:00:41.2018+00
20200110144316	2021-09-07 08:00:41.2018+00
20201110110454	2021-09-07 08:00:41.2018+00
20200806173633	2021-09-07 08:00:41.2018+00
20210301200959	2021-09-07 08:00:41.2018+00
20201103171537	2021-09-07 08:00:41.2018+00
20191118182722	2021-09-07 08:00:41.2018+00
20200728182311	2021-09-07 08:00:41.2018+00
20201202003042	2021-09-07 08:00:41.2018+00
20201202150001	2021-09-07 08:00:41.2018+00
20210519220019	2021-09-07 08:00:41.2018+00
20200429002150	2021-09-07 08:00:41.2018+00
20191210211253	2021-09-07 08:00:41.2018+00
20201202025937	2021-09-07 08:00:41.2018+00
20210729193056	2021-09-07 08:00:41.2018+00
20200331113738	2021-09-07 08:00:41.2018+00
20200325104755	2021-09-07 08:00:41.2018+00
20210730101609	2021-09-07 08:00:41.2018+00
20200915152641	2021-09-07 08:00:41.2018+00
20200831065705	2021-09-07 08:00:41.2018+00
20200104113850	2021-09-07 08:00:41.2018+00
20210225135533	2021-09-07 08:00:41.2018+00
20200910170908	2021-09-07 08:00:41.2018+00
20190606054832	2021-09-07 08:00:41.2018+00
20200409085956	2021-09-07 08:00:41.2018+00
20200203173508	2021-09-07 08:00:41.2018+00
20210609192728	2021-09-07 08:00:41.2018+00
20200602013900	2021-09-07 08:00:41.2018+00
20201128210234	2021-09-07 08:00:41.2018+00
20210721211602	2021-09-07 08:00:41.2018+00
20200313204021	2021-09-07 08:00:41.2018+00
20191026120112	2021-09-07 08:00:41.2018+00
20210305013509	2021-09-07 08:00:41.2018+00
20200710153009	2021-09-07 08:00:41.2018+00
20200309195209	2021-09-07 08:00:41.2018+00
20210301193412	2021-09-07 08:00:41.2018+00
20200910131218	2021-09-07 08:00:41.2018+00
20200430103158	2021-09-07 08:00:41.2018+00
20210526155257	2021-09-07 08:00:41.2018+00
20210517130723	2021-09-07 08:00:41.2018+00
20201102184743	2021-09-07 08:00:41.2018+00
20200114204949	2021-09-07 08:00:41.2018+00
20210614131002	2021-09-07 08:00:41.2018+00
20200408154428	2021-09-07 08:00:41.2018+00
20200825071735	2021-09-07 08:00:41.2018+00
20201005092709	2021-09-07 08:00:41.2018+00
20210303064112	2021-09-07 08:00:41.2018+00
20210303165301	2021-09-07 08:00:41.2018+00
20200608195222	2021-09-07 08:00:41.2018+00
20190920122420	2021-09-07 08:00:41.2018+00
20200430123614	2021-09-07 08:00:41.2018+00
20210608110752	2021-09-07 08:00:41.2018+00
20210106225424	2021-09-07 08:00:41.2018+00
20200819202222	2021-09-07 08:00:41.2018+00
20201109080646	2021-09-07 08:00:41.2018+00
20200718040100	2021-09-07 08:00:41.2018+00
20210331125111	2021-09-07 08:00:41.2018+00
20210513093418	2021-09-07 08:00:41.2018+00
20210729161242	2021-09-07 08:00:41.2018+00
20210301200601	2021-09-07 08:00:41.2018+00
20210715075203	2021-09-07 08:00:41.2018+00
20210609202501	2021-09-07 08:00:41.2018+00
20210308175225	2021-09-07 08:00:41.2018+00
20191128162854	2021-09-07 08:00:41.2018+00
20200721034536	2021-09-07 08:00:41.2018+00
20190822175441	2021-09-07 08:00:41.2018+00
20200623121135	2021-09-07 08:00:41.2018+00
20210610102410	2021-09-07 08:00:41.2018+00
20201026185514	2021-09-07 08:00:41.2018+00
20200610040615	2021-09-07 08:00:41.2018+00
20190108192941	2021-09-07 08:00:41.2018+00
20200513171959	2021-09-07 08:00:41.2018+00
20190403161806	2021-09-07 08:00:41.2018+00
20200914105202	2021-09-07 08:00:41.2018+00
20210421163509	2021-09-07 08:00:41.2018+00
20190301182457	2021-09-07 08:00:41.2018+00
20200305082858	2021-09-07 08:00:41.2018+00
20190621022810	2021-09-07 08:00:41.2018+00
20191003015155	2021-09-07 08:00:41.2018+00
20200129035446	2021-09-07 08:00:41.2018+00
20191112232338	2021-09-07 08:00:41.2018+00
20201021105600	2021-09-07 08:00:41.2018+00
20201117054609	2021-09-07 08:00:41.2018+00
20191009100244	2021-09-07 08:00:41.2018+00
20210708124229	2021-09-07 08:00:41.2018+00
20191003200045	2021-09-07 08:00:41.2018+00
20200913115700	2021-09-07 08:00:41.2018+00
20200123091622	2021-09-07 08:00:41.2018+00
20200408153842	2021-09-07 08:00:41.2018+00
20190715043944	2021-09-07 08:00:41.2018+00
20190924152703	2021-09-07 08:00:41.2018+00
20210505070812	2021-09-07 08:00:41.2018+00
20210406063442	2021-09-07 08:00:41.2018+00
20200401211005	2021-09-07 08:00:41.2018+00
20191127030005	2021-09-07 08:00:41.2018+00
20210707181536	2021-09-07 08:00:41.2018+00
20200527135313	2021-09-07 08:00:41.2018+00
20200827005322	2021-09-07 08:00:41.2018+00
20201029144157	2021-09-07 08:00:41.2018+00
20210424115725	2021-09-07 08:00:41.2018+00
20190919091300	2021-09-07 08:00:41.2018+00
20201209163113	2021-09-07 08:00:41.2018+00
20200825081045	2021-09-07 08:00:41.2018+00
20200915164844	2021-09-07 08:00:41.2018+00
20200611013227	2021-09-07 08:00:41.2018+00
20200109085206	2021-09-07 08:00:41.2018+00
20200625190458	2021-09-07 08:00:41.2018+00
20200205143231	2021-09-07 08:00:41.2018+00
20210128101707	2021-09-07 08:00:41.2018+00
20190617123615	2021-09-07 08:00:41.2018+00
20200904131544	2021-09-07 08:00:41.2018+00
20200110090153	2021-09-07 08:00:41.2018+00
20190802012622	2021-09-07 08:00:41.2018+00
20210414131807	2021-09-07 08:00:41.2018+00
20200511092246	2021-09-07 08:00:41.2018+00
20200928164807	2021-09-07 08:00:41.2018+00
20200121192942	2021-09-07 08:00:41.2018+00
20190527194900	2021-09-07 08:00:41.2018+00
20210707171554	2021-09-07 08:00:41.2018+00
20200825084819	2021-09-07 08:00:41.2018+00
20190911251732	2021-09-07 08:00:41.2018+00
20200511181027	2021-09-07 08:00:41.2018+00
20190620112608	2021-09-07 08:00:41.2018+00
20210427085020	2021-09-07 08:00:41.2018+00
20210525085325	2021-09-07 08:00:41.2018+00
20200619154528	2021-09-07 08:00:41.2018+00
20210428151238	2021-09-07 08:00:41.2018+00
20200128210353	2021-09-07 08:00:41.2018+00
20200810191256	2021-09-07 08:00:41.2018+00
20210608072312	2021-09-07 08:00:41.2018+00
20200526164946	2021-09-07 08:00:41.2018+00
20210111075206	2021-09-07 08:00:41.2018+00
20210720140841	2021-09-07 08:00:41.2018+00
20190607145325	2021-09-07 08:00:41.2018+00
20200402135250	2021-09-07 08:00:41.2018+00
20210504135823	2021-09-07 08:00:41.2018+00
20210121121102	2021-09-07 08:00:41.2018+00
20210426094524	2021-09-07 08:00:41.2018+00
20200806004232	2021-09-07 08:00:41.2018+00
20190606054742	2021-09-07 08:00:41.2018+00
20191107220314	2021-09-07 08:00:41.2018+00
20200712084655	2021-09-07 08:00:41.2018+00
20200224020219	2021-09-07 08:00:41.2018+00
20210415074645	2021-09-07 08:00:41.2018+00
20200330132913	2021-09-07 08:00:41.2018+00
20210222070413	2021-09-07 08:00:41.2018+00
20201012135330	2021-09-07 08:00:41.2018+00
20200213224220	2021-09-07 08:00:41.2018+00
20200930144340	2021-09-07 08:00:41.2018+00
20200318162148	2021-09-07 08:00:41.2018+00
20190520201748	2021-09-07 08:00:41.2018+00
20200524104346	2021-09-07 08:00:41.2018+00
20210503105022	2021-09-07 08:00:41.2018+00
20210604051917	2021-09-07 08:00:41.2018+00
20200827102234	2021-09-07 08:00:41.2018+00
20200526231421	2021-09-07 08:00:41.2018+00
20200922054642	2021-09-07 08:00:41.2018+00
20210119122354	2021-09-07 08:00:41.2018+00
20191029125305	2021-09-07 08:00:41.2018+00
20201112130710	2021-09-07 08:00:41.2018+00
20200713152443	2021-09-07 08:00:41.2018+00
20200907092715	2021-09-07 08:00:41.2018+00
20210723173132	2021-09-07 08:00:41.2018+00
20200414114611	2021-09-07 08:00:41.2018+00
20190402150158	2021-09-07 08:00:41.2018+00
20191023132005	2021-09-07 08:00:41.2018+00
20210120221743	2021-09-07 08:00:41.2018+00
20190829131130	2021-09-07 08:00:41.2018+00
20190905223900	2021-09-07 08:00:41.2018+00
20200716120000	2021-09-07 08:00:41.2018+00
20191014030730	2021-09-07 08:00:41.2018+00
20200408154349	2021-09-07 08:00:41.2018+00
20201119133604	2021-09-07 08:00:41.2018+00
20210608110760	2021-09-07 08:00:41.2018+00
20200628210938	2021-09-07 08:00:41.2018+00
20190606054649	2021-09-07 08:00:41.2018+00
20201221213415	2021-09-07 08:00:41.2018+00
20191208071112	2021-09-07 08:00:41.2018+00
20200312160532	2021-09-07 08:00:41.2018+00
20201119092319	2021-09-07 08:00:41.2018+00
20210722042939	2021-09-07 08:00:41.2018+00
20200310135818	2021-09-07 08:00:41.2018+00
20200923071622	2021-09-07 08:00:41.2018+00
20210218110552	2021-09-07 08:00:41.2018+00
20210604085600	2021-09-07 08:00:41.2018+00
20210604051330	2021-09-07 08:00:41.2018+00
20210105030125	2021-09-07 08:00:41.2018+00
20210308125742	2021-09-07 08:00:41.2018+00
20200424101920	2021-09-07 08:00:41.2018+00
20191205212924	2021-09-07 08:00:41.2018+00
20210128044930	2021-09-07 08:00:41.2018+00
20210603222333	2021-09-07 08:00:41.2018+00
20200818171229	2021-09-07 08:00:41.2018+00
20200318175008	2021-09-07 08:00:41.2018+00
20200813143304	2021-09-07 08:00:41.2018+00
20200718040200	2021-09-07 08:00:41.2018+00
\.


--
-- Data for Name: scim_identities; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.scim_identities (id, group_id, user_id, created_at, updated_at, active, extern_uid) FROM stdin;
\.


--
-- Data for Name: scim_oauth_access_tokens; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.scim_oauth_access_tokens (id, created_at, updated_at, group_id, token_encrypted) FROM stdin;
\.


--
-- Data for Name: security_findings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.security_findings (id, scan_id, scanner_id, severity, confidence, project_fingerprint, deduplicated, "position", uuid, overridden_uuid) FROM stdin;
\.


--
-- Data for Name: security_orchestration_policy_configurations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.security_orchestration_policy_configurations (id, project_id, security_policy_management_project_id, created_at, updated_at, configured_at) FROM stdin;
\.


--
-- Data for Name: security_orchestration_policy_rule_schedules; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.security_orchestration_policy_rule_schedules (id, created_at, updated_at, next_run_at, security_orchestration_policy_configuration_id, user_id, policy_index, cron, rule_index) FROM stdin;
\.


--
-- Data for Name: security_scans; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.security_scans (id, created_at, updated_at, build_id, scan_type, info, project_id, pipeline_id) FROM stdin;
\.


--
-- Data for Name: self_managed_prometheus_alert_events; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.self_managed_prometheus_alert_events (id, project_id, environment_id, started_at, ended_at, status, title, query_expression, payload_key) FROM stdin;
\.


--
-- Data for Name: sent_notifications; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.sent_notifications (id, project_id, noteable_id, noteable_type, recipient_id, commit_id, reply_key, line_code, note_type, "position", in_reply_to_discussion_id) FROM stdin;
\.


--
-- Data for Name: sentry_issues; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.sentry_issues (id, issue_id, sentry_issue_identifier) FROM stdin;
\.


--
-- Data for Name: serverless_domain_cluster; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.serverless_domain_cluster (uuid, pages_domain_id, clusters_applications_knative_id, creator_id, created_at, updated_at, encrypted_key, encrypted_key_iv, certificate) FROM stdin;
\.


--
-- Data for Name: service_desk_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.service_desk_settings (project_id, issue_template_key, outgoing_name, project_key) FROM stdin;
\.


--
-- Data for Name: shards; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.shards (id, name) FROM stdin;
1	default
\.


--
-- Data for Name: slack_integrations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.slack_integrations (id, service_id, team_id, team_name, alias, user_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: smartcard_identities; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.smartcard_identities (id, user_id, subject, issuer) FROM stdin;
\.


--
-- Data for Name: snippet_repositories; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.snippet_repositories (snippet_id, shard_id, disk_path, verification_retry_count, verification_retry_at, verified_at, verification_checksum, verification_failure, verification_state, verification_started_at) FROM stdin;
\.


--
-- Data for Name: snippet_repository_storage_moves; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.snippet_repository_storage_moves (id, created_at, updated_at, snippet_id, state, source_storage_name, destination_storage_name) FROM stdin;
\.


--
-- Data for Name: snippet_statistics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.snippet_statistics (snippet_id, repository_size, file_count, commit_count) FROM stdin;
\.


--
-- Data for Name: snippet_user_mentions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.snippet_user_mentions (id, snippet_id, note_id, mentioned_users_ids, mentioned_projects_ids, mentioned_groups_ids) FROM stdin;
\.


--
-- Data for Name: snippets; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.snippets (id, title, content, author_id, project_id, created_at, updated_at, file_name, type, visibility_level, title_html, content_html, cached_markdown_version, description, description_html, encrypted_secret_token, encrypted_secret_token_iv, secret, repository_read_only) FROM stdin;
\.


--
-- Data for Name: software_license_policies; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.software_license_policies (id, project_id, software_license_id, classification, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: software_licenses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.software_licenses (id, name, spdx_identifier) FROM stdin;
\.


--
-- Data for Name: spam_logs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.spam_logs (id, user_id, source_ip, user_agent, via_api, noteable_type, title, description, created_at, updated_at, submitted_as_ham, recaptcha_verified) FROM stdin;
\.


--
-- Data for Name: sprints; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.sprints (id, created_at, updated_at, start_date, due_date, project_id, group_id, iid, cached_markdown_version, title, title_html, description, description_html, state_enum, iterations_cadence_id) FROM stdin;
\.


--
-- Data for Name: status_check_responses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.status_check_responses (id, merge_request_id, external_approval_rule_id, sha, external_status_check_id) FROM stdin;
\.


--
-- Data for Name: status_page_published_incidents; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.status_page_published_incidents (id, created_at, updated_at, issue_id) FROM stdin;
\.


--
-- Data for Name: status_page_settings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.status_page_settings (project_id, created_at, updated_at, enabled, aws_s3_bucket_name, aws_region, aws_access_key, encrypted_aws_secret_key, encrypted_aws_secret_key_iv, status_page_url) FROM stdin;
\.


--
-- Data for Name: subscriptions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.subscriptions (id, user_id, subscribable_id, subscribable_type, subscribed, created_at, updated_at, project_id) FROM stdin;
\.


--
-- Data for Name: suggestions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.suggestions (id, note_id, relative_order, applied, commit_id, from_content, to_content, lines_above, lines_below, outdated) FROM stdin;
\.


--
-- Data for Name: system_note_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.system_note_metadata (id, note_id, commit_count, action, created_at, updated_at, description_version_id) FROM stdin;
\.


--
-- Data for Name: taggings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.taggings (id, tag_id, taggable_id, taggable_type, tagger_id, tagger_type, context, created_at, id_convert_to_bigint, taggable_id_convert_to_bigint) FROM stdin;
\.


--
-- Data for Name: tags; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.tags (id, name, taggings_count) FROM stdin;
\.


--
-- Data for Name: term_agreements; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.term_agreements (id, term_id, user_id, accepted, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: terraform_state_versions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.terraform_state_versions (id, terraform_state_id, created_by_user_id, created_at, updated_at, version, file_store, file, verification_retry_count, verification_retry_at, verified_at, verification_checksum, verification_failure, ci_build_id, verification_started_at, verification_state) FROM stdin;
\.


--
-- Data for Name: terraform_states; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.terraform_states (id, project_id, created_at, updated_at, file_store, file, lock_xid, locked_at, locked_by_user_id, uuid, name, versioning_enabled) FROM stdin;
\.


--
-- Data for Name: timelogs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.timelogs (id, time_spent, user_id, created_at, updated_at, issue_id, merge_request_id, spent_at, note_id, project_id, summary) FROM stdin;
\.


--
-- Data for Name: todos; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.todos (id, user_id, project_id, target_id, target_type, author_id, action, state, created_at, updated_at, note_id, commit_id, group_id, resolved_by_action) FROM stdin;
\.


--
-- Data for Name: token_with_ivs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.token_with_ivs (id, hashed_token, hashed_plaintext_token, iv) FROM stdin;
\.


--
-- Data for Name: trending_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.trending_projects (id, project_id) FROM stdin;
\.


--
-- Data for Name: u2f_registrations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.u2f_registrations (id, certificate, key_handle, public_key, counter, user_id, created_at, updated_at, name) FROM stdin;
\.


--
-- Data for Name: upcoming_reconciliations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.upcoming_reconciliations (id, namespace_id, next_reconciliation_date, display_alert_from, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: uploads; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.uploads (id, size, path, checksum, model_id, model_type, uploader, created_at, store, mount_point, secret) FROM stdin;
1	3951	uploads/-/system/user/avatar/7/17168161.png	0b3bc10c84844c5e9c7ce3b21c8a190c2928ee8f950f8a4f8008e5faf7f5ea56	7	User	AvatarUploader	2021-09-12 03:37:59.234371	1	avatar	\N
\.


--
-- Data for Name: user_agent_details; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_agent_details (id, user_agent, ip_address, subject_id, subject_type, submitted, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: user_callouts; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_callouts (id, feature_name, user_id, dismissed_at) FROM stdin;
1	25	1	2021-09-12 03:02:29.946099+00
\.


--
-- Data for Name: user_canonical_emails; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_canonical_emails (id, created_at, updated_at, user_id, canonical_email) FROM stdin;
\.


--
-- Data for Name: user_credit_card_validations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_credit_card_validations (user_id, credit_card_validated_at) FROM stdin;
7	2021-09-12 03:37:59.182559+00
\.


--
-- Data for Name: user_custom_attributes; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_custom_attributes (id, created_at, updated_at, user_id, key, value) FROM stdin;
\.


--
-- Data for Name: user_details; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_details (user_id, job_title, bio, bio_html, cached_markdown_version, webauthn_xid, other_role, provisioned_by_group_id, pronouns, pronunciation) FROM stdin;
1				1900544	\N	\N	\N	\N	\N
5		This is a "Ghost User", created to hold all issues authored by users that have since been deleted. This user cannot be removed.	<p data-sourcepos="1:1-1:127" dir="auto">This is a "Ghost User", created to hold all issues authored by users that have since been deleted. This user cannot be removed.</p>	1900544	\N	\N	\N	\N	\N
7				1900544	\N	\N	\N	\N	\N
\.


--
-- Data for Name: user_follow_users; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_follow_users (follower_id, followee_id) FROM stdin;
\.


--
-- Data for Name: user_highest_roles; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_highest_roles (user_id, updated_at, highest_access_level) FROM stdin;
1	2021-09-07 08:10:45.325318+00	50
7	2021-09-12 03:35:29.042859+00	50
\.


--
-- Data for Name: user_interacted_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_interacted_projects (user_id, project_id) FROM stdin;
\.


--
-- Data for Name: user_permission_export_uploads; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_permission_export_uploads (id, created_at, updated_at, user_id, file_store, status, file) FROM stdin;
\.


--
-- Data for Name: user_preferences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_preferences (id, user_id, issue_notes_filter, merge_request_notes_filter, created_at, updated_at, epics_sort, roadmap_epics_state, epic_notes_filter, issues_sort, merge_requests_sort, roadmaps_sort, first_day_of_week, timezone, time_display_relative, time_format_in_24h, projects_sort, show_whitespace_in_diffs, sourcegraph_enabled, setup_for_company, render_whitespace_in_code, tab_width, experience_level, view_diffs_file_by_file, gitpod_enabled, markdown_surround_selection) FROM stdin;
1	1	0	0	2021-09-07 08:09:12.282053+00	2021-09-07 08:09:12.282053+00	\N	\N	0	\N	\N	\N	\N	Etc/UTC	t	f	\N	t	\N	\N	f	8	\N	f	f	t
4	7	0	0	2021-09-12 03:26:58.707155+00	2021-09-12 03:26:58.707155+00	\N	\N	0	\N	\N	\N	\N	Etc/UTC	t	f	\N	t	\N	\N	f	8	\N	f	f	t
\.


--
-- Data for Name: user_statuses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_statuses (user_id, cached_markdown_version, emoji, message, message_html, availability, clear_status_at) FROM stdin;
\.


--
-- Data for Name: user_synced_attributes_metadata; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.user_synced_attributes_metadata (id, name_synced, email_synced, location_synced, user_id, provider) FROM stdin;
\.


--
-- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.users (id, email, encrypted_password, reset_password_token, reset_password_sent_at, remember_created_at, sign_in_count, current_sign_in_at, last_sign_in_at, current_sign_in_ip, last_sign_in_ip, created_at, updated_at, name, admin, projects_limit, skype, linkedin, twitter, failed_attempts, locked_at, username, can_create_group, can_create_team, state, color_scheme_id, password_expires_at, created_by_id, last_credential_check_at, avatar, confirmation_token, confirmed_at, confirmation_sent_at, unconfirmed_email, hide_no_ssh_key, website_url, admin_email_unsubscribed_at, notification_email, hide_no_password, password_automatically_set, location, encrypted_otp_secret, encrypted_otp_secret_iv, encrypted_otp_secret_salt, otp_required_for_login, otp_backup_codes, public_email, dashboard, project_view, consumed_timestep, layout, hide_project_limit, note, unlock_token, otp_grace_period_started_at, external, incoming_email_token, organization, auditor, require_two_factor_authentication_from_group, two_factor_grace_period, last_activity_on, notified_of_own_activity, preferred_language, email_opted_in, email_opted_in_ip, email_opted_in_source_id, email_opted_in_at, theme_id, accepted_term_id, feed_token, private_profile, roadmap_layout, include_private_contributions, commit_email, group_view, managing_group_id, first_name, last_name, static_object_token, role, user_type) FROM stdin;
5	ghost@example.com		\N	\N	\N	0	\N	\N	\N	\N	2021-09-12 03:11:20.518316	2021-09-12 03:11:20.518316	Ghost User	f	100000				0	\N	ghost	t	f	active	1	\N	\N	\N	\N	U5UZgB14VTNjHrx5_pNN	\N	2021-09-12 03:11:20.518965	\N	f		\N	\N	f	f	\N	\N	\N	\N	f	\N		0	2	\N	0	f	\N	\N	\N	f	b6f4msllxtbb0nugddtrveizm	\N	f	f	48	\N	f	en	\N	\N	\N	\N	1	\N	\N	f	\N	\N	\N	\N	\N	\N	\N	\N	\N	5
7	me@sabbir.dev	$2a$10$fl/.l/uSmIeDKYNoufu/ieKLDE6zcbThLCIIhaFzpx.pTt.sAHR7G	\N	\N	2021-09-12 03:26:58.594248	1	2021-09-12 03:26:58.615245	2021-09-12 03:26:58.615245	103.87.212.202	103.87.212.202	2021-09-12 03:25:27.154061	2021-09-12 03:37:59.195177	Sabbir Ahmed	t	100000				0	\N	sabbir	t	f	active	1	\N	\N	\N	17168161.png	Y5DoB2Q1pN6N3RWyBjzA	2021-09-12 03:26:52.941496	2021-09-12 03:25:27.154734	\N	f	https://sabbir.dev	\N	\N	f	f	\N	zdbjVe7QS6+8E2glGCy+yphhVKdFiioKiNbPIsqVFD0zGNUTih3dm3tWGH2f\nELZI\n	ztyXQXGy9jUgosttK1eByg==\n	_9643Y36h33jCAxllRneiJA==\n	t	["$2a$10$kLeeeRnMWhO31eoXC2kBL.M5Cj/8FZLfqBZWuZpU27mbSKvtfxlL6","$2a$10$ZffWXzVoRfpW/e05FKxAte5xmxeFGncIkuk10ux9lb0xbB8L/GXA6","$2a$10$cZyJR.Dflfm73Gh/Ok9HeeXW/BTvB4SwJE52U3OwB8CovGaUS3f8C","$2a$10$5jBYQkNI67aGRP/GI5Fey.mgfEPpv961OpMCfsCnPFITC9fQ7KNga","$2a$10$o5VGnIZD5nsAtuUUW7bDiulA6CtTw58GWPA22XPK8hYuTBAi5bq5G","$2a$10$QNvtvzdK9smUbkPVC895dOwcwa.4CkDyCuzZph.lmZcbqlhBllsoS","$2a$10$S9n3ncbsIur9a8hmlI2Rk.HFbcux7y9CddQnqEJE17rPXqlgWed.q","$2a$10$08TOsSDzzsjOTWQ1wffGO.ozAYauB90Bf0/4vOABDDsK6x0vFtbEa","$2a$10$lKINagjCXXbeKtSQoxLZd.kJNfY1CCiA0y5.nvbwZjlQKn7xJFcRG","$2a$10$LOjMi9wKcMZ4v4xwjPuLYucM4nqPqoWgoNa59l7W2fngXGHMr9Q6q"]		0	2	54380587	0	f		\N	2021-09-12 03:33:15.684884	f	dv6wd52ogu812nsu7azuiu42b	\N	f	f	48	2021-09-12	f	en	\N	\N	\N	\N	1	\N	APkTRySS488g-5jUJkEF	f	\N	\N	\N	\N	\N	Sabbir	Ahmed	\N	2	\N
1	admin@example.com	$2a$10$j3uA/Z07fuZ5BAZ/Lmyu7O0I3GWYy1eqPImXoiB32HNE8i90hWU4e	\N	\N	\N	3	2021-09-12 03:01:41.545475	2021-09-07 10:38:44.506481	103.87.212.202	103.125.97.156	2021-09-07 08:00:43.156262	2021-09-12 03:35:03.844669	Administrator	t	100000				2	\N	root	t	f	active	1	\N	\N	\N	\N	\N	2021-09-07 08:00:42.792602	\N	\N	f		\N	\N	f	f	\N	DYr6f0hp1h8lquiPQ8XQZifbfOhtcVMqKiPRefx4gmNlkegqCumET3OKc23f\nGWjc\n	RY+HC0MPWjo3Ck+WpWKy8w==\n	_hq9z4dxty6/1cwGTLe+YnQ==\n	f	\N		0	2	\N	0	f	\N	\N	2021-09-12 03:35:03.834564	f	dikwt0q1lrx0segt5z8p5j7yz	\N	f	f	48	2021-09-12	f	en	\N	\N	\N	\N	1	\N	cDdGjmN89BNUkDiAxjMo	f	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N
\.


--
-- Data for Name: users_ops_dashboard_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.users_ops_dashboard_projects (id, created_at, updated_at, user_id, project_id) FROM stdin;
\.


--
-- Data for Name: users_security_dashboard_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.users_security_dashboard_projects (user_id, project_id) FROM stdin;
\.


--
-- Data for Name: users_star_projects; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.users_star_projects (id, project_id, user_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: users_statistics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.users_statistics (id, created_at, updated_at, without_groups_and_projects, with_highest_role_guest, with_highest_role_reporter, with_highest_role_developer, with_highest_role_maintainer, with_highest_role_owner, bots, blocked) FROM stdin;
\.


--
-- Data for Name: vulnerabilities; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerabilities (id, milestone_id, epic_id, project_id, author_id, updated_by_id, last_edited_by_id, start_date, due_date, last_edited_at, created_at, updated_at, title, title_html, description, description_html, start_date_sourcing_milestone_id, due_date_sourcing_milestone_id, state, severity, severity_overridden, confidence, confidence_overridden, resolved_by_id, resolved_at, report_type, cached_markdown_version, confirmed_by_id, confirmed_at, dismissed_at, dismissed_by_id, resolved_on_default_branch, present_on_default_branch, detected_at) FROM stdin;
\.


--
-- Data for Name: vulnerability_exports; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_exports (id, created_at, updated_at, started_at, finished_at, status, file, project_id, author_id, file_store, format, group_id) FROM stdin;
\.


--
-- Data for Name: vulnerability_external_issue_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_external_issue_links (id, created_at, updated_at, author_id, vulnerability_id, link_type, external_type, external_project_key, external_issue_key) FROM stdin;
\.


--
-- Data for Name: vulnerability_feedback; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_feedback (id, created_at, updated_at, feedback_type, category, project_id, author_id, pipeline_id, issue_id, project_fingerprint, merge_request_id, comment_author_id, comment, comment_timestamp, finding_uuid, dismissal_reason) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_evidence_assets; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_evidence_assets (id, created_at, updated_at, vulnerability_finding_evidence_id, type, name, url) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_evidence_headers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_evidence_headers (id, created_at, updated_at, vulnerability_finding_evidence_request_id, vulnerability_finding_evidence_response_id, name, value) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_evidence_requests; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_evidence_requests (id, created_at, updated_at, vulnerability_finding_evidence_id, method, url, body, vulnerability_finding_evidence_supporting_message_id) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_evidence_responses; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_evidence_responses (id, created_at, updated_at, vulnerability_finding_evidence_id, status_code, reason_phrase, body, vulnerability_finding_evidence_supporting_message_id) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_evidence_sources; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_evidence_sources (id, created_at, updated_at, vulnerability_finding_evidence_id, name, url) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_evidence_supporting_messages; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_evidence_supporting_messages (id, created_at, updated_at, vulnerability_finding_evidence_id, name) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_evidences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_evidences (id, created_at, updated_at, vulnerability_occurrence_id, summary) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_links (id, created_at, updated_at, vulnerability_occurrence_id, name, url) FROM stdin;
\.


--
-- Data for Name: vulnerability_finding_signatures; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_finding_signatures (id, finding_id, created_at, updated_at, algorithm_type, signature_sha) FROM stdin;
\.


--
-- Data for Name: vulnerability_findings_remediations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_findings_remediations (id, vulnerability_occurrence_id, vulnerability_remediation_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: vulnerability_flags; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_flags (id, created_at, updated_at, vulnerability_occurrence_id, flag_type, origin, description) FROM stdin;
\.


--
-- Data for Name: vulnerability_historical_statistics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_historical_statistics (id, created_at, updated_at, project_id, total, critical, high, medium, low, unknown, info, date, letter_grade) FROM stdin;
\.


--
-- Data for Name: vulnerability_identifiers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_identifiers (id, created_at, updated_at, project_id, fingerprint, external_type, external_id, name, url) FROM stdin;
\.


--
-- Data for Name: vulnerability_issue_links; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_issue_links (id, vulnerability_id, issue_id, link_type, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: vulnerability_occurrence_identifiers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_occurrence_identifiers (id, created_at, updated_at, occurrence_id, identifier_id) FROM stdin;
\.


--
-- Data for Name: vulnerability_occurrence_pipelines; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_occurrence_pipelines (id, created_at, updated_at, occurrence_id, pipeline_id) FROM stdin;
\.


--
-- Data for Name: vulnerability_occurrences; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_occurrences (id, created_at, updated_at, severity, confidence, report_type, project_id, scanner_id, primary_identifier_id, project_fingerprint, location_fingerprint, uuid, name, metadata_version, raw_metadata, vulnerability_id, details, description, message, solution, cve, location, detection_method) FROM stdin;
\.


--
-- Data for Name: vulnerability_remediations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_remediations (id, created_at, updated_at, file_store, summary, file, checksum, project_id) FROM stdin;
\.


--
-- Data for Name: vulnerability_scanners; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_scanners (id, created_at, updated_at, project_id, external_id, name, vendor) FROM stdin;
\.


--
-- Data for Name: vulnerability_statistics; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_statistics (id, created_at, updated_at, project_id, total, critical, high, medium, low, unknown, info, letter_grade, latest_pipeline_id) FROM stdin;
\.


--
-- Data for Name: vulnerability_user_mentions; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.vulnerability_user_mentions (id, vulnerability_id, note_id, mentioned_users_ids, mentioned_projects_ids, mentioned_groups_ids) FROM stdin;
\.


--
-- Data for Name: web_hooks; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.web_hooks (id, project_id, created_at, updated_at, type, service_id, push_events, issues_events, merge_requests_events, tag_push_events, group_id, note_events, enable_ssl_verification, wiki_page_events, pipeline_events, confidential_issues_events, repository_update_events, job_events, confidential_note_events, push_events_branch_filter, encrypted_token, encrypted_token_iv, encrypted_url, encrypted_url_iv, deployment_events, releases_events, feature_flag_events, member_events, subgroup_events, recent_failures, backoff_count, disabled_until) FROM stdin;
\.


--
-- Data for Name: webauthn_registrations; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.webauthn_registrations (id, user_id, counter, created_at, updated_at, credential_xid, name, public_key, u2f_registration_id) FROM stdin;
\.


--
-- Data for Name: wiki_page_meta; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.wiki_page_meta (id, project_id, created_at, updated_at, title) FROM stdin;
\.


--
-- Data for Name: wiki_page_slugs; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.wiki_page_slugs (id, canonical, wiki_page_meta_id, created_at, updated_at, slug) FROM stdin;
\.


--
-- Data for Name: work_item_types; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.work_item_types (id, base_type, cached_markdown_version, name, description, description_html, icon_name, namespace_id, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: x509_certificates; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.x509_certificates (id, created_at, updated_at, subject_key_identifier, subject, email, serial_number, certificate_status, x509_issuer_id) FROM stdin;
\.


--
-- Data for Name: x509_commit_signatures; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.x509_commit_signatures (id, created_at, updated_at, project_id, x509_certificate_id, commit_sha, verification_status) FROM stdin;
\.


--
-- Data for Name: x509_issuers; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.x509_issuers (id, created_at, updated_at, subject_key_identifier, subject, crl_url) FROM stdin;
\.


--
-- Data for Name: zentao_tracker_data; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.zentao_tracker_data (id, integration_id, created_at, updated_at, encrypted_url, encrypted_url_iv, encrypted_api_url, encrypted_api_url_iv, encrypted_zentao_product_xid, encrypted_zentao_product_xid_iv, encrypted_api_token, encrypted_api_token_iv) FROM stdin;
\.


--
-- Data for Name: zoom_meetings; Type: TABLE DATA; Schema: public; Owner: gitlab
--

COPY public.zoom_meetings (id, project_id, issue_id, created_at, updated_at, issue_status, url) FROM stdin;
\.


--
-- Name: abuse_reports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.abuse_reports_id_seq', 1, false);


--
-- Name: alert_management_alert_assignees_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.alert_management_alert_assignees_id_seq', 1, false);


--
-- Name: alert_management_alert_user_mentions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.alert_management_alert_user_mentions_id_seq', 1, false);


--
-- Name: alert_management_alerts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.alert_management_alerts_id_seq', 1, false);


--
-- Name: alert_management_http_integrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.alert_management_http_integrations_id_seq', 1, false);


--
-- Name: allowed_email_domains_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.allowed_email_domains_id_seq', 1, false);


--
-- Name: analytics_cycle_analytics_group_stages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.analytics_cycle_analytics_group_stages_id_seq', 1, false);


--
-- Name: analytics_cycle_analytics_group_value_streams_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.analytics_cycle_analytics_group_value_streams_id_seq', 1, false);


--
-- Name: analytics_cycle_analytics_project_stages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.analytics_cycle_analytics_project_stages_id_seq', 1, false);


--
-- Name: analytics_cycle_analytics_project_value_streams_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.analytics_cycle_analytics_project_value_streams_id_seq', 1, false);


--
-- Name: analytics_cycle_analytics_stage_event_hashes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.analytics_cycle_analytics_stage_event_hashes_id_seq', 1, false);


--
-- Name: analytics_devops_adoption_segments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.analytics_devops_adoption_segments_id_seq', 1, false);


--
-- Name: analytics_devops_adoption_snapshots_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.analytics_devops_adoption_snapshots_id_seq', 1, false);


--
-- Name: analytics_usage_trends_measurements_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.analytics_usage_trends_measurements_id_seq', 1, false);


--
-- Name: appearances_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.appearances_id_seq', 1, false);


--
-- Name: application_setting_terms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.application_setting_terms_id_seq', 1, false);


--
-- Name: application_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.application_settings_id_seq', 1, false);


--
-- Name: approval_merge_request_rule_sources_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approval_merge_request_rule_sources_id_seq', 1, false);


--
-- Name: approval_merge_request_rules_approved_approvers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approval_merge_request_rules_approved_approvers_id_seq', 1, false);


--
-- Name: approval_merge_request_rules_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approval_merge_request_rules_groups_id_seq', 1, false);


--
-- Name: approval_merge_request_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approval_merge_request_rules_id_seq', 1, false);


--
-- Name: approval_merge_request_rules_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approval_merge_request_rules_users_id_seq', 1, false);


--
-- Name: approval_project_rules_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approval_project_rules_groups_id_seq', 1, false);


--
-- Name: approval_project_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approval_project_rules_id_seq', 1, false);


--
-- Name: approval_project_rules_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approval_project_rules_users_id_seq', 1, false);


--
-- Name: approvals_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approvals_id_seq', 1, false);


--
-- Name: approver_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approver_groups_id_seq', 1, false);


--
-- Name: approvers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.approvers_id_seq', 1, false);


--
-- Name: atlassian_identities_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.atlassian_identities_user_id_seq', 1, false);


--
-- Name: audit_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.audit_events_id_seq', 8, true);


--
-- Name: authentication_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.authentication_events_id_seq', 8, true);


--
-- Name: award_emoji_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.award_emoji_id_seq', 1, false);


--
-- Name: background_migration_jobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.background_migration_jobs_id_seq', 1, false);


--
-- Name: badges_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.badges_id_seq', 1, false);


--
-- Name: batched_background_migration_jobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.batched_background_migration_jobs_id_seq', 1, false);


--
-- Name: batched_background_migrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.batched_background_migrations_id_seq', 1, false);


--
-- Name: board_assignees_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.board_assignees_id_seq', 1, false);


--
-- Name: board_group_recent_visits_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.board_group_recent_visits_id_seq', 1, false);


--
-- Name: board_labels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.board_labels_id_seq', 1, false);


--
-- Name: board_project_recent_visits_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.board_project_recent_visits_id_seq', 1, false);


--
-- Name: board_user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.board_user_preferences_id_seq', 1, false);


--
-- Name: boards_epic_board_labels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.boards_epic_board_labels_id_seq', 1, false);


--
-- Name: boards_epic_board_positions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.boards_epic_board_positions_id_seq', 1, false);


--
-- Name: boards_epic_board_recent_visits_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.boards_epic_board_recent_visits_id_seq', 1, false);


--
-- Name: boards_epic_boards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.boards_epic_boards_id_seq', 1, false);


--
-- Name: boards_epic_list_user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.boards_epic_list_user_preferences_id_seq', 1, false);


--
-- Name: boards_epic_lists_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.boards_epic_lists_id_seq', 1, false);


--
-- Name: boards_epic_user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.boards_epic_user_preferences_id_seq', 1, false);


--
-- Name: boards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.boards_id_seq', 1, false);


--
-- Name: broadcast_messages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.broadcast_messages_id_seq', 1, false);


--
-- Name: bulk_import_configurations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.bulk_import_configurations_id_seq', 1, false);


--
-- Name: bulk_import_entities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.bulk_import_entities_id_seq', 1, false);


--
-- Name: bulk_import_export_uploads_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.bulk_import_export_uploads_id_seq', 1, false);


--
-- Name: bulk_import_exports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.bulk_import_exports_id_seq', 1, false);


--
-- Name: bulk_import_failures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.bulk_import_failures_id_seq', 1, false);


--
-- Name: bulk_import_trackers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.bulk_import_trackers_id_seq', 1, false);


--
-- Name: bulk_imports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.bulk_imports_id_seq', 1, false);


--
-- Name: chat_names_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.chat_names_id_seq', 1, false);


--
-- Name: chat_teams_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.chat_teams_id_seq', 1, false);


--
-- Name: ci_build_needs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_build_needs_id_seq', 1, false);


--
-- Name: ci_build_pending_states_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_build_pending_states_id_seq', 1, false);


--
-- Name: ci_build_report_results_build_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_build_report_results_build_id_seq', 1, false);


--
-- Name: ci_build_trace_chunks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_build_trace_chunks_id_seq', 1, false);


--
-- Name: ci_builds_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_builds_id_seq', 1, false);


--
-- Name: ci_builds_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_builds_metadata_id_seq', 1, false);


--
-- Name: ci_builds_runner_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_builds_runner_session_id_seq', 1, false);


--
-- Name: ci_daily_build_group_report_results_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_daily_build_group_report_results_id_seq', 1, false);


--
-- Name: ci_deleted_objects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_deleted_objects_id_seq', 1, false);


--
-- Name: ci_freeze_periods_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_freeze_periods_id_seq', 1, false);


--
-- Name: ci_group_variables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_group_variables_id_seq', 1, false);


--
-- Name: ci_instance_variables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_instance_variables_id_seq', 1, false);


--
-- Name: ci_job_artifacts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_job_artifacts_id_seq', 1, false);


--
-- Name: ci_job_token_project_scope_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_job_token_project_scope_links_id_seq', 1, false);


--
-- Name: ci_job_variables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_job_variables_id_seq', 1, false);


--
-- Name: ci_minutes_additional_packs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_minutes_additional_packs_id_seq', 1, false);


--
-- Name: ci_namespace_monthly_usages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_namespace_monthly_usages_id_seq', 1, false);


--
-- Name: ci_pending_builds_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pending_builds_id_seq', 1, false);


--
-- Name: ci_pipeline_artifacts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pipeline_artifacts_id_seq', 1, false);


--
-- Name: ci_pipeline_chat_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pipeline_chat_data_id_seq', 1, false);


--
-- Name: ci_pipeline_messages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pipeline_messages_id_seq', 1, false);


--
-- Name: ci_pipeline_schedule_variables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pipeline_schedule_variables_id_seq', 1, false);


--
-- Name: ci_pipeline_schedules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pipeline_schedules_id_seq', 1, false);


--
-- Name: ci_pipeline_variables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pipeline_variables_id_seq', 1, false);


--
-- Name: ci_pipelines_config_pipeline_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pipelines_config_pipeline_id_seq', 1, false);


--
-- Name: ci_pipelines_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_pipelines_id_seq', 1, false);


--
-- Name: ci_platform_metrics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_platform_metrics_id_seq', 1, false);


--
-- Name: ci_project_monthly_usages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_project_monthly_usages_id_seq', 1, false);


--
-- Name: ci_refs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_refs_id_seq', 1, false);


--
-- Name: ci_resource_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_resource_groups_id_seq', 1, false);


--
-- Name: ci_resources_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_resources_id_seq', 1, false);


--
-- Name: ci_runner_namespaces_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_runner_namespaces_id_seq', 1, false);


--
-- Name: ci_runner_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_runner_projects_id_seq', 1, false);


--
-- Name: ci_runners_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_runners_id_seq', 1, false);


--
-- Name: ci_running_builds_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_running_builds_id_seq', 1, false);


--
-- Name: ci_sources_pipelines_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_sources_pipelines_id_seq', 1, false);


--
-- Name: ci_sources_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_sources_projects_id_seq', 1, false);


--
-- Name: ci_stages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_stages_id_seq', 1, false);


--
-- Name: ci_subscriptions_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_subscriptions_projects_id_seq', 1, false);


--
-- Name: ci_trigger_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_trigger_requests_id_seq', 1, false);


--
-- Name: ci_triggers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_triggers_id_seq', 1, false);


--
-- Name: ci_unit_test_failures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_unit_test_failures_id_seq', 1, false);


--
-- Name: ci_unit_tests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_unit_tests_id_seq', 1, false);


--
-- Name: ci_variables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ci_variables_id_seq', 1, false);


--
-- Name: cluster_agent_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.cluster_agent_tokens_id_seq', 1, false);


--
-- Name: cluster_agents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.cluster_agents_id_seq', 1, false);


--
-- Name: cluster_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.cluster_groups_id_seq', 1, false);


--
-- Name: cluster_platforms_kubernetes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.cluster_platforms_kubernetes_id_seq', 1, false);


--
-- Name: cluster_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.cluster_projects_id_seq', 1, false);


--
-- Name: cluster_providers_aws_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.cluster_providers_aws_id_seq', 1, false);


--
-- Name: cluster_providers_gcp_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.cluster_providers_gcp_id_seq', 1, false);


--
-- Name: clusters_applications_cert_managers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_cert_managers_id_seq', 1, false);


--
-- Name: clusters_applications_cilium_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_cilium_id_seq', 1, false);


--
-- Name: clusters_applications_crossplane_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_crossplane_id_seq', 1, false);


--
-- Name: clusters_applications_elastic_stacks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_elastic_stacks_id_seq', 1, false);


--
-- Name: clusters_applications_helm_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_helm_id_seq', 1, false);


--
-- Name: clusters_applications_ingress_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_ingress_id_seq', 1, false);


--
-- Name: clusters_applications_jupyter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_jupyter_id_seq', 1, false);


--
-- Name: clusters_applications_knative_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_knative_id_seq', 1, false);


--
-- Name: clusters_applications_prometheus_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_prometheus_id_seq', 1, false);


--
-- Name: clusters_applications_runners_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_applications_runners_id_seq', 1, false);


--
-- Name: clusters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_id_seq', 1, false);


--
-- Name: clusters_kubernetes_namespaces_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.clusters_kubernetes_namespaces_id_seq', 1, false);


--
-- Name: commit_user_mentions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.commit_user_mentions_id_seq', 1, false);


--
-- Name: compliance_management_frameworks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.compliance_management_frameworks_id_seq', 1, false);


--
-- Name: container_repositories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.container_repositories_id_seq', 1, false);


--
-- Name: conversational_development_index_metrics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.conversational_development_index_metrics_id_seq', 1, false);


--
-- Name: csv_issue_imports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.csv_issue_imports_id_seq', 1, false);


--
-- Name: custom_emoji_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.custom_emoji_id_seq', 1, false);


--
-- Name: customer_relations_organizations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.customer_relations_organizations_id_seq', 1, false);


--
-- Name: dast_profile_schedules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dast_profile_schedules_id_seq', 1, false);


--
-- Name: dast_profiles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dast_profiles_id_seq', 1, false);


--
-- Name: dast_scanner_profiles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dast_scanner_profiles_id_seq', 1, false);


--
-- Name: dast_site_profile_secret_variables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dast_site_profile_secret_variables_id_seq', 1, false);


--
-- Name: dast_site_profiles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dast_site_profiles_id_seq', 1, false);


--
-- Name: dast_site_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dast_site_tokens_id_seq', 1, false);


--
-- Name: dast_site_validations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dast_site_validations_id_seq', 1, false);


--
-- Name: dast_sites_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dast_sites_id_seq', 1, false);


--
-- Name: dep_ci_build_trace_section_names_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dep_ci_build_trace_section_names_id_seq', 1, false);


--
-- Name: dependency_proxy_blobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dependency_proxy_blobs_id_seq', 1, false);


--
-- Name: dependency_proxy_group_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dependency_proxy_group_settings_id_seq', 1, false);


--
-- Name: dependency_proxy_manifests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dependency_proxy_manifests_id_seq', 1, false);


--
-- Name: deploy_keys_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.deploy_keys_projects_id_seq', 1, false);


--
-- Name: deploy_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.deploy_tokens_id_seq', 1, false);


--
-- Name: deployments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.deployments_id_seq', 1, false);


--
-- Name: description_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.description_versions_id_seq', 1, false);


--
-- Name: design_management_designs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.design_management_designs_id_seq', 1, false);


--
-- Name: design_management_designs_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.design_management_designs_versions_id_seq', 1, false);


--
-- Name: design_management_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.design_management_versions_id_seq', 1, false);


--
-- Name: design_user_mentions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.design_user_mentions_id_seq', 1, false);


--
-- Name: detached_partitions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.detached_partitions_id_seq', 1, false);


--
-- Name: diff_note_positions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.diff_note_positions_id_seq', 1, false);


--
-- Name: dora_daily_metrics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.dora_daily_metrics_id_seq', 1, false);


--
-- Name: draft_notes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.draft_notes_id_seq', 1, false);


--
-- Name: elastic_index_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.elastic_index_settings_id_seq', 1, false);


--
-- Name: elastic_reindexing_slices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.elastic_reindexing_slices_id_seq', 1, false);


--
-- Name: elastic_reindexing_subtasks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.elastic_reindexing_subtasks_id_seq', 1, false);


--
-- Name: elastic_reindexing_tasks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.elastic_reindexing_tasks_id_seq', 1, false);


--
-- Name: emails_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.emails_id_seq', 1, false);


--
-- Name: environments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.environments_id_seq', 1, true);


--
-- Name: epic_issues_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.epic_issues_id_seq', 1, false);


--
-- Name: epic_metrics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.epic_metrics_id_seq', 1, false);


--
-- Name: epic_user_mentions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.epic_user_mentions_id_seq', 1, false);


--
-- Name: epics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.epics_id_seq', 1, false);


--
-- Name: error_tracking_client_keys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.error_tracking_client_keys_id_seq', 1, false);


--
-- Name: error_tracking_error_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.error_tracking_error_events_id_seq', 1, false);


--
-- Name: error_tracking_errors_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.error_tracking_errors_id_seq', 1, false);


--
-- Name: events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.events_id_seq', 1, false);


--
-- Name: evidences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.evidences_id_seq', 1, false);


--
-- Name: experiment_subjects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.experiment_subjects_id_seq', 1, false);


--
-- Name: experiment_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.experiment_users_id_seq', 1, false);


--
-- Name: experiments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.experiments_id_seq', 1, false);


--
-- Name: external_approval_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.external_approval_rules_id_seq', 1, false);


--
-- Name: external_approval_rules_protected_branches_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.external_approval_rules_protected_branches_id_seq', 1, false);


--
-- Name: external_pull_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.external_pull_requests_id_seq', 1, false);


--
-- Name: external_status_checks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.external_status_checks_id_seq', 1, false);


--
-- Name: external_status_checks_protected_branches_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.external_status_checks_protected_branches_id_seq', 1, false);


--
-- Name: feature_gates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.feature_gates_id_seq', 1, false);


--
-- Name: features_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.features_id_seq', 1, false);


--
-- Name: fork_network_members_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.fork_network_members_id_seq', 1, false);


--
-- Name: fork_networks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.fork_networks_id_seq', 1, false);


--
-- Name: geo_cache_invalidation_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_cache_invalidation_events_id_seq', 1, false);


--
-- Name: geo_container_repository_updated_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_container_repository_updated_events_id_seq', 1, false);


--
-- Name: geo_event_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_event_log_id_seq', 1, false);


--
-- Name: geo_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_events_id_seq', 1, false);


--
-- Name: geo_hashed_storage_attachments_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_hashed_storage_attachments_events_id_seq', 1, false);


--
-- Name: geo_hashed_storage_migrated_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_hashed_storage_migrated_events_id_seq', 1, false);


--
-- Name: geo_job_artifact_deleted_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_job_artifact_deleted_events_id_seq', 1, false);


--
-- Name: geo_lfs_object_deleted_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_lfs_object_deleted_events_id_seq', 1, false);


--
-- Name: geo_node_namespace_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_node_namespace_links_id_seq', 1, false);


--
-- Name: geo_node_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_node_statuses_id_seq', 1, false);


--
-- Name: geo_nodes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_nodes_id_seq', 1, false);


--
-- Name: geo_repositories_changed_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_repositories_changed_events_id_seq', 1, false);


--
-- Name: geo_repository_created_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_repository_created_events_id_seq', 1, false);


--
-- Name: geo_repository_deleted_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_repository_deleted_events_id_seq', 1, false);


--
-- Name: geo_repository_renamed_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_repository_renamed_events_id_seq', 1, false);


--
-- Name: geo_repository_updated_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_repository_updated_events_id_seq', 1, false);


--
-- Name: geo_reset_checksum_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_reset_checksum_events_id_seq', 1, false);


--
-- Name: geo_upload_deleted_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.geo_upload_deleted_events_id_seq', 1, false);


--
-- Name: gitlab_subscription_histories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.gitlab_subscription_histories_id_seq', 1, false);


--
-- Name: gitlab_subscriptions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.gitlab_subscriptions_id_seq', 1, false);


--
-- Name: gpg_key_subkeys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.gpg_key_subkeys_id_seq', 1, false);


--
-- Name: gpg_keys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.gpg_keys_id_seq', 1, false);


--
-- Name: gpg_signatures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.gpg_signatures_id_seq', 1, false);


--
-- Name: grafana_integrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.grafana_integrations_id_seq', 1, false);


--
-- Name: group_custom_attributes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.group_custom_attributes_id_seq', 1, false);


--
-- Name: group_deploy_keys_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.group_deploy_keys_groups_id_seq', 1, false);


--
-- Name: group_deploy_keys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.group_deploy_keys_id_seq', 1, false);


--
-- Name: group_deploy_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.group_deploy_tokens_id_seq', 1, false);


--
-- Name: group_group_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.group_group_links_id_seq', 1, false);


--
-- Name: group_import_states_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.group_import_states_group_id_seq', 1, false);


--
-- Name: group_repository_storage_moves_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.group_repository_storage_moves_id_seq', 1, false);


--
-- Name: historical_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.historical_data_id_seq', 1, false);


--
-- Name: identities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.identities_id_seq', 1, false);


--
-- Name: import_export_uploads_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.import_export_uploads_id_seq', 1, false);


--
-- Name: import_failures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.import_failures_id_seq', 1, false);


--
-- Name: in_product_marketing_emails_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.in_product_marketing_emails_id_seq', 1, false);


--
-- Name: incident_management_escalation_policies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.incident_management_escalation_policies_id_seq', 1, false);


--
-- Name: incident_management_escalation_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.incident_management_escalation_rules_id_seq', 1, false);


--
-- Name: incident_management_issuable_escalation_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.incident_management_issuable_escalation_statuses_id_seq', 1, false);


--
-- Name: incident_management_oncall_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.incident_management_oncall_participants_id_seq', 1, false);


--
-- Name: incident_management_oncall_rotations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.incident_management_oncall_rotations_id_seq', 1, false);


--
-- Name: incident_management_oncall_schedules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.incident_management_oncall_schedules_id_seq', 1, false);


--
-- Name: incident_management_oncall_shifts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.incident_management_oncall_shifts_id_seq', 1, false);


--
-- Name: incident_management_pending_alert_escalations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.incident_management_pending_alert_escalations_id_seq', 1, false);


--
-- Name: index_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.index_statuses_id_seq', 1, false);


--
-- Name: insights_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.insights_id_seq', 1, false);


--
-- Name: integrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.integrations_id_seq', 1, true);


--
-- Name: internal_ids_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.internal_ids_id_seq', 1, false);


--
-- Name: ip_restrictions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ip_restrictions_id_seq', 1, false);


--
-- Name: issuable_metric_images_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issuable_metric_images_id_seq', 1, false);


--
-- Name: issuable_severities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issuable_severities_id_seq', 1, false);


--
-- Name: issuable_slas_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issuable_slas_id_seq', 1, false);


--
-- Name: issue_email_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issue_email_participants_id_seq', 1, false);


--
-- Name: issue_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issue_links_id_seq', 1, false);


--
-- Name: issue_metrics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issue_metrics_id_seq', 1, false);


--
-- Name: issue_tracker_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issue_tracker_data_id_seq', 1, false);


--
-- Name: issue_user_mentions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issue_user_mentions_id_seq', 1, false);


--
-- Name: issues_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.issues_id_seq', 1, false);


--
-- Name: iterations_cadences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.iterations_cadences_id_seq', 1, false);


--
-- Name: jira_connect_installations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.jira_connect_installations_id_seq', 1, false);


--
-- Name: jira_connect_subscriptions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.jira_connect_subscriptions_id_seq', 1, false);


--
-- Name: jira_imports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.jira_imports_id_seq', 1, false);


--
-- Name: jira_tracker_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.jira_tracker_data_id_seq', 1, false);


--
-- Name: keys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.keys_id_seq', 1, true);


--
-- Name: label_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.label_links_id_seq', 1, false);


--
-- Name: label_priorities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.label_priorities_id_seq', 1, false);


--
-- Name: labels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.labels_id_seq', 1, false);


--
-- Name: ldap_group_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.ldap_group_links_id_seq', 1, false);


--
-- Name: lfs_file_locks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.lfs_file_locks_id_seq', 1, false);


--
-- Name: lfs_objects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.lfs_objects_id_seq', 1, false);


--
-- Name: lfs_objects_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.lfs_objects_projects_id_seq', 1, false);


--
-- Name: licenses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.licenses_id_seq', 1, false);


--
-- Name: list_user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.list_user_preferences_id_seq', 1, false);


--
-- Name: lists_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.lists_id_seq', 1, false);


--
-- Name: members_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.members_id_seq', 2, true);


--
-- Name: merge_request_assignees_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_assignees_id_seq', 1, false);


--
-- Name: merge_request_blocks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_blocks_id_seq', 1, false);


--
-- Name: merge_request_cleanup_schedules_merge_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_cleanup_schedules_merge_request_id_seq', 1, false);


--
-- Name: merge_request_context_commits_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_context_commits_id_seq', 1, false);


--
-- Name: merge_request_diff_commit_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_diff_commit_users_id_seq', 1, false);


--
-- Name: merge_request_diff_details_merge_request_diff_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_diff_details_merge_request_diff_id_seq', 1, false);


--
-- Name: merge_request_diffs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_diffs_id_seq', 1, false);


--
-- Name: merge_request_metrics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_metrics_id_seq', 1, false);


--
-- Name: merge_request_reviewers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_reviewers_id_seq', 1, false);


--
-- Name: merge_request_user_mentions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_request_user_mentions_id_seq', 1, false);


--
-- Name: merge_requests_closing_issues_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_requests_closing_issues_id_seq', 1, false);


--
-- Name: merge_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_requests_id_seq', 1, false);


--
-- Name: merge_trains_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.merge_trains_id_seq', 1, false);


--
-- Name: metrics_dashboard_annotations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.metrics_dashboard_annotations_id_seq', 1, false);


--
-- Name: metrics_users_starred_dashboards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.metrics_users_starred_dashboards_id_seq', 1, false);


--
-- Name: milestones_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.milestones_id_seq', 1, false);


--
-- Name: namespace_admin_notes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.namespace_admin_notes_id_seq', 1, false);


--
-- Name: namespace_statistics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.namespace_statistics_id_seq', 1, false);


--
-- Name: namespaces_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.namespaces_id_seq', 9, true);


--
-- Name: note_diff_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.note_diff_files_id_seq', 1, false);


--
-- Name: notes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.notes_id_seq', 1, false);


--
-- Name: notification_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.notification_settings_id_seq', 4, true);


--
-- Name: oauth_access_grants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.oauth_access_grants_id_seq', 1, false);


--
-- Name: oauth_access_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.oauth_access_tokens_id_seq', 1, false);


--
-- Name: oauth_applications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.oauth_applications_id_seq', 1, false);


--
-- Name: oauth_openid_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.oauth_openid_requests_id_seq', 1, false);


--
-- Name: onboarding_progresses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.onboarding_progresses_id_seq', 2, true);


--
-- Name: open_project_tracker_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.open_project_tracker_data_id_seq', 1, false);


--
-- Name: operations_feature_flag_scopes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.operations_feature_flag_scopes_id_seq', 1, false);


--
-- Name: operations_feature_flags_clients_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.operations_feature_flags_clients_id_seq', 1, false);


--
-- Name: operations_feature_flags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.operations_feature_flags_id_seq', 1, false);


--
-- Name: operations_feature_flags_issues_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.operations_feature_flags_issues_id_seq', 1, false);


--
-- Name: operations_scopes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.operations_scopes_id_seq', 1, false);


--
-- Name: operations_strategies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.operations_strategies_id_seq', 1, false);


--
-- Name: operations_strategies_user_lists_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.operations_strategies_user_lists_id_seq', 1, false);


--
-- Name: operations_user_lists_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.operations_user_lists_id_seq', 1, false);


--
-- Name: packages_build_infos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_build_infos_id_seq', 1, false);


--
-- Name: packages_composer_cache_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_composer_cache_files_id_seq', 1, false);


--
-- Name: packages_conan_file_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_conan_file_metadata_id_seq', 1, false);


--
-- Name: packages_conan_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_conan_metadata_id_seq', 1, false);


--
-- Name: packages_debian_group_architectures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_group_architectures_id_seq', 1, false);


--
-- Name: packages_debian_group_component_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_group_component_files_id_seq', 1, false);


--
-- Name: packages_debian_group_components_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_group_components_id_seq', 1, false);


--
-- Name: packages_debian_group_distribution_keys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_group_distribution_keys_id_seq', 1, false);


--
-- Name: packages_debian_group_distributions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_group_distributions_id_seq', 1, false);


--
-- Name: packages_debian_project_architectures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_project_architectures_id_seq', 1, false);


--
-- Name: packages_debian_project_component_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_project_component_files_id_seq', 1, false);


--
-- Name: packages_debian_project_components_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_project_components_id_seq', 1, false);


--
-- Name: packages_debian_project_distribution_keys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_project_distribution_keys_id_seq', 1, false);


--
-- Name: packages_debian_project_distributions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_project_distributions_id_seq', 1, false);


--
-- Name: packages_debian_publications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_debian_publications_id_seq', 1, false);


--
-- Name: packages_dependencies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_dependencies_id_seq', 1, false);


--
-- Name: packages_dependency_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_dependency_links_id_seq', 1, false);


--
-- Name: packages_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_events_id_seq', 1, false);


--
-- Name: packages_maven_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_maven_metadata_id_seq', 1, false);


--
-- Name: packages_package_file_build_infos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_package_file_build_infos_id_seq', 1, false);


--
-- Name: packages_package_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_package_files_id_seq', 1, false);


--
-- Name: packages_packages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_packages_id_seq', 1, false);


--
-- Name: packages_tags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.packages_tags_id_seq', 1, false);


--
-- Name: pages_deployments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.pages_deployments_id_seq', 1, false);


--
-- Name: pages_domain_acme_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.pages_domain_acme_orders_id_seq', 1, false);


--
-- Name: pages_domains_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.pages_domains_id_seq', 1, false);


--
-- Name: partitioned_foreign_keys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.partitioned_foreign_keys_id_seq', 1, false);


--
-- Name: path_locks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.path_locks_id_seq', 1, false);


--
-- Name: personal_access_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.personal_access_tokens_id_seq', 1, false);


--
-- Name: plan_limits_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.plan_limits_id_seq', 1, false);


--
-- Name: plans_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.plans_id_seq', 1, true);


--
-- Name: pool_repositories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.pool_repositories_id_seq', 1, false);


--
-- Name: postgres_async_indexes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.postgres_async_indexes_id_seq', 1, false);


--
-- Name: postgres_reindex_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.postgres_reindex_actions_id_seq', 1, false);


--
-- Name: product_analytics_events_experimental_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.product_analytics_events_experimental_id_seq', 1, false);


--
-- Name: programming_languages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.programming_languages_id_seq', 1, false);


--
-- Name: project_aliases_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_aliases_id_seq', 1, false);


--
-- Name: project_auto_devops_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_auto_devops_id_seq', 1, false);


--
-- Name: project_ci_cd_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_ci_cd_settings_id_seq', 1, true);


--
-- Name: project_ci_feature_usages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_ci_feature_usages_id_seq', 1, false);


--
-- Name: project_compliance_framework_settings_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_compliance_framework_settings_project_id_seq', 1, false);


--
-- Name: project_custom_attributes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_custom_attributes_id_seq', 1, false);


--
-- Name: project_daily_statistics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_daily_statistics_id_seq', 1, false);


--
-- Name: project_deploy_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_deploy_tokens_id_seq', 1, false);


--
-- Name: project_export_jobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_export_jobs_id_seq', 1, false);


--
-- Name: project_features_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_features_id_seq', 1, false);


--
-- Name: project_group_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_group_links_id_seq', 1, false);


--
-- Name: project_import_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_import_data_id_seq', 1, false);


--
-- Name: project_incident_management_settings_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_incident_management_settings_project_id_seq', 1, false);


--
-- Name: project_mirror_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_mirror_data_id_seq', 1, false);


--
-- Name: project_repositories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_repositories_id_seq', 1, false);


--
-- Name: project_repository_states_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_repository_states_id_seq', 1, false);


--
-- Name: project_repository_storage_moves_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_repository_storage_moves_id_seq', 1, false);


--
-- Name: project_security_settings_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_security_settings_project_id_seq', 1, false);


--
-- Name: project_statistics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_statistics_id_seq', 1, false);


--
-- Name: project_tracing_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.project_tracing_settings_id_seq', 1, false);


--
-- Name: projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.projects_id_seq', 1, true);


--
-- Name: prometheus_alert_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.prometheus_alert_events_id_seq', 1, false);


--
-- Name: prometheus_alerts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.prometheus_alerts_id_seq', 3, true);


--
-- Name: prometheus_metrics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.prometheus_metrics_id_seq', 22, true);


--
-- Name: protected_branch_merge_access_levels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.protected_branch_merge_access_levels_id_seq', 1, false);


--
-- Name: protected_branch_push_access_levels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.protected_branch_push_access_levels_id_seq', 1, false);


--
-- Name: protected_branch_unprotect_access_levels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.protected_branch_unprotect_access_levels_id_seq', 1, false);


--
-- Name: protected_branches_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.protected_branches_id_seq', 1, false);


--
-- Name: protected_environment_deploy_access_levels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.protected_environment_deploy_access_levels_id_seq', 1, false);


--
-- Name: protected_environments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.protected_environments_id_seq', 1, false);


--
-- Name: protected_tag_create_access_levels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.protected_tag_create_access_levels_id_seq', 1, false);


--
-- Name: protected_tags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.protected_tags_id_seq', 1, false);


--
-- Name: push_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.push_rules_id_seq', 1, false);


--
-- Name: raw_usage_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.raw_usage_data_id_seq', 1, false);


--
-- Name: redirect_routes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.redirect_routes_id_seq', 1, false);


--
-- Name: release_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.release_links_id_seq', 1, false);


--
-- Name: releases_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.releases_id_seq', 1, false);


--
-- Name: remote_mirrors_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.remote_mirrors_id_seq', 1, false);


--
-- Name: required_code_owners_sections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.required_code_owners_sections_id_seq', 1, false);


--
-- Name: requirements_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.requirements_id_seq', 1, false);


--
-- Name: requirements_management_test_reports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.requirements_management_test_reports_id_seq', 1, false);


--
-- Name: resource_iteration_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.resource_iteration_events_id_seq', 1, false);


--
-- Name: resource_label_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.resource_label_events_id_seq', 1, false);


--
-- Name: resource_milestone_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.resource_milestone_events_id_seq', 1, false);


--
-- Name: resource_state_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.resource_state_events_id_seq', 1, false);


--
-- Name: resource_weight_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.resource_weight_events_id_seq', 1, false);


--
-- Name: reviews_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.reviews_id_seq', 1, false);


--
-- Name: routes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.routes_id_seq', 10, true);


--
-- Name: saml_group_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.saml_group_links_id_seq', 1, false);


--
-- Name: saml_providers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.saml_providers_id_seq', 1, false);


--
-- Name: scim_identities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.scim_identities_id_seq', 1, false);


--
-- Name: scim_oauth_access_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.scim_oauth_access_tokens_id_seq', 1, false);


--
-- Name: security_findings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.security_findings_id_seq', 1, false);


--
-- Name: security_orchestration_policy_configurations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.security_orchestration_policy_configurations_id_seq', 1, false);


--
-- Name: security_orchestration_policy_rule_schedules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.security_orchestration_policy_rule_schedules_id_seq', 1, false);


--
-- Name: security_scans_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.security_scans_id_seq', 1, false);


--
-- Name: self_managed_prometheus_alert_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.self_managed_prometheus_alert_events_id_seq', 1, false);


--
-- Name: sent_notifications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.sent_notifications_id_seq', 1, false);


--
-- Name: sentry_issues_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.sentry_issues_id_seq', 1, false);


--
-- Name: shards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.shards_id_seq', 1, true);


--
-- Name: slack_integrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.slack_integrations_id_seq', 1, false);


--
-- Name: smartcard_identities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.smartcard_identities_id_seq', 1, false);


--
-- Name: snippet_repository_storage_moves_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.snippet_repository_storage_moves_id_seq', 1, false);


--
-- Name: snippet_user_mentions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.snippet_user_mentions_id_seq', 1, false);


--
-- Name: snippets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.snippets_id_seq', 1, false);


--
-- Name: software_license_policies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.software_license_policies_id_seq', 1, false);


--
-- Name: software_licenses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.software_licenses_id_seq', 1, false);


--
-- Name: spam_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.spam_logs_id_seq', 1, false);


--
-- Name: sprints_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.sprints_id_seq', 1, false);


--
-- Name: status_check_responses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.status_check_responses_id_seq', 1, false);


--
-- Name: status_page_published_incidents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.status_page_published_incidents_id_seq', 1, false);


--
-- Name: status_page_settings_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.status_page_settings_project_id_seq', 1, false);


--
-- Name: subscriptions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.subscriptions_id_seq', 1, false);


--
-- Name: suggestions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.suggestions_id_seq', 1, false);


--
-- Name: system_note_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.system_note_metadata_id_seq', 1, false);


--
-- Name: taggings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.taggings_id_seq', 1, false);


--
-- Name: tags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.tags_id_seq', 1, false);


--
-- Name: term_agreements_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.term_agreements_id_seq', 1, false);


--
-- Name: terraform_state_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.terraform_state_versions_id_seq', 1, false);


--
-- Name: terraform_states_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.terraform_states_id_seq', 1, false);


--
-- Name: timelogs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.timelogs_id_seq', 1, false);


--
-- Name: todos_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.todos_id_seq', 1, false);


--
-- Name: token_with_ivs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.token_with_ivs_id_seq', 1, false);


--
-- Name: trending_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.trending_projects_id_seq', 1, false);


--
-- Name: u2f_registrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.u2f_registrations_id_seq', 1, false);


--
-- Name: upcoming_reconciliations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.upcoming_reconciliations_id_seq', 1, false);


--
-- Name: uploads_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.uploads_id_seq', 1, true);


--
-- Name: user_agent_details_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_agent_details_id_seq', 1, false);


--
-- Name: user_callouts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_callouts_id_seq', 1, true);


--
-- Name: user_canonical_emails_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_canonical_emails_id_seq', 2, true);


--
-- Name: user_custom_attributes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_custom_attributes_id_seq', 1, false);


--
-- Name: user_details_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_details_user_id_seq', 1, false);


--
-- Name: user_permission_export_uploads_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_permission_export_uploads_id_seq', 1, false);


--
-- Name: user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_preferences_id_seq', 4, true);


--
-- Name: user_statuses_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_statuses_user_id_seq', 1, false);


--
-- Name: user_synced_attributes_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.user_synced_attributes_metadata_id_seq', 1, false);


--
-- Name: users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.users_id_seq', 7, true);


--
-- Name: users_ops_dashboard_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.users_ops_dashboard_projects_id_seq', 1, false);


--
-- Name: users_star_projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.users_star_projects_id_seq', 1, false);


--
-- Name: users_statistics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.users_statistics_id_seq', 1, false);


--
-- Name: vulnerabilities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerabilities_id_seq', 1, false);


--
-- Name: vulnerability_exports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_exports_id_seq', 1, false);


--
-- Name: vulnerability_external_issue_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_external_issue_links_id_seq', 1, false);


--
-- Name: vulnerability_feedback_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_feedback_id_seq', 1, false);


--
-- Name: vulnerability_finding_evidence_assets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_evidence_assets_id_seq', 1, false);


--
-- Name: vulnerability_finding_evidence_headers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_evidence_headers_id_seq', 1, false);


--
-- Name: vulnerability_finding_evidence_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_evidence_requests_id_seq', 1, false);


--
-- Name: vulnerability_finding_evidence_responses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_evidence_responses_id_seq', 1, false);


--
-- Name: vulnerability_finding_evidence_sources_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_evidence_sources_id_seq', 1, false);


--
-- Name: vulnerability_finding_evidence_supporting_messages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_evidence_supporting_messages_id_seq', 1, false);


--
-- Name: vulnerability_finding_evidences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_evidences_id_seq', 1, false);


--
-- Name: vulnerability_finding_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_links_id_seq', 1, false);


--
-- Name: vulnerability_finding_signatures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_finding_signatures_id_seq', 1, false);


--
-- Name: vulnerability_findings_remediations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_findings_remediations_id_seq', 1, false);


--
-- Name: vulnerability_flags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_flags_id_seq', 1, false);


--
-- Name: vulnerability_historical_statistics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_historical_statistics_id_seq', 1, false);


--
-- Name: vulnerability_identifiers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_identifiers_id_seq', 1, false);


--
-- Name: vulnerability_issue_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_issue_links_id_seq', 1, false);


--
-- Name: vulnerability_occurrence_identifiers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_occurrence_identifiers_id_seq', 1, false);


--
-- Name: vulnerability_occurrence_pipelines_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_occurrence_pipelines_id_seq', 1, false);


--
-- Name: vulnerability_occurrences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_occurrences_id_seq', 1, false);


--
-- Name: vulnerability_remediations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_remediations_id_seq', 1, false);


--
-- Name: vulnerability_scanners_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_scanners_id_seq', 1, false);


--
-- Name: vulnerability_statistics_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_statistics_id_seq', 1, false);


--
-- Name: vulnerability_user_mentions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.vulnerability_user_mentions_id_seq', 1, false);


--
-- Name: web_hook_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.web_hook_logs_id_seq', 1, false);


--
-- Name: web_hooks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.web_hooks_id_seq', 1, false);


--
-- Name: webauthn_registrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.webauthn_registrations_id_seq', 1, false);


--
-- Name: wiki_page_meta_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.wiki_page_meta_id_seq', 1, false);


--
-- Name: wiki_page_slugs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.wiki_page_slugs_id_seq', 1, false);


--
-- Name: work_item_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.work_item_types_id_seq', 1, false);


--
-- Name: x509_certificates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.x509_certificates_id_seq', 1, false);


--
-- Name: x509_commit_signatures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.x509_commit_signatures_id_seq', 1, false);


--
-- Name: x509_issuers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.x509_issuers_id_seq', 1, false);


--
-- Name: zentao_tracker_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.zentao_tracker_data_id_seq', 1, false);


--
-- Name: zoom_meetings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gitlab
--

SELECT pg_catalog.setval('public.zoom_meetings_id_seq', 1, false);


--
-- Name: audit_events audit_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.audit_events
    ADD CONSTRAINT audit_events_pkey PRIMARY KEY (id, created_at);


--
-- Name: audit_events_000000 audit_events_000000_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.audit_events_000000
    ADD CONSTRAINT audit_events_000000_pkey PRIMARY KEY (id, created_at);


--
-- Name: audit_events_202109 audit_events_202109_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.audit_events_202109
    ADD CONSTRAINT audit_events_202109_pkey PRIMARY KEY (id, created_at);


--
-- Name: audit_events_202110 audit_events_202110_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.audit_events_202110
    ADD CONSTRAINT audit_events_202110_pkey PRIMARY KEY (id, created_at);


--
-- Name: audit_events_202111 audit_events_202111_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.audit_events_202111
    ADD CONSTRAINT audit_events_202111_pkey PRIMARY KEY (id, created_at);


--
-- Name: audit_events_202112 audit_events_202112_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.audit_events_202112
    ADD CONSTRAINT audit_events_202112_pkey PRIMARY KEY (id, created_at);


--
-- Name: audit_events_202201 audit_events_202201_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.audit_events_202201
    ADD CONSTRAINT audit_events_202201_pkey PRIMARY KEY (id, created_at);


--
-- Name: audit_events_202202 audit_events_202202_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.audit_events_202202
    ADD CONSTRAINT audit_events_202202_pkey PRIMARY KEY (id, created_at);


--
-- Name: audit_events_202203 audit_events_202203_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.audit_events_202203
    ADD CONSTRAINT audit_events_202203_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs web_hook_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.web_hook_logs
    ADD CONSTRAINT web_hook_logs_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202106 web_hook_logs_202106_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202106
    ADD CONSTRAINT web_hook_logs_202106_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202107 web_hook_logs_202107_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202107
    ADD CONSTRAINT web_hook_logs_202107_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202108 web_hook_logs_202108_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202108
    ADD CONSTRAINT web_hook_logs_202108_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202109 web_hook_logs_202109_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202109
    ADD CONSTRAINT web_hook_logs_202109_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202110 web_hook_logs_202110_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202110
    ADD CONSTRAINT web_hook_logs_202110_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202111 web_hook_logs_202111_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202111
    ADD CONSTRAINT web_hook_logs_202111_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202112 web_hook_logs_202112_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202112
    ADD CONSTRAINT web_hook_logs_202112_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202201 web_hook_logs_202201_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202201
    ADD CONSTRAINT web_hook_logs_202201_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202202 web_hook_logs_202202_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202202
    ADD CONSTRAINT web_hook_logs_202202_pkey PRIMARY KEY (id, created_at);


--
-- Name: web_hook_logs_202203 web_hook_logs_202203_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_dynamic.web_hook_logs_202203
    ADD CONSTRAINT web_hook_logs_202203_pkey PRIMARY KEY (id, created_at);


--
-- Name: product_analytics_events_experimental product_analytics_events_experimental_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.product_analytics_events_experimental
    ADD CONSTRAINT product_analytics_events_experimental_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_00 product_analytics_events_experimental_00_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_00
    ADD CONSTRAINT product_analytics_events_experimental_00_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_01 product_analytics_events_experimental_01_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_01
    ADD CONSTRAINT product_analytics_events_experimental_01_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_02 product_analytics_events_experimental_02_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_02
    ADD CONSTRAINT product_analytics_events_experimental_02_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_03 product_analytics_events_experimental_03_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_03
    ADD CONSTRAINT product_analytics_events_experimental_03_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_04 product_analytics_events_experimental_04_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_04
    ADD CONSTRAINT product_analytics_events_experimental_04_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_05 product_analytics_events_experimental_05_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_05
    ADD CONSTRAINT product_analytics_events_experimental_05_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_06 product_analytics_events_experimental_06_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_06
    ADD CONSTRAINT product_analytics_events_experimental_06_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_07 product_analytics_events_experimental_07_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_07
    ADD CONSTRAINT product_analytics_events_experimental_07_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_08 product_analytics_events_experimental_08_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_08
    ADD CONSTRAINT product_analytics_events_experimental_08_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_09 product_analytics_events_experimental_09_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_09
    ADD CONSTRAINT product_analytics_events_experimental_09_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_10 product_analytics_events_experimental_10_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_10
    ADD CONSTRAINT product_analytics_events_experimental_10_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_11 product_analytics_events_experimental_11_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_11
    ADD CONSTRAINT product_analytics_events_experimental_11_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_12 product_analytics_events_experimental_12_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_12
    ADD CONSTRAINT product_analytics_events_experimental_12_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_13 product_analytics_events_experimental_13_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_13
    ADD CONSTRAINT product_analytics_events_experimental_13_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_14 product_analytics_events_experimental_14_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_14
    ADD CONSTRAINT product_analytics_events_experimental_14_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_15 product_analytics_events_experimental_15_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_15
    ADD CONSTRAINT product_analytics_events_experimental_15_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_16 product_analytics_events_experimental_16_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_16
    ADD CONSTRAINT product_analytics_events_experimental_16_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_17 product_analytics_events_experimental_17_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_17
    ADD CONSTRAINT product_analytics_events_experimental_17_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_18 product_analytics_events_experimental_18_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_18
    ADD CONSTRAINT product_analytics_events_experimental_18_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_19 product_analytics_events_experimental_19_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_19
    ADD CONSTRAINT product_analytics_events_experimental_19_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_20 product_analytics_events_experimental_20_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_20
    ADD CONSTRAINT product_analytics_events_experimental_20_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_21 product_analytics_events_experimental_21_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_21
    ADD CONSTRAINT product_analytics_events_experimental_21_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_22 product_analytics_events_experimental_22_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_22
    ADD CONSTRAINT product_analytics_events_experimental_22_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_23 product_analytics_events_experimental_23_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_23
    ADD CONSTRAINT product_analytics_events_experimental_23_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_24 product_analytics_events_experimental_24_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_24
    ADD CONSTRAINT product_analytics_events_experimental_24_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_25 product_analytics_events_experimental_25_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_25
    ADD CONSTRAINT product_analytics_events_experimental_25_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_26 product_analytics_events_experimental_26_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_26
    ADD CONSTRAINT product_analytics_events_experimental_26_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_27 product_analytics_events_experimental_27_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_27
    ADD CONSTRAINT product_analytics_events_experimental_27_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_28 product_analytics_events_experimental_28_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_28
    ADD CONSTRAINT product_analytics_events_experimental_28_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_29 product_analytics_events_experimental_29_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_29
    ADD CONSTRAINT product_analytics_events_experimental_29_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_30 product_analytics_events_experimental_30_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_30
    ADD CONSTRAINT product_analytics_events_experimental_30_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_31 product_analytics_events_experimental_31_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_31
    ADD CONSTRAINT product_analytics_events_experimental_31_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_32 product_analytics_events_experimental_32_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_32
    ADD CONSTRAINT product_analytics_events_experimental_32_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_33 product_analytics_events_experimental_33_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_33
    ADD CONSTRAINT product_analytics_events_experimental_33_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_34 product_analytics_events_experimental_34_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_34
    ADD CONSTRAINT product_analytics_events_experimental_34_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_35 product_analytics_events_experimental_35_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_35
    ADD CONSTRAINT product_analytics_events_experimental_35_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_36 product_analytics_events_experimental_36_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_36
    ADD CONSTRAINT product_analytics_events_experimental_36_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_37 product_analytics_events_experimental_37_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_37
    ADD CONSTRAINT product_analytics_events_experimental_37_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_38 product_analytics_events_experimental_38_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_38
    ADD CONSTRAINT product_analytics_events_experimental_38_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_39 product_analytics_events_experimental_39_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_39
    ADD CONSTRAINT product_analytics_events_experimental_39_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_40 product_analytics_events_experimental_40_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_40
    ADD CONSTRAINT product_analytics_events_experimental_40_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_41 product_analytics_events_experimental_41_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_41
    ADD CONSTRAINT product_analytics_events_experimental_41_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_42 product_analytics_events_experimental_42_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_42
    ADD CONSTRAINT product_analytics_events_experimental_42_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_43 product_analytics_events_experimental_43_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_43
    ADD CONSTRAINT product_analytics_events_experimental_43_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_44 product_analytics_events_experimental_44_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_44
    ADD CONSTRAINT product_analytics_events_experimental_44_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_45 product_analytics_events_experimental_45_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_45
    ADD CONSTRAINT product_analytics_events_experimental_45_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_46 product_analytics_events_experimental_46_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_46
    ADD CONSTRAINT product_analytics_events_experimental_46_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_47 product_analytics_events_experimental_47_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_47
    ADD CONSTRAINT product_analytics_events_experimental_47_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_48 product_analytics_events_experimental_48_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_48
    ADD CONSTRAINT product_analytics_events_experimental_48_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_49 product_analytics_events_experimental_49_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_49
    ADD CONSTRAINT product_analytics_events_experimental_49_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_50 product_analytics_events_experimental_50_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_50
    ADD CONSTRAINT product_analytics_events_experimental_50_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_51 product_analytics_events_experimental_51_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_51
    ADD CONSTRAINT product_analytics_events_experimental_51_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_52 product_analytics_events_experimental_52_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_52
    ADD CONSTRAINT product_analytics_events_experimental_52_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_53 product_analytics_events_experimental_53_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_53
    ADD CONSTRAINT product_analytics_events_experimental_53_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_54 product_analytics_events_experimental_54_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_54
    ADD CONSTRAINT product_analytics_events_experimental_54_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_55 product_analytics_events_experimental_55_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_55
    ADD CONSTRAINT product_analytics_events_experimental_55_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_56 product_analytics_events_experimental_56_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_56
    ADD CONSTRAINT product_analytics_events_experimental_56_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_57 product_analytics_events_experimental_57_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_57
    ADD CONSTRAINT product_analytics_events_experimental_57_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_58 product_analytics_events_experimental_58_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_58
    ADD CONSTRAINT product_analytics_events_experimental_58_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_59 product_analytics_events_experimental_59_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_59
    ADD CONSTRAINT product_analytics_events_experimental_59_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_60 product_analytics_events_experimental_60_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_60
    ADD CONSTRAINT product_analytics_events_experimental_60_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_61 product_analytics_events_experimental_61_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_61
    ADD CONSTRAINT product_analytics_events_experimental_61_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_62 product_analytics_events_experimental_62_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_62
    ADD CONSTRAINT product_analytics_events_experimental_62_pkey PRIMARY KEY (id, project_id);


--
-- Name: product_analytics_events_experimental_63 product_analytics_events_experimental_63_pkey; Type: CONSTRAINT; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER TABLE ONLY gitlab_partitions_static.product_analytics_events_experimental_63
    ADD CONSTRAINT product_analytics_events_experimental_63_pkey PRIMARY KEY (id, project_id);


--
-- Name: abuse_reports abuse_reports_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.abuse_reports
    ADD CONSTRAINT abuse_reports_pkey PRIMARY KEY (id);


--
-- Name: alert_management_alert_assignees alert_management_alert_assignees_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alert_assignees
    ADD CONSTRAINT alert_management_alert_assignees_pkey PRIMARY KEY (id);


--
-- Name: alert_management_alert_user_mentions alert_management_alert_user_mentions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alert_user_mentions
    ADD CONSTRAINT alert_management_alert_user_mentions_pkey PRIMARY KEY (id);


--
-- Name: alert_management_alerts alert_management_alerts_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alerts
    ADD CONSTRAINT alert_management_alerts_pkey PRIMARY KEY (id);


--
-- Name: alert_management_http_integrations alert_management_http_integrations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_http_integrations
    ADD CONSTRAINT alert_management_http_integrations_pkey PRIMARY KEY (id);


--
-- Name: allowed_email_domains allowed_email_domains_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.allowed_email_domains
    ADD CONSTRAINT allowed_email_domains_pkey PRIMARY KEY (id);


--
-- Name: analytics_cycle_analytics_group_stages analytics_cycle_analytics_group_stages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_stages
    ADD CONSTRAINT analytics_cycle_analytics_group_stages_pkey PRIMARY KEY (id);


--
-- Name: analytics_cycle_analytics_group_value_streams analytics_cycle_analytics_group_value_streams_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_value_streams
    ADD CONSTRAINT analytics_cycle_analytics_group_value_streams_pkey PRIMARY KEY (id);


--
-- Name: analytics_cycle_analytics_project_stages analytics_cycle_analytics_project_stages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_stages
    ADD CONSTRAINT analytics_cycle_analytics_project_stages_pkey PRIMARY KEY (id);


--
-- Name: analytics_cycle_analytics_project_value_streams analytics_cycle_analytics_project_value_streams_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_value_streams
    ADD CONSTRAINT analytics_cycle_analytics_project_value_streams_pkey PRIMARY KEY (id);


--
-- Name: analytics_cycle_analytics_stage_event_hashes analytics_cycle_analytics_stage_event_hashes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_stage_event_hashes
    ADD CONSTRAINT analytics_cycle_analytics_stage_event_hashes_pkey PRIMARY KEY (id);


--
-- Name: analytics_devops_adoption_segments analytics_devops_adoption_segments_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_devops_adoption_segments
    ADD CONSTRAINT analytics_devops_adoption_segments_pkey PRIMARY KEY (id);


--
-- Name: analytics_devops_adoption_snapshots analytics_devops_adoption_snapshots_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_devops_adoption_snapshots
    ADD CONSTRAINT analytics_devops_adoption_snapshots_pkey PRIMARY KEY (id);


--
-- Name: analytics_language_trend_repository_languages analytics_language_trend_repository_languages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_language_trend_repository_languages
    ADD CONSTRAINT analytics_language_trend_repository_languages_pkey PRIMARY KEY (programming_language_id, project_id, snapshot_date);


--
-- Name: analytics_usage_trends_measurements analytics_usage_trends_measurements_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_usage_trends_measurements
    ADD CONSTRAINT analytics_usage_trends_measurements_pkey PRIMARY KEY (id);


--
-- Name: appearances appearances_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.appearances
    ADD CONSTRAINT appearances_pkey PRIMARY KEY (id);


--
-- Name: application_setting_terms application_setting_terms_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_setting_terms
    ADD CONSTRAINT application_setting_terms_pkey PRIMARY KEY (id);


--
-- Name: application_settings application_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_settings
    ADD CONSTRAINT application_settings_pkey PRIMARY KEY (id);


--
-- Name: approval_merge_request_rule_sources approval_merge_request_rule_sources_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rule_sources
    ADD CONSTRAINT approval_merge_request_rule_sources_pkey PRIMARY KEY (id);


--
-- Name: approval_merge_request_rules_approved_approvers approval_merge_request_rules_approved_approvers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_approved_approvers
    ADD CONSTRAINT approval_merge_request_rules_approved_approvers_pkey PRIMARY KEY (id);


--
-- Name: approval_merge_request_rules_groups approval_merge_request_rules_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_groups
    ADD CONSTRAINT approval_merge_request_rules_groups_pkey PRIMARY KEY (id);


--
-- Name: approval_merge_request_rules approval_merge_request_rules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules
    ADD CONSTRAINT approval_merge_request_rules_pkey PRIMARY KEY (id);


--
-- Name: approval_merge_request_rules_users approval_merge_request_rules_users_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_users
    ADD CONSTRAINT approval_merge_request_rules_users_pkey PRIMARY KEY (id);


--
-- Name: approval_project_rules_groups approval_project_rules_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_groups
    ADD CONSTRAINT approval_project_rules_groups_pkey PRIMARY KEY (id);


--
-- Name: approval_project_rules approval_project_rules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules
    ADD CONSTRAINT approval_project_rules_pkey PRIMARY KEY (id);


--
-- Name: approval_project_rules_protected_branches approval_project_rules_protected_branches_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_protected_branches
    ADD CONSTRAINT approval_project_rules_protected_branches_pkey PRIMARY KEY (approval_project_rule_id, protected_branch_id);


--
-- Name: approval_project_rules_users approval_project_rules_users_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_users
    ADD CONSTRAINT approval_project_rules_users_pkey PRIMARY KEY (id);


--
-- Name: approvals approvals_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approvals
    ADD CONSTRAINT approvals_pkey PRIMARY KEY (id);


--
-- Name: approver_groups approver_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approver_groups
    ADD CONSTRAINT approver_groups_pkey PRIMARY KEY (id);


--
-- Name: approvers approvers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approvers
    ADD CONSTRAINT approvers_pkey PRIMARY KEY (id);


--
-- Name: ar_internal_metadata ar_internal_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ar_internal_metadata
    ADD CONSTRAINT ar_internal_metadata_pkey PRIMARY KEY (key);


--
-- Name: atlassian_identities atlassian_identities_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.atlassian_identities
    ADD CONSTRAINT atlassian_identities_pkey PRIMARY KEY (user_id);


--
-- Name: authentication_events authentication_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.authentication_events
    ADD CONSTRAINT authentication_events_pkey PRIMARY KEY (id);


--
-- Name: award_emoji award_emoji_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.award_emoji
    ADD CONSTRAINT award_emoji_pkey PRIMARY KEY (id);


--
-- Name: aws_roles aws_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.aws_roles
    ADD CONSTRAINT aws_roles_pkey PRIMARY KEY (user_id);


--
-- Name: background_migration_jobs background_migration_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.background_migration_jobs
    ADD CONSTRAINT background_migration_jobs_pkey PRIMARY KEY (id);


--
-- Name: badges badges_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.badges
    ADD CONSTRAINT badges_pkey PRIMARY KEY (id);


--
-- Name: banned_users banned_users_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.banned_users
    ADD CONSTRAINT banned_users_pkey PRIMARY KEY (user_id);


--
-- Name: batched_background_migration_jobs batched_background_migration_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.batched_background_migration_jobs
    ADD CONSTRAINT batched_background_migration_jobs_pkey PRIMARY KEY (id);


--
-- Name: batched_background_migrations batched_background_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.batched_background_migrations
    ADD CONSTRAINT batched_background_migrations_pkey PRIMARY KEY (id);


--
-- Name: board_assignees board_assignees_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_assignees
    ADD CONSTRAINT board_assignees_pkey PRIMARY KEY (id);


--
-- Name: board_group_recent_visits board_group_recent_visits_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_group_recent_visits
    ADD CONSTRAINT board_group_recent_visits_pkey PRIMARY KEY (id);


--
-- Name: board_labels board_labels_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_labels
    ADD CONSTRAINT board_labels_pkey PRIMARY KEY (id);


--
-- Name: board_project_recent_visits board_project_recent_visits_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_project_recent_visits
    ADD CONSTRAINT board_project_recent_visits_pkey PRIMARY KEY (id);


--
-- Name: board_user_preferences board_user_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_user_preferences
    ADD CONSTRAINT board_user_preferences_pkey PRIMARY KEY (id);


--
-- Name: boards_epic_board_labels boards_epic_board_labels_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_labels
    ADD CONSTRAINT boards_epic_board_labels_pkey PRIMARY KEY (id);


--
-- Name: boards_epic_board_positions boards_epic_board_positions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_positions
    ADD CONSTRAINT boards_epic_board_positions_pkey PRIMARY KEY (id);


--
-- Name: boards_epic_board_recent_visits boards_epic_board_recent_visits_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_recent_visits
    ADD CONSTRAINT boards_epic_board_recent_visits_pkey PRIMARY KEY (id);


--
-- Name: boards_epic_boards boards_epic_boards_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_boards
    ADD CONSTRAINT boards_epic_boards_pkey PRIMARY KEY (id);


--
-- Name: boards_epic_list_user_preferences boards_epic_list_user_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_list_user_preferences
    ADD CONSTRAINT boards_epic_list_user_preferences_pkey PRIMARY KEY (id);


--
-- Name: boards_epic_lists boards_epic_lists_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_lists
    ADD CONSTRAINT boards_epic_lists_pkey PRIMARY KEY (id);


--
-- Name: boards_epic_user_preferences boards_epic_user_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_user_preferences
    ADD CONSTRAINT boards_epic_user_preferences_pkey PRIMARY KEY (id);


--
-- Name: boards boards_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards
    ADD CONSTRAINT boards_pkey PRIMARY KEY (id);


--
-- Name: broadcast_messages broadcast_messages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.broadcast_messages
    ADD CONSTRAINT broadcast_messages_pkey PRIMARY KEY (id);


--
-- Name: bulk_import_configurations bulk_import_configurations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_configurations
    ADD CONSTRAINT bulk_import_configurations_pkey PRIMARY KEY (id);


--
-- Name: bulk_import_entities bulk_import_entities_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_entities
    ADD CONSTRAINT bulk_import_entities_pkey PRIMARY KEY (id);


--
-- Name: bulk_import_export_uploads bulk_import_export_uploads_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_export_uploads
    ADD CONSTRAINT bulk_import_export_uploads_pkey PRIMARY KEY (id);


--
-- Name: bulk_import_exports bulk_import_exports_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_exports
    ADD CONSTRAINT bulk_import_exports_pkey PRIMARY KEY (id);


--
-- Name: bulk_import_failures bulk_import_failures_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_failures
    ADD CONSTRAINT bulk_import_failures_pkey PRIMARY KEY (id);


--
-- Name: bulk_import_trackers bulk_import_trackers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_trackers
    ADD CONSTRAINT bulk_import_trackers_pkey PRIMARY KEY (id);


--
-- Name: bulk_imports bulk_imports_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_imports
    ADD CONSTRAINT bulk_imports_pkey PRIMARY KEY (id);


--
-- Name: chat_names chat_names_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.chat_names
    ADD CONSTRAINT chat_names_pkey PRIMARY KEY (id);


--
-- Name: chat_teams chat_teams_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.chat_teams
    ADD CONSTRAINT chat_teams_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_scanners check_37608c9db5; Type: CHECK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.vulnerability_scanners
    ADD CONSTRAINT check_37608c9db5 CHECK ((char_length(vendor) <= 255)) NOT VALID;


--
-- Name: sprints check_ccd8a1eae0; Type: CHECK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.sprints
    ADD CONSTRAINT check_ccd8a1eae0 CHECK ((start_date IS NOT NULL)) NOT VALID;


--
-- Name: group_import_states check_cda75c7c3f; Type: CHECK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.group_import_states
    ADD CONSTRAINT check_cda75c7c3f CHECK ((user_id IS NOT NULL)) NOT VALID;


--
-- Name: sprints check_df3816aed7; Type: CHECK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.sprints
    ADD CONSTRAINT check_df3816aed7 CHECK ((due_date IS NOT NULL)) NOT VALID;


--
-- Name: ci_build_needs ci_build_needs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_needs
    ADD CONSTRAINT ci_build_needs_pkey PRIMARY KEY (id);


--
-- Name: ci_build_pending_states ci_build_pending_states_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_pending_states
    ADD CONSTRAINT ci_build_pending_states_pkey PRIMARY KEY (id);


--
-- Name: ci_build_report_results ci_build_report_results_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_report_results
    ADD CONSTRAINT ci_build_report_results_pkey PRIMARY KEY (build_id);


--
-- Name: ci_build_trace_chunks ci_build_trace_chunks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_trace_chunks
    ADD CONSTRAINT ci_build_trace_chunks_pkey PRIMARY KEY (id);


--
-- Name: ci_build_trace_metadata ci_build_trace_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_trace_metadata
    ADD CONSTRAINT ci_build_trace_metadata_pkey PRIMARY KEY (build_id);


--
-- Name: dep_ci_build_trace_sections ci_build_trace_sections_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dep_ci_build_trace_sections
    ADD CONSTRAINT ci_build_trace_sections_pkey PRIMARY KEY (build_id, section_name_id);


--
-- Name: ci_builds_metadata ci_builds_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds_metadata
    ADD CONSTRAINT ci_builds_metadata_pkey PRIMARY KEY (id);


--
-- Name: ci_builds ci_builds_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds
    ADD CONSTRAINT ci_builds_pkey PRIMARY KEY (id);


--
-- Name: ci_builds_runner_session ci_builds_runner_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds_runner_session
    ADD CONSTRAINT ci_builds_runner_session_pkey PRIMARY KEY (id);


--
-- Name: ci_daily_build_group_report_results ci_daily_build_group_report_results_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_daily_build_group_report_results
    ADD CONSTRAINT ci_daily_build_group_report_results_pkey PRIMARY KEY (id);


--
-- Name: ci_deleted_objects ci_deleted_objects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_deleted_objects
    ADD CONSTRAINT ci_deleted_objects_pkey PRIMARY KEY (id);


--
-- Name: ci_freeze_periods ci_freeze_periods_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_freeze_periods
    ADD CONSTRAINT ci_freeze_periods_pkey PRIMARY KEY (id);


--
-- Name: ci_group_variables ci_group_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_group_variables
    ADD CONSTRAINT ci_group_variables_pkey PRIMARY KEY (id);


--
-- Name: ci_instance_variables ci_instance_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_instance_variables
    ADD CONSTRAINT ci_instance_variables_pkey PRIMARY KEY (id);


--
-- Name: ci_job_artifacts ci_job_artifacts_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_artifacts
    ADD CONSTRAINT ci_job_artifacts_pkey PRIMARY KEY (id);


--
-- Name: ci_job_token_project_scope_links ci_job_token_project_scope_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_token_project_scope_links
    ADD CONSTRAINT ci_job_token_project_scope_links_pkey PRIMARY KEY (id);


--
-- Name: ci_job_variables ci_job_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_variables
    ADD CONSTRAINT ci_job_variables_pkey PRIMARY KEY (id);


--
-- Name: ci_minutes_additional_packs ci_minutes_additional_packs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_minutes_additional_packs
    ADD CONSTRAINT ci_minutes_additional_packs_pkey PRIMARY KEY (id);


--
-- Name: ci_namespace_monthly_usages ci_namespace_monthly_usages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_namespace_monthly_usages
    ADD CONSTRAINT ci_namespace_monthly_usages_pkey PRIMARY KEY (id);


--
-- Name: ci_pending_builds ci_pending_builds_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pending_builds
    ADD CONSTRAINT ci_pending_builds_pkey PRIMARY KEY (id);


--
-- Name: ci_pipeline_artifacts ci_pipeline_artifacts_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_artifacts
    ADD CONSTRAINT ci_pipeline_artifacts_pkey PRIMARY KEY (id);


--
-- Name: ci_pipeline_chat_data ci_pipeline_chat_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_chat_data
    ADD CONSTRAINT ci_pipeline_chat_data_pkey PRIMARY KEY (id);


--
-- Name: ci_pipeline_messages ci_pipeline_messages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_messages
    ADD CONSTRAINT ci_pipeline_messages_pkey PRIMARY KEY (id);


--
-- Name: ci_pipeline_schedule_variables ci_pipeline_schedule_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_schedule_variables
    ADD CONSTRAINT ci_pipeline_schedule_variables_pkey PRIMARY KEY (id);


--
-- Name: ci_pipeline_schedules ci_pipeline_schedules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_schedules
    ADD CONSTRAINT ci_pipeline_schedules_pkey PRIMARY KEY (id);


--
-- Name: ci_pipeline_variables ci_pipeline_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_variables
    ADD CONSTRAINT ci_pipeline_variables_pkey PRIMARY KEY (id);


--
-- Name: ci_pipelines_config ci_pipelines_config_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines_config
    ADD CONSTRAINT ci_pipelines_config_pkey PRIMARY KEY (pipeline_id);


--
-- Name: ci_pipelines ci_pipelines_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines
    ADD CONSTRAINT ci_pipelines_pkey PRIMARY KEY (id);


--
-- Name: ci_platform_metrics ci_platform_metrics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_platform_metrics
    ADD CONSTRAINT ci_platform_metrics_pkey PRIMARY KEY (id);


--
-- Name: ci_project_monthly_usages ci_project_monthly_usages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_project_monthly_usages
    ADD CONSTRAINT ci_project_monthly_usages_pkey PRIMARY KEY (id);


--
-- Name: ci_refs ci_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_refs
    ADD CONSTRAINT ci_refs_pkey PRIMARY KEY (id);


--
-- Name: ci_resource_groups ci_resource_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_resource_groups
    ADD CONSTRAINT ci_resource_groups_pkey PRIMARY KEY (id);


--
-- Name: ci_resources ci_resources_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_resources
    ADD CONSTRAINT ci_resources_pkey PRIMARY KEY (id);


--
-- Name: ci_runner_namespaces ci_runner_namespaces_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runner_namespaces
    ADD CONSTRAINT ci_runner_namespaces_pkey PRIMARY KEY (id);


--
-- Name: ci_runner_projects ci_runner_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runner_projects
    ADD CONSTRAINT ci_runner_projects_pkey PRIMARY KEY (id);


--
-- Name: ci_runners ci_runners_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runners
    ADD CONSTRAINT ci_runners_pkey PRIMARY KEY (id);


--
-- Name: ci_running_builds ci_running_builds_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_running_builds
    ADD CONSTRAINT ci_running_builds_pkey PRIMARY KEY (id);


--
-- Name: ci_sources_pipelines ci_sources_pipelines_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_pipelines
    ADD CONSTRAINT ci_sources_pipelines_pkey PRIMARY KEY (id);


--
-- Name: ci_sources_projects ci_sources_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_projects
    ADD CONSTRAINT ci_sources_projects_pkey PRIMARY KEY (id);


--
-- Name: ci_stages ci_stages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_stages
    ADD CONSTRAINT ci_stages_pkey PRIMARY KEY (id);


--
-- Name: ci_subscriptions_projects ci_subscriptions_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_subscriptions_projects
    ADD CONSTRAINT ci_subscriptions_projects_pkey PRIMARY KEY (id);


--
-- Name: ci_trigger_requests ci_trigger_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_trigger_requests
    ADD CONSTRAINT ci_trigger_requests_pkey PRIMARY KEY (id);


--
-- Name: ci_triggers ci_triggers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_triggers
    ADD CONSTRAINT ci_triggers_pkey PRIMARY KEY (id);


--
-- Name: ci_unit_test_failures ci_unit_test_failures_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_unit_test_failures
    ADD CONSTRAINT ci_unit_test_failures_pkey PRIMARY KEY (id);


--
-- Name: ci_unit_tests ci_unit_tests_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_unit_tests
    ADD CONSTRAINT ci_unit_tests_pkey PRIMARY KEY (id);


--
-- Name: ci_variables ci_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_variables
    ADD CONSTRAINT ci_variables_pkey PRIMARY KEY (id);


--
-- Name: cluster_agent_tokens cluster_agent_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_agent_tokens
    ADD CONSTRAINT cluster_agent_tokens_pkey PRIMARY KEY (id);


--
-- Name: cluster_agents cluster_agents_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_agents
    ADD CONSTRAINT cluster_agents_pkey PRIMARY KEY (id);


--
-- Name: cluster_groups cluster_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_groups
    ADD CONSTRAINT cluster_groups_pkey PRIMARY KEY (id);


--
-- Name: cluster_platforms_kubernetes cluster_platforms_kubernetes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_platforms_kubernetes
    ADD CONSTRAINT cluster_platforms_kubernetes_pkey PRIMARY KEY (id);


--
-- Name: cluster_projects cluster_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_projects
    ADD CONSTRAINT cluster_projects_pkey PRIMARY KEY (id);


--
-- Name: cluster_providers_aws cluster_providers_aws_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_providers_aws
    ADD CONSTRAINT cluster_providers_aws_pkey PRIMARY KEY (id);


--
-- Name: cluster_providers_gcp cluster_providers_gcp_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_providers_gcp
    ADD CONSTRAINT cluster_providers_gcp_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_cert_managers clusters_applications_cert_managers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_cert_managers
    ADD CONSTRAINT clusters_applications_cert_managers_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_cilium clusters_applications_cilium_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_cilium
    ADD CONSTRAINT clusters_applications_cilium_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_crossplane clusters_applications_crossplane_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_crossplane
    ADD CONSTRAINT clusters_applications_crossplane_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_elastic_stacks clusters_applications_elastic_stacks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_elastic_stacks
    ADD CONSTRAINT clusters_applications_elastic_stacks_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_helm clusters_applications_helm_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_helm
    ADD CONSTRAINT clusters_applications_helm_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_ingress clusters_applications_ingress_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_ingress
    ADD CONSTRAINT clusters_applications_ingress_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_jupyter clusters_applications_jupyter_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_jupyter
    ADD CONSTRAINT clusters_applications_jupyter_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_knative clusters_applications_knative_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_knative
    ADD CONSTRAINT clusters_applications_knative_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_prometheus clusters_applications_prometheus_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_prometheus
    ADD CONSTRAINT clusters_applications_prometheus_pkey PRIMARY KEY (id);


--
-- Name: clusters_applications_runners clusters_applications_runners_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_runners
    ADD CONSTRAINT clusters_applications_runners_pkey PRIMARY KEY (id);


--
-- Name: clusters_integration_elasticstack clusters_integration_elasticstack_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_integration_elasticstack
    ADD CONSTRAINT clusters_integration_elasticstack_pkey PRIMARY KEY (cluster_id);


--
-- Name: clusters_integration_prometheus clusters_integration_prometheus_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_integration_prometheus
    ADD CONSTRAINT clusters_integration_prometheus_pkey PRIMARY KEY (cluster_id);


--
-- Name: clusters_kubernetes_namespaces clusters_kubernetes_namespaces_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_kubernetes_namespaces
    ADD CONSTRAINT clusters_kubernetes_namespaces_pkey PRIMARY KEY (id);


--
-- Name: clusters clusters_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters
    ADD CONSTRAINT clusters_pkey PRIMARY KEY (id);


--
-- Name: commit_user_mentions commit_user_mentions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.commit_user_mentions
    ADD CONSTRAINT commit_user_mentions_pkey PRIMARY KEY (id);


--
-- Name: compliance_management_frameworks compliance_management_frameworks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.compliance_management_frameworks
    ADD CONSTRAINT compliance_management_frameworks_pkey PRIMARY KEY (id);


--
-- Name: container_expiration_policies container_expiration_policies_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.container_expiration_policies
    ADD CONSTRAINT container_expiration_policies_pkey PRIMARY KEY (project_id);


--
-- Name: container_repositories container_repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.container_repositories
    ADD CONSTRAINT container_repositories_pkey PRIMARY KEY (id);


--
-- Name: conversational_development_index_metrics conversational_development_index_metrics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.conversational_development_index_metrics
    ADD CONSTRAINT conversational_development_index_metrics_pkey PRIMARY KEY (id);


--
-- Name: csv_issue_imports csv_issue_imports_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.csv_issue_imports
    ADD CONSTRAINT csv_issue_imports_pkey PRIMARY KEY (id);


--
-- Name: custom_emoji custom_emoji_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.custom_emoji
    ADD CONSTRAINT custom_emoji_pkey PRIMARY KEY (id);


--
-- Name: customer_relations_organizations customer_relations_organizations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.customer_relations_organizations
    ADD CONSTRAINT customer_relations_organizations_pkey PRIMARY KEY (id);


--
-- Name: dast_profile_schedules dast_profile_schedules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profile_schedules
    ADD CONSTRAINT dast_profile_schedules_pkey PRIMARY KEY (id);


--
-- Name: dast_profiles_pipelines dast_profiles_pipelines_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profiles_pipelines
    ADD CONSTRAINT dast_profiles_pipelines_pkey PRIMARY KEY (dast_profile_id, ci_pipeline_id);


--
-- Name: dast_profiles dast_profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profiles
    ADD CONSTRAINT dast_profiles_pkey PRIMARY KEY (id);


--
-- Name: dast_scanner_profiles_builds dast_scanner_profiles_builds_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_scanner_profiles_builds
    ADD CONSTRAINT dast_scanner_profiles_builds_pkey PRIMARY KEY (dast_scanner_profile_id, ci_build_id);


--
-- Name: dast_scanner_profiles dast_scanner_profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_scanner_profiles
    ADD CONSTRAINT dast_scanner_profiles_pkey PRIMARY KEY (id);


--
-- Name: dast_site_profile_secret_variables dast_site_profile_secret_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profile_secret_variables
    ADD CONSTRAINT dast_site_profile_secret_variables_pkey PRIMARY KEY (id);


--
-- Name: dast_site_profiles_builds dast_site_profiles_builds_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles_builds
    ADD CONSTRAINT dast_site_profiles_builds_pkey PRIMARY KEY (dast_site_profile_id, ci_build_id);


--
-- Name: dast_site_profiles_pipelines dast_site_profiles_pipelines_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles_pipelines
    ADD CONSTRAINT dast_site_profiles_pipelines_pkey PRIMARY KEY (dast_site_profile_id, ci_pipeline_id);


--
-- Name: dast_site_profiles dast_site_profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles
    ADD CONSTRAINT dast_site_profiles_pkey PRIMARY KEY (id);


--
-- Name: dast_site_tokens dast_site_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_tokens
    ADD CONSTRAINT dast_site_tokens_pkey PRIMARY KEY (id);


--
-- Name: dast_site_validations dast_site_validations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_validations
    ADD CONSTRAINT dast_site_validations_pkey PRIMARY KEY (id);


--
-- Name: dast_sites dast_sites_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_sites
    ADD CONSTRAINT dast_sites_pkey PRIMARY KEY (id);


--
-- Name: dep_ci_build_trace_section_names dep_ci_build_trace_section_names_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dep_ci_build_trace_section_names
    ADD CONSTRAINT dep_ci_build_trace_section_names_pkey PRIMARY KEY (id);


--
-- Name: dependency_proxy_blobs dependency_proxy_blobs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_blobs
    ADD CONSTRAINT dependency_proxy_blobs_pkey PRIMARY KEY (id);


--
-- Name: dependency_proxy_group_settings dependency_proxy_group_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_group_settings
    ADD CONSTRAINT dependency_proxy_group_settings_pkey PRIMARY KEY (id);


--
-- Name: dependency_proxy_manifests dependency_proxy_manifests_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_manifests
    ADD CONSTRAINT dependency_proxy_manifests_pkey PRIMARY KEY (id);


--
-- Name: deploy_keys_projects deploy_keys_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deploy_keys_projects
    ADD CONSTRAINT deploy_keys_projects_pkey PRIMARY KEY (id);


--
-- Name: deploy_tokens deploy_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deploy_tokens
    ADD CONSTRAINT deploy_tokens_pkey PRIMARY KEY (id);


--
-- Name: deployment_clusters deployment_clusters_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployment_clusters
    ADD CONSTRAINT deployment_clusters_pkey PRIMARY KEY (deployment_id);


--
-- Name: deployment_merge_requests deployment_merge_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployment_merge_requests
    ADD CONSTRAINT deployment_merge_requests_pkey PRIMARY KEY (deployment_id, merge_request_id);


--
-- Name: deployments deployments_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployments
    ADD CONSTRAINT deployments_pkey PRIMARY KEY (id);


--
-- Name: description_versions description_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.description_versions
    ADD CONSTRAINT description_versions_pkey PRIMARY KEY (id);


--
-- Name: design_management_designs design_management_designs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_designs
    ADD CONSTRAINT design_management_designs_pkey PRIMARY KEY (id);


--
-- Name: design_management_designs_versions design_management_designs_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_designs_versions
    ADD CONSTRAINT design_management_designs_versions_pkey PRIMARY KEY (id);


--
-- Name: design_management_versions design_management_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_versions
    ADD CONSTRAINT design_management_versions_pkey PRIMARY KEY (id);


--
-- Name: design_user_mentions design_user_mentions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_user_mentions
    ADD CONSTRAINT design_user_mentions_pkey PRIMARY KEY (id);


--
-- Name: detached_partitions detached_partitions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.detached_partitions
    ADD CONSTRAINT detached_partitions_pkey PRIMARY KEY (id);


--
-- Name: diff_note_positions diff_note_positions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.diff_note_positions
    ADD CONSTRAINT diff_note_positions_pkey PRIMARY KEY (id);


--
-- Name: dora_daily_metrics dora_daily_metrics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dora_daily_metrics
    ADD CONSTRAINT dora_daily_metrics_pkey PRIMARY KEY (id);


--
-- Name: draft_notes draft_notes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.draft_notes
    ADD CONSTRAINT draft_notes_pkey PRIMARY KEY (id);


--
-- Name: elastic_index_settings elastic_index_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_index_settings
    ADD CONSTRAINT elastic_index_settings_pkey PRIMARY KEY (id);


--
-- Name: elastic_reindexing_slices elastic_reindexing_slices_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_reindexing_slices
    ADD CONSTRAINT elastic_reindexing_slices_pkey PRIMARY KEY (id);


--
-- Name: elastic_reindexing_subtasks elastic_reindexing_subtasks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_reindexing_subtasks
    ADD CONSTRAINT elastic_reindexing_subtasks_pkey PRIMARY KEY (id);


--
-- Name: elastic_reindexing_tasks elastic_reindexing_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_reindexing_tasks
    ADD CONSTRAINT elastic_reindexing_tasks_pkey PRIMARY KEY (id);


--
-- Name: elasticsearch_indexed_namespaces elasticsearch_indexed_namespaces_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elasticsearch_indexed_namespaces
    ADD CONSTRAINT elasticsearch_indexed_namespaces_pkey PRIMARY KEY (namespace_id);


--
-- Name: elasticsearch_indexed_projects elasticsearch_indexed_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elasticsearch_indexed_projects
    ADD CONSTRAINT elasticsearch_indexed_projects_pkey PRIMARY KEY (project_id);


--
-- Name: emails emails_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.emails
    ADD CONSTRAINT emails_pkey PRIMARY KEY (id);


--
-- Name: environments environments_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.environments
    ADD CONSTRAINT environments_pkey PRIMARY KEY (id);


--
-- Name: epic_issues epic_issues_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_issues
    ADD CONSTRAINT epic_issues_pkey PRIMARY KEY (id);


--
-- Name: epic_metrics epic_metrics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_metrics
    ADD CONSTRAINT epic_metrics_pkey PRIMARY KEY (id);


--
-- Name: epic_user_mentions epic_user_mentions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_user_mentions
    ADD CONSTRAINT epic_user_mentions_pkey PRIMARY KEY (id);


--
-- Name: epics epics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT epics_pkey PRIMARY KEY (id);


--
-- Name: error_tracking_client_keys error_tracking_client_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_client_keys
    ADD CONSTRAINT error_tracking_client_keys_pkey PRIMARY KEY (id);


--
-- Name: error_tracking_error_events error_tracking_error_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_error_events
    ADD CONSTRAINT error_tracking_error_events_pkey PRIMARY KEY (id);


--
-- Name: error_tracking_errors error_tracking_errors_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_errors
    ADD CONSTRAINT error_tracking_errors_pkey PRIMARY KEY (id);


--
-- Name: events events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.events
    ADD CONSTRAINT events_pkey PRIMARY KEY (id);


--
-- Name: evidences evidences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.evidences
    ADD CONSTRAINT evidences_pkey PRIMARY KEY (id);


--
-- Name: experiment_subjects experiment_subjects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_subjects
    ADD CONSTRAINT experiment_subjects_pkey PRIMARY KEY (id);


--
-- Name: experiment_users experiment_users_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_users
    ADD CONSTRAINT experiment_users_pkey PRIMARY KEY (id);


--
-- Name: experiments experiments_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiments
    ADD CONSTRAINT experiments_pkey PRIMARY KEY (id);


--
-- Name: external_approval_rules external_approval_rules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_approval_rules
    ADD CONSTRAINT external_approval_rules_pkey PRIMARY KEY (id);


--
-- Name: external_approval_rules_protected_branches external_approval_rules_protected_branches_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_approval_rules_protected_branches
    ADD CONSTRAINT external_approval_rules_protected_branches_pkey PRIMARY KEY (id);


--
-- Name: external_pull_requests external_pull_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_pull_requests
    ADD CONSTRAINT external_pull_requests_pkey PRIMARY KEY (id);


--
-- Name: external_status_checks external_status_checks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_status_checks
    ADD CONSTRAINT external_status_checks_pkey PRIMARY KEY (id);


--
-- Name: external_status_checks_protected_branches external_status_checks_protected_branches_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_status_checks_protected_branches
    ADD CONSTRAINT external_status_checks_protected_branches_pkey PRIMARY KEY (id);


--
-- Name: feature_gates feature_gates_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.feature_gates
    ADD CONSTRAINT feature_gates_pkey PRIMARY KEY (id);


--
-- Name: features features_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.features
    ADD CONSTRAINT features_pkey PRIMARY KEY (id);


--
-- Name: fork_network_members fork_network_members_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.fork_network_members
    ADD CONSTRAINT fork_network_members_pkey PRIMARY KEY (id);


--
-- Name: fork_networks fork_networks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.fork_networks
    ADD CONSTRAINT fork_networks_pkey PRIMARY KEY (id);


--
-- Name: geo_cache_invalidation_events geo_cache_invalidation_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_cache_invalidation_events
    ADD CONSTRAINT geo_cache_invalidation_events_pkey PRIMARY KEY (id);


--
-- Name: geo_container_repository_updated_events geo_container_repository_updated_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_container_repository_updated_events
    ADD CONSTRAINT geo_container_repository_updated_events_pkey PRIMARY KEY (id);


--
-- Name: geo_event_log geo_event_log_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT geo_event_log_pkey PRIMARY KEY (id);


--
-- Name: geo_events geo_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_events
    ADD CONSTRAINT geo_events_pkey PRIMARY KEY (id);


--
-- Name: geo_hashed_storage_attachments_events geo_hashed_storage_attachments_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_hashed_storage_attachments_events
    ADD CONSTRAINT geo_hashed_storage_attachments_events_pkey PRIMARY KEY (id);


--
-- Name: geo_hashed_storage_migrated_events geo_hashed_storage_migrated_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_hashed_storage_migrated_events
    ADD CONSTRAINT geo_hashed_storage_migrated_events_pkey PRIMARY KEY (id);


--
-- Name: geo_job_artifact_deleted_events geo_job_artifact_deleted_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_job_artifact_deleted_events
    ADD CONSTRAINT geo_job_artifact_deleted_events_pkey PRIMARY KEY (id);


--
-- Name: geo_lfs_object_deleted_events geo_lfs_object_deleted_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_lfs_object_deleted_events
    ADD CONSTRAINT geo_lfs_object_deleted_events_pkey PRIMARY KEY (id);


--
-- Name: geo_node_namespace_links geo_node_namespace_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_node_namespace_links
    ADD CONSTRAINT geo_node_namespace_links_pkey PRIMARY KEY (id);


--
-- Name: geo_node_statuses geo_node_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_node_statuses
    ADD CONSTRAINT geo_node_statuses_pkey PRIMARY KEY (id);


--
-- Name: geo_nodes geo_nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_nodes
    ADD CONSTRAINT geo_nodes_pkey PRIMARY KEY (id);


--
-- Name: geo_repositories_changed_events geo_repositories_changed_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repositories_changed_events
    ADD CONSTRAINT geo_repositories_changed_events_pkey PRIMARY KEY (id);


--
-- Name: geo_repository_created_events geo_repository_created_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_created_events
    ADD CONSTRAINT geo_repository_created_events_pkey PRIMARY KEY (id);


--
-- Name: geo_repository_deleted_events geo_repository_deleted_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_deleted_events
    ADD CONSTRAINT geo_repository_deleted_events_pkey PRIMARY KEY (id);


--
-- Name: geo_repository_renamed_events geo_repository_renamed_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_renamed_events
    ADD CONSTRAINT geo_repository_renamed_events_pkey PRIMARY KEY (id);


--
-- Name: geo_repository_updated_events geo_repository_updated_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_updated_events
    ADD CONSTRAINT geo_repository_updated_events_pkey PRIMARY KEY (id);


--
-- Name: geo_reset_checksum_events geo_reset_checksum_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_reset_checksum_events
    ADD CONSTRAINT geo_reset_checksum_events_pkey PRIMARY KEY (id);


--
-- Name: geo_upload_deleted_events geo_upload_deleted_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_upload_deleted_events
    ADD CONSTRAINT geo_upload_deleted_events_pkey PRIMARY KEY (id);


--
-- Name: gitlab_subscription_histories gitlab_subscription_histories_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gitlab_subscription_histories
    ADD CONSTRAINT gitlab_subscription_histories_pkey PRIMARY KEY (id);


--
-- Name: gitlab_subscriptions gitlab_subscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gitlab_subscriptions
    ADD CONSTRAINT gitlab_subscriptions_pkey PRIMARY KEY (id);


--
-- Name: gpg_key_subkeys gpg_key_subkeys_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_key_subkeys
    ADD CONSTRAINT gpg_key_subkeys_pkey PRIMARY KEY (id);


--
-- Name: gpg_keys gpg_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_keys
    ADD CONSTRAINT gpg_keys_pkey PRIMARY KEY (id);


--
-- Name: gpg_signatures gpg_signatures_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_signatures
    ADD CONSTRAINT gpg_signatures_pkey PRIMARY KEY (id);


--
-- Name: grafana_integrations grafana_integrations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.grafana_integrations
    ADD CONSTRAINT grafana_integrations_pkey PRIMARY KEY (id);


--
-- Name: group_custom_attributes group_custom_attributes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_custom_attributes
    ADD CONSTRAINT group_custom_attributes_pkey PRIMARY KEY (id);


--
-- Name: group_deletion_schedules group_deletion_schedules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deletion_schedules
    ADD CONSTRAINT group_deletion_schedules_pkey PRIMARY KEY (group_id);


--
-- Name: group_deploy_keys_groups group_deploy_keys_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_keys_groups
    ADD CONSTRAINT group_deploy_keys_groups_pkey PRIMARY KEY (id);


--
-- Name: group_deploy_keys group_deploy_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_keys
    ADD CONSTRAINT group_deploy_keys_pkey PRIMARY KEY (id);


--
-- Name: group_deploy_tokens group_deploy_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_tokens
    ADD CONSTRAINT group_deploy_tokens_pkey PRIMARY KEY (id);


--
-- Name: group_group_links group_group_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_group_links
    ADD CONSTRAINT group_group_links_pkey PRIMARY KEY (id);


--
-- Name: group_import_states group_import_states_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_import_states
    ADD CONSTRAINT group_import_states_pkey PRIMARY KEY (group_id);


--
-- Name: group_merge_request_approval_settings group_merge_request_approval_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_merge_request_approval_settings
    ADD CONSTRAINT group_merge_request_approval_settings_pkey PRIMARY KEY (group_id);


--
-- Name: group_repository_storage_moves group_repository_storage_moves_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_repository_storage_moves
    ADD CONSTRAINT group_repository_storage_moves_pkey PRIMARY KEY (id);


--
-- Name: group_wiki_repositories group_wiki_repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_wiki_repositories
    ADD CONSTRAINT group_wiki_repositories_pkey PRIMARY KEY (group_id);


--
-- Name: historical_data historical_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.historical_data
    ADD CONSTRAINT historical_data_pkey PRIMARY KEY (id);


--
-- Name: identities identities_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.identities
    ADD CONSTRAINT identities_pkey PRIMARY KEY (id);


--
-- Name: import_export_uploads import_export_uploads_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.import_export_uploads
    ADD CONSTRAINT import_export_uploads_pkey PRIMARY KEY (id);


--
-- Name: import_failures import_failures_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.import_failures
    ADD CONSTRAINT import_failures_pkey PRIMARY KEY (id);


--
-- Name: in_product_marketing_emails in_product_marketing_emails_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.in_product_marketing_emails
    ADD CONSTRAINT in_product_marketing_emails_pkey PRIMARY KEY (id);


--
-- Name: incident_management_oncall_shifts inc_mgmnt_no_overlapping_oncall_shifts; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_shifts
    ADD CONSTRAINT inc_mgmnt_no_overlapping_oncall_shifts EXCLUDE USING gist (rotation_id WITH =, tstzrange(starts_at, ends_at, '[)'::text) WITH &&);


--
-- Name: incident_management_escalation_policies incident_management_escalation_policies_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_escalation_policies
    ADD CONSTRAINT incident_management_escalation_policies_pkey PRIMARY KEY (id);


--
-- Name: incident_management_escalation_rules incident_management_escalation_rules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_escalation_rules
    ADD CONSTRAINT incident_management_escalation_rules_pkey PRIMARY KEY (id);


--
-- Name: incident_management_issuable_escalation_statuses incident_management_issuable_escalation_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_issuable_escalation_statuses
    ADD CONSTRAINT incident_management_issuable_escalation_statuses_pkey PRIMARY KEY (id);


--
-- Name: incident_management_oncall_participants incident_management_oncall_participants_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_participants
    ADD CONSTRAINT incident_management_oncall_participants_pkey PRIMARY KEY (id);


--
-- Name: incident_management_oncall_rotations incident_management_oncall_rotations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_rotations
    ADD CONSTRAINT incident_management_oncall_rotations_pkey PRIMARY KEY (id);


--
-- Name: incident_management_oncall_schedules incident_management_oncall_schedules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_schedules
    ADD CONSTRAINT incident_management_oncall_schedules_pkey PRIMARY KEY (id);


--
-- Name: incident_management_oncall_shifts incident_management_oncall_shifts_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_shifts
    ADD CONSTRAINT incident_management_oncall_shifts_pkey PRIMARY KEY (id);


--
-- Name: incident_management_pending_alert_escalations incident_management_pending_alert_escalations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_pending_alert_escalations
    ADD CONSTRAINT incident_management_pending_alert_escalations_pkey PRIMARY KEY (id, process_at);


--
-- Name: index_statuses index_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.index_statuses
    ADD CONSTRAINT index_statuses_pkey PRIMARY KEY (id);


--
-- Name: insights insights_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.insights
    ADD CONSTRAINT insights_pkey PRIMARY KEY (id);


--
-- Name: integrations integrations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.integrations
    ADD CONSTRAINT integrations_pkey PRIMARY KEY (id);


--
-- Name: internal_ids internal_ids_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.internal_ids
    ADD CONSTRAINT internal_ids_pkey PRIMARY KEY (id);


--
-- Name: ip_restrictions ip_restrictions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ip_restrictions
    ADD CONSTRAINT ip_restrictions_pkey PRIMARY KEY (id);


--
-- Name: issuable_metric_images issuable_metric_images_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_metric_images
    ADD CONSTRAINT issuable_metric_images_pkey PRIMARY KEY (id);


--
-- Name: issuable_severities issuable_severities_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_severities
    ADD CONSTRAINT issuable_severities_pkey PRIMARY KEY (id);


--
-- Name: issuable_slas issuable_slas_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_slas
    ADD CONSTRAINT issuable_slas_pkey PRIMARY KEY (id);


--
-- Name: issue_assignees issue_assignees_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_assignees
    ADD CONSTRAINT issue_assignees_pkey PRIMARY KEY (issue_id, user_id);


--
-- Name: issue_email_participants issue_email_participants_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_email_participants
    ADD CONSTRAINT issue_email_participants_pkey PRIMARY KEY (id);


--
-- Name: issue_links issue_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_links
    ADD CONSTRAINT issue_links_pkey PRIMARY KEY (id);


--
-- Name: issue_metrics issue_metrics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_metrics
    ADD CONSTRAINT issue_metrics_pkey PRIMARY KEY (id);


--
-- Name: issue_tracker_data issue_tracker_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_tracker_data
    ADD CONSTRAINT issue_tracker_data_pkey PRIMARY KEY (id);


--
-- Name: issue_user_mentions issue_user_mentions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_user_mentions
    ADD CONSTRAINT issue_user_mentions_pkey PRIMARY KEY (id);


--
-- Name: issues issues_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT issues_pkey PRIMARY KEY (id);


--
-- Name: issues_prometheus_alert_events issues_prometheus_alert_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues_prometheus_alert_events
    ADD CONSTRAINT issues_prometheus_alert_events_pkey PRIMARY KEY (issue_id, prometheus_alert_event_id);


--
-- Name: issues_self_managed_prometheus_alert_events issues_self_managed_prometheus_alert_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues_self_managed_prometheus_alert_events
    ADD CONSTRAINT issues_self_managed_prometheus_alert_events_pkey PRIMARY KEY (issue_id, self_managed_prometheus_alert_event_id);


--
-- Name: sprints iteration_start_and_due_date_iterations_cadence_id_constraint; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sprints
    ADD CONSTRAINT iteration_start_and_due_date_iterations_cadence_id_constraint EXCLUDE USING gist (iterations_cadence_id WITH =, daterange(start_date, due_date, '[]'::text) WITH &&) WHERE ((group_id IS NOT NULL));


--
-- Name: sprints iteration_start_and_due_daterange_project_id_constraint; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sprints
    ADD CONSTRAINT iteration_start_and_due_daterange_project_id_constraint EXCLUDE USING gist (project_id WITH =, daterange(start_date, due_date, '[]'::text) WITH &&) WHERE ((project_id IS NOT NULL));


--
-- Name: iterations_cadences iterations_cadences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.iterations_cadences
    ADD CONSTRAINT iterations_cadences_pkey PRIMARY KEY (id);


--
-- Name: jira_connect_installations jira_connect_installations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_connect_installations
    ADD CONSTRAINT jira_connect_installations_pkey PRIMARY KEY (id);


--
-- Name: jira_connect_subscriptions jira_connect_subscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_connect_subscriptions
    ADD CONSTRAINT jira_connect_subscriptions_pkey PRIMARY KEY (id);


--
-- Name: jira_imports jira_imports_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_imports
    ADD CONSTRAINT jira_imports_pkey PRIMARY KEY (id);


--
-- Name: jira_tracker_data jira_tracker_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_tracker_data
    ADD CONSTRAINT jira_tracker_data_pkey PRIMARY KEY (id);


--
-- Name: keys keys_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.keys
    ADD CONSTRAINT keys_pkey PRIMARY KEY (id);


--
-- Name: label_links label_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.label_links
    ADD CONSTRAINT label_links_pkey PRIMARY KEY (id);


--
-- Name: label_priorities label_priorities_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.label_priorities
    ADD CONSTRAINT label_priorities_pkey PRIMARY KEY (id);


--
-- Name: labels labels_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.labels
    ADD CONSTRAINT labels_pkey PRIMARY KEY (id);


--
-- Name: ldap_group_links ldap_group_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ldap_group_links
    ADD CONSTRAINT ldap_group_links_pkey PRIMARY KEY (id);


--
-- Name: lfs_file_locks lfs_file_locks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_file_locks
    ADD CONSTRAINT lfs_file_locks_pkey PRIMARY KEY (id);


--
-- Name: lfs_objects lfs_objects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_objects
    ADD CONSTRAINT lfs_objects_pkey PRIMARY KEY (id);


--
-- Name: lfs_objects_projects lfs_objects_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_objects_projects
    ADD CONSTRAINT lfs_objects_projects_pkey PRIMARY KEY (id);


--
-- Name: licenses licenses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.licenses
    ADD CONSTRAINT licenses_pkey PRIMARY KEY (id);


--
-- Name: list_user_preferences list_user_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.list_user_preferences
    ADD CONSTRAINT list_user_preferences_pkey PRIMARY KEY (id);


--
-- Name: lists lists_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lists
    ADD CONSTRAINT lists_pkey PRIMARY KEY (id);


--
-- Name: members members_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.members
    ADD CONSTRAINT members_pkey PRIMARY KEY (id);


--
-- Name: merge_request_assignees merge_request_assignees_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_assignees
    ADD CONSTRAINT merge_request_assignees_pkey PRIMARY KEY (id);


--
-- Name: merge_request_blocks merge_request_blocks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_blocks
    ADD CONSTRAINT merge_request_blocks_pkey PRIMARY KEY (id);


--
-- Name: merge_request_cleanup_schedules merge_request_cleanup_schedules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_cleanup_schedules
    ADD CONSTRAINT merge_request_cleanup_schedules_pkey PRIMARY KEY (merge_request_id);


--
-- Name: merge_request_context_commit_diff_files merge_request_context_commit_diff_files_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_context_commit_diff_files
    ADD CONSTRAINT merge_request_context_commit_diff_files_pkey PRIMARY KEY (merge_request_context_commit_id, relative_order);


--
-- Name: merge_request_context_commits merge_request_context_commits_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_context_commits
    ADD CONSTRAINT merge_request_context_commits_pkey PRIMARY KEY (id);


--
-- Name: merge_request_diff_commit_users merge_request_diff_commit_users_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_commit_users
    ADD CONSTRAINT merge_request_diff_commit_users_pkey PRIMARY KEY (id);


--
-- Name: merge_request_diff_commits merge_request_diff_commits_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_commits
    ADD CONSTRAINT merge_request_diff_commits_pkey PRIMARY KEY (merge_request_diff_id, relative_order);


--
-- Name: merge_request_diff_details merge_request_diff_details_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_details
    ADD CONSTRAINT merge_request_diff_details_pkey PRIMARY KEY (merge_request_diff_id);


--
-- Name: merge_request_diff_files merge_request_diff_files_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_files
    ADD CONSTRAINT merge_request_diff_files_pkey PRIMARY KEY (merge_request_diff_id, relative_order);


--
-- Name: merge_request_diffs merge_request_diffs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diffs
    ADD CONSTRAINT merge_request_diffs_pkey PRIMARY KEY (id);


--
-- Name: merge_request_metrics merge_request_metrics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_metrics
    ADD CONSTRAINT merge_request_metrics_pkey PRIMARY KEY (id);


--
-- Name: merge_request_reviewers merge_request_reviewers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_reviewers
    ADD CONSTRAINT merge_request_reviewers_pkey PRIMARY KEY (id);


--
-- Name: merge_request_user_mentions merge_request_user_mentions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_user_mentions
    ADD CONSTRAINT merge_request_user_mentions_pkey PRIMARY KEY (id);


--
-- Name: merge_requests_closing_issues merge_requests_closing_issues_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests_closing_issues
    ADD CONSTRAINT merge_requests_closing_issues_pkey PRIMARY KEY (id);


--
-- Name: merge_requests merge_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT merge_requests_pkey PRIMARY KEY (id);


--
-- Name: merge_trains merge_trains_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_trains
    ADD CONSTRAINT merge_trains_pkey PRIMARY KEY (id);


--
-- Name: metrics_dashboard_annotations metrics_dashboard_annotations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.metrics_dashboard_annotations
    ADD CONSTRAINT metrics_dashboard_annotations_pkey PRIMARY KEY (id);


--
-- Name: metrics_users_starred_dashboards metrics_users_starred_dashboards_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.metrics_users_starred_dashboards
    ADD CONSTRAINT metrics_users_starred_dashboards_pkey PRIMARY KEY (id);


--
-- Name: milestone_releases milestone_releases_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.milestone_releases
    ADD CONSTRAINT milestone_releases_pkey PRIMARY KEY (milestone_id, release_id);


--
-- Name: milestones milestones_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.milestones
    ADD CONSTRAINT milestones_pkey PRIMARY KEY (id);


--
-- Name: namespace_admin_notes namespace_admin_notes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_admin_notes
    ADD CONSTRAINT namespace_admin_notes_pkey PRIMARY KEY (id);


--
-- Name: namespace_aggregation_schedules namespace_aggregation_schedules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_aggregation_schedules
    ADD CONSTRAINT namespace_aggregation_schedules_pkey PRIMARY KEY (namespace_id);


--
-- Name: namespace_limits namespace_limits_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_limits
    ADD CONSTRAINT namespace_limits_pkey PRIMARY KEY (namespace_id);


--
-- Name: namespace_package_settings namespace_package_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_package_settings
    ADD CONSTRAINT namespace_package_settings_pkey PRIMARY KEY (namespace_id);


--
-- Name: namespace_root_storage_statistics namespace_root_storage_statistics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_root_storage_statistics
    ADD CONSTRAINT namespace_root_storage_statistics_pkey PRIMARY KEY (namespace_id);


--
-- Name: namespace_settings namespace_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_settings
    ADD CONSTRAINT namespace_settings_pkey PRIMARY KEY (namespace_id);


--
-- Name: namespace_statistics namespace_statistics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_statistics
    ADD CONSTRAINT namespace_statistics_pkey PRIMARY KEY (id);


--
-- Name: namespaces namespaces_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespaces
    ADD CONSTRAINT namespaces_pkey PRIMARY KEY (id);


--
-- Name: note_diff_files note_diff_files_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.note_diff_files
    ADD CONSTRAINT note_diff_files_pkey PRIMARY KEY (id);


--
-- Name: notes notes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.notes
    ADD CONSTRAINT notes_pkey PRIMARY KEY (id);


--
-- Name: notification_settings notification_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.notification_settings
    ADD CONSTRAINT notification_settings_pkey PRIMARY KEY (id);


--
-- Name: oauth_access_grants oauth_access_grants_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_access_grants
    ADD CONSTRAINT oauth_access_grants_pkey PRIMARY KEY (id);


--
-- Name: oauth_access_tokens oauth_access_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_access_tokens
    ADD CONSTRAINT oauth_access_tokens_pkey PRIMARY KEY (id);


--
-- Name: oauth_applications oauth_applications_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_applications
    ADD CONSTRAINT oauth_applications_pkey PRIMARY KEY (id);


--
-- Name: oauth_openid_requests oauth_openid_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_openid_requests
    ADD CONSTRAINT oauth_openid_requests_pkey PRIMARY KEY (id);


--
-- Name: onboarding_progresses onboarding_progresses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.onboarding_progresses
    ADD CONSTRAINT onboarding_progresses_pkey PRIMARY KEY (id);


--
-- Name: open_project_tracker_data open_project_tracker_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.open_project_tracker_data
    ADD CONSTRAINT open_project_tracker_data_pkey PRIMARY KEY (id);


--
-- Name: operations_feature_flag_scopes operations_feature_flag_scopes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flag_scopes
    ADD CONSTRAINT operations_feature_flag_scopes_pkey PRIMARY KEY (id);


--
-- Name: operations_feature_flags_clients operations_feature_flags_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags_clients
    ADD CONSTRAINT operations_feature_flags_clients_pkey PRIMARY KEY (id);


--
-- Name: operations_feature_flags_issues operations_feature_flags_issues_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags_issues
    ADD CONSTRAINT operations_feature_flags_issues_pkey PRIMARY KEY (id);


--
-- Name: operations_feature_flags operations_feature_flags_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags
    ADD CONSTRAINT operations_feature_flags_pkey PRIMARY KEY (id);


--
-- Name: operations_scopes operations_scopes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_scopes
    ADD CONSTRAINT operations_scopes_pkey PRIMARY KEY (id);


--
-- Name: operations_strategies operations_strategies_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_strategies
    ADD CONSTRAINT operations_strategies_pkey PRIMARY KEY (id);


--
-- Name: operations_strategies_user_lists operations_strategies_user_lists_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_strategies_user_lists
    ADD CONSTRAINT operations_strategies_user_lists_pkey PRIMARY KEY (id);


--
-- Name: operations_user_lists operations_user_lists_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_user_lists
    ADD CONSTRAINT operations_user_lists_pkey PRIMARY KEY (id);


--
-- Name: packages_build_infos packages_build_infos_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_build_infos
    ADD CONSTRAINT packages_build_infos_pkey PRIMARY KEY (id);


--
-- Name: packages_composer_cache_files packages_composer_cache_files_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_composer_cache_files
    ADD CONSTRAINT packages_composer_cache_files_pkey PRIMARY KEY (id);


--
-- Name: packages_composer_metadata packages_composer_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_composer_metadata
    ADD CONSTRAINT packages_composer_metadata_pkey PRIMARY KEY (package_id);


--
-- Name: packages_conan_file_metadata packages_conan_file_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_conan_file_metadata
    ADD CONSTRAINT packages_conan_file_metadata_pkey PRIMARY KEY (id);


--
-- Name: packages_conan_metadata packages_conan_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_conan_metadata
    ADD CONSTRAINT packages_conan_metadata_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_file_metadata packages_debian_file_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_file_metadata
    ADD CONSTRAINT packages_debian_file_metadata_pkey PRIMARY KEY (package_file_id);


--
-- Name: packages_debian_group_architectures packages_debian_group_architectures_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_architectures
    ADD CONSTRAINT packages_debian_group_architectures_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_group_component_files packages_debian_group_component_files_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_component_files
    ADD CONSTRAINT packages_debian_group_component_files_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_group_components packages_debian_group_components_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_components
    ADD CONSTRAINT packages_debian_group_components_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_group_distribution_keys packages_debian_group_distribution_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_distribution_keys
    ADD CONSTRAINT packages_debian_group_distribution_keys_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_group_distributions packages_debian_group_distributions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_distributions
    ADD CONSTRAINT packages_debian_group_distributions_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_project_architectures packages_debian_project_architectures_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_architectures
    ADD CONSTRAINT packages_debian_project_architectures_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_project_component_files packages_debian_project_component_files_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_component_files
    ADD CONSTRAINT packages_debian_project_component_files_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_project_components packages_debian_project_components_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_components
    ADD CONSTRAINT packages_debian_project_components_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_project_distribution_keys packages_debian_project_distribution_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_distribution_keys
    ADD CONSTRAINT packages_debian_project_distribution_keys_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_project_distributions packages_debian_project_distributions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_distributions
    ADD CONSTRAINT packages_debian_project_distributions_pkey PRIMARY KEY (id);


--
-- Name: packages_debian_publications packages_debian_publications_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_publications
    ADD CONSTRAINT packages_debian_publications_pkey PRIMARY KEY (id);


--
-- Name: packages_dependencies packages_dependencies_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_dependencies
    ADD CONSTRAINT packages_dependencies_pkey PRIMARY KEY (id);


--
-- Name: packages_dependency_links packages_dependency_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_dependency_links
    ADD CONSTRAINT packages_dependency_links_pkey PRIMARY KEY (id);


--
-- Name: packages_events packages_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_events
    ADD CONSTRAINT packages_events_pkey PRIMARY KEY (id);


--
-- Name: packages_helm_file_metadata packages_helm_file_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_helm_file_metadata
    ADD CONSTRAINT packages_helm_file_metadata_pkey PRIMARY KEY (package_file_id);


--
-- Name: packages_maven_metadata packages_maven_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_maven_metadata
    ADD CONSTRAINT packages_maven_metadata_pkey PRIMARY KEY (id);


--
-- Name: packages_nuget_dependency_link_metadata packages_nuget_dependency_link_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_nuget_dependency_link_metadata
    ADD CONSTRAINT packages_nuget_dependency_link_metadata_pkey PRIMARY KEY (dependency_link_id);


--
-- Name: packages_nuget_metadata packages_nuget_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_nuget_metadata
    ADD CONSTRAINT packages_nuget_metadata_pkey PRIMARY KEY (package_id);


--
-- Name: packages_package_file_build_infos packages_package_file_build_infos_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_package_file_build_infos
    ADD CONSTRAINT packages_package_file_build_infos_pkey PRIMARY KEY (id);


--
-- Name: packages_package_files packages_package_files_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_package_files
    ADD CONSTRAINT packages_package_files_pkey PRIMARY KEY (id);


--
-- Name: packages_packages packages_packages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_packages
    ADD CONSTRAINT packages_packages_pkey PRIMARY KEY (id);


--
-- Name: packages_pypi_metadata packages_pypi_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_pypi_metadata
    ADD CONSTRAINT packages_pypi_metadata_pkey PRIMARY KEY (package_id);


--
-- Name: packages_rubygems_metadata packages_rubygems_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_rubygems_metadata
    ADD CONSTRAINT packages_rubygems_metadata_pkey PRIMARY KEY (package_id);


--
-- Name: packages_tags packages_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_tags
    ADD CONSTRAINT packages_tags_pkey PRIMARY KEY (id);


--
-- Name: pages_deployments pages_deployments_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_deployments
    ADD CONSTRAINT pages_deployments_pkey PRIMARY KEY (id);


--
-- Name: pages_domain_acme_orders pages_domain_acme_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_domain_acme_orders
    ADD CONSTRAINT pages_domain_acme_orders_pkey PRIMARY KEY (id);


--
-- Name: pages_domains pages_domains_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_domains
    ADD CONSTRAINT pages_domains_pkey PRIMARY KEY (id);


--
-- Name: partitioned_foreign_keys partitioned_foreign_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.partitioned_foreign_keys
    ADD CONSTRAINT partitioned_foreign_keys_pkey PRIMARY KEY (id);


--
-- Name: path_locks path_locks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.path_locks
    ADD CONSTRAINT path_locks_pkey PRIMARY KEY (id);


--
-- Name: personal_access_tokens personal_access_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.personal_access_tokens
    ADD CONSTRAINT personal_access_tokens_pkey PRIMARY KEY (id);


--
-- Name: plan_limits plan_limits_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.plan_limits
    ADD CONSTRAINT plan_limits_pkey PRIMARY KEY (id);


--
-- Name: plans plans_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.plans
    ADD CONSTRAINT plans_pkey PRIMARY KEY (id);


--
-- Name: pool_repositories pool_repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pool_repositories
    ADD CONSTRAINT pool_repositories_pkey PRIMARY KEY (id);


--
-- Name: postgres_async_indexes postgres_async_indexes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.postgres_async_indexes
    ADD CONSTRAINT postgres_async_indexes_pkey PRIMARY KEY (id);


--
-- Name: postgres_reindex_actions postgres_reindex_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.postgres_reindex_actions
    ADD CONSTRAINT postgres_reindex_actions_pkey PRIMARY KEY (id);


--
-- Name: programming_languages programming_languages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.programming_languages
    ADD CONSTRAINT programming_languages_pkey PRIMARY KEY (id);


--
-- Name: project_access_tokens project_access_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_access_tokens
    ADD CONSTRAINT project_access_tokens_pkey PRIMARY KEY (personal_access_token_id, project_id);


--
-- Name: project_alerting_settings project_alerting_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_alerting_settings
    ADD CONSTRAINT project_alerting_settings_pkey PRIMARY KEY (project_id);


--
-- Name: project_aliases project_aliases_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_aliases
    ADD CONSTRAINT project_aliases_pkey PRIMARY KEY (id);


--
-- Name: project_authorizations project_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_authorizations
    ADD CONSTRAINT project_authorizations_pkey PRIMARY KEY (user_id, project_id, access_level);


--
-- Name: project_auto_devops project_auto_devops_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_auto_devops
    ADD CONSTRAINT project_auto_devops_pkey PRIMARY KEY (id);


--
-- Name: project_ci_cd_settings project_ci_cd_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_ci_cd_settings
    ADD CONSTRAINT project_ci_cd_settings_pkey PRIMARY KEY (id);


--
-- Name: project_ci_feature_usages project_ci_feature_usages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_ci_feature_usages
    ADD CONSTRAINT project_ci_feature_usages_pkey PRIMARY KEY (id);


--
-- Name: project_compliance_framework_settings project_compliance_framework_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_compliance_framework_settings
    ADD CONSTRAINT project_compliance_framework_settings_pkey PRIMARY KEY (project_id);


--
-- Name: project_custom_attributes project_custom_attributes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_custom_attributes
    ADD CONSTRAINT project_custom_attributes_pkey PRIMARY KEY (id);


--
-- Name: project_daily_statistics project_daily_statistics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_daily_statistics
    ADD CONSTRAINT project_daily_statistics_pkey PRIMARY KEY (id);


--
-- Name: project_deploy_tokens project_deploy_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_deploy_tokens
    ADD CONSTRAINT project_deploy_tokens_pkey PRIMARY KEY (id);


--
-- Name: project_error_tracking_settings project_error_tracking_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_error_tracking_settings
    ADD CONSTRAINT project_error_tracking_settings_pkey PRIMARY KEY (project_id);


--
-- Name: project_export_jobs project_export_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_export_jobs
    ADD CONSTRAINT project_export_jobs_pkey PRIMARY KEY (id);


--
-- Name: project_feature_usages project_feature_usages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_feature_usages
    ADD CONSTRAINT project_feature_usages_pkey PRIMARY KEY (project_id);


--
-- Name: project_features project_features_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_features
    ADD CONSTRAINT project_features_pkey PRIMARY KEY (id);


--
-- Name: project_group_links project_group_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_group_links
    ADD CONSTRAINT project_group_links_pkey PRIMARY KEY (id);


--
-- Name: project_import_data project_import_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_import_data
    ADD CONSTRAINT project_import_data_pkey PRIMARY KEY (id);


--
-- Name: project_incident_management_settings project_incident_management_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_incident_management_settings
    ADD CONSTRAINT project_incident_management_settings_pkey PRIMARY KEY (project_id);


--
-- Name: project_metrics_settings project_metrics_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_metrics_settings
    ADD CONSTRAINT project_metrics_settings_pkey PRIMARY KEY (project_id);


--
-- Name: project_mirror_data project_mirror_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_mirror_data
    ADD CONSTRAINT project_mirror_data_pkey PRIMARY KEY (id);


--
-- Name: project_pages_metadata project_pages_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_pages_metadata
    ADD CONSTRAINT project_pages_metadata_pkey PRIMARY KEY (project_id);


--
-- Name: project_repositories project_repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repositories
    ADD CONSTRAINT project_repositories_pkey PRIMARY KEY (id);


--
-- Name: project_repository_states project_repository_states_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repository_states
    ADD CONSTRAINT project_repository_states_pkey PRIMARY KEY (id);


--
-- Name: project_repository_storage_moves project_repository_storage_moves_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repository_storage_moves
    ADD CONSTRAINT project_repository_storage_moves_pkey PRIMARY KEY (id);


--
-- Name: project_security_settings project_security_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_security_settings
    ADD CONSTRAINT project_security_settings_pkey PRIMARY KEY (project_id);


--
-- Name: project_settings project_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_settings
    ADD CONSTRAINT project_settings_pkey PRIMARY KEY (project_id);


--
-- Name: project_statistics project_statistics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_statistics
    ADD CONSTRAINT project_statistics_pkey PRIMARY KEY (id);


--
-- Name: project_tracing_settings project_tracing_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_tracing_settings
    ADD CONSTRAINT project_tracing_settings_pkey PRIMARY KEY (id);


--
-- Name: projects projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.projects
    ADD CONSTRAINT projects_pkey PRIMARY KEY (id);


--
-- Name: prometheus_alert_events prometheus_alert_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alert_events
    ADD CONSTRAINT prometheus_alert_events_pkey PRIMARY KEY (id);


--
-- Name: prometheus_alerts prometheus_alerts_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alerts
    ADD CONSTRAINT prometheus_alerts_pkey PRIMARY KEY (id);


--
-- Name: prometheus_metrics prometheus_metrics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_metrics
    ADD CONSTRAINT prometheus_metrics_pkey PRIMARY KEY (id);


--
-- Name: protected_branch_merge_access_levels protected_branch_merge_access_levels_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_merge_access_levels
    ADD CONSTRAINT protected_branch_merge_access_levels_pkey PRIMARY KEY (id);


--
-- Name: protected_branch_push_access_levels protected_branch_push_access_levels_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_push_access_levels
    ADD CONSTRAINT protected_branch_push_access_levels_pkey PRIMARY KEY (id);


--
-- Name: protected_branch_unprotect_access_levels protected_branch_unprotect_access_levels_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_unprotect_access_levels
    ADD CONSTRAINT protected_branch_unprotect_access_levels_pkey PRIMARY KEY (id);


--
-- Name: protected_branches protected_branches_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branches
    ADD CONSTRAINT protected_branches_pkey PRIMARY KEY (id);


--
-- Name: protected_environment_deploy_access_levels protected_environment_deploy_access_levels_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environment_deploy_access_levels
    ADD CONSTRAINT protected_environment_deploy_access_levels_pkey PRIMARY KEY (id);


--
-- Name: protected_environments protected_environments_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environments
    ADD CONSTRAINT protected_environments_pkey PRIMARY KEY (id);


--
-- Name: protected_tag_create_access_levels protected_tag_create_access_levels_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_tag_create_access_levels
    ADD CONSTRAINT protected_tag_create_access_levels_pkey PRIMARY KEY (id);


--
-- Name: protected_tags protected_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_tags
    ADD CONSTRAINT protected_tags_pkey PRIMARY KEY (id);


--
-- Name: push_event_payloads push_event_payloads_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.push_event_payloads
    ADD CONSTRAINT push_event_payloads_pkey PRIMARY KEY (event_id);


--
-- Name: push_rules push_rules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.push_rules
    ADD CONSTRAINT push_rules_pkey PRIMARY KEY (id);


--
-- Name: raw_usage_data raw_usage_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.raw_usage_data
    ADD CONSTRAINT raw_usage_data_pkey PRIMARY KEY (id);


--
-- Name: redirect_routes redirect_routes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.redirect_routes
    ADD CONSTRAINT redirect_routes_pkey PRIMARY KEY (id);


--
-- Name: release_links release_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.release_links
    ADD CONSTRAINT release_links_pkey PRIMARY KEY (id);


--
-- Name: releases releases_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.releases
    ADD CONSTRAINT releases_pkey PRIMARY KEY (id);


--
-- Name: remote_mirrors remote_mirrors_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.remote_mirrors
    ADD CONSTRAINT remote_mirrors_pkey PRIMARY KEY (id);


--
-- Name: repository_languages repository_languages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.repository_languages
    ADD CONSTRAINT repository_languages_pkey PRIMARY KEY (project_id, programming_language_id);


--
-- Name: required_code_owners_sections required_code_owners_sections_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.required_code_owners_sections
    ADD CONSTRAINT required_code_owners_sections_pkey PRIMARY KEY (id);


--
-- Name: requirements_management_test_reports requirements_management_test_reports_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements_management_test_reports
    ADD CONSTRAINT requirements_management_test_reports_pkey PRIMARY KEY (id);


--
-- Name: requirements requirements_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements
    ADD CONSTRAINT requirements_pkey PRIMARY KEY (id);


--
-- Name: resource_iteration_events resource_iteration_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_iteration_events
    ADD CONSTRAINT resource_iteration_events_pkey PRIMARY KEY (id);


--
-- Name: resource_label_events resource_label_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_label_events
    ADD CONSTRAINT resource_label_events_pkey PRIMARY KEY (id);


--
-- Name: resource_milestone_events resource_milestone_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_milestone_events
    ADD CONSTRAINT resource_milestone_events_pkey PRIMARY KEY (id);


--
-- Name: resource_state_events resource_state_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_state_events
    ADD CONSTRAINT resource_state_events_pkey PRIMARY KEY (id);


--
-- Name: resource_weight_events resource_weight_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_weight_events
    ADD CONSTRAINT resource_weight_events_pkey PRIMARY KEY (id);


--
-- Name: reviews reviews_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.reviews
    ADD CONSTRAINT reviews_pkey PRIMARY KEY (id);


--
-- Name: routes routes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.routes
    ADD CONSTRAINT routes_pkey PRIMARY KEY (id);


--
-- Name: saml_group_links saml_group_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.saml_group_links
    ADD CONSTRAINT saml_group_links_pkey PRIMARY KEY (id);


--
-- Name: saml_providers saml_providers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.saml_providers
    ADD CONSTRAINT saml_providers_pkey PRIMARY KEY (id);


--
-- Name: schema_migrations schema_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.schema_migrations
    ADD CONSTRAINT schema_migrations_pkey PRIMARY KEY (version);


--
-- Name: scim_identities scim_identities_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.scim_identities
    ADD CONSTRAINT scim_identities_pkey PRIMARY KEY (id);


--
-- Name: scim_oauth_access_tokens scim_oauth_access_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.scim_oauth_access_tokens
    ADD CONSTRAINT scim_oauth_access_tokens_pkey PRIMARY KEY (id);


--
-- Name: security_findings security_findings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_findings
    ADD CONSTRAINT security_findings_pkey PRIMARY KEY (id);


--
-- Name: security_orchestration_policy_configurations security_orchestration_policy_configurations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_orchestration_policy_configurations
    ADD CONSTRAINT security_orchestration_policy_configurations_pkey PRIMARY KEY (id);


--
-- Name: security_orchestration_policy_rule_schedules security_orchestration_policy_rule_schedules_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_orchestration_policy_rule_schedules
    ADD CONSTRAINT security_orchestration_policy_rule_schedules_pkey PRIMARY KEY (id);


--
-- Name: security_scans security_scans_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_scans
    ADD CONSTRAINT security_scans_pkey PRIMARY KEY (id);


--
-- Name: self_managed_prometheus_alert_events self_managed_prometheus_alert_events_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.self_managed_prometheus_alert_events
    ADD CONSTRAINT self_managed_prometheus_alert_events_pkey PRIMARY KEY (id);


--
-- Name: sent_notifications sent_notifications_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sent_notifications
    ADD CONSTRAINT sent_notifications_pkey PRIMARY KEY (id);


--
-- Name: sentry_issues sentry_issues_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sentry_issues
    ADD CONSTRAINT sentry_issues_pkey PRIMARY KEY (id);


--
-- Name: serverless_domain_cluster serverless_domain_cluster_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.serverless_domain_cluster
    ADD CONSTRAINT serverless_domain_cluster_pkey PRIMARY KEY (uuid);


--
-- Name: service_desk_settings service_desk_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.service_desk_settings
    ADD CONSTRAINT service_desk_settings_pkey PRIMARY KEY (project_id);


--
-- Name: shards shards_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.shards
    ADD CONSTRAINT shards_pkey PRIMARY KEY (id);


--
-- Name: slack_integrations slack_integrations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.slack_integrations
    ADD CONSTRAINT slack_integrations_pkey PRIMARY KEY (id);


--
-- Name: smartcard_identities smartcard_identities_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.smartcard_identities
    ADD CONSTRAINT smartcard_identities_pkey PRIMARY KEY (id);


--
-- Name: snippet_repositories snippet_repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_repositories
    ADD CONSTRAINT snippet_repositories_pkey PRIMARY KEY (snippet_id);


--
-- Name: snippet_repository_storage_moves snippet_repository_storage_moves_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_repository_storage_moves
    ADD CONSTRAINT snippet_repository_storage_moves_pkey PRIMARY KEY (id);


--
-- Name: snippet_statistics snippet_statistics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_statistics
    ADD CONSTRAINT snippet_statistics_pkey PRIMARY KEY (snippet_id);


--
-- Name: snippet_user_mentions snippet_user_mentions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_user_mentions
    ADD CONSTRAINT snippet_user_mentions_pkey PRIMARY KEY (id);


--
-- Name: snippets snippets_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippets
    ADD CONSTRAINT snippets_pkey PRIMARY KEY (id);


--
-- Name: software_license_policies software_license_policies_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.software_license_policies
    ADD CONSTRAINT software_license_policies_pkey PRIMARY KEY (id);


--
-- Name: software_licenses software_licenses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.software_licenses
    ADD CONSTRAINT software_licenses_pkey PRIMARY KEY (id);


--
-- Name: spam_logs spam_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.spam_logs
    ADD CONSTRAINT spam_logs_pkey PRIMARY KEY (id);


--
-- Name: sprints sprints_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sprints
    ADD CONSTRAINT sprints_pkey PRIMARY KEY (id);


--
-- Name: status_check_responses status_check_responses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_check_responses
    ADD CONSTRAINT status_check_responses_pkey PRIMARY KEY (id);


--
-- Name: status_page_published_incidents status_page_published_incidents_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_page_published_incidents
    ADD CONSTRAINT status_page_published_incidents_pkey PRIMARY KEY (id);


--
-- Name: status_page_settings status_page_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_page_settings
    ADD CONSTRAINT status_page_settings_pkey PRIMARY KEY (project_id);


--
-- Name: subscriptions subscriptions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.subscriptions
    ADD CONSTRAINT subscriptions_pkey PRIMARY KEY (id);


--
-- Name: suggestions suggestions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.suggestions
    ADD CONSTRAINT suggestions_pkey PRIMARY KEY (id);


--
-- Name: system_note_metadata system_note_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.system_note_metadata
    ADD CONSTRAINT system_note_metadata_pkey PRIMARY KEY (id);


--
-- Name: taggings taggings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.taggings
    ADD CONSTRAINT taggings_pkey PRIMARY KEY (id);


--
-- Name: tags tags_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.tags
    ADD CONSTRAINT tags_pkey PRIMARY KEY (id);


--
-- Name: term_agreements term_agreements_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.term_agreements
    ADD CONSTRAINT term_agreements_pkey PRIMARY KEY (id);


--
-- Name: terraform_state_versions terraform_state_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_state_versions
    ADD CONSTRAINT terraform_state_versions_pkey PRIMARY KEY (id);


--
-- Name: terraform_states terraform_states_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_states
    ADD CONSTRAINT terraform_states_pkey PRIMARY KEY (id);


--
-- Name: timelogs timelogs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.timelogs
    ADD CONSTRAINT timelogs_pkey PRIMARY KEY (id);


--
-- Name: todos todos_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.todos
    ADD CONSTRAINT todos_pkey PRIMARY KEY (id);


--
-- Name: token_with_ivs token_with_ivs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.token_with_ivs
    ADD CONSTRAINT token_with_ivs_pkey PRIMARY KEY (id);


--
-- Name: trending_projects trending_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.trending_projects
    ADD CONSTRAINT trending_projects_pkey PRIMARY KEY (id);


--
-- Name: u2f_registrations u2f_registrations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.u2f_registrations
    ADD CONSTRAINT u2f_registrations_pkey PRIMARY KEY (id);


--
-- Name: upcoming_reconciliations upcoming_reconciliations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.upcoming_reconciliations
    ADD CONSTRAINT upcoming_reconciliations_pkey PRIMARY KEY (id);


--
-- Name: uploads uploads_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.uploads
    ADD CONSTRAINT uploads_pkey PRIMARY KEY (id);


--
-- Name: user_agent_details user_agent_details_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_agent_details
    ADD CONSTRAINT user_agent_details_pkey PRIMARY KEY (id);


--
-- Name: user_callouts user_callouts_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_callouts
    ADD CONSTRAINT user_callouts_pkey PRIMARY KEY (id);


--
-- Name: user_canonical_emails user_canonical_emails_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_canonical_emails
    ADD CONSTRAINT user_canonical_emails_pkey PRIMARY KEY (id);


--
-- Name: user_credit_card_validations user_credit_card_validations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_credit_card_validations
    ADD CONSTRAINT user_credit_card_validations_pkey PRIMARY KEY (user_id);


--
-- Name: user_custom_attributes user_custom_attributes_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_custom_attributes
    ADD CONSTRAINT user_custom_attributes_pkey PRIMARY KEY (id);


--
-- Name: user_details user_details_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_details
    ADD CONSTRAINT user_details_pkey PRIMARY KEY (user_id);


--
-- Name: user_follow_users user_follow_users_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_follow_users
    ADD CONSTRAINT user_follow_users_pkey PRIMARY KEY (follower_id, followee_id);


--
-- Name: user_highest_roles user_highest_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_highest_roles
    ADD CONSTRAINT user_highest_roles_pkey PRIMARY KEY (user_id);


--
-- Name: user_interacted_projects user_interacted_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_interacted_projects
    ADD CONSTRAINT user_interacted_projects_pkey PRIMARY KEY (project_id, user_id);


--
-- Name: user_permission_export_uploads user_permission_export_uploads_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_permission_export_uploads
    ADD CONSTRAINT user_permission_export_uploads_pkey PRIMARY KEY (id);


--
-- Name: user_preferences user_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_preferences
    ADD CONSTRAINT user_preferences_pkey PRIMARY KEY (id);


--
-- Name: user_statuses user_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_statuses
    ADD CONSTRAINT user_statuses_pkey PRIMARY KEY (user_id);


--
-- Name: user_synced_attributes_metadata user_synced_attributes_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_synced_attributes_metadata
    ADD CONSTRAINT user_synced_attributes_metadata_pkey PRIMARY KEY (id);


--
-- Name: users_ops_dashboard_projects users_ops_dashboard_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_ops_dashboard_projects
    ADD CONSTRAINT users_ops_dashboard_projects_pkey PRIMARY KEY (id);


--
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users
    ADD CONSTRAINT users_pkey PRIMARY KEY (id);


--
-- Name: users_security_dashboard_projects users_security_dashboard_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_security_dashboard_projects
    ADD CONSTRAINT users_security_dashboard_projects_pkey PRIMARY KEY (project_id, user_id);


--
-- Name: users_star_projects users_star_projects_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_star_projects
    ADD CONSTRAINT users_star_projects_pkey PRIMARY KEY (id);


--
-- Name: users_statistics users_statistics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_statistics
    ADD CONSTRAINT users_statistics_pkey PRIMARY KEY (id);


--
-- Name: vulnerabilities vulnerabilities_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT vulnerabilities_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_exports vulnerability_exports_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_exports
    ADD CONSTRAINT vulnerability_exports_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_external_issue_links vulnerability_external_issue_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_external_issue_links
    ADD CONSTRAINT vulnerability_external_issue_links_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_feedback vulnerability_feedback_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_feedback
    ADD CONSTRAINT vulnerability_feedback_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_evidence_assets vulnerability_finding_evidence_assets_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_assets
    ADD CONSTRAINT vulnerability_finding_evidence_assets_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_evidence_headers vulnerability_finding_evidence_headers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_headers
    ADD CONSTRAINT vulnerability_finding_evidence_headers_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_evidence_requests vulnerability_finding_evidence_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_requests
    ADD CONSTRAINT vulnerability_finding_evidence_requests_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_evidence_responses vulnerability_finding_evidence_responses_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_responses
    ADD CONSTRAINT vulnerability_finding_evidence_responses_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_evidence_sources vulnerability_finding_evidence_sources_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_sources
    ADD CONSTRAINT vulnerability_finding_evidence_sources_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_evidence_supporting_messages vulnerability_finding_evidence_supporting_messages_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_supporting_messages
    ADD CONSTRAINT vulnerability_finding_evidence_supporting_messages_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_evidences vulnerability_finding_evidences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidences
    ADD CONSTRAINT vulnerability_finding_evidences_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_links vulnerability_finding_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_links
    ADD CONSTRAINT vulnerability_finding_links_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_finding_signatures vulnerability_finding_signatures_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_signatures
    ADD CONSTRAINT vulnerability_finding_signatures_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_findings_remediations vulnerability_findings_remediations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_findings_remediations
    ADD CONSTRAINT vulnerability_findings_remediations_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_flags vulnerability_flags_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_flags
    ADD CONSTRAINT vulnerability_flags_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_historical_statistics vulnerability_historical_statistics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_historical_statistics
    ADD CONSTRAINT vulnerability_historical_statistics_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_identifiers vulnerability_identifiers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_identifiers
    ADD CONSTRAINT vulnerability_identifiers_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_issue_links vulnerability_issue_links_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_issue_links
    ADD CONSTRAINT vulnerability_issue_links_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_occurrence_identifiers vulnerability_occurrence_identifiers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrence_identifiers
    ADD CONSTRAINT vulnerability_occurrence_identifiers_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_occurrence_pipelines vulnerability_occurrence_pipelines_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrence_pipelines
    ADD CONSTRAINT vulnerability_occurrence_pipelines_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_occurrences vulnerability_occurrences_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrences
    ADD CONSTRAINT vulnerability_occurrences_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_remediations vulnerability_remediations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_remediations
    ADD CONSTRAINT vulnerability_remediations_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_scanners vulnerability_scanners_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_scanners
    ADD CONSTRAINT vulnerability_scanners_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_statistics vulnerability_statistics_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_statistics
    ADD CONSTRAINT vulnerability_statistics_pkey PRIMARY KEY (id);


--
-- Name: vulnerability_user_mentions vulnerability_user_mentions_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_user_mentions
    ADD CONSTRAINT vulnerability_user_mentions_pkey PRIMARY KEY (id);


--
-- Name: web_hooks web_hooks_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.web_hooks
    ADD CONSTRAINT web_hooks_pkey PRIMARY KEY (id);


--
-- Name: webauthn_registrations webauthn_registrations_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.webauthn_registrations
    ADD CONSTRAINT webauthn_registrations_pkey PRIMARY KEY (id);


--
-- Name: wiki_page_meta wiki_page_meta_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.wiki_page_meta
    ADD CONSTRAINT wiki_page_meta_pkey PRIMARY KEY (id);


--
-- Name: wiki_page_slugs wiki_page_slugs_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.wiki_page_slugs
    ADD CONSTRAINT wiki_page_slugs_pkey PRIMARY KEY (id);


--
-- Name: work_item_types work_item_types_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.work_item_types
    ADD CONSTRAINT work_item_types_pkey PRIMARY KEY (id);


--
-- Name: x509_certificates x509_certificates_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_certificates
    ADD CONSTRAINT x509_certificates_pkey PRIMARY KEY (id);


--
-- Name: x509_commit_signatures x509_commit_signatures_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_commit_signatures
    ADD CONSTRAINT x509_commit_signatures_pkey PRIMARY KEY (id);


--
-- Name: x509_issuers x509_issuers_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_issuers
    ADD CONSTRAINT x509_issuers_pkey PRIMARY KEY (id);


--
-- Name: zentao_tracker_data zentao_tracker_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.zentao_tracker_data
    ADD CONSTRAINT zentao_tracker_data_pkey PRIMARY KEY (id);


--
-- Name: zoom_meetings zoom_meetings_pkey; Type: CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.zoom_meetings
    ADD CONSTRAINT zoom_meetings_pkey PRIMARY KEY (id);


--
-- Name: analytics_index_audit_events_part_on_created_at_and_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX analytics_index_audit_events_part_on_created_at_and_author_id ON ONLY public.audit_events USING btree (created_at, author_id);


--
-- Name: audit_events_000000_created_at_author_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_000000_created_at_author_id_idx ON gitlab_partitions_dynamic.audit_events_000000 USING btree (created_at, author_id);


--
-- Name: idx_audit_events_part_on_entity_id_desc_author_id_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_audit_events_part_on_entity_id_desc_author_id_created_at ON ONLY public.audit_events USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: audit_events_000000_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_000000_entity_id_entity_type_id_author_id_crea_idx ON gitlab_partitions_dynamic.audit_events_000000 USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: audit_events_202109_created_at_author_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202109_created_at_author_id_idx ON gitlab_partitions_dynamic.audit_events_202109 USING btree (created_at, author_id);


--
-- Name: audit_events_202109_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202109_entity_id_entity_type_id_author_id_crea_idx ON gitlab_partitions_dynamic.audit_events_202109 USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: audit_events_202110_created_at_author_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202110_created_at_author_id_idx ON gitlab_partitions_dynamic.audit_events_202110 USING btree (created_at, author_id);


--
-- Name: audit_events_202110_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202110_entity_id_entity_type_id_author_id_crea_idx ON gitlab_partitions_dynamic.audit_events_202110 USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: audit_events_202111_created_at_author_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202111_created_at_author_id_idx ON gitlab_partitions_dynamic.audit_events_202111 USING btree (created_at, author_id);


--
-- Name: audit_events_202111_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202111_entity_id_entity_type_id_author_id_crea_idx ON gitlab_partitions_dynamic.audit_events_202111 USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: audit_events_202112_created_at_author_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202112_created_at_author_id_idx ON gitlab_partitions_dynamic.audit_events_202112 USING btree (created_at, author_id);


--
-- Name: audit_events_202112_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202112_entity_id_entity_type_id_author_id_crea_idx ON gitlab_partitions_dynamic.audit_events_202112 USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: audit_events_202201_created_at_author_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202201_created_at_author_id_idx ON gitlab_partitions_dynamic.audit_events_202201 USING btree (created_at, author_id);


--
-- Name: audit_events_202201_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202201_entity_id_entity_type_id_author_id_crea_idx ON gitlab_partitions_dynamic.audit_events_202201 USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: audit_events_202202_created_at_author_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202202_created_at_author_id_idx ON gitlab_partitions_dynamic.audit_events_202202 USING btree (created_at, author_id);


--
-- Name: audit_events_202202_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202202_entity_id_entity_type_id_author_id_crea_idx ON gitlab_partitions_dynamic.audit_events_202202 USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: audit_events_202203_created_at_author_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202203_created_at_author_id_idx ON gitlab_partitions_dynamic.audit_events_202203 USING btree (created_at, author_id);


--
-- Name: audit_events_202203_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX audit_events_202203_entity_id_entity_type_id_author_id_crea_idx ON gitlab_partitions_dynamic.audit_events_202203 USING btree (entity_id, entity_type, id DESC, author_id, created_at);


--
-- Name: index_web_hook_logs_part_on_created_at_and_web_hook_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_web_hook_logs_part_on_created_at_and_web_hook_id ON ONLY public.web_hook_logs USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202106_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202106_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202106 USING btree (created_at, web_hook_id);


--
-- Name: index_web_hook_logs_part_on_web_hook_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_web_hook_logs_part_on_web_hook_id ON ONLY public.web_hook_logs USING btree (web_hook_id);


--
-- Name: web_hook_logs_202106_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202106_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202106 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202107_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202107_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202107 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202107_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202107_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202107 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202108_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202108_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202108 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202108_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202108_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202108 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202109_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202109_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202109 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202109_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202109_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202109 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202110_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202110_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202110 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202110_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202110_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202110 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202111_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202111_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202111 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202111_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202111_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202111 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202112_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202112_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202112 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202112_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202112_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202112 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202201_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202201_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202201 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202201_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202201_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202201 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202202_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202202_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202202 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202202_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202202_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202202 USING btree (web_hook_id);


--
-- Name: web_hook_logs_202203_created_at_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202203_created_at_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202203 USING btree (created_at, web_hook_id);


--
-- Name: web_hook_logs_202203_web_hook_id_idx; Type: INDEX; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

CREATE INDEX web_hook_logs_202203_web_hook_id_idx ON gitlab_partitions_dynamic.web_hook_logs_202203 USING btree (web_hook_id);


--
-- Name: index_product_analytics_events_experimental_project_and_time; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_product_analytics_events_experimental_project_and_time ON ONLY public.product_analytics_events_experimental USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx10; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx10 ON gitlab_partitions_static.product_analytics_events_experimental_10 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx11; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx11 ON gitlab_partitions_static.product_analytics_events_experimental_11 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx12; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx12 ON gitlab_partitions_static.product_analytics_events_experimental_12 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx13; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx13 ON gitlab_partitions_static.product_analytics_events_experimental_13 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx14; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx14 ON gitlab_partitions_static.product_analytics_events_experimental_14 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx15; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx15 ON gitlab_partitions_static.product_analytics_events_experimental_15 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx16; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx16 ON gitlab_partitions_static.product_analytics_events_experimental_16 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx17; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx17 ON gitlab_partitions_static.product_analytics_events_experimental_17 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx18; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx18 ON gitlab_partitions_static.product_analytics_events_experimental_18 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx19; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx19 ON gitlab_partitions_static.product_analytics_events_experimental_19 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx20; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx20 ON gitlab_partitions_static.product_analytics_events_experimental_20 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx21; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx21 ON gitlab_partitions_static.product_analytics_events_experimental_21 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx22; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx22 ON gitlab_partitions_static.product_analytics_events_experimental_22 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx23; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx23 ON gitlab_partitions_static.product_analytics_events_experimental_23 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx24; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx24 ON gitlab_partitions_static.product_analytics_events_experimental_24 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx25; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx25 ON gitlab_partitions_static.product_analytics_events_experimental_25 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx26; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx26 ON gitlab_partitions_static.product_analytics_events_experimental_26 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx27; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx27 ON gitlab_partitions_static.product_analytics_events_experimental_27 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx28; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx28 ON gitlab_partitions_static.product_analytics_events_experimental_28 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx29; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx29 ON gitlab_partitions_static.product_analytics_events_experimental_29 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx30; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx30 ON gitlab_partitions_static.product_analytics_events_experimental_30 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx31; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx31 ON gitlab_partitions_static.product_analytics_events_experimental_31 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx32; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx32 ON gitlab_partitions_static.product_analytics_events_experimental_32 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx33; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx33 ON gitlab_partitions_static.product_analytics_events_experimental_33 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx34; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx34 ON gitlab_partitions_static.product_analytics_events_experimental_34 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx35; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx35 ON gitlab_partitions_static.product_analytics_events_experimental_35 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx36; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx36 ON gitlab_partitions_static.product_analytics_events_experimental_36 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx37; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx37 ON gitlab_partitions_static.product_analytics_events_experimental_37 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx38; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx38 ON gitlab_partitions_static.product_analytics_events_experimental_38 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx39; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx39 ON gitlab_partitions_static.product_analytics_events_experimental_39 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx40; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx40 ON gitlab_partitions_static.product_analytics_events_experimental_40 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx41; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx41 ON gitlab_partitions_static.product_analytics_events_experimental_41 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx42; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx42 ON gitlab_partitions_static.product_analytics_events_experimental_42 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx43; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx43 ON gitlab_partitions_static.product_analytics_events_experimental_43 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx44; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx44 ON gitlab_partitions_static.product_analytics_events_experimental_44 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx45; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx45 ON gitlab_partitions_static.product_analytics_events_experimental_45 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx46; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx46 ON gitlab_partitions_static.product_analytics_events_experimental_46 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx47; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx47 ON gitlab_partitions_static.product_analytics_events_experimental_47 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx48; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx48 ON gitlab_partitions_static.product_analytics_events_experimental_48 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx49; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx49 ON gitlab_partitions_static.product_analytics_events_experimental_49 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx50; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx50 ON gitlab_partitions_static.product_analytics_events_experimental_50 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx51; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx51 ON gitlab_partitions_static.product_analytics_events_experimental_51 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx52; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx52 ON gitlab_partitions_static.product_analytics_events_experimental_52 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx53; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx53 ON gitlab_partitions_static.product_analytics_events_experimental_53 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx54; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx54 ON gitlab_partitions_static.product_analytics_events_experimental_54 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx55; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx55 ON gitlab_partitions_static.product_analytics_events_experimental_55 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx56; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx56 ON gitlab_partitions_static.product_analytics_events_experimental_56 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx57; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx57 ON gitlab_partitions_static.product_analytics_events_experimental_57 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx58; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx58 ON gitlab_partitions_static.product_analytics_events_experimental_58 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx59; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx59 ON gitlab_partitions_static.product_analytics_events_experimental_59 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx60; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx60 ON gitlab_partitions_static.product_analytics_events_experimental_60 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx61; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx61 ON gitlab_partitions_static.product_analytics_events_experimental_61 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx62; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx62 ON gitlab_partitions_static.product_analytics_events_experimental_62 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx63; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_expe_project_id_collector_tstamp_idx63 ON gitlab_partitions_static.product_analytics_events_experimental_63 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx1; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx1 ON gitlab_partitions_static.product_analytics_events_experimental_01 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx2; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx2 ON gitlab_partitions_static.product_analytics_events_experimental_02 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx3; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx3 ON gitlab_partitions_static.product_analytics_events_experimental_03 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx4; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx4 ON gitlab_partitions_static.product_analytics_events_experimental_04 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx5; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx5 ON gitlab_partitions_static.product_analytics_events_experimental_05 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx6; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx6 ON gitlab_partitions_static.product_analytics_events_experimental_06 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx7; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx7 ON gitlab_partitions_static.product_analytics_events_experimental_07 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx8; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx8 ON gitlab_partitions_static.product_analytics_events_experimental_08 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx9; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_exper_project_id_collector_tstamp_idx9 ON gitlab_partitions_static.product_analytics_events_experimental_09 USING btree (project_id, collector_tstamp);


--
-- Name: product_analytics_events_experi_project_id_collector_tstamp_idx; Type: INDEX; Schema: gitlab_partitions_static; Owner: gitlab
--

CREATE INDEX product_analytics_events_experi_project_id_collector_tstamp_idx ON gitlab_partitions_static.product_analytics_events_experimental_00 USING btree (project_id, collector_tstamp);


--
-- Name: active_billable_users; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX active_billable_users ON public.users USING btree (id) WHERE (((state)::text = 'active'::text) AND ((user_type IS NULL) OR (user_type = ANY (ARRAY[NULL::integer, 6, 4]))) AND ((user_type IS NULL) OR (user_type <> ALL ('{2,6,1,3,7,8}'::smallint[]))));


--
-- Name: analytics_index_events_on_created_at_and_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX analytics_index_events_on_created_at_and_author_id ON public.events USING btree (created_at, author_id);


--
-- Name: analytics_repository_languages_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX analytics_repository_languages_on_project_id ON public.analytics_language_trend_repository_languages USING btree (project_id);


--
-- Name: any_approver_merge_request_rule_type_unique_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX any_approver_merge_request_rule_type_unique_index ON public.approval_merge_request_rules USING btree (merge_request_id, rule_type) WHERE (rule_type = 4);


--
-- Name: any_approver_project_rule_type_unique_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX any_approver_project_rule_type_unique_index ON public.approval_project_rules USING btree (project_id) WHERE (rule_type = 3);


--
-- Name: approval_mr_rule_index_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX approval_mr_rule_index_merge_request_id ON public.approval_merge_request_rules USING btree (merge_request_id);


--
-- Name: bulk_import_trackers_uniq_relation_by_entity; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX bulk_import_trackers_uniq_relation_by_entity ON public.bulk_import_trackers USING btree (bulk_import_entity_id, relation);


--
-- Name: cadence_create_iterations_automation; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX cadence_create_iterations_automation ON public.iterations_cadences USING btree (automatic, duration_in_weeks, date((COALESCE(last_run_date, '1970-01-01'::date) + ((duration_in_weeks)::double precision * '7 days'::interval)))) WHERE (duration_in_weeks IS NOT NULL);


--
-- Name: ci_builds_gitlab_monitor_metrics; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX ci_builds_gitlab_monitor_metrics ON public.ci_builds USING btree (status, created_at, project_id) WHERE ((type)::text = 'Ci::Build'::text);


--
-- Name: code_owner_approval_required; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX code_owner_approval_required ON public.protected_branches USING btree (project_id, code_owner_approval_required) WHERE (code_owner_approval_required = true);


--
-- Name: commit_user_mentions_on_commit_id_and_note_id_unique_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX commit_user_mentions_on_commit_id_and_note_id_unique_index ON public.commit_user_mentions USING btree (commit_id, note_id);


--
-- Name: composer_cache_files_index_on_deleted_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX composer_cache_files_index_on_deleted_at ON public.packages_composer_cache_files USING btree (delete_at, id);


--
-- Name: dast_scanner_profiles_builds_on_ci_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX dast_scanner_profiles_builds_on_ci_build_id ON public.dast_scanner_profiles_builds USING btree (ci_build_id);


--
-- Name: dast_site_profiles_builds_on_ci_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX dast_site_profiles_builds_on_ci_build_id ON public.dast_site_profiles_builds USING btree (ci_build_id);


--
-- Name: design_management_designs_versions_uniqueness; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX design_management_designs_versions_uniqueness ON public.design_management_designs_versions USING btree (design_id, version_id);


--
-- Name: design_user_mentions_on_design_id_and_note_id_unique_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX design_user_mentions_on_design_id_and_note_id_unique_index ON public.design_user_mentions USING btree (design_id, note_id);


--
-- Name: epic_user_mentions_on_epic_id_and_note_id_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX epic_user_mentions_on_epic_id_and_note_id_index ON public.epic_user_mentions USING btree (epic_id, note_id);


--
-- Name: epic_user_mentions_on_epic_id_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX epic_user_mentions_on_epic_id_index ON public.epic_user_mentions USING btree (epic_id) WHERE (note_id IS NULL);


--
-- Name: finding_evidence_assets_on_finding_evidence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_assets_on_finding_evidence_id ON public.vulnerability_finding_evidence_assets USING btree (vulnerability_finding_evidence_id);


--
-- Name: finding_evidence_header_on_finding_evidence_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_header_on_finding_evidence_request_id ON public.vulnerability_finding_evidence_headers USING btree (vulnerability_finding_evidence_request_id);


--
-- Name: finding_evidence_header_on_finding_evidence_response_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_header_on_finding_evidence_response_id ON public.vulnerability_finding_evidence_headers USING btree (vulnerability_finding_evidence_response_id);


--
-- Name: finding_evidence_requests_on_finding_evidence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_requests_on_finding_evidence_id ON public.vulnerability_finding_evidence_requests USING btree (vulnerability_finding_evidence_id);


--
-- Name: finding_evidence_requests_on_supporting_evidence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_requests_on_supporting_evidence_id ON public.vulnerability_finding_evidence_requests USING btree (vulnerability_finding_evidence_supporting_message_id);


--
-- Name: finding_evidence_responses_on_finding_evidences_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_responses_on_finding_evidences_id ON public.vulnerability_finding_evidence_responses USING btree (vulnerability_finding_evidence_id);


--
-- Name: finding_evidence_responses_on_supporting_evidence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_responses_on_supporting_evidence_id ON public.vulnerability_finding_evidence_responses USING btree (vulnerability_finding_evidence_supporting_message_id);


--
-- Name: finding_evidence_sources_on_finding_evidence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_sources_on_finding_evidence_id ON public.vulnerability_finding_evidence_sources USING btree (vulnerability_finding_evidence_id);


--
-- Name: finding_evidence_supporting_messages_on_finding_evidence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidence_supporting_messages_on_finding_evidence_id ON public.vulnerability_finding_evidence_supporting_messages USING btree (vulnerability_finding_evidence_id);


--
-- Name: finding_evidences_on_vulnerability_occurrence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_evidences_on_vulnerability_occurrence_id ON public.vulnerability_finding_evidences USING btree (vulnerability_occurrence_id);


--
-- Name: finding_links_on_vulnerability_occurrence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX finding_links_on_vulnerability_occurrence_id ON public.vulnerability_finding_links USING btree (vulnerability_occurrence_id);


--
-- Name: i_ci_job_token_project_scope_links_on_source_and_target_project; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX i_ci_job_token_project_scope_links_on_source_and_target_project ON public.ci_job_token_project_scope_links USING btree (source_project_id, target_project_id);


--
-- Name: idx_analytics_devops_adoption_segments_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_analytics_devops_adoption_segments_on_namespace_id ON public.analytics_devops_adoption_segments USING btree (namespace_id);


--
-- Name: idx_analytics_devops_adoption_snapshots_finalized; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_analytics_devops_adoption_snapshots_finalized ON public.analytics_devops_adoption_snapshots USING btree (namespace_id, end_time) WHERE (recorded_at >= end_time);


--
-- Name: idx_award_emoji_on_user_emoji_name_awardable_type_awardable_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_award_emoji_on_user_emoji_name_awardable_type_awardable_id ON public.award_emoji USING btree (user_id, name, awardable_type, awardable_id);


--
-- Name: idx_ci_pipelines_artifacts_locked; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_ci_pipelines_artifacts_locked ON public.ci_pipelines USING btree (ci_ref_id, id) WHERE (locked = 1);


--
-- Name: idx_container_exp_policies_on_project_id_next_run_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_container_exp_policies_on_project_id_next_run_at ON public.container_expiration_policies USING btree (project_id, next_run_at) WHERE (enabled = true);


--
-- Name: idx_container_exp_policies_on_project_id_next_run_at_enabled; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_container_exp_policies_on_project_id_next_run_at_enabled ON public.container_expiration_policies USING btree (project_id, next_run_at, enabled);


--
-- Name: idx_container_repos_on_exp_cleanup_status_project_id_start_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_container_repos_on_exp_cleanup_status_project_id_start_date ON public.container_repositories USING btree (expiration_policy_cleanup_status, project_id, expiration_policy_started_at);


--
-- Name: idx_deployment_clusters_on_cluster_id_and_kubernetes_namespace; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_deployment_clusters_on_cluster_id_and_kubernetes_namespace ON public.deployment_clusters USING btree (cluster_id, kubernetes_namespace);


--
-- Name: idx_devops_adoption_segments_namespace_end_time; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_devops_adoption_segments_namespace_end_time ON public.analytics_devops_adoption_snapshots USING btree (namespace_id, end_time);


--
-- Name: idx_devops_adoption_segments_namespace_recorded_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_devops_adoption_segments_namespace_recorded_at ON public.analytics_devops_adoption_snapshots USING btree (namespace_id, recorded_at);


--
-- Name: idx_devops_adoption_segments_namespaces_pair; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_devops_adoption_segments_namespaces_pair ON public.analytics_devops_adoption_segments USING btree (display_namespace_id, namespace_id);


--
-- Name: idx_eaprpb_external_approval_rule_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_eaprpb_external_approval_rule_id ON public.external_approval_rules_protected_branches USING btree (external_approval_rule_id);


--
-- Name: idx_elastic_reindexing_slices_on_elastic_reindexing_subtask_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_elastic_reindexing_slices_on_elastic_reindexing_subtask_id ON public.elastic_reindexing_slices USING btree (elastic_reindexing_subtask_id);


--
-- Name: idx_environment_merge_requests_unique_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_environment_merge_requests_unique_index ON public.deployment_merge_requests USING btree (environment_id, merge_request_id);


--
-- Name: idx_geo_con_rep_updated_events_on_container_repository_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_geo_con_rep_updated_events_on_container_repository_id ON public.geo_container_repository_updated_events USING btree (container_repository_id);


--
-- Name: idx_issues_on_health_status_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_issues_on_health_status_not_null ON public.issues USING btree (health_status) WHERE (health_status IS NOT NULL);


--
-- Name: idx_issues_on_project_id_and_created_at_and_id_and_state_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_issues_on_project_id_and_created_at_and_id_and_state_id ON public.issues USING btree (project_id, created_at, id, state_id);


--
-- Name: idx_issues_on_project_id_and_due_date_and_id_and_state_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_issues_on_project_id_and_due_date_and_id_and_state_id ON public.issues USING btree (project_id, due_date, id, state_id) WHERE (due_date IS NOT NULL);


--
-- Name: idx_issues_on_project_id_and_rel_asc_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_issues_on_project_id_and_rel_asc_and_id ON public.issues USING btree (project_id, relative_position, id);


--
-- Name: idx_issues_on_project_id_and_rel_position_and_state_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_issues_on_project_id_and_rel_position_and_state_id_and_id ON public.issues USING btree (project_id, relative_position, state_id, id DESC);


--
-- Name: idx_issues_on_project_id_and_updated_at_and_id_and_state_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_issues_on_project_id_and_updated_at_and_id_and_state_id ON public.issues USING btree (project_id, updated_at, id, state_id);


--
-- Name: idx_issues_on_state_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_issues_on_state_id ON public.issues USING btree (state_id);


--
-- Name: idx_jira_connect_subscriptions_on_installation_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_jira_connect_subscriptions_on_installation_id ON public.jira_connect_subscriptions USING btree (jira_connect_installation_id);


--
-- Name: idx_jira_connect_subscriptions_on_installation_id_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_jira_connect_subscriptions_on_installation_id_namespace_id ON public.jira_connect_subscriptions USING btree (jira_connect_installation_id, namespace_id);


--
-- Name: idx_keys_expires_at_and_before_expiry_notification_undelivered; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_keys_expires_at_and_before_expiry_notification_undelivered ON public.keys USING btree (date(timezone('UTC'::text, expires_at)), before_expiry_notification_delivered_at) WHERE (before_expiry_notification_delivered_at IS NULL);


--
-- Name: idx_members_created_at_user_id_invite_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_members_created_at_user_id_invite_token ON public.members USING btree (created_at) WHERE ((invite_token IS NOT NULL) AND (user_id IS NULL));


--
-- Name: idx_merge_requests_on_id_and_merge_jid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_merge_requests_on_id_and_merge_jid ON public.merge_requests USING btree (id, merge_jid) WHERE ((merge_jid IS NOT NULL) AND (state_id = 4));


--
-- Name: idx_merge_requests_on_merged_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_merge_requests_on_merged_state ON public.merge_requests USING btree (id) WHERE (state_id = 3);


--
-- Name: idx_merge_requests_on_source_project_and_branch_state_opened; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_merge_requests_on_source_project_and_branch_state_opened ON public.merge_requests USING btree (source_project_id, source_branch) WHERE (state_id = 1);


--
-- Name: idx_merge_requests_on_state_id_and_merge_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_merge_requests_on_state_id_and_merge_status ON public.merge_requests USING btree (state_id, merge_status) WHERE ((state_id = 1) AND ((merge_status)::text = 'can_be_merged'::text));


--
-- Name: idx_merge_requests_on_target_project_id_and_iid_opened; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_merge_requests_on_target_project_id_and_iid_opened ON public.merge_requests USING btree (target_project_id, iid) WHERE (state_id = 1);


--
-- Name: idx_merge_requests_on_target_project_id_and_locked_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_merge_requests_on_target_project_id_and_locked_state ON public.merge_requests USING btree (target_project_id) WHERE (state_id = 4);


--
-- Name: idx_metrics_users_starred_dashboard_on_user_project_dashboard; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_metrics_users_starred_dashboard_on_user_project_dashboard ON public.metrics_users_starred_dashboards USING btree (user_id, project_id, dashboard_path);


--
-- Name: idx_mr_cc_diff_files_on_mr_cc_id_and_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_mr_cc_diff_files_on_mr_cc_id_and_sha ON public.merge_request_context_commit_diff_files USING btree (merge_request_context_commit_id, sha);


--
-- Name: idx_mrs_on_target_id_and_created_at_and_state_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_mrs_on_target_id_and_created_at_and_state_id ON public.merge_requests USING btree (target_project_id, state_id, created_at, id);


--
-- Name: idx_on_compliance_management_frameworks_namespace_id_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_on_compliance_management_frameworks_namespace_id_name ON public.compliance_management_frameworks USING btree (namespace_id, name);


--
-- Name: idx_on_external_approval_rules_project_id_external_url; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_on_external_approval_rules_project_id_external_url ON public.external_approval_rules USING btree (project_id, external_url);


--
-- Name: idx_on_external_approval_rules_project_id_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_on_external_approval_rules_project_id_name ON public.external_approval_rules USING btree (project_id, name);


--
-- Name: idx_on_external_status_checks_project_id_external_url; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_on_external_status_checks_project_id_external_url ON public.external_status_checks USING btree (project_id, external_url);


--
-- Name: idx_on_external_status_checks_project_id_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_on_external_status_checks_project_id_name ON public.external_status_checks USING btree (project_id, name);


--
-- Name: idx_packages_build_infos_on_package_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_packages_build_infos_on_package_id ON public.packages_build_infos USING btree (package_id);


--
-- Name: idx_packages_debian_group_component_files_on_architecture_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_packages_debian_group_component_files_on_architecture_id ON public.packages_debian_group_component_files USING btree (architecture_id);


--
-- Name: idx_packages_debian_project_component_files_on_architecture_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_packages_debian_project_component_files_on_architecture_id ON public.packages_debian_project_component_files USING btree (architecture_id);


--
-- Name: idx_packages_packages_on_project_id_name_version_package_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_packages_packages_on_project_id_name_version_package_type ON public.packages_packages USING btree (project_id, name, version, package_type);


--
-- Name: idx_pkgs_debian_group_distribution_keys_on_distribution_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_pkgs_debian_group_distribution_keys_on_distribution_id ON public.packages_debian_group_distribution_keys USING btree (distribution_id);


--
-- Name: idx_pkgs_debian_project_distribution_keys_on_distribution_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_pkgs_debian_project_distribution_keys_on_distribution_id ON public.packages_debian_project_distribution_keys USING btree (distribution_id);


--
-- Name: idx_pkgs_dep_links_on_pkg_id_dependency_id_dependency_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_pkgs_dep_links_on_pkg_id_dependency_id_dependency_type ON public.packages_dependency_links USING btree (package_id, dependency_id, dependency_type);


--
-- Name: idx_proj_feat_usg_on_jira_dvcs_cloud_last_sync_at_and_proj_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_proj_feat_usg_on_jira_dvcs_cloud_last_sync_at_and_proj_id ON public.project_feature_usages USING btree (jira_dvcs_cloud_last_sync_at, project_id) WHERE (jira_dvcs_cloud_last_sync_at IS NOT NULL);


--
-- Name: idx_proj_feat_usg_on_jira_dvcs_server_last_sync_at_and_proj_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_proj_feat_usg_on_jira_dvcs_server_last_sync_at_and_proj_id ON public.project_feature_usages USING btree (jira_dvcs_server_last_sync_at, project_id) WHERE (jira_dvcs_server_last_sync_at IS NOT NULL);


--
-- Name: idx_project_id_payload_key_self_managed_prometheus_alert_events; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_project_id_payload_key_self_managed_prometheus_alert_events ON public.self_managed_prometheus_alert_events USING btree (project_id, payload_key);


--
-- Name: idx_project_repository_check_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_project_repository_check_partial ON public.projects USING btree (repository_storage, created_at) WHERE (last_repository_check_at IS NULL);


--
-- Name: idx_projects_id_created_at_disable_overriding_approvers_false; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_projects_id_created_at_disable_overriding_approvers_false ON public.projects USING btree (id, created_at) WHERE ((disable_overriding_approvers_per_merge_request = false) OR (disable_overriding_approvers_per_merge_request IS NULL));


--
-- Name: idx_projects_id_created_at_disable_overriding_approvers_true; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_projects_id_created_at_disable_overriding_approvers_true ON public.projects USING btree (id, created_at) WHERE (disable_overriding_approvers_per_merge_request = true);


--
-- Name: idx_projects_on_repository_storage_last_repository_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_projects_on_repository_storage_last_repository_updated_at ON public.projects USING btree (id, repository_storage, last_repository_updated_at);


--
-- Name: idx_protected_branch_id_external_approval_rule_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_protected_branch_id_external_approval_rule_id ON public.external_approval_rules_protected_branches USING btree (protected_branch_id, external_approval_rule_id);


--
-- Name: idx_repository_states_on_last_repository_verification_ran_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_repository_states_on_last_repository_verification_ran_at ON public.project_repository_states USING btree (project_id, last_repository_verification_ran_at) WHERE ((repository_verification_checksum IS NOT NULL) AND (last_repository_verification_failure IS NULL));


--
-- Name: idx_repository_states_on_last_wiki_verification_ran_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_repository_states_on_last_wiki_verification_ran_at ON public.project_repository_states USING btree (project_id, last_wiki_verification_ran_at) WHERE ((wiki_verification_checksum IS NOT NULL) AND (last_wiki_verification_failure IS NULL));


--
-- Name: idx_repository_states_on_repository_failure_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_repository_states_on_repository_failure_partial ON public.project_repository_states USING btree (last_repository_verification_failure) WHERE (last_repository_verification_failure IS NOT NULL);


--
-- Name: idx_repository_states_on_wiki_failure_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_repository_states_on_wiki_failure_partial ON public.project_repository_states USING btree (last_wiki_verification_failure) WHERE (last_wiki_verification_failure IS NOT NULL);


--
-- Name: idx_repository_states_outdated_checksums; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_repository_states_outdated_checksums ON public.project_repository_states USING btree (project_id) WHERE (((repository_verification_checksum IS NULL) AND (last_repository_verification_failure IS NULL)) OR ((wiki_verification_checksum IS NULL) AND (last_wiki_verification_failure IS NULL)));


--
-- Name: idx_security_scans_on_build_and_scan_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_security_scans_on_build_and_scan_type ON public.security_scans USING btree (build_id, scan_type);


--
-- Name: idx_security_scans_on_scan_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_security_scans_on_scan_type ON public.security_scans USING btree (scan_type);


--
-- Name: idx_serverless_domain_cluster_on_clusters_applications_knative; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_serverless_domain_cluster_on_clusters_applications_knative ON public.serverless_domain_cluster USING btree (clusters_applications_knative_id);


--
-- Name: idx_vuln_signatures_on_occurrences_id_and_signature_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_vuln_signatures_on_occurrences_id_and_signature_sha ON public.vulnerability_finding_signatures USING btree (finding_id, signature_sha);


--
-- Name: idx_vuln_signatures_uniqueness_signature_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_vuln_signatures_uniqueness_signature_sha ON public.vulnerability_finding_signatures USING btree (finding_id, algorithm_type, signature_sha);


--
-- Name: idx_vulnerabilities_partial_devops_adoption; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX idx_vulnerabilities_partial_devops_adoption ON public.vulnerabilities USING btree (project_id, created_at) WHERE (state <> 1);


--
-- Name: idx_vulnerability_ext_issue_links_on_vulne_id_and_ext_issue; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_vulnerability_ext_issue_links_on_vulne_id_and_ext_issue ON public.vulnerability_external_issue_links USING btree (vulnerability_id, external_type, external_project_key, external_issue_key);


--
-- Name: idx_vulnerability_ext_issue_links_on_vulne_id_and_link_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_vulnerability_ext_issue_links_on_vulne_id_and_link_type ON public.vulnerability_external_issue_links USING btree (vulnerability_id, link_type) WHERE (link_type = 1);


--
-- Name: idx_vulnerability_issue_links_on_vulnerability_id_and_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_vulnerability_issue_links_on_vulnerability_id_and_issue_id ON public.vulnerability_issue_links USING btree (vulnerability_id, issue_id);


--
-- Name: idx_vulnerability_issue_links_on_vulnerability_id_and_link_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX idx_vulnerability_issue_links_on_vulnerability_id_and_link_type ON public.vulnerability_issue_links USING btree (vulnerability_id, link_type) WHERE (link_type = 2);


--
-- Name: index_abuse_reports_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_abuse_reports_on_user_id ON public.abuse_reports USING btree (user_id);


--
-- Name: index_alert_assignees_on_alert_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_alert_assignees_on_alert_id ON public.alert_management_alert_assignees USING btree (alert_id);


--
-- Name: index_alert_assignees_on_user_id_and_alert_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_alert_assignees_on_user_id_and_alert_id ON public.alert_management_alert_assignees USING btree (user_id, alert_id);


--
-- Name: index_alert_management_alerts_on_domain; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_alert_management_alerts_on_domain ON public.alert_management_alerts USING btree (domain);


--
-- Name: index_alert_management_alerts_on_environment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_alert_management_alerts_on_environment_id ON public.alert_management_alerts USING btree (environment_id) WHERE (environment_id IS NOT NULL);


--
-- Name: index_alert_management_alerts_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_alert_management_alerts_on_issue_id ON public.alert_management_alerts USING btree (issue_id);


--
-- Name: index_alert_management_alerts_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_alert_management_alerts_on_project_id_and_iid ON public.alert_management_alerts USING btree (project_id, iid);


--
-- Name: index_alert_management_alerts_on_prometheus_alert_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_alert_management_alerts_on_prometheus_alert_id ON public.alert_management_alerts USING btree (prometheus_alert_id) WHERE (prometheus_alert_id IS NOT NULL);


--
-- Name: index_alert_management_http_integrations_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_alert_management_http_integrations_on_project_id ON public.alert_management_http_integrations USING btree (project_id);


--
-- Name: index_alert_user_mentions_on_alert_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_alert_user_mentions_on_alert_id ON public.alert_management_alert_user_mentions USING btree (alert_management_alert_id) WHERE (note_id IS NULL);


--
-- Name: index_alert_user_mentions_on_alert_id_and_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_alert_user_mentions_on_alert_id_and_note_id ON public.alert_management_alert_user_mentions USING btree (alert_management_alert_id, note_id);


--
-- Name: index_alert_user_mentions_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_alert_user_mentions_on_note_id ON public.alert_management_alert_user_mentions USING btree (note_id) WHERE (note_id IS NOT NULL);


--
-- Name: index_allowed_email_domains_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_allowed_email_domains_on_group_id ON public.allowed_email_domains USING btree (group_id);


--
-- Name: index_analytics_ca_group_stages_on_end_event_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_group_stages_on_end_event_label_id ON public.analytics_cycle_analytics_group_stages USING btree (end_event_label_id);


--
-- Name: index_analytics_ca_group_stages_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_group_stages_on_group_id ON public.analytics_cycle_analytics_group_stages USING btree (group_id);


--
-- Name: index_analytics_ca_group_stages_on_relative_position; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_group_stages_on_relative_position ON public.analytics_cycle_analytics_group_stages USING btree (relative_position);


--
-- Name: index_analytics_ca_group_stages_on_start_event_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_group_stages_on_start_event_label_id ON public.analytics_cycle_analytics_group_stages USING btree (start_event_label_id);


--
-- Name: index_analytics_ca_group_stages_on_value_stream_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_group_stages_on_value_stream_id ON public.analytics_cycle_analytics_group_stages USING btree (group_value_stream_id);


--
-- Name: index_analytics_ca_group_value_streams_on_group_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_analytics_ca_group_value_streams_on_group_id_and_name ON public.analytics_cycle_analytics_group_value_streams USING btree (group_id, name);


--
-- Name: index_analytics_ca_project_stages_on_end_event_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_project_stages_on_end_event_label_id ON public.analytics_cycle_analytics_project_stages USING btree (end_event_label_id);


--
-- Name: index_analytics_ca_project_stages_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_project_stages_on_project_id ON public.analytics_cycle_analytics_project_stages USING btree (project_id);


--
-- Name: index_analytics_ca_project_stages_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_analytics_ca_project_stages_on_project_id_and_name ON public.analytics_cycle_analytics_project_stages USING btree (project_id, name);


--
-- Name: index_analytics_ca_project_stages_on_relative_position; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_project_stages_on_relative_position ON public.analytics_cycle_analytics_project_stages USING btree (relative_position);


--
-- Name: index_analytics_ca_project_stages_on_start_event_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_project_stages_on_start_event_label_id ON public.analytics_cycle_analytics_project_stages USING btree (start_event_label_id);


--
-- Name: index_analytics_ca_project_stages_on_value_stream_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_ca_project_stages_on_value_stream_id ON public.analytics_cycle_analytics_project_stages USING btree (project_value_stream_id);


--
-- Name: index_analytics_ca_project_value_streams_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_analytics_ca_project_value_streams_on_project_id_and_name ON public.analytics_cycle_analytics_project_value_streams USING btree (project_id, name);


--
-- Name: index_analytics_cycle_analytics_group_stages_custom_only; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_analytics_cycle_analytics_group_stages_custom_only ON public.analytics_cycle_analytics_group_stages USING btree (id) WHERE (custom = true);


--
-- Name: index_application_settings_on_custom_project_templates_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_application_settings_on_custom_project_templates_group_id ON public.application_settings USING btree (custom_project_templates_group_id);


--
-- Name: index_application_settings_on_file_template_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_application_settings_on_file_template_project_id ON public.application_settings USING btree (file_template_project_id);


--
-- Name: index_application_settings_on_instance_administrators_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_application_settings_on_instance_administrators_group_id ON public.application_settings USING btree (instance_administrators_group_id);


--
-- Name: index_application_settings_on_push_rule_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_application_settings_on_push_rule_id ON public.application_settings USING btree (push_rule_id);


--
-- Name: index_application_settings_on_usage_stats_set_by_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_application_settings_on_usage_stats_set_by_user_id ON public.application_settings USING btree (usage_stats_set_by_user_id);


--
-- Name: index_applicationsettings_on_instance_administration_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_applicationsettings_on_instance_administration_project_id ON public.application_settings USING btree (instance_administration_project_id);


--
-- Name: index_approval_merge_request_rule_sources_1; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approval_merge_request_rule_sources_1 ON public.approval_merge_request_rule_sources USING btree (approval_merge_request_rule_id);


--
-- Name: index_approval_merge_request_rule_sources_2; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_merge_request_rule_sources_2 ON public.approval_merge_request_rule_sources USING btree (approval_project_rule_id);


--
-- Name: index_approval_merge_request_rules_approved_approvers_1; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approval_merge_request_rules_approved_approvers_1 ON public.approval_merge_request_rules_approved_approvers USING btree (approval_merge_request_rule_id, user_id);


--
-- Name: index_approval_merge_request_rules_approved_approvers_2; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_merge_request_rules_approved_approvers_2 ON public.approval_merge_request_rules_approved_approvers USING btree (user_id);


--
-- Name: index_approval_merge_request_rules_groups_1; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approval_merge_request_rules_groups_1 ON public.approval_merge_request_rules_groups USING btree (approval_merge_request_rule_id, group_id);


--
-- Name: index_approval_merge_request_rules_groups_2; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_merge_request_rules_groups_2 ON public.approval_merge_request_rules_groups USING btree (group_id);


--
-- Name: index_approval_merge_request_rules_users_1; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approval_merge_request_rules_users_1 ON public.approval_merge_request_rules_users USING btree (approval_merge_request_rule_id, user_id);


--
-- Name: index_approval_merge_request_rules_users_2; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_merge_request_rules_users_2 ON public.approval_merge_request_rules_users USING btree (user_id);


--
-- Name: index_approval_project_rules_groups_1; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approval_project_rules_groups_1 ON public.approval_project_rules_groups USING btree (approval_project_rule_id, group_id);


--
-- Name: index_approval_project_rules_groups_2; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_project_rules_groups_2 ON public.approval_project_rules_groups USING btree (group_id);


--
-- Name: index_approval_project_rules_on_id_with_regular_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_project_rules_on_id_with_regular_type ON public.approval_project_rules USING btree (id) WHERE (rule_type = 0);


--
-- Name: index_approval_project_rules_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_project_rules_on_project_id ON public.approval_project_rules USING btree (project_id);


--
-- Name: index_approval_project_rules_on_rule_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_project_rules_on_rule_type ON public.approval_project_rules USING btree (rule_type);


--
-- Name: index_approval_project_rules_protected_branches_pb_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_project_rules_protected_branches_pb_id ON public.approval_project_rules_protected_branches USING btree (protected_branch_id);


--
-- Name: index_approval_project_rules_users_1; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approval_project_rules_users_1 ON public.approval_project_rules_users USING btree (approval_project_rule_id, user_id);


--
-- Name: index_approval_project_rules_users_2; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_project_rules_users_2 ON public.approval_project_rules_users USING btree (user_id);


--
-- Name: index_approval_project_rules_users_on_approval_project_rule_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_project_rules_users_on_approval_project_rule_id ON public.approval_project_rules_users USING btree (approval_project_rule_id);


--
-- Name: index_approval_rule_name_for_code_owners_rule_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approval_rule_name_for_code_owners_rule_type ON public.approval_merge_request_rules USING btree (merge_request_id, name) WHERE ((rule_type = 2) AND (section IS NULL));


--
-- Name: index_approval_rule_name_for_sectional_code_owners_rule_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approval_rule_name_for_sectional_code_owners_rule_type ON public.approval_merge_request_rules USING btree (merge_request_id, name, section) WHERE (rule_type = 2);


--
-- Name: index_approval_rules_code_owners_rule_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approval_rules_code_owners_rule_type ON public.approval_merge_request_rules USING btree (merge_request_id) WHERE (rule_type = 2);


--
-- Name: index_approvals_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approvals_on_merge_request_id ON public.approvals USING btree (merge_request_id);


--
-- Name: index_approvals_on_merge_request_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approvals_on_merge_request_id_and_created_at ON public.approvals USING btree (merge_request_id, created_at);


--
-- Name: index_approvals_on_user_id_and_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_approvals_on_user_id_and_merge_request_id ON public.approvals USING btree (user_id, merge_request_id);


--
-- Name: index_approver_groups_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approver_groups_on_group_id ON public.approver_groups USING btree (group_id);


--
-- Name: index_approver_groups_on_target_id_and_target_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approver_groups_on_target_id_and_target_type ON public.approver_groups USING btree (target_id, target_type);


--
-- Name: index_approvers_on_target_id_and_target_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approvers_on_target_id_and_target_type ON public.approvers USING btree (target_id, target_type);


--
-- Name: index_approvers_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_approvers_on_user_id ON public.approvers USING btree (user_id);


--
-- Name: index_atlassian_identities_on_extern_uid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_atlassian_identities_on_extern_uid ON public.atlassian_identities USING btree (extern_uid);


--
-- Name: index_authentication_events_on_provider; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_authentication_events_on_provider ON public.authentication_events USING btree (provider);


--
-- Name: index_authentication_events_on_provider_user_id_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_authentication_events_on_provider_user_id_created_at ON public.authentication_events USING btree (provider, user_id, created_at) WHERE (result = 1);


--
-- Name: index_authentication_events_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_authentication_events_on_user_id ON public.authentication_events USING btree (user_id);


--
-- Name: index_award_emoji_on_awardable_type_and_awardable_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_award_emoji_on_awardable_type_and_awardable_id ON public.award_emoji USING btree (awardable_type, awardable_id);


--
-- Name: index_aws_roles_on_role_external_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_aws_roles_on_role_external_id ON public.aws_roles USING btree (role_external_id);


--
-- Name: index_aws_roles_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_aws_roles_on_user_id ON public.aws_roles USING btree (user_id);


--
-- Name: index_background_migration_jobs_for_partitioning_migrations; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_background_migration_jobs_for_partitioning_migrations ON public.background_migration_jobs USING btree (((arguments ->> 2))) WHERE (class_name = 'Gitlab::Database::PartitioningMigrationHelpers::BackfillPartitionedTable'::text);


--
-- Name: index_background_migration_jobs_on_class_name_and_arguments; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_background_migration_jobs_on_class_name_and_arguments ON public.background_migration_jobs USING btree (class_name, arguments);


--
-- Name: index_background_migration_jobs_on_class_name_and_status_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_background_migration_jobs_on_class_name_and_status_and_id ON public.background_migration_jobs USING btree (class_name, status, id);


--
-- Name: index_badges_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_badges_on_group_id ON public.badges USING btree (group_id);


--
-- Name: index_badges_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_badges_on_project_id ON public.badges USING btree (project_id);


--
-- Name: index_batched_background_migrations_on_unique_configuration; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_batched_background_migrations_on_unique_configuration ON public.batched_background_migrations USING btree (job_class_name, table_name, column_name, job_arguments);


--
-- Name: index_batched_jobs_by_batched_migration_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_batched_jobs_by_batched_migration_id_and_id ON public.batched_background_migration_jobs USING btree (batched_background_migration_id, id);


--
-- Name: index_batched_jobs_on_batched_migration_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_batched_jobs_on_batched_migration_id_and_status ON public.batched_background_migration_jobs USING btree (batched_background_migration_id, status);


--
-- Name: index_board_assignees_on_assignee_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_assignees_on_assignee_id ON public.board_assignees USING btree (assignee_id);


--
-- Name: index_board_assignees_on_board_id_and_assignee_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_board_assignees_on_board_id_and_assignee_id ON public.board_assignees USING btree (board_id, assignee_id);


--
-- Name: index_board_group_recent_visits_on_board_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_group_recent_visits_on_board_id ON public.board_group_recent_visits USING btree (board_id);


--
-- Name: index_board_group_recent_visits_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_group_recent_visits_on_group_id ON public.board_group_recent_visits USING btree (group_id);


--
-- Name: index_board_group_recent_visits_on_user_group_and_board; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_board_group_recent_visits_on_user_group_and_board ON public.board_group_recent_visits USING btree (user_id, group_id, board_id);


--
-- Name: index_board_group_recent_visits_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_group_recent_visits_on_user_id ON public.board_group_recent_visits USING btree (user_id);


--
-- Name: index_board_labels_on_board_id_and_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_board_labels_on_board_id_and_label_id ON public.board_labels USING btree (board_id, label_id);


--
-- Name: index_board_labels_on_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_labels_on_label_id ON public.board_labels USING btree (label_id);


--
-- Name: index_board_project_recent_visits_on_board_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_project_recent_visits_on_board_id ON public.board_project_recent_visits USING btree (board_id);


--
-- Name: index_board_project_recent_visits_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_project_recent_visits_on_project_id ON public.board_project_recent_visits USING btree (project_id);


--
-- Name: index_board_project_recent_visits_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_project_recent_visits_on_user_id ON public.board_project_recent_visits USING btree (user_id);


--
-- Name: index_board_project_recent_visits_on_user_project_and_board; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_board_project_recent_visits_on_user_project_and_board ON public.board_project_recent_visits USING btree (user_id, project_id, board_id);


--
-- Name: index_board_user_preferences_on_board_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_user_preferences_on_board_id ON public.board_user_preferences USING btree (board_id);


--
-- Name: index_board_user_preferences_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_board_user_preferences_on_user_id ON public.board_user_preferences USING btree (user_id);


--
-- Name: index_board_user_preferences_on_user_id_and_board_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_board_user_preferences_on_user_id_and_board_id ON public.board_user_preferences USING btree (user_id, board_id);


--
-- Name: index_boards_epic_board_labels_on_epic_board_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_board_labels_on_epic_board_id ON public.boards_epic_board_labels USING btree (epic_board_id);


--
-- Name: index_boards_epic_board_labels_on_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_board_labels_on_label_id ON public.boards_epic_board_labels USING btree (label_id);


--
-- Name: index_boards_epic_board_positions_on_epic_board_id_and_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_boards_epic_board_positions_on_epic_board_id_and_epic_id ON public.boards_epic_board_positions USING btree (epic_board_id, epic_id);


--
-- Name: index_boards_epic_board_positions_on_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_board_positions_on_epic_id ON public.boards_epic_board_positions USING btree (epic_id);


--
-- Name: index_boards_epic_board_positions_on_scoped_relative_position; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_board_positions_on_scoped_relative_position ON public.boards_epic_board_positions USING btree (epic_board_id, epic_id, relative_position);


--
-- Name: index_boards_epic_board_recent_visits_on_epic_board_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_board_recent_visits_on_epic_board_id ON public.boards_epic_board_recent_visits USING btree (epic_board_id);


--
-- Name: index_boards_epic_board_recent_visits_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_board_recent_visits_on_group_id ON public.boards_epic_board_recent_visits USING btree (group_id);


--
-- Name: index_boards_epic_board_recent_visits_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_board_recent_visits_on_user_id ON public.boards_epic_board_recent_visits USING btree (user_id);


--
-- Name: index_boards_epic_boards_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_boards_on_group_id ON public.boards_epic_boards USING btree (group_id);


--
-- Name: index_boards_epic_list_user_preferences_on_epic_list_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_list_user_preferences_on_epic_list_id ON public.boards_epic_list_user_preferences USING btree (epic_list_id);


--
-- Name: index_boards_epic_lists_on_epic_board_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_lists_on_epic_board_id ON public.boards_epic_lists USING btree (epic_board_id);


--
-- Name: index_boards_epic_lists_on_epic_board_id_and_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_boards_epic_lists_on_epic_board_id_and_label_id ON public.boards_epic_lists USING btree (epic_board_id, label_id) WHERE (list_type = 1);


--
-- Name: index_boards_epic_lists_on_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_lists_on_label_id ON public.boards_epic_lists USING btree (label_id);


--
-- Name: index_boards_epic_user_preferences_on_board_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_user_preferences_on_board_id ON public.boards_epic_user_preferences USING btree (board_id);


--
-- Name: index_boards_epic_user_preferences_on_board_user_epic_unique; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_boards_epic_user_preferences_on_board_user_epic_unique ON public.boards_epic_user_preferences USING btree (board_id, user_id, epic_id);


--
-- Name: index_boards_epic_user_preferences_on_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_user_preferences_on_epic_id ON public.boards_epic_user_preferences USING btree (epic_id);


--
-- Name: index_boards_epic_user_preferences_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_epic_user_preferences_on_user_id ON public.boards_epic_user_preferences USING btree (user_id);


--
-- Name: index_boards_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_on_group_id ON public.boards USING btree (group_id);


--
-- Name: index_boards_on_iteration_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_on_iteration_id ON public.boards USING btree (iteration_id);


--
-- Name: index_boards_on_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_on_milestone_id ON public.boards USING btree (milestone_id);


--
-- Name: index_boards_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_boards_on_project_id ON public.boards USING btree (project_id);


--
-- Name: index_broadcast_message_on_ends_at_and_broadcast_type_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_broadcast_message_on_ends_at_and_broadcast_type_and_id ON public.broadcast_messages USING btree (ends_at, broadcast_type, id);


--
-- Name: index_bulk_import_configurations_on_bulk_import_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_import_configurations_on_bulk_import_id ON public.bulk_import_configurations USING btree (bulk_import_id);


--
-- Name: index_bulk_import_entities_on_bulk_import_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_import_entities_on_bulk_import_id_and_status ON public.bulk_import_entities USING btree (bulk_import_id, status);


--
-- Name: index_bulk_import_entities_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_import_entities_on_namespace_id ON public.bulk_import_entities USING btree (namespace_id);


--
-- Name: index_bulk_import_entities_on_parent_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_import_entities_on_parent_id ON public.bulk_import_entities USING btree (parent_id);


--
-- Name: index_bulk_import_entities_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_import_entities_on_project_id ON public.bulk_import_entities USING btree (project_id);


--
-- Name: index_bulk_import_export_uploads_on_export_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_import_export_uploads_on_export_id ON public.bulk_import_export_uploads USING btree (export_id);


--
-- Name: index_bulk_import_failures_on_bulk_import_entity_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_import_failures_on_bulk_import_entity_id ON public.bulk_import_failures USING btree (bulk_import_entity_id);


--
-- Name: index_bulk_import_failures_on_correlation_id_value; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_import_failures_on_correlation_id_value ON public.bulk_import_failures USING btree (correlation_id_value);


--
-- Name: index_bulk_imports_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_bulk_imports_on_user_id ON public.bulk_imports USING btree (user_id);


--
-- Name: index_chat_names_on_service_id_and_team_id_and_chat_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_chat_names_on_service_id_and_team_id_and_chat_id ON public.chat_names USING btree (service_id, team_id, chat_id);


--
-- Name: index_chat_names_on_user_id_and_service_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_chat_names_on_user_id_and_service_id ON public.chat_names USING btree (user_id, service_id);


--
-- Name: index_chat_teams_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_chat_teams_on_namespace_id ON public.chat_teams USING btree (namespace_id);


--
-- Name: index_ci_build_needs_on_build_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_build_needs_on_build_id_and_name ON public.ci_build_needs USING btree (build_id, name);


--
-- Name: index_ci_build_pending_states_on_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_build_pending_states_on_build_id ON public.ci_build_pending_states USING btree (build_id);


--
-- Name: index_ci_build_report_results_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_build_report_results_on_project_id ON public.ci_build_report_results USING btree (project_id);


--
-- Name: index_ci_build_trace_chunks_on_build_id_and_chunk_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_build_trace_chunks_on_build_id_and_chunk_index ON public.ci_build_trace_chunks USING btree (build_id, chunk_index);


--
-- Name: index_ci_build_trace_metadata_on_trace_artifact_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_build_trace_metadata_on_trace_artifact_id ON public.ci_build_trace_metadata USING btree (trace_artifact_id);


--
-- Name: index_ci_builds_metadata_on_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_builds_metadata_on_build_id ON public.ci_builds_metadata USING btree (build_id);


--
-- Name: index_ci_builds_metadata_on_build_id_and_has_exposed_artifacts; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_metadata_on_build_id_and_has_exposed_artifacts ON public.ci_builds_metadata USING btree (build_id) WHERE (has_exposed_artifacts IS TRUE);


--
-- Name: index_ci_builds_metadata_on_build_id_and_id_and_interruptible; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_metadata_on_build_id_and_id_and_interruptible ON public.ci_builds_metadata USING btree (build_id) INCLUDE (id) WHERE (interruptible = true);


--
-- Name: index_ci_builds_metadata_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_metadata_on_project_id ON public.ci_builds_metadata USING btree (project_id);


--
-- Name: index_ci_builds_on_auto_canceled_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_auto_canceled_by_id ON public.ci_builds USING btree (auto_canceled_by_id);


--
-- Name: index_ci_builds_on_commit_id_and_stage_idx_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_commit_id_and_stage_idx_and_created_at ON public.ci_builds USING btree (commit_id, stage_idx, created_at);


--
-- Name: index_ci_builds_on_commit_id_and_status_and_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_commit_id_and_status_and_type ON public.ci_builds USING btree (commit_id, status, type);


--
-- Name: index_ci_builds_on_commit_id_and_type_and_name_and_ref; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_commit_id_and_type_and_name_and_ref ON public.ci_builds USING btree (commit_id, type, name, ref);


--
-- Name: index_ci_builds_on_commit_id_and_type_and_ref; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_commit_id_and_type_and_ref ON public.ci_builds USING btree (commit_id, type, ref);


--
-- Name: index_ci_builds_on_commit_id_artifacts_expired_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_commit_id_artifacts_expired_at_and_id ON public.ci_builds USING btree (commit_id, artifacts_expire_at, id) WHERE (((type)::text = 'Ci::Build'::text) AND ((retried = false) OR (retried IS NULL)) AND ((name)::text = ANY (ARRAY[('sast'::character varying)::text, ('secret_detection'::character varying)::text, ('dependency_scanning'::character varying)::text, ('container_scanning'::character varying)::text, ('dast'::character varying)::text])));


--
-- Name: index_ci_builds_on_project_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_project_id_and_id ON public.ci_builds USING btree (project_id, id);


--
-- Name: index_ci_builds_on_project_id_and_name_and_ref; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_project_id_and_name_and_ref ON public.ci_builds USING btree (project_id, name, ref) WHERE (((type)::text = 'Ci::Build'::text) AND ((status)::text = 'success'::text) AND ((retried = false) OR (retried IS NULL)));


--
-- Name: index_ci_builds_on_project_id_for_successfull_pages_deploy; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_project_id_for_successfull_pages_deploy ON public.ci_builds USING btree (project_id) WHERE (((type)::text = 'GenericCommitStatus'::text) AND ((stage)::text = 'deploy'::text) AND ((name)::text = 'pages:deploy'::text) AND ((status)::text = 'success'::text));


--
-- Name: index_ci_builds_on_queued_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_queued_at ON public.ci_builds USING btree (queued_at);


--
-- Name: index_ci_builds_on_runner_id_and_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_runner_id_and_id_desc ON public.ci_builds USING btree (runner_id, id DESC);


--
-- Name: index_ci_builds_on_stage_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_stage_id ON public.ci_builds USING btree (stage_id);


--
-- Name: index_ci_builds_on_status_and_type_and_runner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_status_and_type_and_runner_id ON public.ci_builds USING btree (status, type, runner_id);


--
-- Name: index_ci_builds_on_token_encrypted; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_builds_on_token_encrypted ON public.ci_builds USING btree (token_encrypted) WHERE (token_encrypted IS NOT NULL);


--
-- Name: index_ci_builds_on_token_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_builds_on_token_partial ON public.ci_builds USING btree (token) WHERE (token IS NOT NULL);


--
-- Name: index_ci_builds_on_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_updated_at ON public.ci_builds USING btree (updated_at);


--
-- Name: index_ci_builds_on_upstream_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_upstream_pipeline_id ON public.ci_builds USING btree (upstream_pipeline_id) WHERE (upstream_pipeline_id IS NOT NULL);


--
-- Name: index_ci_builds_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_user_id ON public.ci_builds USING btree (user_id);


--
-- Name: index_ci_builds_on_user_id_and_created_at_and_type_eq_ci_build; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_on_user_id_and_created_at_and_type_eq_ci_build ON public.ci_builds USING btree (user_id, created_at) WHERE ((type)::text = 'Ci::Build'::text);


--
-- Name: index_ci_builds_project_id_and_status_for_live_jobs_partial2; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_project_id_and_status_for_live_jobs_partial2 ON public.ci_builds USING btree (project_id, status) WHERE (((type)::text = 'Ci::Build'::text) AND ((status)::text = ANY (ARRAY[('running'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text])));


--
-- Name: index_ci_builds_runner_id_pending_covering; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_runner_id_pending_covering ON public.ci_builds USING btree (runner_id, id) INCLUDE (project_id) WHERE (((status)::text = 'pending'::text) AND ((type)::text = 'Ci::Build'::text));


--
-- Name: index_ci_builds_runner_id_running; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_builds_runner_id_running ON public.ci_builds USING btree (runner_id) WHERE (((status)::text = 'running'::text) AND ((type)::text = 'Ci::Build'::text));


--
-- Name: index_ci_builds_runner_session_on_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_builds_runner_session_on_build_id ON public.ci_builds_runner_session USING btree (build_id);


--
-- Name: index_ci_daily_build_group_report_results_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_daily_build_group_report_results_on_group_id ON public.ci_daily_build_group_report_results USING btree (group_id);


--
-- Name: index_ci_daily_build_group_report_results_on_last_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_daily_build_group_report_results_on_last_pipeline_id ON public.ci_daily_build_group_report_results USING btree (last_pipeline_id);


--
-- Name: index_ci_daily_build_group_report_results_on_project_and_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_daily_build_group_report_results_on_project_and_date ON public.ci_daily_build_group_report_results USING btree (project_id, date DESC) WHERE ((default_branch = true) AND ((data -> 'coverage'::text) IS NOT NULL));


--
-- Name: index_ci_deleted_objects_on_pick_up_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_deleted_objects_on_pick_up_at ON public.ci_deleted_objects USING btree (pick_up_at);


--
-- Name: index_ci_freeze_periods_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_freeze_periods_on_project_id ON public.ci_freeze_periods USING btree (project_id);


--
-- Name: index_ci_group_variables_on_group_id_and_key_and_environment; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_group_variables_on_group_id_and_key_and_environment ON public.ci_group_variables USING btree (group_id, key, environment_scope);


--
-- Name: index_ci_instance_variables_on_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_instance_variables_on_key ON public.ci_instance_variables USING btree (key);


--
-- Name: index_ci_job_artifacts_for_terraform_reports; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_artifacts_for_terraform_reports ON public.ci_job_artifacts USING btree (project_id, id) WHERE (file_type = 18);


--
-- Name: index_ci_job_artifacts_id_for_terraform_reports; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_artifacts_id_for_terraform_reports ON public.ci_job_artifacts USING btree (id) WHERE (file_type = 18);


--
-- Name: index_ci_job_artifacts_on_expire_at_and_job_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_artifacts_on_expire_at_and_job_id ON public.ci_job_artifacts USING btree (expire_at, job_id);


--
-- Name: index_ci_job_artifacts_on_file_store; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_artifacts_on_file_store ON public.ci_job_artifacts USING btree (file_store);


--
-- Name: index_ci_job_artifacts_on_file_type_for_devops_adoption; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_artifacts_on_file_type_for_devops_adoption ON public.ci_job_artifacts USING btree (file_type, project_id, created_at) WHERE (file_type = ANY (ARRAY[5, 6, 8, 23]));


--
-- Name: index_ci_job_artifacts_on_job_id_and_file_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_job_artifacts_on_job_id_and_file_type ON public.ci_job_artifacts USING btree (job_id, file_type);


--
-- Name: index_ci_job_artifacts_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_artifacts_on_project_id ON public.ci_job_artifacts USING btree (project_id);


--
-- Name: index_ci_job_artifacts_on_project_id_for_security_reports; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_artifacts_on_project_id_for_security_reports ON public.ci_job_artifacts USING btree (project_id) WHERE (file_type = ANY (ARRAY[5, 6, 7, 8]));


--
-- Name: index_ci_job_token_project_scope_links_on_added_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_token_project_scope_links_on_added_by_id ON public.ci_job_token_project_scope_links USING btree (added_by_id);


--
-- Name: index_ci_job_token_project_scope_links_on_target_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_token_project_scope_links_on_target_project_id ON public.ci_job_token_project_scope_links USING btree (target_project_id);


--
-- Name: index_ci_job_variables_on_job_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_job_variables_on_job_id ON public.ci_job_variables USING btree (job_id);


--
-- Name: index_ci_job_variables_on_key_and_job_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_job_variables_on_key_and_job_id ON public.ci_job_variables USING btree (key, job_id);


--
-- Name: index_ci_minutes_additional_packs_on_namespace_id_purchase_xid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_minutes_additional_packs_on_namespace_id_purchase_xid ON public.ci_minutes_additional_packs USING btree (namespace_id, purchase_xid);


--
-- Name: index_ci_namespace_monthly_usages_on_namespace_id_and_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_namespace_monthly_usages_on_namespace_id_and_date ON public.ci_namespace_monthly_usages USING btree (namespace_id, date);


--
-- Name: index_ci_pending_builds_id_on_protected_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pending_builds_id_on_protected_partial ON public.ci_pending_builds USING btree (id) WHERE (protected = true);


--
-- Name: index_ci_pending_builds_on_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_pending_builds_on_build_id ON public.ci_pending_builds USING btree (build_id);


--
-- Name: index_ci_pending_builds_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pending_builds_on_namespace_id ON public.ci_pending_builds USING btree (namespace_id);


--
-- Name: index_ci_pending_builds_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pending_builds_on_project_id ON public.ci_pending_builds USING btree (project_id);


--
-- Name: index_ci_pipeline_artifacts_failed_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_artifacts_failed_verification ON public.ci_pipeline_artifacts USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);


--
-- Name: index_ci_pipeline_artifacts_needs_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_artifacts_needs_verification ON public.ci_pipeline_artifacts USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));


--
-- Name: index_ci_pipeline_artifacts_on_expire_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_artifacts_on_expire_at ON public.ci_pipeline_artifacts USING btree (expire_at);


--
-- Name: index_ci_pipeline_artifacts_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_artifacts_on_pipeline_id ON public.ci_pipeline_artifacts USING btree (pipeline_id);


--
-- Name: index_ci_pipeline_artifacts_on_pipeline_id_and_file_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_pipeline_artifacts_on_pipeline_id_and_file_type ON public.ci_pipeline_artifacts USING btree (pipeline_id, file_type);


--
-- Name: index_ci_pipeline_artifacts_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_artifacts_on_project_id ON public.ci_pipeline_artifacts USING btree (project_id);


--
-- Name: index_ci_pipeline_artifacts_pending_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_artifacts_pending_verification ON public.ci_pipeline_artifacts USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);


--
-- Name: index_ci_pipeline_artifacts_verification_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_artifacts_verification_state ON public.ci_pipeline_artifacts USING btree (verification_state);


--
-- Name: index_ci_pipeline_chat_data_on_chat_name_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_chat_data_on_chat_name_id ON public.ci_pipeline_chat_data USING btree (chat_name_id);


--
-- Name: index_ci_pipeline_chat_data_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_pipeline_chat_data_on_pipeline_id ON public.ci_pipeline_chat_data USING btree (pipeline_id);


--
-- Name: index_ci_pipeline_messages_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_messages_on_pipeline_id ON public.ci_pipeline_messages USING btree (pipeline_id);


--
-- Name: index_ci_pipeline_schedule_variables_on_schedule_id_and_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_pipeline_schedule_variables_on_schedule_id_and_key ON public.ci_pipeline_schedule_variables USING btree (pipeline_schedule_id, key);


--
-- Name: index_ci_pipeline_schedules_on_next_run_at_and_active; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_schedules_on_next_run_at_and_active ON public.ci_pipeline_schedules USING btree (next_run_at, active);


--
-- Name: index_ci_pipeline_schedules_on_owner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_schedules_on_owner_id ON public.ci_pipeline_schedules USING btree (owner_id);


--
-- Name: index_ci_pipeline_schedules_on_owner_id_and_id_and_active; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_schedules_on_owner_id_and_id_and_active ON public.ci_pipeline_schedules USING btree (owner_id, id) WHERE (active = true);


--
-- Name: index_ci_pipeline_schedules_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipeline_schedules_on_project_id ON public.ci_pipeline_schedules USING btree (project_id);


--
-- Name: index_ci_pipeline_variables_on_pipeline_id_and_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_pipeline_variables_on_pipeline_id_and_key ON public.ci_pipeline_variables USING btree (pipeline_id, key);


--
-- Name: index_ci_pipelines_config_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_config_on_pipeline_id ON public.ci_pipelines_config USING btree (pipeline_id);


--
-- Name: index_ci_pipelines_for_ondemand_dast_scans; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_for_ondemand_dast_scans ON public.ci_pipelines USING btree (id) WHERE (source = 13);


--
-- Name: index_ci_pipelines_on_auto_canceled_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_auto_canceled_by_id ON public.ci_pipelines USING btree (auto_canceled_by_id);


--
-- Name: index_ci_pipelines_on_ci_ref_id_and_more; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_ci_ref_id_and_more ON public.ci_pipelines USING btree (ci_ref_id, id DESC, source, status) WHERE (ci_ref_id IS NOT NULL);


--
-- Name: index_ci_pipelines_on_external_pull_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_external_pull_request_id ON public.ci_pipelines USING btree (external_pull_request_id) WHERE (external_pull_request_id IS NOT NULL);


--
-- Name: index_ci_pipelines_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_merge_request_id ON public.ci_pipelines USING btree (merge_request_id) WHERE (merge_request_id IS NOT NULL);


--
-- Name: index_ci_pipelines_on_pipeline_schedule_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_pipeline_schedule_id_and_id ON public.ci_pipelines USING btree (pipeline_schedule_id, id);


--
-- Name: index_ci_pipelines_on_project_id_and_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_id_and_id_desc ON public.ci_pipelines USING btree (project_id, id DESC);


--
-- Name: index_ci_pipelines_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_pipelines_on_project_id_and_iid ON public.ci_pipelines USING btree (project_id, iid) WHERE (iid IS NOT NULL);


--
-- Name: index_ci_pipelines_on_project_id_and_ref_and_status_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_id_and_ref_and_status_and_id ON public.ci_pipelines USING btree (project_id, ref, status, id);


--
-- Name: index_ci_pipelines_on_project_id_and_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_id_and_sha ON public.ci_pipelines USING btree (project_id, sha);


--
-- Name: index_ci_pipelines_on_project_id_and_source; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_id_and_source ON public.ci_pipelines USING btree (project_id, source);


--
-- Name: index_ci_pipelines_on_project_id_and_status_and_config_source; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_id_and_status_and_config_source ON public.ci_pipelines USING btree (project_id, status, config_source);


--
-- Name: index_ci_pipelines_on_project_id_and_status_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_id_and_status_and_created_at ON public.ci_pipelines USING btree (project_id, status, created_at);


--
-- Name: index_ci_pipelines_on_project_id_and_status_and_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_id_and_status_and_updated_at ON public.ci_pipelines USING btree (project_id, status, updated_at);


--
-- Name: index_ci_pipelines_on_project_id_and_user_id_and_status_and_ref; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_id_and_user_id_and_status_and_ref ON public.ci_pipelines USING btree (project_id, user_id, status, ref) WHERE (source <> 12);


--
-- Name: index_ci_pipelines_on_project_idandrefandiddesc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_project_idandrefandiddesc ON public.ci_pipelines USING btree (project_id, ref, id DESC);


--
-- Name: index_ci_pipelines_on_status_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_status_and_id ON public.ci_pipelines USING btree (status, id);


--
-- Name: index_ci_pipelines_on_user_id_and_created_at_and_config_source; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_user_id_and_created_at_and_config_source ON public.ci_pipelines USING btree (user_id, created_at, config_source);


--
-- Name: index_ci_pipelines_on_user_id_and_created_at_and_source; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_user_id_and_created_at_and_source ON public.ci_pipelines USING btree (user_id, created_at, source);


--
-- Name: index_ci_pipelines_on_user_id_and_id_and_cancelable_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_pipelines_on_user_id_and_id_and_cancelable_status ON public.ci_pipelines USING btree (user_id, id) WHERE ((status)::text = ANY (ARRAY[('running'::character varying)::text, ('waiting_for_resource'::character varying)::text, ('preparing'::character varying)::text, ('pending'::character varying)::text, ('created'::character varying)::text, ('scheduled'::character varying)::text]));


--
-- Name: index_ci_project_monthly_usages_on_project_id_and_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_project_monthly_usages_on_project_id_and_date ON public.ci_project_monthly_usages USING btree (project_id, date);


--
-- Name: index_ci_refs_on_project_id_and_ref_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_refs_on_project_id_and_ref_path ON public.ci_refs USING btree (project_id, ref_path);


--
-- Name: index_ci_resource_groups_on_project_id_and_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_resource_groups_on_project_id_and_key ON public.ci_resource_groups USING btree (project_id, key);


--
-- Name: index_ci_resources_on_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_resources_on_build_id ON public.ci_resources USING btree (build_id);


--
-- Name: index_ci_resources_on_resource_group_id_and_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_resources_on_resource_group_id_and_build_id ON public.ci_resources USING btree (resource_group_id, build_id);


--
-- Name: index_ci_runner_namespaces_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runner_namespaces_on_namespace_id ON public.ci_runner_namespaces USING btree (namespace_id);


--
-- Name: index_ci_runner_namespaces_on_runner_id_and_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_runner_namespaces_on_runner_id_and_namespace_id ON public.ci_runner_namespaces USING btree (runner_id, namespace_id);


--
-- Name: index_ci_runner_projects_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runner_projects_on_project_id ON public.ci_runner_projects USING btree (project_id);


--
-- Name: index_ci_runner_projects_on_runner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runner_projects_on_runner_id ON public.ci_runner_projects USING btree (runner_id);


--
-- Name: index_ci_runners_on_contacted_at_and_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_contacted_at_and_id_desc ON public.ci_runners USING btree (contacted_at, id DESC);


--
-- Name: index_ci_runners_on_contacted_at_desc_and_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_contacted_at_desc_and_id_desc ON public.ci_runners USING btree (contacted_at DESC, id DESC);


--
-- Name: index_ci_runners_on_created_at_and_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_created_at_and_id_desc ON public.ci_runners USING btree (created_at, id DESC);


--
-- Name: index_ci_runners_on_created_at_desc_and_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_created_at_desc_and_id_desc ON public.ci_runners USING btree (created_at DESC, id DESC);


--
-- Name: index_ci_runners_on_description_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_description_trigram ON public.ci_runners USING gin (description public.gin_trgm_ops);


--
-- Name: index_ci_runners_on_locked; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_locked ON public.ci_runners USING btree (locked);


--
-- Name: index_ci_runners_on_runner_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_runner_type ON public.ci_runners USING btree (runner_type);


--
-- Name: index_ci_runners_on_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_token ON public.ci_runners USING btree (token);


--
-- Name: index_ci_runners_on_token_encrypted; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_runners_on_token_encrypted ON public.ci_runners USING btree (token_encrypted);


--
-- Name: index_ci_running_builds_on_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_running_builds_on_build_id ON public.ci_running_builds USING btree (build_id);


--
-- Name: index_ci_running_builds_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_running_builds_on_project_id ON public.ci_running_builds USING btree (project_id);


--
-- Name: index_ci_running_builds_on_runner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_running_builds_on_runner_id ON public.ci_running_builds USING btree (runner_id);


--
-- Name: index_ci_sources_pipelines_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_sources_pipelines_on_pipeline_id ON public.ci_sources_pipelines USING btree (pipeline_id);


--
-- Name: index_ci_sources_pipelines_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_sources_pipelines_on_project_id ON public.ci_sources_pipelines USING btree (project_id);


--
-- Name: index_ci_sources_pipelines_on_source_job_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_sources_pipelines_on_source_job_id ON public.ci_sources_pipelines USING btree (source_job_id);


--
-- Name: index_ci_sources_pipelines_on_source_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_sources_pipelines_on_source_pipeline_id ON public.ci_sources_pipelines USING btree (source_pipeline_id);


--
-- Name: index_ci_sources_pipelines_on_source_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_sources_pipelines_on_source_project_id ON public.ci_sources_pipelines USING btree (source_project_id);


--
-- Name: index_ci_sources_projects_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_sources_projects_on_pipeline_id ON public.ci_sources_projects USING btree (pipeline_id);


--
-- Name: index_ci_sources_projects_on_source_project_id_and_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_sources_projects_on_source_project_id_and_pipeline_id ON public.ci_sources_projects USING btree (source_project_id, pipeline_id);


--
-- Name: index_ci_stages_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_stages_on_pipeline_id ON public.ci_stages USING btree (pipeline_id);


--
-- Name: index_ci_stages_on_pipeline_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_stages_on_pipeline_id_and_id ON public.ci_stages USING btree (pipeline_id, id) WHERE (status = ANY (ARRAY[0, 1, 2, 8, 9, 10]));


--
-- Name: index_ci_stages_on_pipeline_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_stages_on_pipeline_id_and_name ON public.ci_stages USING btree (pipeline_id, name);


--
-- Name: index_ci_stages_on_pipeline_id_and_position; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_stages_on_pipeline_id_and_position ON public.ci_stages USING btree (pipeline_id, "position");


--
-- Name: index_ci_stages_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_stages_on_project_id ON public.ci_stages USING btree (project_id);


--
-- Name: index_ci_subscriptions_projects_on_upstream_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_subscriptions_projects_on_upstream_project_id ON public.ci_subscriptions_projects USING btree (upstream_project_id);


--
-- Name: index_ci_subscriptions_projects_unique_subscription; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_subscriptions_projects_unique_subscription ON public.ci_subscriptions_projects USING btree (downstream_project_id, upstream_project_id);


--
-- Name: index_ci_trigger_requests_on_commit_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_trigger_requests_on_commit_id ON public.ci_trigger_requests USING btree (commit_id);


--
-- Name: index_ci_trigger_requests_on_trigger_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_trigger_requests_on_trigger_id_and_id ON public.ci_trigger_requests USING btree (trigger_id, id DESC);


--
-- Name: index_ci_triggers_on_owner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_triggers_on_owner_id ON public.ci_triggers USING btree (owner_id);


--
-- Name: index_ci_triggers_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_triggers_on_project_id ON public.ci_triggers USING btree (project_id);


--
-- Name: index_ci_unit_test_failures_on_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_unit_test_failures_on_build_id ON public.ci_unit_test_failures USING btree (build_id);


--
-- Name: index_ci_unit_tests_on_project_id_and_key_hash; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_unit_tests_on_project_id_and_key_hash ON public.ci_unit_tests USING btree (project_id, key_hash);


--
-- Name: index_ci_variables_on_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ci_variables_on_key ON public.ci_variables USING btree (key);


--
-- Name: index_ci_variables_on_project_id_and_key_and_environment_scope; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ci_variables_on_project_id_and_key_and_environment_scope ON public.ci_variables USING btree (project_id, key, environment_scope);


--
-- Name: index_cluster_agent_tokens_on_agent_id_and_last_used_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_cluster_agent_tokens_on_agent_id_and_last_used_at ON public.cluster_agent_tokens USING btree (agent_id, last_used_at DESC NULLS LAST);


--
-- Name: index_cluster_agent_tokens_on_created_by_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_cluster_agent_tokens_on_created_by_user_id ON public.cluster_agent_tokens USING btree (created_by_user_id);


--
-- Name: index_cluster_agent_tokens_on_token_encrypted; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_cluster_agent_tokens_on_token_encrypted ON public.cluster_agent_tokens USING btree (token_encrypted);


--
-- Name: index_cluster_agents_on_created_by_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_cluster_agents_on_created_by_user_id ON public.cluster_agents USING btree (created_by_user_id);


--
-- Name: index_cluster_agents_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_cluster_agents_on_project_id_and_name ON public.cluster_agents USING btree (project_id, name);


--
-- Name: index_cluster_groups_on_cluster_id_and_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_cluster_groups_on_cluster_id_and_group_id ON public.cluster_groups USING btree (cluster_id, group_id);


--
-- Name: index_cluster_groups_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_cluster_groups_on_group_id ON public.cluster_groups USING btree (group_id);


--
-- Name: index_cluster_platforms_kubernetes_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_cluster_platforms_kubernetes_on_cluster_id ON public.cluster_platforms_kubernetes USING btree (cluster_id);


--
-- Name: index_cluster_projects_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_cluster_projects_on_cluster_id ON public.cluster_projects USING btree (cluster_id);


--
-- Name: index_cluster_projects_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_cluster_projects_on_project_id ON public.cluster_projects USING btree (project_id);


--
-- Name: index_cluster_providers_aws_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_cluster_providers_aws_on_cluster_id ON public.cluster_providers_aws USING btree (cluster_id);


--
-- Name: index_cluster_providers_aws_on_cluster_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_cluster_providers_aws_on_cluster_id_and_status ON public.cluster_providers_aws USING btree (cluster_id, status);


--
-- Name: index_cluster_providers_gcp_on_cloud_run; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_cluster_providers_gcp_on_cloud_run ON public.cluster_providers_gcp USING btree (cloud_run);


--
-- Name: index_cluster_providers_gcp_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_cluster_providers_gcp_on_cluster_id ON public.cluster_providers_gcp USING btree (cluster_id);


--
-- Name: index_clusters_applications_cert_managers_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_cert_managers_on_cluster_id ON public.clusters_applications_cert_managers USING btree (cluster_id);


--
-- Name: index_clusters_applications_cilium_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_cilium_on_cluster_id ON public.clusters_applications_cilium USING btree (cluster_id);


--
-- Name: index_clusters_applications_crossplane_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_crossplane_on_cluster_id ON public.clusters_applications_crossplane USING btree (cluster_id);


--
-- Name: index_clusters_applications_elastic_stacks_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_elastic_stacks_on_cluster_id ON public.clusters_applications_elastic_stacks USING btree (cluster_id);


--
-- Name: index_clusters_applications_helm_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_helm_on_cluster_id ON public.clusters_applications_helm USING btree (cluster_id);


--
-- Name: index_clusters_applications_ingress_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_ingress_on_cluster_id ON public.clusters_applications_ingress USING btree (cluster_id);


--
-- Name: index_clusters_applications_jupyter_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_jupyter_on_cluster_id ON public.clusters_applications_jupyter USING btree (cluster_id);


--
-- Name: index_clusters_applications_jupyter_on_oauth_application_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_applications_jupyter_on_oauth_application_id ON public.clusters_applications_jupyter USING btree (oauth_application_id);


--
-- Name: index_clusters_applications_knative_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_knative_on_cluster_id ON public.clusters_applications_knative USING btree (cluster_id);


--
-- Name: index_clusters_applications_prometheus_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_prometheus_on_cluster_id ON public.clusters_applications_prometheus USING btree (cluster_id);


--
-- Name: index_clusters_applications_runners_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_clusters_applications_runners_on_cluster_id ON public.clusters_applications_runners USING btree (cluster_id);


--
-- Name: index_clusters_applications_runners_on_runner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_applications_runners_on_runner_id ON public.clusters_applications_runners USING btree (runner_id);


--
-- Name: index_clusters_kubernetes_namespaces_on_cluster_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_kubernetes_namespaces_on_cluster_id ON public.clusters_kubernetes_namespaces USING btree (cluster_id);


--
-- Name: index_clusters_kubernetes_namespaces_on_cluster_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_kubernetes_namespaces_on_cluster_project_id ON public.clusters_kubernetes_namespaces USING btree (cluster_project_id);


--
-- Name: index_clusters_kubernetes_namespaces_on_environment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_kubernetes_namespaces_on_environment_id ON public.clusters_kubernetes_namespaces USING btree (environment_id);


--
-- Name: index_clusters_kubernetes_namespaces_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_kubernetes_namespaces_on_project_id ON public.clusters_kubernetes_namespaces USING btree (project_id);


--
-- Name: index_clusters_on_enabled_and_provider_type_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_on_enabled_and_provider_type_and_id ON public.clusters USING btree (enabled, provider_type, id);


--
-- Name: index_clusters_on_enabled_cluster_type_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_on_enabled_cluster_type_id_and_created_at ON public.clusters USING btree (enabled, cluster_type, id, created_at);


--
-- Name: index_clusters_on_management_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_on_management_project_id ON public.clusters USING btree (management_project_id) WHERE (management_project_id IS NOT NULL);


--
-- Name: index_clusters_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_clusters_on_user_id ON public.clusters USING btree (user_id);


--
-- Name: index_commit_user_mentions_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_commit_user_mentions_on_note_id ON public.commit_user_mentions USING btree (note_id);


--
-- Name: index_compliance_frameworks_id_where_frameworks_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_compliance_frameworks_id_where_frameworks_not_null ON public.compliance_management_frameworks USING btree (id) WHERE (pipeline_configuration_full_path IS NOT NULL);


--
-- Name: index_composer_cache_files_where_namespace_id_is_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_composer_cache_files_where_namespace_id_is_null ON public.packages_composer_cache_files USING btree (id) WHERE (namespace_id IS NULL);


--
-- Name: index_container_expiration_policies_on_next_run_at_and_enabled; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_container_expiration_policies_on_next_run_at_and_enabled ON public.container_expiration_policies USING btree (next_run_at, enabled);


--
-- Name: index_container_repositories_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_container_repositories_on_project_id ON public.container_repositories USING btree (project_id);


--
-- Name: index_container_repositories_on_project_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_container_repositories_on_project_id_and_id ON public.container_repositories USING btree (project_id, id);


--
-- Name: index_container_repositories_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_container_repositories_on_project_id_and_name ON public.container_repositories USING btree (project_id, name);


--
-- Name: index_container_repository_on_name_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_container_repository_on_name_trigram ON public.container_repositories USING gin (name public.gin_trgm_ops);


--
-- Name: index_created_at_on_codeowner_approval_merge_request_rules; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_created_at_on_codeowner_approval_merge_request_rules ON public.approval_merge_request_rules USING btree (created_at) WHERE ((rule_type = 2) AND (section <> 'codeowners'::text));


--
-- Name: index_csv_issue_imports_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_csv_issue_imports_on_project_id ON public.csv_issue_imports USING btree (project_id);


--
-- Name: index_csv_issue_imports_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_csv_issue_imports_on_user_id ON public.csv_issue_imports USING btree (user_id);


--
-- Name: index_custom_emoji_on_creator_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_custom_emoji_on_creator_id ON public.custom_emoji USING btree (creator_id);


--
-- Name: index_custom_emoji_on_namespace_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_custom_emoji_on_namespace_id_and_name ON public.custom_emoji USING btree (namespace_id, name);


--
-- Name: index_customer_relations_organizations_on_unique_name_per_group; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_customer_relations_organizations_on_unique_name_per_group ON public.customer_relations_organizations USING btree (group_id, lower(name));


--
-- Name: index_cycle_analytics_stage_event_hashes_on_hash_sha_256; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_cycle_analytics_stage_event_hashes_on_hash_sha_256 ON public.analytics_cycle_analytics_stage_event_hashes USING btree (hash_sha256);


--
-- Name: index_daily_build_group_report_results_unique_columns; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_daily_build_group_report_results_unique_columns ON public.ci_daily_build_group_report_results USING btree (project_id, ref_path, date, group_name);


--
-- Name: index_dast_profile_schedules_active_next_run_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_profile_schedules_active_next_run_at ON public.dast_profile_schedules USING btree (active, next_run_at);


--
-- Name: index_dast_profile_schedules_on_dast_profile_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_profile_schedules_on_dast_profile_id ON public.dast_profile_schedules USING btree (dast_profile_id);


--
-- Name: index_dast_profile_schedules_on_project_id_and_dast_profile_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dast_profile_schedules_on_project_id_and_dast_profile_id ON public.dast_profile_schedules USING btree (project_id, dast_profile_id);


--
-- Name: index_dast_profile_schedules_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_profile_schedules_on_user_id ON public.dast_profile_schedules USING btree (user_id);


--
-- Name: index_dast_profiles_on_dast_scanner_profile_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_profiles_on_dast_scanner_profile_id ON public.dast_profiles USING btree (dast_scanner_profile_id);


--
-- Name: index_dast_profiles_on_dast_site_profile_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_profiles_on_dast_site_profile_id ON public.dast_profiles USING btree (dast_site_profile_id);


--
-- Name: index_dast_profiles_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dast_profiles_on_project_id_and_name ON public.dast_profiles USING btree (project_id, name);


--
-- Name: index_dast_profiles_pipelines_on_ci_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dast_profiles_pipelines_on_ci_pipeline_id ON public.dast_profiles_pipelines USING btree (ci_pipeline_id);


--
-- Name: index_dast_scanner_profiles_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dast_scanner_profiles_on_project_id_and_name ON public.dast_scanner_profiles USING btree (project_id, name);


--
-- Name: index_dast_site_profiles_on_dast_site_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_site_profiles_on_dast_site_id ON public.dast_site_profiles USING btree (dast_site_id);


--
-- Name: index_dast_site_profiles_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dast_site_profiles_on_project_id_and_name ON public.dast_site_profiles USING btree (project_id, name);


--
-- Name: index_dast_site_profiles_pipelines_on_ci_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dast_site_profiles_pipelines_on_ci_pipeline_id ON public.dast_site_profiles_pipelines USING btree (ci_pipeline_id);


--
-- Name: index_dast_site_tokens_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_site_tokens_on_project_id ON public.dast_site_tokens USING btree (project_id);


--
-- Name: index_dast_site_validations_on_dast_site_token_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_site_validations_on_dast_site_token_id ON public.dast_site_validations USING btree (dast_site_token_id);


--
-- Name: index_dast_site_validations_on_url_base_and_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_site_validations_on_url_base_and_state ON public.dast_site_validations USING btree (url_base, state);


--
-- Name: index_dast_sites_on_dast_site_validation_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dast_sites_on_dast_site_validation_id ON public.dast_sites USING btree (dast_site_validation_id);


--
-- Name: index_dast_sites_on_project_id_and_url; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dast_sites_on_project_id_and_url ON public.dast_sites USING btree (project_id, url);


--
-- Name: index_dep_ci_build_trace_section_names_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dep_ci_build_trace_section_names_on_project_id_and_name ON public.dep_ci_build_trace_section_names USING btree (project_id, name);


--
-- Name: index_dep_ci_build_trace_sections_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dep_ci_build_trace_sections_on_project_id ON public.dep_ci_build_trace_sections USING btree (project_id);


--
-- Name: index_dep_ci_build_trace_sections_on_section_name_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dep_ci_build_trace_sections_on_section_name_id ON public.dep_ci_build_trace_sections USING btree (section_name_id);


--
-- Name: index_dependency_proxy_blobs_on_group_id_and_file_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dependency_proxy_blobs_on_group_id_and_file_name ON public.dependency_proxy_blobs USING btree (group_id, file_name);


--
-- Name: index_dependency_proxy_group_settings_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_dependency_proxy_group_settings_on_group_id ON public.dependency_proxy_group_settings USING btree (group_id);


--
-- Name: index_dependency_proxy_manifests_on_group_id_and_file_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dependency_proxy_manifests_on_group_id_and_file_name ON public.dependency_proxy_manifests USING btree (group_id, file_name);


--
-- Name: index_deploy_key_id_on_protected_branch_push_access_levels; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deploy_key_id_on_protected_branch_push_access_levels ON public.protected_branch_push_access_levels USING btree (deploy_key_id);


--
-- Name: index_deploy_keys_projects_on_deploy_key_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deploy_keys_projects_on_deploy_key_id ON public.deploy_keys_projects USING btree (deploy_key_id);


--
-- Name: index_deploy_keys_projects_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deploy_keys_projects_on_project_id ON public.deploy_keys_projects USING btree (project_id);


--
-- Name: index_deploy_tokens_on_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_deploy_tokens_on_token ON public.deploy_tokens USING btree (token);


--
-- Name: index_deploy_tokens_on_token_and_expires_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deploy_tokens_on_token_and_expires_at_and_id ON public.deploy_tokens USING btree (token, expires_at, id) WHERE (revoked IS FALSE);


--
-- Name: index_deploy_tokens_on_token_encrypted; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_deploy_tokens_on_token_encrypted ON public.deploy_tokens USING btree (token_encrypted);


--
-- Name: index_deployment_clusters_on_cluster_id_and_deployment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_deployment_clusters_on_cluster_id_and_deployment_id ON public.deployment_clusters USING btree (cluster_id, deployment_id);


--
-- Name: index_deployment_merge_requests_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployment_merge_requests_on_merge_request_id ON public.deployment_merge_requests USING btree (merge_request_id);


--
-- Name: index_deployments_on_cluster_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_cluster_id_and_status ON public.deployments USING btree (cluster_id, status);


--
-- Name: index_deployments_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_created_at ON public.deployments USING btree (created_at);


--
-- Name: index_deployments_on_deployable_type_and_deployable_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_deployable_type_and_deployable_id ON public.deployments USING btree (deployable_type, deployable_id);


--
-- Name: index_deployments_on_environment_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_environment_id_and_id ON public.deployments USING btree (environment_id, id);


--
-- Name: index_deployments_on_environment_id_and_iid_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_environment_id_and_iid_and_project_id ON public.deployments USING btree (environment_id, iid, project_id);


--
-- Name: index_deployments_on_environment_id_status_and_finished_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_environment_id_status_and_finished_at ON public.deployments USING btree (environment_id, status, finished_at);


--
-- Name: index_deployments_on_environment_id_status_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_environment_id_status_and_id ON public.deployments USING btree (environment_id, status, id);


--
-- Name: index_deployments_on_environment_status_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_environment_status_sha ON public.deployments USING btree (environment_id, status, sha);


--
-- Name: index_deployments_on_id_and_status_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_id_and_status_and_created_at ON public.deployments USING btree (id, status, created_at);


--
-- Name: index_deployments_on_id_where_cluster_id_present; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_id_where_cluster_id_present ON public.deployments USING btree (id) WHERE (cluster_id IS NOT NULL);


--
-- Name: index_deployments_on_project_and_environment_and_updated_at_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_project_and_environment_and_updated_at_id ON public.deployments USING btree (project_id, environment_id, updated_at, id);


--
-- Name: index_deployments_on_project_and_finished; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_project_and_finished ON public.deployments USING btree (project_id, finished_at) WHERE (status = 2);


--
-- Name: index_deployments_on_project_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_project_id_and_id ON public.deployments USING btree (project_id, id DESC);


--
-- Name: index_deployments_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_deployments_on_project_id_and_iid ON public.deployments USING btree (project_id, iid);


--
-- Name: index_deployments_on_project_id_and_ref; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_project_id_and_ref ON public.deployments USING btree (project_id, ref);


--
-- Name: index_deployments_on_project_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_project_id_and_status ON public.deployments USING btree (project_id, status);


--
-- Name: index_deployments_on_project_id_and_status_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_project_id_and_status_and_created_at ON public.deployments USING btree (project_id, status, created_at);


--
-- Name: index_deployments_on_project_id_and_updated_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_project_id_and_updated_at_and_id ON public.deployments USING btree (project_id, updated_at DESC, id DESC);


--
-- Name: index_deployments_on_project_id_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_project_id_sha ON public.deployments USING btree (project_id, sha);


--
-- Name: index_deployments_on_user_id_and_status_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_deployments_on_user_id_and_status_and_created_at ON public.deployments USING btree (user_id, status, created_at);


--
-- Name: index_description_versions_on_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_description_versions_on_epic_id ON public.description_versions USING btree (epic_id) WHERE (epic_id IS NOT NULL);


--
-- Name: index_description_versions_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_description_versions_on_issue_id ON public.description_versions USING btree (issue_id) WHERE (issue_id IS NOT NULL);


--
-- Name: index_description_versions_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_description_versions_on_merge_request_id ON public.description_versions USING btree (merge_request_id) WHERE (merge_request_id IS NOT NULL);


--
-- Name: index_design_management_designs_issue_id_relative_position_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_design_management_designs_issue_id_relative_position_id ON public.design_management_designs USING btree (issue_id, relative_position, id);


--
-- Name: index_design_management_designs_on_iid_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_design_management_designs_on_iid_and_project_id ON public.design_management_designs USING btree (project_id, iid);


--
-- Name: index_design_management_designs_on_issue_id_and_filename; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_design_management_designs_on_issue_id_and_filename ON public.design_management_designs USING btree (issue_id, filename);


--
-- Name: index_design_management_designs_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_design_management_designs_on_project_id ON public.design_management_designs USING btree (project_id);


--
-- Name: index_design_management_designs_versions_on_design_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_design_management_designs_versions_on_design_id ON public.design_management_designs_versions USING btree (design_id);


--
-- Name: index_design_management_designs_versions_on_event; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_design_management_designs_versions_on_event ON public.design_management_designs_versions USING btree (event);


--
-- Name: index_design_management_designs_versions_on_version_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_design_management_designs_versions_on_version_id ON public.design_management_designs_versions USING btree (version_id);


--
-- Name: index_design_management_versions_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_design_management_versions_on_author_id ON public.design_management_versions USING btree (author_id) WHERE (author_id IS NOT NULL);


--
-- Name: index_design_management_versions_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_design_management_versions_on_issue_id ON public.design_management_versions USING btree (issue_id);


--
-- Name: index_design_management_versions_on_sha_and_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_design_management_versions_on_sha_and_issue_id ON public.design_management_versions USING btree (sha, issue_id);


--
-- Name: index_design_user_mentions_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_design_user_mentions_on_note_id ON public.design_user_mentions USING btree (note_id);


--
-- Name: index_diff_note_positions_on_note_id_and_diff_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_diff_note_positions_on_note_id_and_diff_type ON public.diff_note_positions USING btree (note_id, diff_type);


--
-- Name: index_dora_daily_metrics_on_environment_id_and_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_dora_daily_metrics_on_environment_id_and_date ON public.dora_daily_metrics USING btree (environment_id, date);


--
-- Name: index_draft_notes_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_draft_notes_on_author_id ON public.draft_notes USING btree (author_id);


--
-- Name: index_draft_notes_on_discussion_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_draft_notes_on_discussion_id ON public.draft_notes USING btree (discussion_id);


--
-- Name: index_draft_notes_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_draft_notes_on_merge_request_id ON public.draft_notes USING btree (merge_request_id);


--
-- Name: index_elastic_index_settings_on_alias_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_elastic_index_settings_on_alias_name ON public.elastic_index_settings USING btree (alias_name);


--
-- Name: index_elastic_reindexing_subtasks_on_elastic_reindexing_task_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_elastic_reindexing_subtasks_on_elastic_reindexing_task_id ON public.elastic_reindexing_subtasks USING btree (elastic_reindexing_task_id);


--
-- Name: index_elastic_reindexing_tasks_on_in_progress; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_elastic_reindexing_tasks_on_in_progress ON public.elastic_reindexing_tasks USING btree (in_progress) WHERE in_progress;


--
-- Name: index_elastic_reindexing_tasks_on_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_elastic_reindexing_tasks_on_state ON public.elastic_reindexing_tasks USING btree (state);


--
-- Name: index_elasticsearch_indexed_namespaces_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_elasticsearch_indexed_namespaces_on_created_at ON public.elasticsearch_indexed_namespaces USING btree (created_at);


--
-- Name: index_emails_on_confirmation_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_emails_on_confirmation_token ON public.emails USING btree (confirmation_token);


--
-- Name: index_emails_on_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_emails_on_email ON public.emails USING btree (email);


--
-- Name: index_emails_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_emails_on_user_id ON public.emails USING btree (user_id);


--
-- Name: index_enabled_clusters_on_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_enabled_clusters_on_id ON public.clusters USING btree (id) WHERE (enabled = true);


--
-- Name: index_environments_on_auto_stop_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_environments_on_auto_stop_at ON public.environments USING btree (auto_stop_at) WHERE (auto_stop_at IS NOT NULL);


--
-- Name: index_environments_on_name_varchar_pattern_ops; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_environments_on_name_varchar_pattern_ops ON public.environments USING btree (name varchar_pattern_ops);


--
-- Name: index_environments_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_environments_on_project_id_and_name ON public.environments USING btree (project_id, name);


--
-- Name: index_environments_on_project_id_and_slug; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_environments_on_project_id_and_slug ON public.environments USING btree (project_id, slug);


--
-- Name: index_environments_on_project_id_and_tier; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_environments_on_project_id_and_tier ON public.environments USING btree (project_id, tier) WHERE (tier IS NOT NULL);


--
-- Name: index_environments_on_project_id_state_environment_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_environments_on_project_id_state_environment_type ON public.environments USING btree (project_id, state, environment_type);


--
-- Name: index_environments_on_state_and_auto_delete_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_environments_on_state_and_auto_delete_at ON public.environments USING btree (auto_delete_at) WHERE ((auto_delete_at IS NOT NULL) AND ((state)::text = 'stopped'::text));


--
-- Name: index_environments_on_state_and_auto_stop_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_environments_on_state_and_auto_stop_at ON public.environments USING btree (state, auto_stop_at) WHERE ((auto_stop_at IS NOT NULL) AND ((state)::text = 'available'::text));


--
-- Name: index_epic_board_list_preferences_on_user_and_list; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_epic_board_list_preferences_on_user_and_list ON public.boards_epic_list_user_preferences USING btree (user_id, epic_list_id);


--
-- Name: index_epic_board_recent_visits_on_user_group_and_board; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_epic_board_recent_visits_on_user_group_and_board ON public.boards_epic_board_recent_visits USING btree (user_id, group_id, epic_board_id);


--
-- Name: index_epic_issues_on_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epic_issues_on_epic_id ON public.epic_issues USING btree (epic_id);


--
-- Name: index_epic_issues_on_epic_id_and_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epic_issues_on_epic_id_and_issue_id ON public.epic_issues USING btree (epic_id, issue_id);


--
-- Name: index_epic_issues_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_epic_issues_on_issue_id ON public.epic_issues USING btree (issue_id);


--
-- Name: index_epic_metrics; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epic_metrics ON public.epic_metrics USING btree (epic_id);


--
-- Name: index_epic_user_mentions_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_epic_user_mentions_on_note_id ON public.epic_user_mentions USING btree (note_id) WHERE (note_id IS NOT NULL);


--
-- Name: index_epics_on_assignee_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_assignee_id ON public.epics USING btree (assignee_id);


--
-- Name: index_epics_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_author_id ON public.epics USING btree (author_id);


--
-- Name: index_epics_on_closed_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_closed_by_id ON public.epics USING btree (closed_by_id);


--
-- Name: index_epics_on_confidential; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_confidential ON public.epics USING btree (confidential);


--
-- Name: index_epics_on_due_date_sourcing_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_due_date_sourcing_epic_id ON public.epics USING btree (due_date_sourcing_epic_id) WHERE (due_date_sourcing_epic_id IS NOT NULL);


--
-- Name: index_epics_on_due_date_sourcing_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_due_date_sourcing_milestone_id ON public.epics USING btree (due_date_sourcing_milestone_id);


--
-- Name: index_epics_on_end_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_end_date ON public.epics USING btree (end_date);


--
-- Name: index_epics_on_group_id_and_external_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_epics_on_group_id_and_external_key ON public.epics USING btree (group_id, external_key) WHERE (external_key IS NOT NULL);


--
-- Name: index_epics_on_group_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_epics_on_group_id_and_iid ON public.epics USING btree (group_id, iid);


--
-- Name: index_epics_on_group_id_and_iid_varchar_pattern; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_group_id_and_iid_varchar_pattern ON public.epics USING btree (group_id, ((iid)::character varying) varchar_pattern_ops);


--
-- Name: index_epics_on_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_iid ON public.epics USING btree (iid);


--
-- Name: index_epics_on_last_edited_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_last_edited_by_id ON public.epics USING btree (last_edited_by_id);


--
-- Name: index_epics_on_parent_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_parent_id ON public.epics USING btree (parent_id);


--
-- Name: index_epics_on_start_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_start_date ON public.epics USING btree (start_date);


--
-- Name: index_epics_on_start_date_sourcing_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_start_date_sourcing_epic_id ON public.epics USING btree (start_date_sourcing_epic_id) WHERE (start_date_sourcing_epic_id IS NOT NULL);


--
-- Name: index_epics_on_start_date_sourcing_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_epics_on_start_date_sourcing_milestone_id ON public.epics USING btree (start_date_sourcing_milestone_id);


--
-- Name: index_error_tracking_client_keys_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_error_tracking_client_keys_on_project_id ON public.error_tracking_client_keys USING btree (project_id);


--
-- Name: index_error_tracking_error_events_on_error_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_error_tracking_error_events_on_error_id ON public.error_tracking_error_events USING btree (error_id);


--
-- Name: index_error_tracking_errors_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_error_tracking_errors_on_project_id ON public.error_tracking_errors USING btree (project_id);


--
-- Name: index_esc_protected_branches_on_external_status_check_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_esc_protected_branches_on_external_status_check_id ON public.external_status_checks_protected_branches USING btree (external_status_check_id);


--
-- Name: index_esc_protected_branches_on_protected_branch_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_esc_protected_branches_on_protected_branch_id ON public.external_status_checks_protected_branches USING btree (protected_branch_id);


--
-- Name: index_escalation_rules_on_all_attributes; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_escalation_rules_on_all_attributes ON public.incident_management_escalation_rules USING btree (policy_id, oncall_schedule_id, status, elapsed_time_seconds, user_id);


--
-- Name: index_escalation_rules_on_user; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_escalation_rules_on_user ON public.incident_management_escalation_rules USING btree (user_id);


--
-- Name: index_events_on_action; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_action ON public.events USING btree (action);


--
-- Name: index_events_on_author_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_author_id_and_created_at ON public.events USING btree (author_id, created_at);


--
-- Name: index_events_on_author_id_and_created_at_merge_requests; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_author_id_and_created_at_merge_requests ON public.events USING btree (author_id, created_at) WHERE ((target_type)::text = 'MergeRequest'::text);


--
-- Name: index_events_on_author_id_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_author_id_and_project_id ON public.events USING btree (author_id, project_id);


--
-- Name: index_events_on_group_id_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_group_id_partial ON public.events USING btree (group_id) WHERE (group_id IS NOT NULL);


--
-- Name: index_events_on_project_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_project_id_and_created_at ON public.events USING btree (project_id, created_at);


--
-- Name: index_events_on_project_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_project_id_and_id ON public.events USING btree (project_id, id);


--
-- Name: index_events_on_project_id_and_id_desc_on_merged_action; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_project_id_and_id_desc_on_merged_action ON public.events USING btree (project_id, id DESC) WHERE (action = 7);


--
-- Name: index_events_on_target_type_and_target_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_events_on_target_type_and_target_id ON public.events USING btree (target_type, target_id);


--
-- Name: index_events_on_target_type_and_target_id_and_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_events_on_target_type_and_target_id_and_fingerprint ON public.events USING btree (target_type, target_id, fingerprint);


--
-- Name: index_evidences_on_release_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_evidences_on_release_id ON public.evidences USING btree (release_id);


--
-- Name: index_experiment_subjects_on_experiment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_experiment_subjects_on_experiment_id ON public.experiment_subjects USING btree (experiment_id);


--
-- Name: index_experiment_subjects_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_experiment_subjects_on_namespace_id ON public.experiment_subjects USING btree (namespace_id);


--
-- Name: index_experiment_subjects_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_experiment_subjects_on_project_id ON public.experiment_subjects USING btree (project_id);


--
-- Name: index_experiment_subjects_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_experiment_subjects_on_user_id ON public.experiment_subjects USING btree (user_id);


--
-- Name: index_experiment_users_on_experiment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_experiment_users_on_experiment_id ON public.experiment_users USING btree (experiment_id);


--
-- Name: index_experiment_users_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_experiment_users_on_user_id ON public.experiment_users USING btree (user_id);


--
-- Name: index_experiments_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_experiments_on_name ON public.experiments USING btree (name);


--
-- Name: index_expired_and_not_notified_personal_access_tokens; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_expired_and_not_notified_personal_access_tokens ON public.personal_access_tokens USING btree (id, expires_at) WHERE ((impersonation = false) AND (revoked = false) AND (expire_notification_delivered = false));


--
-- Name: index_external_pull_requests_on_project_and_branches; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_external_pull_requests_on_project_and_branches ON public.external_pull_requests USING btree (project_id, source_branch, target_branch);


--
-- Name: index_feature_flag_scopes_on_flag_id_and_environment_scope; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_feature_flag_scopes_on_flag_id_and_environment_scope ON public.operations_feature_flag_scopes USING btree (feature_flag_id, environment_scope);


--
-- Name: index_feature_flags_clients_on_project_id_and_token_encrypted; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_feature_flags_clients_on_project_id_and_token_encrypted ON public.operations_feature_flags_clients USING btree (project_id, token_encrypted);


--
-- Name: index_feature_gates_on_feature_key_and_key_and_value; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_feature_gates_on_feature_key_and_key_and_value ON public.feature_gates USING btree (feature_key, key, value);


--
-- Name: index_features_on_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_features_on_key ON public.features USING btree (key);


--
-- Name: index_for_resource_group; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_for_resource_group ON public.ci_builds USING btree (resource_group_id, id) WHERE (resource_group_id IS NOT NULL);


--
-- Name: index_for_status_per_branch_per_project; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_for_status_per_branch_per_project ON public.merge_trains USING btree (target_project_id, target_branch, status);


--
-- Name: index_fork_network_members_on_fork_network_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_fork_network_members_on_fork_network_id ON public.fork_network_members USING btree (fork_network_id);


--
-- Name: index_fork_network_members_on_forked_from_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_fork_network_members_on_forked_from_project_id ON public.fork_network_members USING btree (forked_from_project_id);


--
-- Name: index_fork_network_members_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_fork_network_members_on_project_id ON public.fork_network_members USING btree (project_id);


--
-- Name: index_fork_networks_on_root_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_fork_networks_on_root_project_id ON public.fork_networks USING btree (root_project_id);


--
-- Name: index_geo_event_log_on_cache_invalidation_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_cache_invalidation_event_id ON public.geo_event_log USING btree (cache_invalidation_event_id) WHERE (cache_invalidation_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_container_repository_updated_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_container_repository_updated_event_id ON public.geo_event_log USING btree (container_repository_updated_event_id);


--
-- Name: index_geo_event_log_on_geo_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_geo_event_id ON public.geo_event_log USING btree (geo_event_id) WHERE (geo_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_hashed_storage_attachments_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_hashed_storage_attachments_event_id ON public.geo_event_log USING btree (hashed_storage_attachments_event_id) WHERE (hashed_storage_attachments_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_hashed_storage_migrated_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_hashed_storage_migrated_event_id ON public.geo_event_log USING btree (hashed_storage_migrated_event_id) WHERE (hashed_storage_migrated_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_job_artifact_deleted_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_job_artifact_deleted_event_id ON public.geo_event_log USING btree (job_artifact_deleted_event_id) WHERE (job_artifact_deleted_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_lfs_object_deleted_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_lfs_object_deleted_event_id ON public.geo_event_log USING btree (lfs_object_deleted_event_id) WHERE (lfs_object_deleted_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_repositories_changed_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_repositories_changed_event_id ON public.geo_event_log USING btree (repositories_changed_event_id) WHERE (repositories_changed_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_repository_created_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_repository_created_event_id ON public.geo_event_log USING btree (repository_created_event_id) WHERE (repository_created_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_repository_deleted_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_repository_deleted_event_id ON public.geo_event_log USING btree (repository_deleted_event_id) WHERE (repository_deleted_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_repository_renamed_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_repository_renamed_event_id ON public.geo_event_log USING btree (repository_renamed_event_id) WHERE (repository_renamed_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_repository_updated_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_repository_updated_event_id ON public.geo_event_log USING btree (repository_updated_event_id) WHERE (repository_updated_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_reset_checksum_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_reset_checksum_event_id ON public.geo_event_log USING btree (reset_checksum_event_id) WHERE (reset_checksum_event_id IS NOT NULL);


--
-- Name: index_geo_event_log_on_upload_deleted_event_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_event_log_on_upload_deleted_event_id ON public.geo_event_log USING btree (upload_deleted_event_id) WHERE (upload_deleted_event_id IS NOT NULL);


--
-- Name: index_geo_hashed_storage_attachments_events_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_hashed_storage_attachments_events_on_project_id ON public.geo_hashed_storage_attachments_events USING btree (project_id);


--
-- Name: index_geo_hashed_storage_migrated_events_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_hashed_storage_migrated_events_on_project_id ON public.geo_hashed_storage_migrated_events USING btree (project_id);


--
-- Name: index_geo_job_artifact_deleted_events_on_job_artifact_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_job_artifact_deleted_events_on_job_artifact_id ON public.geo_job_artifact_deleted_events USING btree (job_artifact_id);


--
-- Name: index_geo_lfs_object_deleted_events_on_lfs_object_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_lfs_object_deleted_events_on_lfs_object_id ON public.geo_lfs_object_deleted_events USING btree (lfs_object_id);


--
-- Name: index_geo_node_namespace_links_on_geo_node_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_node_namespace_links_on_geo_node_id ON public.geo_node_namespace_links USING btree (geo_node_id);


--
-- Name: index_geo_node_namespace_links_on_geo_node_id_and_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_geo_node_namespace_links_on_geo_node_id_and_namespace_id ON public.geo_node_namespace_links USING btree (geo_node_id, namespace_id);


--
-- Name: index_geo_node_namespace_links_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_node_namespace_links_on_namespace_id ON public.geo_node_namespace_links USING btree (namespace_id);


--
-- Name: index_geo_node_statuses_on_geo_node_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_geo_node_statuses_on_geo_node_id ON public.geo_node_statuses USING btree (geo_node_id);


--
-- Name: index_geo_nodes_on_access_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_nodes_on_access_key ON public.geo_nodes USING btree (access_key);


--
-- Name: index_geo_nodes_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_geo_nodes_on_name ON public.geo_nodes USING btree (name);


--
-- Name: index_geo_nodes_on_primary; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_nodes_on_primary ON public.geo_nodes USING btree ("primary");


--
-- Name: index_geo_repositories_changed_events_on_geo_node_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_repositories_changed_events_on_geo_node_id ON public.geo_repositories_changed_events USING btree (geo_node_id);


--
-- Name: index_geo_repository_created_events_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_repository_created_events_on_project_id ON public.geo_repository_created_events USING btree (project_id);


--
-- Name: index_geo_repository_deleted_events_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_repository_deleted_events_on_project_id ON public.geo_repository_deleted_events USING btree (project_id);


--
-- Name: index_geo_repository_renamed_events_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_repository_renamed_events_on_project_id ON public.geo_repository_renamed_events USING btree (project_id);


--
-- Name: index_geo_repository_updated_events_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_repository_updated_events_on_project_id ON public.geo_repository_updated_events USING btree (project_id);


--
-- Name: index_geo_repository_updated_events_on_source; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_repository_updated_events_on_source ON public.geo_repository_updated_events USING btree (source);


--
-- Name: index_geo_reset_checksum_events_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_reset_checksum_events_on_project_id ON public.geo_reset_checksum_events USING btree (project_id);


--
-- Name: index_geo_upload_deleted_events_on_upload_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_geo_upload_deleted_events_on_upload_id ON public.geo_upload_deleted_events USING btree (upload_id);


--
-- Name: index_gitlab_subscription_histories_on_gitlab_subscription_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gitlab_subscription_histories_on_gitlab_subscription_id ON public.gitlab_subscription_histories USING btree (gitlab_subscription_id);


--
-- Name: index_gitlab_subscriptions_on_end_date_and_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gitlab_subscriptions_on_end_date_and_namespace_id ON public.gitlab_subscriptions USING btree (end_date, namespace_id);


--
-- Name: index_gitlab_subscriptions_on_hosted_plan_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gitlab_subscriptions_on_hosted_plan_id ON public.gitlab_subscriptions USING btree (hosted_plan_id);


--
-- Name: index_gitlab_subscriptions_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_gitlab_subscriptions_on_namespace_id ON public.gitlab_subscriptions USING btree (namespace_id);


--
-- Name: index_gpg_key_subkeys_on_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_gpg_key_subkeys_on_fingerprint ON public.gpg_key_subkeys USING btree (fingerprint);


--
-- Name: index_gpg_key_subkeys_on_gpg_key_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gpg_key_subkeys_on_gpg_key_id ON public.gpg_key_subkeys USING btree (gpg_key_id);


--
-- Name: index_gpg_key_subkeys_on_keyid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_gpg_key_subkeys_on_keyid ON public.gpg_key_subkeys USING btree (keyid);


--
-- Name: index_gpg_keys_on_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_gpg_keys_on_fingerprint ON public.gpg_keys USING btree (fingerprint);


--
-- Name: index_gpg_keys_on_primary_keyid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_gpg_keys_on_primary_keyid ON public.gpg_keys USING btree (primary_keyid);


--
-- Name: index_gpg_keys_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gpg_keys_on_user_id ON public.gpg_keys USING btree (user_id);


--
-- Name: index_gpg_signatures_on_commit_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_gpg_signatures_on_commit_sha ON public.gpg_signatures USING btree (commit_sha);


--
-- Name: index_gpg_signatures_on_gpg_key_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gpg_signatures_on_gpg_key_id ON public.gpg_signatures USING btree (gpg_key_id);


--
-- Name: index_gpg_signatures_on_gpg_key_primary_keyid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gpg_signatures_on_gpg_key_primary_keyid ON public.gpg_signatures USING btree (gpg_key_primary_keyid);


--
-- Name: index_gpg_signatures_on_gpg_key_subkey_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gpg_signatures_on_gpg_key_subkey_id ON public.gpg_signatures USING btree (gpg_key_subkey_id);


--
-- Name: index_gpg_signatures_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_gpg_signatures_on_project_id ON public.gpg_signatures USING btree (project_id);


--
-- Name: index_grafana_integrations_on_enabled; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_grafana_integrations_on_enabled ON public.grafana_integrations USING btree (enabled) WHERE (enabled IS TRUE);


--
-- Name: index_grafana_integrations_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_grafana_integrations_on_project_id ON public.grafana_integrations USING btree (project_id);


--
-- Name: index_group_custom_attributes_on_group_id_and_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_group_custom_attributes_on_group_id_and_key ON public.group_custom_attributes USING btree (group_id, key);


--
-- Name: index_group_custom_attributes_on_key_and_value; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_custom_attributes_on_key_and_value ON public.group_custom_attributes USING btree (key, value);


--
-- Name: index_group_deletion_schedules_on_marked_for_deletion_on; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_deletion_schedules_on_marked_for_deletion_on ON public.group_deletion_schedules USING btree (marked_for_deletion_on);


--
-- Name: index_group_deletion_schedules_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_deletion_schedules_on_user_id ON public.group_deletion_schedules USING btree (user_id);


--
-- Name: index_group_deploy_keys_group_on_group_deploy_key_and_group_ids; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_group_deploy_keys_group_on_group_deploy_key_and_group_ids ON public.group_deploy_keys_groups USING btree (group_id, group_deploy_key_id);


--
-- Name: index_group_deploy_keys_groups_on_group_deploy_key_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_deploy_keys_groups_on_group_deploy_key_id ON public.group_deploy_keys_groups USING btree (group_deploy_key_id);


--
-- Name: index_group_deploy_keys_on_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_group_deploy_keys_on_fingerprint ON public.group_deploy_keys USING btree (fingerprint);


--
-- Name: index_group_deploy_keys_on_fingerprint_sha256; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_deploy_keys_on_fingerprint_sha256 ON public.group_deploy_keys USING btree (fingerprint_sha256);


--
-- Name: index_group_deploy_keys_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_deploy_keys_on_user_id ON public.group_deploy_keys USING btree (user_id);


--
-- Name: index_group_deploy_tokens_on_deploy_token_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_deploy_tokens_on_deploy_token_id ON public.group_deploy_tokens USING btree (deploy_token_id);


--
-- Name: index_group_deploy_tokens_on_group_and_deploy_token_ids; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_group_deploy_tokens_on_group_and_deploy_token_ids ON public.group_deploy_tokens USING btree (group_id, deploy_token_id);


--
-- Name: index_group_group_links_on_shared_group_and_shared_with_group; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_group_group_links_on_shared_group_and_shared_with_group ON public.group_group_links USING btree (shared_group_id, shared_with_group_id);


--
-- Name: index_group_group_links_on_shared_with_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_group_links_on_shared_with_group_id ON public.group_group_links USING btree (shared_with_group_id);


--
-- Name: index_group_import_states_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_import_states_on_group_id ON public.group_import_states USING btree (group_id);


--
-- Name: index_group_import_states_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_import_states_on_user_id ON public.group_import_states USING btree (user_id) WHERE (user_id IS NOT NULL);


--
-- Name: index_group_repository_storage_moves_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_repository_storage_moves_on_group_id ON public.group_repository_storage_moves USING btree (group_id);


--
-- Name: index_group_stages_on_group_id_group_value_stream_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_group_stages_on_group_id_group_value_stream_id_and_name ON public.analytics_cycle_analytics_group_stages USING btree (group_id, group_value_stream_id, name);


--
-- Name: index_group_stages_on_stage_event_hash_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_stages_on_stage_event_hash_id ON public.analytics_cycle_analytics_group_stages USING btree (stage_event_hash_id);


--
-- Name: index_group_wiki_repositories_on_disk_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_group_wiki_repositories_on_disk_path ON public.group_wiki_repositories USING btree (disk_path);


--
-- Name: index_group_wiki_repositories_on_shard_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_group_wiki_repositories_on_shard_id ON public.group_wiki_repositories USING btree (shard_id);


--
-- Name: index_historical_data_on_recorded_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_historical_data_on_recorded_at ON public.historical_data USING btree (recorded_at);


--
-- Name: index_http_integrations_on_active_and_project_and_endpoint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_http_integrations_on_active_and_project_and_endpoint ON public.alert_management_http_integrations USING btree (active, project_id, endpoint_identifier) WHERE active;


--
-- Name: index_identities_on_saml_provider_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_identities_on_saml_provider_id ON public.identities USING btree (saml_provider_id) WHERE (saml_provider_id IS NOT NULL);


--
-- Name: index_identities_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_identities_on_user_id ON public.identities USING btree (user_id);


--
-- Name: index_im_issuable_escalation_statuses_on_policy_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_im_issuable_escalation_statuses_on_policy_id ON public.incident_management_issuable_escalation_statuses USING btree (policy_id);


--
-- Name: index_im_oncall_schedules_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_im_oncall_schedules_on_project_id_and_iid ON public.incident_management_oncall_schedules USING btree (project_id, iid);


--
-- Name: index_import_export_uploads_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_import_export_uploads_on_group_id ON public.import_export_uploads USING btree (group_id) WHERE (group_id IS NOT NULL);


--
-- Name: index_import_export_uploads_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_import_export_uploads_on_project_id ON public.import_export_uploads USING btree (project_id);


--
-- Name: index_import_export_uploads_on_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_import_export_uploads_on_updated_at ON public.import_export_uploads USING btree (updated_at);


--
-- Name: index_import_failures_on_correlation_id_value; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_import_failures_on_correlation_id_value ON public.import_failures USING btree (correlation_id_value);


--
-- Name: index_import_failures_on_group_id_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_import_failures_on_group_id_not_null ON public.import_failures USING btree (group_id) WHERE (group_id IS NOT NULL);


--
-- Name: index_import_failures_on_project_id_and_correlation_id_value; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_import_failures_on_project_id_and_correlation_id_value ON public.import_failures USING btree (project_id, correlation_id_value) WHERE (retry_count = 0);


--
-- Name: index_import_failures_on_project_id_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_import_failures_on_project_id_not_null ON public.import_failures USING btree (project_id) WHERE (project_id IS NOT NULL);


--
-- Name: index_imported_projects_on_import_type_creator_id_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_imported_projects_on_import_type_creator_id_created_at ON public.projects USING btree (import_type, creator_id, created_at) WHERE (import_type IS NOT NULL);


--
-- Name: index_in_product_marketing_emails_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_in_product_marketing_emails_on_user_id ON public.in_product_marketing_emails USING btree (user_id);


--
-- Name: index_in_product_marketing_emails_on_user_track_series; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_in_product_marketing_emails_on_user_track_series ON public.in_product_marketing_emails USING btree (user_id, track, series);


--
-- Name: index_inc_mgmnt_oncall_participants_on_oncall_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_inc_mgmnt_oncall_participants_on_oncall_user_id ON public.incident_management_oncall_participants USING btree (user_id);


--
-- Name: index_inc_mgmnt_oncall_participants_on_user_id_and_rotation_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_inc_mgmnt_oncall_participants_on_user_id_and_rotation_id ON public.incident_management_oncall_participants USING btree (user_id, oncall_rotation_id);


--
-- Name: index_inc_mgmnt_oncall_pcpnt_on_oncall_rotation_id_is_removed; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_inc_mgmnt_oncall_pcpnt_on_oncall_rotation_id_is_removed ON public.incident_management_oncall_participants USING btree (oncall_rotation_id, is_removed);


--
-- Name: index_inc_mgmnt_oncall_rotations_on_oncall_schedule_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_inc_mgmnt_oncall_rotations_on_oncall_schedule_id_and_id ON public.incident_management_oncall_rotations USING btree (oncall_schedule_id, id);


--
-- Name: index_inc_mgmnt_oncall_rotations_on_oncall_schedule_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_inc_mgmnt_oncall_rotations_on_oncall_schedule_id_and_name ON public.incident_management_oncall_rotations USING btree (oncall_schedule_id, name);


--
-- Name: index_incident_management_oncall_schedules_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_incident_management_oncall_schedules_on_project_id ON public.incident_management_oncall_schedules USING btree (project_id);


--
-- Name: index_incident_management_oncall_shifts_on_participant_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_incident_management_oncall_shifts_on_participant_id ON public.incident_management_oncall_shifts USING btree (participant_id);


--
-- Name: index_incident_management_pending_alert_escalations_on_alert_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_incident_management_pending_alert_escalations_on_alert_id ON ONLY public.incident_management_pending_alert_escalations USING btree (alert_id);


--
-- Name: index_incident_management_pending_alert_escalations_on_rule_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_incident_management_pending_alert_escalations_on_rule_id ON ONLY public.incident_management_pending_alert_escalations USING btree (rule_id);


--
-- Name: index_incident_management_pending_alert_escalations_on_schedule; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_incident_management_pending_alert_escalations_on_schedule ON ONLY public.incident_management_pending_alert_escalations USING btree (schedule_id);


--
-- Name: index_index_statuses_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_index_statuses_on_project_id ON public.index_statuses USING btree (project_id);


--
-- Name: index_insights_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_insights_on_namespace_id ON public.insights USING btree (namespace_id);


--
-- Name: index_insights_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_insights_on_project_id ON public.insights USING btree (project_id);


--
-- Name: index_integrations_on_inherit_from_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_integrations_on_inherit_from_id ON public.integrations USING btree (inherit_from_id);


--
-- Name: index_integrations_on_project_and_type_where_inherit_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_integrations_on_project_and_type_where_inherit_null ON public.integrations USING btree (project_id, type) WHERE (inherit_from_id IS NULL);


--
-- Name: index_integrations_on_project_id_and_type_unique; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_integrations_on_project_id_and_type_unique ON public.integrations USING btree (project_id, type);


--
-- Name: index_integrations_on_template; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_integrations_on_template ON public.integrations USING btree (template);


--
-- Name: index_integrations_on_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_integrations_on_type ON public.integrations USING btree (type);


--
-- Name: index_integrations_on_type_and_instance_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_integrations_on_type_and_instance_partial ON public.integrations USING btree (type, instance) WHERE (instance = true);


--
-- Name: index_integrations_on_type_and_template_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_integrations_on_type_and_template_partial ON public.integrations USING btree (type, template) WHERE (template = true);


--
-- Name: index_integrations_on_type_id_when_active_and_project_id_not_nu; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_integrations_on_type_id_when_active_and_project_id_not_nu ON public.integrations USING btree (type, id) WHERE ((active = true) AND (project_id IS NOT NULL));


--
-- Name: index_integrations_on_unique_group_id_and_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_integrations_on_unique_group_id_and_type ON public.integrations USING btree (group_id, type);


--
-- Name: index_internal_ids_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_internal_ids_on_namespace_id ON public.internal_ids USING btree (namespace_id);


--
-- Name: index_internal_ids_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_internal_ids_on_project_id ON public.internal_ids USING btree (project_id);


--
-- Name: index_internal_ids_on_usage_and_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_internal_ids_on_usage_and_namespace_id ON public.internal_ids USING btree (usage, namespace_id) WHERE (namespace_id IS NOT NULL);


--
-- Name: index_internal_ids_on_usage_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_internal_ids_on_usage_and_project_id ON public.internal_ids USING btree (usage, project_id) WHERE (project_id IS NOT NULL);


--
-- Name: index_ip_restrictions_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_ip_restrictions_on_group_id ON public.ip_restrictions USING btree (group_id);


--
-- Name: index_issuable_metric_images_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issuable_metric_images_on_issue_id ON public.issuable_metric_images USING btree (issue_id);


--
-- Name: index_issuable_severities_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_issuable_severities_on_issue_id ON public.issuable_severities USING btree (issue_id);


--
-- Name: index_issuable_slas_on_due_at_id_label_applied_issuable_closed; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issuable_slas_on_due_at_id_label_applied_issuable_closed ON public.issuable_slas USING btree (due_at, id) WHERE ((label_applied = false) AND (issuable_closed = false));


--
-- Name: index_issuable_slas_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_issuable_slas_on_issue_id ON public.issuable_slas USING btree (issue_id);


--
-- Name: index_issue_assignees_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issue_assignees_on_user_id ON public.issue_assignees USING btree (user_id);


--
-- Name: index_issue_email_participants_on_issue_id_and_lower_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_issue_email_participants_on_issue_id_and_lower_email ON public.issue_email_participants USING btree (issue_id, lower(email));


--
-- Name: index_issue_links_on_source_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issue_links_on_source_id ON public.issue_links USING btree (source_id);


--
-- Name: index_issue_links_on_source_id_and_target_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_issue_links_on_source_id_and_target_id ON public.issue_links USING btree (source_id, target_id);


--
-- Name: index_issue_links_on_target_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issue_links_on_target_id ON public.issue_links USING btree (target_id);


--
-- Name: index_issue_metrics_on_issue_id_and_timestamps; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issue_metrics_on_issue_id_and_timestamps ON public.issue_metrics USING btree (issue_id, first_mentioned_in_commit_at, first_associated_with_milestone_at, first_added_to_board_at);


--
-- Name: index_issue_on_project_id_state_id_and_blocking_issues_count; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issue_on_project_id_state_id_and_blocking_issues_count ON public.issues USING btree (project_id, state_id, blocking_issues_count);


--
-- Name: index_issue_tracker_data_on_service_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issue_tracker_data_on_service_id ON public.issue_tracker_data USING btree (service_id);


--
-- Name: index_issue_user_mentions_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_issue_user_mentions_on_note_id ON public.issue_user_mentions USING btree (note_id) WHERE (note_id IS NOT NULL);


--
-- Name: index_issues_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_author_id ON public.issues USING btree (author_id);


--
-- Name: index_issues_on_author_id_and_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_author_id_and_id_and_created_at ON public.issues USING btree (author_id, id, created_at);


--
-- Name: index_issues_on_closed_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_closed_by_id ON public.issues USING btree (closed_by_id);


--
-- Name: index_issues_on_confidential; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_confidential ON public.issues USING btree (confidential);


--
-- Name: index_issues_on_description_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_description_trigram ON public.issues USING gin (description public.gin_trgm_ops);


--
-- Name: index_issues_on_duplicated_to_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_duplicated_to_id ON public.issues USING btree (duplicated_to_id) WHERE (duplicated_to_id IS NOT NULL);


--
-- Name: index_issues_on_incident_issue_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_incident_issue_type ON public.issues USING btree (issue_type) WHERE (issue_type = 1);


--
-- Name: index_issues_on_last_edited_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_last_edited_by_id ON public.issues USING btree (last_edited_by_id);


--
-- Name: index_issues_on_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_milestone_id ON public.issues USING btree (milestone_id);


--
-- Name: index_issues_on_moved_to_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_moved_to_id ON public.issues USING btree (moved_to_id) WHERE (moved_to_id IS NOT NULL);


--
-- Name: index_issues_on_project_id_and_closed_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_project_id_and_closed_at ON public.issues USING btree (project_id, closed_at);


--
-- Name: index_issues_on_project_id_and_created_at_issue_type_incident; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_project_id_and_created_at_issue_type_incident ON public.issues USING btree (project_id, created_at) WHERE (issue_type = 1);


--
-- Name: index_issues_on_project_id_and_external_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_issues_on_project_id_and_external_key ON public.issues USING btree (project_id, external_key) WHERE (external_key IS NOT NULL);


--
-- Name: index_issues_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_issues_on_project_id_and_iid ON public.issues USING btree (project_id, iid);


--
-- Name: index_issues_on_project_id_and_state_id_and_created_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_project_id_and_state_id_and_created_at_and_id ON public.issues USING btree (project_id, state_id, created_at, id);


--
-- Name: index_issues_on_project_id_and_upvotes_count; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_project_id_and_upvotes_count ON public.issues USING btree (project_id, upvotes_count);


--
-- Name: index_issues_on_promoted_to_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_promoted_to_epic_id ON public.issues USING btree (promoted_to_epic_id) WHERE (promoted_to_epic_id IS NOT NULL);


--
-- Name: index_issues_on_sprint_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_sprint_id ON public.issues USING btree (sprint_id);


--
-- Name: index_issues_on_title_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_title_trigram ON public.issues USING gin (title public.gin_trgm_ops);


--
-- Name: index_issues_on_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_updated_at ON public.issues USING btree (updated_at);


--
-- Name: index_issues_on_updated_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_updated_by_id ON public.issues USING btree (updated_by_id) WHERE (updated_by_id IS NOT NULL);


--
-- Name: index_issues_on_work_item_type_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_issues_on_work_item_type_id ON public.issues USING btree (work_item_type_id);


--
-- Name: index_iterations_cadences_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_iterations_cadences_on_group_id ON public.iterations_cadences USING btree (group_id);


--
-- Name: index_jira_connect_installations_on_client_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_jira_connect_installations_on_client_key ON public.jira_connect_installations USING btree (client_key);


--
-- Name: index_jira_connect_subscriptions_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_jira_connect_subscriptions_on_namespace_id ON public.jira_connect_subscriptions USING btree (namespace_id);


--
-- Name: index_jira_imports_on_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_jira_imports_on_label_id ON public.jira_imports USING btree (label_id);


--
-- Name: index_jira_imports_on_project_id_and_jira_project_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_jira_imports_on_project_id_and_jira_project_key ON public.jira_imports USING btree (project_id, jira_project_key);


--
-- Name: index_jira_imports_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_jira_imports_on_user_id ON public.jira_imports USING btree (user_id);


--
-- Name: index_jira_tracker_data_on_service_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_jira_tracker_data_on_service_id ON public.jira_tracker_data USING btree (service_id);


--
-- Name: index_keys_on_expires_at_and_expiry_notification_undelivered; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_keys_on_expires_at_and_expiry_notification_undelivered ON public.keys USING btree (date(timezone('UTC'::text, expires_at)), expiry_notification_delivered_at) WHERE (expiry_notification_delivered_at IS NULL);


--
-- Name: index_keys_on_expires_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_keys_on_expires_at_and_id ON public.keys USING btree (date(timezone('UTC'::text, expires_at)), id) WHERE (expiry_notification_delivered_at IS NULL);


--
-- Name: index_keys_on_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_keys_on_fingerprint ON public.keys USING btree (fingerprint);


--
-- Name: index_keys_on_fingerprint_sha256; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_keys_on_fingerprint_sha256 ON public.keys USING btree (fingerprint_sha256);


--
-- Name: index_keys_on_id_and_ldap_key_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_keys_on_id_and_ldap_key_type ON public.keys USING btree (id) WHERE ((type)::text = 'LDAPKey'::text);


--
-- Name: index_keys_on_last_used_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_keys_on_last_used_at ON public.keys USING btree (last_used_at DESC NULLS LAST);


--
-- Name: index_keys_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_keys_on_user_id ON public.keys USING btree (user_id);


--
-- Name: index_kubernetes_namespaces_on_cluster_project_environment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_kubernetes_namespaces_on_cluster_project_environment_id ON public.clusters_kubernetes_namespaces USING btree (cluster_id, project_id, environment_id);


--
-- Name: index_label_links_on_label_id_and_target_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_label_links_on_label_id_and_target_type ON public.label_links USING btree (label_id, target_type);


--
-- Name: index_label_links_on_target_id_and_target_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_label_links_on_target_id_and_target_type ON public.label_links USING btree (target_id, target_type);


--
-- Name: index_label_priorities_on_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_label_priorities_on_label_id ON public.label_priorities USING btree (label_id);


--
-- Name: index_label_priorities_on_priority; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_label_priorities_on_priority ON public.label_priorities USING btree (priority);


--
-- Name: index_label_priorities_on_project_id_and_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_label_priorities_on_project_id_and_label_id ON public.label_priorities USING btree (project_id, label_id);


--
-- Name: index_labels_on_group_id_and_project_id_and_title; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_labels_on_group_id_and_project_id_and_title ON public.labels USING btree (group_id, project_id, title);


--
-- Name: index_labels_on_group_id_and_title_unique; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_labels_on_group_id_and_title_unique ON public.labels USING btree (group_id, title) WHERE (project_id IS NULL);


--
-- Name: index_labels_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_labels_on_project_id ON public.labels USING btree (project_id);


--
-- Name: index_labels_on_project_id_and_title_unique; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_labels_on_project_id_and_title_unique ON public.labels USING btree (project_id, title) WHERE (group_id IS NULL);


--
-- Name: index_labels_on_template; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_labels_on_template ON public.labels USING btree (template) WHERE template;


--
-- Name: index_labels_on_title; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_labels_on_title ON public.labels USING btree (title);


--
-- Name: index_labels_on_type_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_labels_on_type_and_project_id ON public.labels USING btree (type, project_id);


--
-- Name: index_lfs_file_locks_on_project_id_and_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_lfs_file_locks_on_project_id_and_path ON public.lfs_file_locks USING btree (project_id, path);


--
-- Name: index_lfs_file_locks_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lfs_file_locks_on_user_id ON public.lfs_file_locks USING btree (user_id);


--
-- Name: index_lfs_objects_on_file_store; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lfs_objects_on_file_store ON public.lfs_objects USING btree (file_store);


--
-- Name: index_lfs_objects_on_oid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_lfs_objects_on_oid ON public.lfs_objects USING btree (oid);


--
-- Name: index_lfs_objects_projects_on_lfs_object_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lfs_objects_projects_on_lfs_object_id ON public.lfs_objects_projects USING btree (lfs_object_id);


--
-- Name: index_lfs_objects_projects_on_project_id_and_lfs_object_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lfs_objects_projects_on_project_id_and_lfs_object_id ON public.lfs_objects_projects USING btree (project_id, lfs_object_id);


--
-- Name: index_list_user_preferences_on_list_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_list_user_preferences_on_list_id ON public.list_user_preferences USING btree (list_id);


--
-- Name: index_list_user_preferences_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_list_user_preferences_on_user_id ON public.list_user_preferences USING btree (user_id);


--
-- Name: index_list_user_preferences_on_user_id_and_list_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_list_user_preferences_on_user_id_and_list_id ON public.list_user_preferences USING btree (user_id, list_id);


--
-- Name: index_lists_on_board_id_and_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_lists_on_board_id_and_label_id ON public.lists USING btree (board_id, label_id);


--
-- Name: index_lists_on_iteration_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lists_on_iteration_id ON public.lists USING btree (iteration_id);


--
-- Name: index_lists_on_label_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lists_on_label_id ON public.lists USING btree (label_id);


--
-- Name: index_lists_on_list_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lists_on_list_type ON public.lists USING btree (list_type);


--
-- Name: index_lists_on_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lists_on_milestone_id ON public.lists USING btree (milestone_id);


--
-- Name: index_lists_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_lists_on_user_id ON public.lists USING btree (user_id);


--
-- Name: index_members_on_access_level; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_members_on_access_level ON public.members USING btree (access_level);


--
-- Name: index_members_on_expires_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_members_on_expires_at ON public.members USING btree (expires_at);


--
-- Name: index_members_on_invite_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_members_on_invite_email ON public.members USING btree (invite_email);


--
-- Name: index_members_on_invite_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_members_on_invite_token ON public.members USING btree (invite_token);


--
-- Name: index_members_on_requested_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_members_on_requested_at ON public.members USING btree (requested_at);


--
-- Name: index_members_on_source_id_and_source_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_members_on_source_id_and_source_type ON public.members USING btree (source_id, source_type);


--
-- Name: index_members_on_user_id_and_access_level_requested_at_is_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_members_on_user_id_and_access_level_requested_at_is_null ON public.members USING btree (user_id, access_level) WHERE (requested_at IS NULL);


--
-- Name: index_members_on_user_id_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_members_on_user_id_created_at ON public.members USING btree (user_id, created_at) WHERE ((ldap = true) AND ((type)::text = 'GroupMember'::text) AND ((source_type)::text = 'Namespace'::text));


--
-- Name: index_members_on_user_id_source_id_source_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_members_on_user_id_source_id_source_type ON public.members USING btree (user_id, source_id, source_type);


--
-- Name: index_merge_request_assignees_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_assignees_on_merge_request_id ON public.merge_request_assignees USING btree (merge_request_id);


--
-- Name: index_merge_request_assignees_on_merge_request_id_and_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_merge_request_assignees_on_merge_request_id_and_user_id ON public.merge_request_assignees USING btree (merge_request_id, user_id);


--
-- Name: index_merge_request_assignees_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_assignees_on_user_id ON public.merge_request_assignees USING btree (user_id);


--
-- Name: index_merge_request_blocks_on_blocked_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_blocks_on_blocked_merge_request_id ON public.merge_request_blocks USING btree (blocked_merge_request_id);


--
-- Name: index_merge_request_cleanup_schedules_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_merge_request_cleanup_schedules_on_merge_request_id ON public.merge_request_cleanup_schedules USING btree (merge_request_id);


--
-- Name: index_merge_request_cleanup_schedules_on_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_cleanup_schedules_on_status ON public.merge_request_cleanup_schedules USING btree (status);


--
-- Name: index_merge_request_diff_commit_users_on_name_and_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_merge_request_diff_commit_users_on_name_and_email ON public.merge_request_diff_commit_users USING btree (name, email);


--
-- Name: index_merge_request_diff_commits_on_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diff_commits_on_sha ON public.merge_request_diff_commits USING btree (sha);


--
-- Name: index_merge_request_diff_details_failed_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diff_details_failed_verification ON public.merge_request_diff_details USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);


--
-- Name: index_merge_request_diff_details_needs_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diff_details_needs_verification ON public.merge_request_diff_details USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));


--
-- Name: index_merge_request_diff_details_on_merge_request_diff_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diff_details_on_merge_request_diff_id ON public.merge_request_diff_details USING btree (merge_request_diff_id);


--
-- Name: index_merge_request_diff_details_on_verification_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diff_details_on_verification_state ON public.merge_request_diff_details USING btree (verification_state);


--
-- Name: index_merge_request_diff_details_pending_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diff_details_pending_verification ON public.merge_request_diff_details USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);


--
-- Name: index_merge_request_diffs_by_id_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diffs_by_id_partial ON public.merge_request_diffs USING btree (id) WHERE ((files_count > 0) AND ((NOT stored_externally) OR (stored_externally IS NULL)));


--
-- Name: index_merge_request_diffs_on_external_diff_store; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diffs_on_external_diff_store ON public.merge_request_diffs USING btree (external_diff_store);


--
-- Name: index_merge_request_diffs_on_merge_request_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_diffs_on_merge_request_id_and_id ON public.merge_request_diffs USING btree (merge_request_id, id);


--
-- Name: index_merge_request_diffs_on_unique_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_merge_request_diffs_on_unique_merge_request_id ON public.merge_request_diffs USING btree (merge_request_id) WHERE (diff_type = 2);


--
-- Name: index_merge_request_metrics_on_first_deployed_to_production_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_metrics_on_first_deployed_to_production_at ON public.merge_request_metrics USING btree (first_deployed_to_production_at);


--
-- Name: index_merge_request_metrics_on_latest_closed_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_metrics_on_latest_closed_at ON public.merge_request_metrics USING btree (latest_closed_at) WHERE (latest_closed_at IS NOT NULL);


--
-- Name: index_merge_request_metrics_on_latest_closed_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_metrics_on_latest_closed_by_id ON public.merge_request_metrics USING btree (latest_closed_by_id);


--
-- Name: index_merge_request_metrics_on_merge_request_id_and_merged_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_metrics_on_merge_request_id_and_merged_at ON public.merge_request_metrics USING btree (merge_request_id, merged_at) WHERE (merged_at IS NOT NULL);


--
-- Name: index_merge_request_metrics_on_merged_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_metrics_on_merged_at ON public.merge_request_metrics USING btree (merged_at);


--
-- Name: index_merge_request_metrics_on_merged_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_metrics_on_merged_by_id ON public.merge_request_metrics USING btree (merged_by_id);


--
-- Name: index_merge_request_metrics_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_metrics_on_pipeline_id ON public.merge_request_metrics USING btree (pipeline_id);


--
-- Name: index_merge_request_metrics_on_target_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_metrics_on_target_project_id ON public.merge_request_metrics USING btree (target_project_id);


--
-- Name: index_merge_request_reviewers_on_merge_request_id_and_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_merge_request_reviewers_on_merge_request_id_and_user_id ON public.merge_request_reviewers USING btree (merge_request_id, user_id);


--
-- Name: index_merge_request_reviewers_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_request_reviewers_on_user_id ON public.merge_request_reviewers USING btree (user_id);


--
-- Name: index_merge_request_user_mentions_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_merge_request_user_mentions_on_note_id ON public.merge_request_user_mentions USING btree (note_id) WHERE (note_id IS NOT NULL);


--
-- Name: index_merge_requests_closing_issues_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_closing_issues_on_issue_id ON public.merge_requests_closing_issues USING btree (issue_id);


--
-- Name: index_merge_requests_closing_issues_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_closing_issues_on_merge_request_id ON public.merge_requests_closing_issues USING btree (merge_request_id);


--
-- Name: index_merge_requests_on_assignee_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_assignee_id ON public.merge_requests USING btree (assignee_id);


--
-- Name: index_merge_requests_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_author_id ON public.merge_requests USING btree (author_id);


--
-- Name: index_merge_requests_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_created_at ON public.merge_requests USING btree (created_at);


--
-- Name: index_merge_requests_on_description_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_description_trigram ON public.merge_requests USING gin (description public.gin_trgm_ops);


--
-- Name: index_merge_requests_on_head_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_head_pipeline_id ON public.merge_requests USING btree (head_pipeline_id);


--
-- Name: index_merge_requests_on_latest_merge_request_diff_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_latest_merge_request_diff_id ON public.merge_requests USING btree (latest_merge_request_diff_id);


--
-- Name: index_merge_requests_on_merge_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_merge_user_id ON public.merge_requests USING btree (merge_user_id) WHERE (merge_user_id IS NOT NULL);


--
-- Name: index_merge_requests_on_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_milestone_id ON public.merge_requests USING btree (milestone_id);


--
-- Name: index_merge_requests_on_source_branch; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_source_branch ON public.merge_requests USING btree (source_branch);


--
-- Name: index_merge_requests_on_source_project_id_and_source_branch; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_source_project_id_and_source_branch ON public.merge_requests USING btree (source_project_id, source_branch);


--
-- Name: index_merge_requests_on_sprint_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_sprint_id ON public.merge_requests USING btree (sprint_id);


--
-- Name: index_merge_requests_on_target_branch; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_branch ON public.merge_requests USING btree (target_branch);


--
-- Name: index_merge_requests_on_target_project_id_and_created_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_project_id_and_created_at_and_id ON public.merge_requests USING btree (target_project_id, created_at, id);


--
-- Name: index_merge_requests_on_target_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_merge_requests_on_target_project_id_and_iid ON public.merge_requests USING btree (target_project_id, iid);


--
-- Name: index_merge_requests_on_target_project_id_and_iid_and_state_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_project_id_and_iid_and_state_id ON public.merge_requests USING btree (target_project_id, iid, state_id);


--
-- Name: index_merge_requests_on_target_project_id_and_iid_jira_title; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_project_id_and_iid_jira_title ON public.merge_requests USING btree (target_project_id, iid) WHERE ((title)::text ~ '[A-Z][A-Z_0-9]+-\d+'::text);


--
-- Name: index_merge_requests_on_target_project_id_and_source_branch; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_project_id_and_source_branch ON public.merge_requests USING btree (target_project_id, source_branch);


--
-- Name: index_merge_requests_on_target_project_id_and_squash_commit_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_project_id_and_squash_commit_sha ON public.merge_requests USING btree (target_project_id, squash_commit_sha);


--
-- Name: index_merge_requests_on_target_project_id_and_target_branch; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_project_id_and_target_branch ON public.merge_requests USING btree (target_project_id, target_branch) WHERE ((state_id = 1) AND (merge_when_pipeline_succeeds = true));


--
-- Name: index_merge_requests_on_target_project_id_and_updated_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_project_id_and_updated_at_and_id ON public.merge_requests USING btree (target_project_id, updated_at, id);


--
-- Name: index_merge_requests_on_target_project_id_iid_jira_description; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_target_project_id_iid_jira_description ON public.merge_requests USING btree (target_project_id, iid) WHERE (description ~ '[A-Z][A-Z_0-9]+-\d+'::text);


--
-- Name: index_merge_requests_on_title; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_title ON public.merge_requests USING btree (title);


--
-- Name: index_merge_requests_on_title_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_title_trigram ON public.merge_requests USING gin (title public.gin_trgm_ops);


--
-- Name: index_merge_requests_on_tp_id_and_merge_commit_sha_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_tp_id_and_merge_commit_sha_and_id ON public.merge_requests USING btree (target_project_id, merge_commit_sha, id);


--
-- Name: index_merge_requests_on_updated_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_requests_on_updated_by_id ON public.merge_requests USING btree (updated_by_id) WHERE (updated_by_id IS NOT NULL);


--
-- Name: index_merge_trains_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_merge_trains_on_merge_request_id ON public.merge_trains USING btree (merge_request_id);


--
-- Name: index_merge_trains_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_trains_on_pipeline_id ON public.merge_trains USING btree (pipeline_id);


--
-- Name: index_merge_trains_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_merge_trains_on_user_id ON public.merge_trains USING btree (user_id);


--
-- Name: index_metrics_dashboard_annotations_on_cluster_id_and_3_columns; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_metrics_dashboard_annotations_on_cluster_id_and_3_columns ON public.metrics_dashboard_annotations USING btree (cluster_id, dashboard_path, starting_at, ending_at) WHERE (cluster_id IS NOT NULL);


--
-- Name: index_metrics_dashboard_annotations_on_environment_id_and_3_col; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_metrics_dashboard_annotations_on_environment_id_and_3_col ON public.metrics_dashboard_annotations USING btree (environment_id, dashboard_path, starting_at, ending_at) WHERE (environment_id IS NOT NULL);


--
-- Name: index_metrics_dashboard_annotations_on_timespan_end; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_metrics_dashboard_annotations_on_timespan_end ON public.metrics_dashboard_annotations USING btree (COALESCE(ending_at, starting_at));


--
-- Name: index_metrics_users_starred_dashboards_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_metrics_users_starred_dashboards_on_project_id ON public.metrics_users_starred_dashboards USING btree (project_id);


--
-- Name: index_migration_jobs_on_migration_id_and_finished_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_migration_jobs_on_migration_id_and_finished_at ON public.batched_background_migration_jobs USING btree (batched_background_migration_id, finished_at);


--
-- Name: index_migration_jobs_on_migration_id_and_max_value; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_migration_jobs_on_migration_id_and_max_value ON public.batched_background_migration_jobs USING btree (batched_background_migration_id, max_value);


--
-- Name: index_milestone_releases_on_release_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_milestone_releases_on_release_id ON public.milestone_releases USING btree (release_id);


--
-- Name: index_milestones_on_description_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_milestones_on_description_trigram ON public.milestones USING gin (description public.gin_trgm_ops);


--
-- Name: index_milestones_on_due_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_milestones_on_due_date ON public.milestones USING btree (due_date);


--
-- Name: index_milestones_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_milestones_on_group_id ON public.milestones USING btree (group_id);


--
-- Name: index_milestones_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_milestones_on_project_id_and_iid ON public.milestones USING btree (project_id, iid);


--
-- Name: index_milestones_on_title; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_milestones_on_title ON public.milestones USING btree (title);


--
-- Name: index_milestones_on_title_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_milestones_on_title_trigram ON public.milestones USING gin (title public.gin_trgm_ops);


--
-- Name: index_mirror_data_non_scheduled_or_started; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_mirror_data_non_scheduled_or_started ON public.project_mirror_data USING btree (next_execution_timestamp, retry_count) WHERE ((status)::text <> ALL ('{scheduled,started}'::text[]));


--
-- Name: index_mr_blocks_on_blocking_and_blocked_mr_ids; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_mr_blocks_on_blocking_and_blocked_mr_ids ON public.merge_request_blocks USING btree (blocking_merge_request_id, blocked_merge_request_id);


--
-- Name: index_mr_cleanup_schedules_timestamps_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_mr_cleanup_schedules_timestamps_status ON public.merge_request_cleanup_schedules USING btree (scheduled_at) WHERE ((completed_at IS NULL) AND (status = 0));


--
-- Name: index_mr_context_commits_on_merge_request_id_and_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_mr_context_commits_on_merge_request_id_and_sha ON public.merge_request_context_commits USING btree (merge_request_id, sha);


--
-- Name: index_mr_metrics_on_target_project_id_merged_at_nulls_last; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_mr_metrics_on_target_project_id_merged_at_nulls_last ON public.merge_request_metrics USING btree (target_project_id, merged_at DESC NULLS LAST, id DESC);


--
-- Name: index_mr_metrics_on_target_project_id_merged_at_time_to_merge; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_mr_metrics_on_target_project_id_merged_at_time_to_merge ON public.merge_request_metrics USING btree (target_project_id, merged_at, created_at) WHERE (merged_at > created_at);


--
-- Name: index_namespace_admin_notes_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespace_admin_notes_on_namespace_id ON public.namespace_admin_notes USING btree (namespace_id);


--
-- Name: index_namespace_aggregation_schedules_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_namespace_aggregation_schedules_on_namespace_id ON public.namespace_aggregation_schedules USING btree (namespace_id);


--
-- Name: index_namespace_root_storage_statistics_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_namespace_root_storage_statistics_on_namespace_id ON public.namespace_root_storage_statistics USING btree (namespace_id);


--
-- Name: index_namespace_statistics_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_namespace_statistics_on_namespace_id ON public.namespace_statistics USING btree (namespace_id);


--
-- Name: index_namespaces_id_parent_id_is_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_id_parent_id_is_not_null ON public.namespaces USING btree (id) WHERE (parent_id IS NOT NULL);


--
-- Name: index_namespaces_id_parent_id_is_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_id_parent_id_is_null ON public.namespaces USING btree (id) WHERE (parent_id IS NULL);


--
-- Name: index_namespaces_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_created_at ON public.namespaces USING btree (created_at);


--
-- Name: index_namespaces_on_custom_project_templates_group_id_and_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_custom_project_templates_group_id_and_type ON public.namespaces USING btree (custom_project_templates_group_id, type) WHERE (custom_project_templates_group_id IS NOT NULL);


--
-- Name: index_namespaces_on_file_template_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_file_template_project_id ON public.namespaces USING btree (file_template_project_id);


--
-- Name: index_namespaces_on_ldap_sync_last_successful_update_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_ldap_sync_last_successful_update_at ON public.namespaces USING btree (ldap_sync_last_successful_update_at);


--
-- Name: index_namespaces_on_ldap_sync_last_update_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_ldap_sync_last_update_at ON public.namespaces USING btree (ldap_sync_last_update_at);


--
-- Name: index_namespaces_on_name_and_parent_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_namespaces_on_name_and_parent_id ON public.namespaces USING btree (name, parent_id);


--
-- Name: index_namespaces_on_name_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_name_trigram ON public.namespaces USING gin (name public.gin_trgm_ops);


--
-- Name: index_namespaces_on_owner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_owner_id ON public.namespaces USING btree (owner_id);


--
-- Name: index_namespaces_on_parent_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_namespaces_on_parent_id_and_id ON public.namespaces USING btree (parent_id, id);


--
-- Name: index_namespaces_on_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_path ON public.namespaces USING btree (path);


--
-- Name: index_namespaces_on_path_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_path_trigram ON public.namespaces USING gin (path public.gin_trgm_ops);


--
-- Name: index_namespaces_on_push_rule_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_namespaces_on_push_rule_id ON public.namespaces USING btree (push_rule_id);


--
-- Name: index_namespaces_on_require_two_factor_authentication; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_require_two_factor_authentication ON public.namespaces USING btree (require_two_factor_authentication);


--
-- Name: index_namespaces_on_runners_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_namespaces_on_runners_token ON public.namespaces USING btree (runners_token);


--
-- Name: index_namespaces_on_runners_token_encrypted; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_namespaces_on_runners_token_encrypted ON public.namespaces USING btree (runners_token_encrypted);


--
-- Name: index_namespaces_on_shared_and_extra_runners_minutes_limit; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_shared_and_extra_runners_minutes_limit ON public.namespaces USING btree (shared_runners_minutes_limit, extra_shared_runners_minutes_limit);


--
-- Name: index_namespaces_on_traversal_ids; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_traversal_ids ON public.namespaces USING gin (traversal_ids);


--
-- Name: index_namespaces_on_type_and_id_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_namespaces_on_type_and_id_partial ON public.namespaces USING btree (type, id) WHERE (type IS NOT NULL);


--
-- Name: index_non_requested_project_members_on_source_id_and_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_non_requested_project_members_on_source_id_and_type ON public.members USING btree (source_id, source_type) WHERE ((requested_at IS NULL) AND ((type)::text = 'ProjectMember'::text));


--
-- Name: index_note_diff_files_on_diff_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_note_diff_files_on_diff_note_id ON public.note_diff_files USING btree (diff_note_id);


--
-- Name: index_notes_for_cherry_picked_merge_requests; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_for_cherry_picked_merge_requests ON public.notes USING btree (project_id, commit_id) WHERE ((noteable_type)::text = 'MergeRequest'::text);


--
-- Name: index_notes_on_author_id_and_created_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_author_id_and_created_at_and_id ON public.notes USING btree (author_id, created_at, id);


--
-- Name: index_notes_on_commit_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_commit_id ON public.notes USING btree (commit_id);


--
-- Name: index_notes_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_created_at ON public.notes USING btree (created_at);


--
-- Name: index_notes_on_discussion_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_discussion_id ON public.notes USING btree (discussion_id);


--
-- Name: index_notes_on_line_code; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_line_code ON public.notes USING btree (line_code);


--
-- Name: index_notes_on_note_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_note_trigram ON public.notes USING gin (note public.gin_trgm_ops);


--
-- Name: index_notes_on_noteable_id_and_noteable_type_and_system; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_noteable_id_and_noteable_type_and_system ON public.notes USING btree (noteable_id, noteable_type, system);


--
-- Name: index_notes_on_project_id_and_id_and_system_false; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_project_id_and_id_and_system_false ON public.notes USING btree (project_id, id) WHERE (NOT system);


--
-- Name: index_notes_on_project_id_and_noteable_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_project_id_and_noteable_type ON public.notes USING btree (project_id, noteable_type);


--
-- Name: index_notes_on_review_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notes_on_review_id ON public.notes USING btree (review_id);


--
-- Name: index_notification_settings_on_source_and_level_and_user; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_notification_settings_on_source_and_level_and_user ON public.notification_settings USING btree (source_id, source_type, level, user_id);


--
-- Name: index_notifications_on_user_id_and_source_id_and_source_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_notifications_on_user_id_and_source_id_and_source_type ON public.notification_settings USING btree (user_id, source_id, source_type);


--
-- Name: index_oauth_access_grants_on_resource_owner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_oauth_access_grants_on_resource_owner_id ON public.oauth_access_grants USING btree (resource_owner_id, application_id, created_at);


--
-- Name: index_oauth_access_grants_on_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_oauth_access_grants_on_token ON public.oauth_access_grants USING btree (token);


--
-- Name: index_oauth_access_tokens_on_application_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_oauth_access_tokens_on_application_id ON public.oauth_access_tokens USING btree (application_id);


--
-- Name: index_oauth_access_tokens_on_refresh_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_oauth_access_tokens_on_refresh_token ON public.oauth_access_tokens USING btree (refresh_token);


--
-- Name: index_oauth_access_tokens_on_resource_owner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_oauth_access_tokens_on_resource_owner_id ON public.oauth_access_tokens USING btree (resource_owner_id);


--
-- Name: index_oauth_access_tokens_on_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_oauth_access_tokens_on_token ON public.oauth_access_tokens USING btree (token);


--
-- Name: index_oauth_applications_on_owner_id_and_owner_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_oauth_applications_on_owner_id_and_owner_type ON public.oauth_applications USING btree (owner_id, owner_type);


--
-- Name: index_oauth_applications_on_uid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_oauth_applications_on_uid ON public.oauth_applications USING btree (uid);


--
-- Name: index_oauth_openid_requests_on_access_grant_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_oauth_openid_requests_on_access_grant_id ON public.oauth_openid_requests USING btree (access_grant_id);


--
-- Name: index_on_deploy_keys_id_and_type_and_public; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_on_deploy_keys_id_and_type_and_public ON public.keys USING btree (id, type) WHERE (public = true);


--
-- Name: index_on_identities_lower_extern_uid_and_provider; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_identities_lower_extern_uid_and_provider ON public.identities USING btree (lower((extern_uid)::text), provider);


--
-- Name: index_on_instance_statistics_recorded_at_and_identifier; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_on_instance_statistics_recorded_at_and_identifier ON public.analytics_usage_trends_measurements USING btree (identifier, recorded_at);


--
-- Name: index_on_label_links_all_columns; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_label_links_all_columns ON public.label_links USING btree (target_id, label_id, target_type);


--
-- Name: index_on_merge_requests_for_latest_diffs; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_merge_requests_for_latest_diffs ON public.merge_requests USING btree (target_project_id) INCLUDE (id, latest_merge_request_diff_id);


--
-- Name: INDEX index_on_merge_requests_for_latest_diffs; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON INDEX public.index_on_merge_requests_for_latest_diffs IS 'Index used to efficiently obtain the oldest merge request for a commit SHA';


--
-- Name: index_on_namespaces_lower_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_namespaces_lower_name ON public.namespaces USING btree (lower((name)::text));


--
-- Name: index_on_namespaces_lower_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_namespaces_lower_path ON public.namespaces USING btree (lower((path)::text));


--
-- Name: index_on_oncall_schedule_escalation_rule; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_oncall_schedule_escalation_rule ON public.incident_management_escalation_rules USING btree (oncall_schedule_id);


--
-- Name: index_on_pages_metadata_not_migrated; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_pages_metadata_not_migrated ON public.project_pages_metadata USING btree (project_id) WHERE ((deployed = true) AND (pages_deployment_id IS NULL));


--
-- Name: index_on_project_id_escalation_policy_name_unique; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_on_project_id_escalation_policy_name_unique ON public.incident_management_escalation_policies USING btree (project_id, name);


--
-- Name: index_on_projects_lower_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_projects_lower_path ON public.projects USING btree (lower((path)::text));


--
-- Name: index_on_routes_lower_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_routes_lower_path ON public.routes USING btree (lower((path)::text));


--
-- Name: index_on_snapshots_segment_id_end_time; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_snapshots_segment_id_end_time ON public.analytics_devops_adoption_snapshots USING btree (segment_id, end_time);


--
-- Name: index_on_snapshots_segment_id_recorded_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_snapshots_segment_id_recorded_at ON public.analytics_devops_adoption_snapshots USING btree (segment_id, recorded_at);


--
-- Name: index_on_users_lower_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_users_lower_email ON public.users USING btree (lower((email)::text));


--
-- Name: index_on_users_lower_username; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_users_lower_username ON public.users USING btree (lower((username)::text));


--
-- Name: index_on_users_name_lower; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_on_users_name_lower ON public.users USING btree (lower((name)::text));


--
-- Name: index_onboarding_progresses_for_create_track; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_onboarding_progresses_for_create_track ON public.onboarding_progresses USING btree (created_at) WHERE (git_write_at IS NULL);


--
-- Name: index_onboarding_progresses_for_team_track; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_onboarding_progresses_for_team_track ON public.onboarding_progresses USING btree (GREATEST(git_write_at, pipeline_created_at, trial_started_at)) WHERE ((git_write_at IS NOT NULL) AND (pipeline_created_at IS NOT NULL) AND (trial_started_at IS NOT NULL) AND (user_added_at IS NULL));


--
-- Name: index_onboarding_progresses_for_trial_track; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_onboarding_progresses_for_trial_track ON public.onboarding_progresses USING btree (GREATEST(git_write_at, pipeline_created_at)) WHERE ((git_write_at IS NOT NULL) AND (pipeline_created_at IS NOT NULL) AND (trial_started_at IS NULL));


--
-- Name: index_onboarding_progresses_for_verify_track; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_onboarding_progresses_for_verify_track ON public.onboarding_progresses USING btree (git_write_at) WHERE ((git_write_at IS NOT NULL) AND (pipeline_created_at IS NULL));


--
-- Name: index_onboarding_progresses_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_onboarding_progresses_on_namespace_id ON public.onboarding_progresses USING btree (namespace_id);


--
-- Name: index_oncall_shifts_on_rotation_id_and_starts_at_and_ends_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_oncall_shifts_on_rotation_id_and_starts_at_and_ends_at ON public.incident_management_oncall_shifts USING btree (rotation_id, starts_at, ends_at);


--
-- Name: index_open_project_tracker_data_on_service_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_open_project_tracker_data_on_service_id ON public.open_project_tracker_data USING btree (service_id);


--
-- Name: index_operations_feature_flags_issues_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_operations_feature_flags_issues_on_issue_id ON public.operations_feature_flags_issues USING btree (issue_id);


--
-- Name: index_operations_feature_flags_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_operations_feature_flags_on_project_id_and_iid ON public.operations_feature_flags USING btree (project_id, iid);


--
-- Name: index_operations_feature_flags_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_operations_feature_flags_on_project_id_and_name ON public.operations_feature_flags USING btree (project_id, name);


--
-- Name: index_operations_scopes_on_strategy_id_and_environment_scope; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_operations_scopes_on_strategy_id_and_environment_scope ON public.operations_scopes USING btree (strategy_id, environment_scope);


--
-- Name: index_operations_strategies_on_feature_flag_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_operations_strategies_on_feature_flag_id ON public.operations_strategies USING btree (feature_flag_id);


--
-- Name: index_operations_strategies_user_lists_on_user_list_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_operations_strategies_user_lists_on_user_list_id ON public.operations_strategies_user_lists USING btree (user_list_id);


--
-- Name: index_operations_user_lists_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_operations_user_lists_on_project_id_and_iid ON public.operations_user_lists USING btree (project_id, iid);


--
-- Name: index_operations_user_lists_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_operations_user_lists_on_project_id_and_name ON public.operations_user_lists USING btree (project_id, name);


--
-- Name: index_ops_feature_flags_issues_on_feature_flag_id_and_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ops_feature_flags_issues_on_feature_flag_id_and_issue_id ON public.operations_feature_flags_issues USING btree (feature_flag_id, issue_id);


--
-- Name: index_ops_strategies_user_lists_on_strategy_id_and_user_list_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_ops_strategies_user_lists_on_strategy_id_and_user_list_id ON public.operations_strategies_user_lists USING btree (strategy_id, user_list_id);


--
-- Name: index_packages_build_infos_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_build_infos_on_pipeline_id ON public.packages_build_infos USING btree (pipeline_id);


--
-- Name: index_packages_composer_cache_namespace_and_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_composer_cache_namespace_and_sha ON public.packages_composer_cache_files USING btree (namespace_id, file_sha256);


--
-- Name: index_packages_composer_metadata_on_package_id_and_target_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_composer_metadata_on_package_id_and_target_sha ON public.packages_composer_metadata USING btree (package_id, target_sha);


--
-- Name: index_packages_conan_file_metadata_on_package_file_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_conan_file_metadata_on_package_file_id ON public.packages_conan_file_metadata USING btree (package_file_id);


--
-- Name: index_packages_conan_metadata_on_package_id_username_channel; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_conan_metadata_on_package_id_username_channel ON public.packages_conan_metadata USING btree (package_id, package_username, package_channel);


--
-- Name: index_packages_debian_group_component_files_on_component_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_debian_group_component_files_on_component_id ON public.packages_debian_group_component_files USING btree (component_id);


--
-- Name: index_packages_debian_group_distributions_on_creator_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_debian_group_distributions_on_creator_id ON public.packages_debian_group_distributions USING btree (creator_id);


--
-- Name: index_packages_debian_group_distributions_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_debian_group_distributions_on_group_id ON public.packages_debian_group_distributions USING btree (group_id);


--
-- Name: index_packages_debian_project_component_files_on_component_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_debian_project_component_files_on_component_id ON public.packages_debian_project_component_files USING btree (component_id);


--
-- Name: index_packages_debian_project_distributions_on_creator_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_debian_project_distributions_on_creator_id ON public.packages_debian_project_distributions USING btree (creator_id);


--
-- Name: index_packages_debian_project_distributions_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_debian_project_distributions_on_project_id ON public.packages_debian_project_distributions USING btree (project_id);


--
-- Name: index_packages_debian_publications_on_distribution_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_debian_publications_on_distribution_id ON public.packages_debian_publications USING btree (distribution_id);


--
-- Name: index_packages_debian_publications_on_package_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_debian_publications_on_package_id ON public.packages_debian_publications USING btree (package_id);


--
-- Name: index_packages_dependencies_on_name_and_version_pattern; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_dependencies_on_name_and_version_pattern ON public.packages_dependencies USING btree (name, version_pattern);


--
-- Name: index_packages_dependency_links_on_dependency_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_dependency_links_on_dependency_id ON public.packages_dependency_links USING btree (dependency_id);


--
-- Name: index_packages_events_on_package_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_events_on_package_id ON public.packages_events USING btree (package_id);


--
-- Name: index_packages_helm_file_metadata_on_channel; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_helm_file_metadata_on_channel ON public.packages_helm_file_metadata USING btree (channel);


--
-- Name: index_packages_maven_metadata_on_package_id_and_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_maven_metadata_on_package_id_and_path ON public.packages_maven_metadata USING btree (package_id, path);


--
-- Name: index_packages_maven_metadata_on_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_maven_metadata_on_path ON public.packages_maven_metadata USING btree (path);


--
-- Name: index_packages_nuget_dl_metadata_on_dependency_link_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_nuget_dl_metadata_on_dependency_link_id ON public.packages_nuget_dependency_link_metadata USING btree (dependency_link_id);


--
-- Name: index_packages_on_project_id_name_version_unique_when_generic; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_on_project_id_name_version_unique_when_generic ON public.packages_packages USING btree (project_id, name, version) WHERE (package_type = 7);


--
-- Name: index_packages_on_project_id_name_version_unique_when_golang; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_on_project_id_name_version_unique_when_golang ON public.packages_packages USING btree (project_id, name, version) WHERE (package_type = 8);


--
-- Name: index_packages_on_project_id_name_version_unique_when_helm; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_packages_on_project_id_name_version_unique_when_helm ON public.packages_packages USING btree (project_id, name, version) WHERE (package_type = 11);


--
-- Name: index_packages_package_file_build_infos_on_package_file_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_package_file_build_infos_on_package_file_id ON public.packages_package_file_build_infos USING btree (package_file_id);


--
-- Name: index_packages_package_file_build_infos_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_package_file_build_infos_on_pipeline_id ON public.packages_package_file_build_infos USING btree (pipeline_id);


--
-- Name: index_packages_package_files_on_file_store; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_package_files_on_file_store ON public.packages_package_files USING btree (file_store);


--
-- Name: index_packages_package_files_on_package_id_and_file_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_package_files_on_package_id_and_file_name ON public.packages_package_files USING btree (package_id, file_name);


--
-- Name: index_packages_package_files_on_verification_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_package_files_on_verification_state ON public.packages_package_files USING btree (verification_state);


--
-- Name: index_packages_packages_on_creator_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_packages_on_creator_id ON public.packages_packages USING btree (creator_id);


--
-- Name: index_packages_packages_on_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_packages_on_id_and_created_at ON public.packages_packages USING btree (id, created_at);


--
-- Name: index_packages_packages_on_name_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_packages_on_name_trigram ON public.packages_packages USING gin (name public.gin_trgm_ops);


--
-- Name: index_packages_packages_on_project_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_packages_on_project_id_and_created_at ON public.packages_packages USING btree (project_id, created_at);


--
-- Name: index_packages_packages_on_project_id_and_package_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_packages_on_project_id_and_package_type ON public.packages_packages USING btree (project_id, package_type);


--
-- Name: index_packages_packages_on_project_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_packages_on_project_id_and_status ON public.packages_packages USING btree (project_id, status);


--
-- Name: index_packages_packages_on_project_id_and_version; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_packages_on_project_id_and_version ON public.packages_packages USING btree (project_id, version);


--
-- Name: index_packages_project_id_name_partial_for_nuget; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_project_id_name_partial_for_nuget ON public.packages_packages USING btree (project_id, name) WHERE (((name)::text <> 'NuGet.Temporary.Package'::text) AND (version IS NOT NULL) AND (package_type = 4));


--
-- Name: index_packages_tags_on_package_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_tags_on_package_id ON public.packages_tags USING btree (package_id);


--
-- Name: index_packages_tags_on_package_id_and_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_packages_tags_on_package_id_and_updated_at ON public.packages_tags USING btree (package_id, updated_at DESC);


--
-- Name: index_pages_deployments_on_ci_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_deployments_on_ci_build_id ON public.pages_deployments USING btree (ci_build_id);


--
-- Name: index_pages_deployments_on_file_store_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_deployments_on_file_store_and_id ON public.pages_deployments USING btree (file_store, id);


--
-- Name: index_pages_deployments_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_deployments_on_project_id ON public.pages_deployments USING btree (project_id);


--
-- Name: index_pages_domain_acme_orders_on_challenge_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domain_acme_orders_on_challenge_token ON public.pages_domain_acme_orders USING btree (challenge_token);


--
-- Name: index_pages_domain_acme_orders_on_pages_domain_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domain_acme_orders_on_pages_domain_id ON public.pages_domain_acme_orders USING btree (pages_domain_id);


--
-- Name: index_pages_domains_need_auto_ssl_renewal_user_provided; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_need_auto_ssl_renewal_user_provided ON public.pages_domains USING btree (id) WHERE ((auto_ssl_enabled = true) AND (auto_ssl_failed = false) AND (certificate_source = 0));


--
-- Name: index_pages_domains_need_auto_ssl_renewal_valid_not_after; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_need_auto_ssl_renewal_valid_not_after ON public.pages_domains USING btree (certificate_valid_not_after) WHERE ((auto_ssl_enabled = true) AND (auto_ssl_failed = false));


--
-- Name: index_pages_domains_on_domain_and_wildcard; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_pages_domains_on_domain_and_wildcard ON public.pages_domains USING btree (domain, wildcard);


--
-- Name: index_pages_domains_on_domain_lowercase; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_domain_lowercase ON public.pages_domains USING btree (lower((domain)::text));


--
-- Name: index_pages_domains_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_project_id ON public.pages_domains USING btree (project_id);


--
-- Name: index_pages_domains_on_project_id_and_enabled_until; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_project_id_and_enabled_until ON public.pages_domains USING btree (project_id, enabled_until);


--
-- Name: index_pages_domains_on_remove_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_remove_at ON public.pages_domains USING btree (remove_at);


--
-- Name: index_pages_domains_on_scope; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_scope ON public.pages_domains USING btree (scope);


--
-- Name: index_pages_domains_on_usage; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_usage ON public.pages_domains USING btree (usage);


--
-- Name: index_pages_domains_on_verified_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_verified_at ON public.pages_domains USING btree (verified_at);


--
-- Name: index_pages_domains_on_verified_at_and_enabled_until; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_verified_at_and_enabled_until ON public.pages_domains USING btree (verified_at, enabled_until);


--
-- Name: index_pages_domains_on_wildcard; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pages_domains_on_wildcard ON public.pages_domains USING btree (wildcard);


--
-- Name: index_partial_am_alerts_on_project_id_and_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_partial_am_alerts_on_project_id_and_fingerprint ON public.alert_management_alerts USING btree (project_id, fingerprint) WHERE (status <> 2);


--
-- Name: index_partial_ci_builds_on_user_id_name_parser_features; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_partial_ci_builds_on_user_id_name_parser_features ON public.ci_builds USING btree (user_id, name) WHERE (((type)::text = 'Ci::Build'::text) AND ((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('license_scanning'::character varying)::text, ('sast'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('secret_detection'::character varying)::text])));


--
-- Name: index_partitioned_foreign_keys_unique_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_partitioned_foreign_keys_unique_index ON public.partitioned_foreign_keys USING btree (to_table, from_table, from_column);


--
-- Name: index_pat_on_user_id_and_expires_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pat_on_user_id_and_expires_at ON public.personal_access_tokens USING btree (user_id, expires_at);


--
-- Name: index_path_locks_on_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_path_locks_on_path ON public.path_locks USING btree (path);


--
-- Name: index_path_locks_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_path_locks_on_project_id ON public.path_locks USING btree (project_id);


--
-- Name: index_path_locks_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_path_locks_on_user_id ON public.path_locks USING btree (user_id);


--
-- Name: index_personal_access_tokens_on_token_digest; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_personal_access_tokens_on_token_digest ON public.personal_access_tokens USING btree (token_digest);


--
-- Name: index_personal_access_tokens_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_personal_access_tokens_on_user_id ON public.personal_access_tokens USING btree (user_id);


--
-- Name: index_plan_limits_on_plan_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_plan_limits_on_plan_id ON public.plan_limits USING btree (plan_id);


--
-- Name: index_plans_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_plans_on_name ON public.plans USING btree (name);


--
-- Name: index_pool_repositories_on_disk_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_pool_repositories_on_disk_path ON public.pool_repositories USING btree (disk_path);


--
-- Name: index_pool_repositories_on_shard_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_pool_repositories_on_shard_id ON public.pool_repositories USING btree (shard_id);


--
-- Name: index_pool_repositories_on_source_project_id_and_shard_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_pool_repositories_on_source_project_id_and_shard_id ON public.pool_repositories USING btree (source_project_id, shard_id);


--
-- Name: index_postgres_async_indexes_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_postgres_async_indexes_on_name ON public.postgres_async_indexes USING btree (name);


--
-- Name: index_postgres_reindex_actions_on_index_identifier; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_postgres_reindex_actions_on_index_identifier ON public.postgres_reindex_actions USING btree (index_identifier);


--
-- Name: index_programming_languages_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_programming_languages_on_name ON public.programming_languages USING btree (name);


--
-- Name: index_project_access_tokens_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_access_tokens_on_project_id ON public.project_access_tokens USING btree (project_id);


--
-- Name: index_project_aliases_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_aliases_on_name ON public.project_aliases USING btree (name);


--
-- Name: index_project_aliases_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_aliases_on_project_id ON public.project_aliases USING btree (project_id);


--
-- Name: index_project_authorizations_on_project_id_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_authorizations_on_project_id_user_id ON public.project_authorizations USING btree (project_id, user_id);


--
-- Name: index_project_auto_devops_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_auto_devops_on_project_id ON public.project_auto_devops USING btree (project_id);


--
-- Name: index_project_ci_cd_settings_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_ci_cd_settings_on_project_id ON public.project_ci_cd_settings USING btree (project_id);


--
-- Name: index_project_ci_feature_usages_unique_columns; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_ci_feature_usages_unique_columns ON public.project_ci_feature_usages USING btree (project_id, feature, default_branch);


--
-- Name: index_project_compliance_framework_settings_on_framework_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_compliance_framework_settings_on_framework_id ON public.project_compliance_framework_settings USING btree (framework_id);


--
-- Name: index_project_compliance_framework_settings_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_compliance_framework_settings_on_project_id ON public.project_compliance_framework_settings USING btree (project_id);


--
-- Name: index_project_custom_attributes_on_key_and_value; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_custom_attributes_on_key_and_value ON public.project_custom_attributes USING btree (key, value);


--
-- Name: index_project_custom_attributes_on_project_id_and_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_custom_attributes_on_project_id_and_key ON public.project_custom_attributes USING btree (project_id, key);


--
-- Name: index_project_daily_statistics_on_project_id_and_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_daily_statistics_on_project_id_and_date ON public.project_daily_statistics USING btree (project_id, date DESC);


--
-- Name: index_project_deploy_tokens_on_deploy_token_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_deploy_tokens_on_deploy_token_id ON public.project_deploy_tokens USING btree (deploy_token_id);


--
-- Name: index_project_deploy_tokens_on_project_id_and_deploy_token_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_deploy_tokens_on_project_id_and_deploy_token_id ON public.project_deploy_tokens USING btree (project_id, deploy_token_id);


--
-- Name: index_project_export_jobs_on_jid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_export_jobs_on_jid ON public.project_export_jobs USING btree (jid);


--
-- Name: index_project_export_jobs_on_project_id_and_jid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_export_jobs_on_project_id_and_jid ON public.project_export_jobs USING btree (project_id, jid);


--
-- Name: index_project_export_jobs_on_project_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_export_jobs_on_project_id_and_status ON public.project_export_jobs USING btree (project_id, status);


--
-- Name: index_project_export_jobs_on_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_export_jobs_on_status ON public.project_export_jobs USING btree (status);


--
-- Name: index_project_feature_usages_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_feature_usages_on_project_id ON public.project_feature_usages USING btree (project_id);


--
-- Name: index_project_features_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_features_on_project_id ON public.project_features USING btree (project_id);


--
-- Name: index_project_features_on_project_id_bal_20; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_features_on_project_id_bal_20 ON public.project_features USING btree (project_id) WHERE (builds_access_level = 20);


--
-- Name: index_project_features_on_project_id_include_container_registry; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_features_on_project_id_include_container_registry ON public.project_features USING btree (project_id) INCLUDE (container_registry_access_level);


--
-- Name: INDEX index_project_features_on_project_id_include_container_registry; Type: COMMENT; Schema: public; Owner: gitlab
--

COMMENT ON INDEX public.index_project_features_on_project_id_include_container_registry IS 'Included column (container_registry_access_level) improves performance of the ContainerRepository.for_group_and_its_subgroups scope query';


--
-- Name: index_project_features_on_project_id_ral_20; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_features_on_project_id_ral_20 ON public.project_features USING btree (project_id) WHERE (repository_access_level = 20);


--
-- Name: index_project_group_links_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_group_links_on_group_id ON public.project_group_links USING btree (group_id);


--
-- Name: index_project_group_links_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_group_links_on_project_id ON public.project_group_links USING btree (project_id);


--
-- Name: index_project_import_data_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_import_data_on_project_id ON public.project_import_data USING btree (project_id);


--
-- Name: index_project_mirror_data_on_last_successful_update_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_mirror_data_on_last_successful_update_at ON public.project_mirror_data USING btree (last_successful_update_at);


--
-- Name: index_project_mirror_data_on_last_update_at_and_retry_count; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_mirror_data_on_last_update_at_and_retry_count ON public.project_mirror_data USING btree (last_update_at, retry_count);


--
-- Name: index_project_mirror_data_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_mirror_data_on_project_id ON public.project_mirror_data USING btree (project_id);


--
-- Name: index_project_mirror_data_on_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_mirror_data_on_status ON public.project_mirror_data USING btree (status);


--
-- Name: index_project_pages_metadata_on_artifacts_archive_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_pages_metadata_on_artifacts_archive_id ON public.project_pages_metadata USING btree (artifacts_archive_id);


--
-- Name: index_project_pages_metadata_on_pages_deployment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_pages_metadata_on_pages_deployment_id ON public.project_pages_metadata USING btree (pages_deployment_id);


--
-- Name: index_project_pages_metadata_on_project_id_and_deployed_is_true; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_pages_metadata_on_project_id_and_deployed_is_true ON public.project_pages_metadata USING btree (project_id) WHERE (deployed = true);


--
-- Name: index_project_repositories_on_disk_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_repositories_on_disk_path ON public.project_repositories USING btree (disk_path);


--
-- Name: index_project_repositories_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_repositories_on_project_id ON public.project_repositories USING btree (project_id);


--
-- Name: index_project_repositories_on_shard_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_repositories_on_shard_id ON public.project_repositories USING btree (shard_id);


--
-- Name: index_project_repositories_on_shard_id_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_repositories_on_shard_id_and_project_id ON public.project_repositories USING btree (shard_id, project_id);


--
-- Name: index_project_repository_states_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_repository_states_on_project_id ON public.project_repository_states USING btree (project_id);


--
-- Name: index_project_repository_storage_moves_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_repository_storage_moves_on_project_id ON public.project_repository_storage_moves USING btree (project_id);


--
-- Name: index_project_settings_on_project_id_partially; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_settings_on_project_id_partially ON public.project_settings USING btree (project_id) WHERE (has_vulnerabilities IS TRUE);


--
-- Name: index_project_settings_on_push_rule_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_settings_on_push_rule_id ON public.project_settings USING btree (push_rule_id);


--
-- Name: index_project_stages_on_stage_event_hash_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_stages_on_stage_event_hash_id ON public.analytics_cycle_analytics_project_stages USING btree (stage_event_hash_id);


--
-- Name: index_project_statistics_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_statistics_on_namespace_id ON public.project_statistics USING btree (namespace_id);


--
-- Name: index_project_statistics_on_packages_size_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_statistics_on_packages_size_and_project_id ON public.project_statistics USING btree (packages_size, project_id);


--
-- Name: index_project_statistics_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_statistics_on_project_id ON public.project_statistics USING btree (project_id);


--
-- Name: index_project_statistics_on_repository_size_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_statistics_on_repository_size_and_project_id ON public.project_statistics USING btree (repository_size, project_id);


--
-- Name: index_project_statistics_on_storage_size_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_statistics_on_storage_size_and_project_id ON public.project_statistics USING btree (storage_size, project_id);


--
-- Name: index_project_statistics_on_wiki_size_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_project_statistics_on_wiki_size_and_project_id ON public.project_statistics USING btree (wiki_size, project_id);


--
-- Name: index_project_tracing_settings_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_project_tracing_settings_on_project_id ON public.project_tracing_settings USING btree (project_id);


--
-- Name: index_projects_aimed_for_deletion; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_aimed_for_deletion ON public.projects USING btree (marked_for_deletion_at) WHERE ((marked_for_deletion_at IS NOT NULL) AND (pending_delete = false));


--
-- Name: index_projects_api_created_at_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_created_at_id_desc ON public.projects USING btree (created_at, id DESC);


--
-- Name: index_projects_api_created_at_id_for_archived; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_created_at_id_for_archived ON public.projects USING btree (created_at, id) WHERE ((archived = true) AND (pending_delete = false));


--
-- Name: index_projects_api_created_at_id_for_archived_vis20; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_created_at_id_for_archived_vis20 ON public.projects USING btree (created_at, id) WHERE ((archived = true) AND (visibility_level = 20) AND (pending_delete = false));


--
-- Name: index_projects_api_created_at_id_for_vis10; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_created_at_id_for_vis10 ON public.projects USING btree (created_at, id) WHERE ((visibility_level = 10) AND (pending_delete = false));


--
-- Name: index_projects_api_last_activity_at_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_last_activity_at_id_desc ON public.projects USING btree (last_activity_at, id DESC);


--
-- Name: index_projects_api_name_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_name_id_desc ON public.projects USING btree (name, id DESC);


--
-- Name: index_projects_api_path_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_path_id_desc ON public.projects USING btree (path, id DESC);


--
-- Name: index_projects_api_updated_at_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_updated_at_id_desc ON public.projects USING btree (updated_at, id DESC);


--
-- Name: index_projects_api_vis20_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_vis20_created_at ON public.projects USING btree (created_at, id) WHERE (visibility_level = 20);


--
-- Name: index_projects_api_vis20_last_activity_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_vis20_last_activity_at ON public.projects USING btree (last_activity_at, id) WHERE (visibility_level = 20);


--
-- Name: index_projects_api_vis20_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_vis20_name ON public.projects USING btree (name, id) WHERE (visibility_level = 20);


--
-- Name: index_projects_api_vis20_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_vis20_path ON public.projects USING btree (path, id) WHERE (visibility_level = 20);


--
-- Name: index_projects_api_vis20_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_api_vis20_updated_at ON public.projects USING btree (updated_at, id) WHERE (visibility_level = 20);


--
-- Name: index_projects_on_created_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_created_at_and_id ON public.projects USING btree (created_at, id);


--
-- Name: index_projects_on_creator_id_and_created_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_creator_id_and_created_at_and_id ON public.projects USING btree (creator_id, created_at, id);


--
-- Name: index_projects_on_creator_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_creator_id_and_id ON public.projects USING btree (creator_id, id);


--
-- Name: index_projects_on_creator_id_import_type_and_created_at_partial; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_creator_id_import_type_and_created_at_partial ON public.projects USING btree (creator_id, import_type, created_at) WHERE (import_type IS NOT NULL);


--
-- Name: index_projects_on_description_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_description_trigram ON public.projects USING gin (description public.gin_trgm_ops);


--
-- Name: index_projects_on_id_and_archived_and_pending_delete; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_id_and_archived_and_pending_delete ON public.projects USING btree (id) WHERE ((archived = false) AND (pending_delete = false));


--
-- Name: index_projects_on_id_partial_for_visibility; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_projects_on_id_partial_for_visibility ON public.projects USING btree (id) WHERE (visibility_level = ANY (ARRAY[10, 20]));


--
-- Name: index_projects_on_id_service_desk_enabled; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_id_service_desk_enabled ON public.projects USING btree (id) WHERE (service_desk_enabled = true);


--
-- Name: index_projects_on_last_activity_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_last_activity_at_and_id ON public.projects USING btree (last_activity_at, id);


--
-- Name: index_projects_on_last_repository_check_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_last_repository_check_at ON public.projects USING btree (last_repository_check_at) WHERE (last_repository_check_at IS NOT NULL);


--
-- Name: index_projects_on_last_repository_check_failed; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_last_repository_check_failed ON public.projects USING btree (last_repository_check_failed);


--
-- Name: index_projects_on_last_repository_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_last_repository_updated_at ON public.projects USING btree (last_repository_updated_at);


--
-- Name: index_projects_on_lower_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_lower_name ON public.projects USING btree (lower((name)::text));


--
-- Name: index_projects_on_marked_for_deletion_by_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_marked_for_deletion_by_user_id ON public.projects USING btree (marked_for_deletion_by_user_id) WHERE (marked_for_deletion_by_user_id IS NOT NULL);


--
-- Name: index_projects_on_mirror_creator_id_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_mirror_creator_id_created_at ON public.projects USING btree (creator_id, created_at) WHERE ((mirror = true) AND (mirror_trigger_builds = true));


--
-- Name: index_projects_on_mirror_id_where_mirror_and_trigger_builds; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_mirror_id_where_mirror_and_trigger_builds ON public.projects USING btree (id) WHERE ((mirror = true) AND (mirror_trigger_builds = true));


--
-- Name: index_projects_on_mirror_last_successful_update_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_mirror_last_successful_update_at ON public.projects USING btree (mirror_last_successful_update_at);


--
-- Name: index_projects_on_mirror_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_mirror_user_id ON public.projects USING btree (mirror_user_id);


--
-- Name: index_projects_on_name_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_name_and_id ON public.projects USING btree (name, id);


--
-- Name: index_projects_on_name_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_name_trigram ON public.projects USING gin (name public.gin_trgm_ops);


--
-- Name: index_projects_on_namespace_id_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_namespace_id_and_id ON public.projects USING btree (namespace_id, id);


--
-- Name: index_projects_on_path_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_path_and_id ON public.projects USING btree (path, id);


--
-- Name: index_projects_on_path_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_path_trigram ON public.projects USING gin (path public.gin_trgm_ops);


--
-- Name: index_projects_on_pending_delete; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_pending_delete ON public.projects USING btree (pending_delete);


--
-- Name: index_projects_on_pool_repository_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_pool_repository_id ON public.projects USING btree (pool_repository_id) WHERE (pool_repository_id IS NOT NULL);


--
-- Name: index_projects_on_repository_storage; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_repository_storage ON public.projects USING btree (repository_storage);


--
-- Name: index_projects_on_runners_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_runners_token ON public.projects USING btree (runners_token);


--
-- Name: index_projects_on_runners_token_encrypted; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_runners_token_encrypted ON public.projects USING btree (runners_token_encrypted);


--
-- Name: index_projects_on_star_count; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_star_count ON public.projects USING btree (star_count);


--
-- Name: index_projects_on_updated_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_projects_on_updated_at_and_id ON public.projects USING btree (updated_at, id);


--
-- Name: index_prometheus_alert_event_scoped_payload_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_prometheus_alert_event_scoped_payload_key ON public.prometheus_alert_events USING btree (prometheus_alert_id, payload_key);


--
-- Name: index_prometheus_alert_events_on_project_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_prometheus_alert_events_on_project_id_and_status ON public.prometheus_alert_events USING btree (project_id, status);


--
-- Name: index_prometheus_alerts_metric_environment; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_prometheus_alerts_metric_environment ON public.prometheus_alerts USING btree (project_id, prometheus_metric_id, environment_id);


--
-- Name: index_prometheus_alerts_on_environment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_prometheus_alerts_on_environment_id ON public.prometheus_alerts USING btree (environment_id);


--
-- Name: index_prometheus_alerts_on_prometheus_metric_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_prometheus_alerts_on_prometheus_metric_id ON public.prometheus_alerts USING btree (prometheus_metric_id);


--
-- Name: index_prometheus_metrics_on_common; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_prometheus_metrics_on_common ON public.prometheus_metrics USING btree (common);


--
-- Name: index_prometheus_metrics_on_group; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_prometheus_metrics_on_group ON public.prometheus_metrics USING btree ("group");


--
-- Name: index_prometheus_metrics_on_identifier_and_null_project; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_prometheus_metrics_on_identifier_and_null_project ON public.prometheus_metrics USING btree (identifier) WHERE (project_id IS NULL);


--
-- Name: index_prometheus_metrics_on_identifier_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_prometheus_metrics_on_identifier_and_project_id ON public.prometheus_metrics USING btree (identifier, project_id);


--
-- Name: index_prometheus_metrics_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_prometheus_metrics_on_project_id ON public.prometheus_metrics USING btree (project_id);


--
-- Name: index_protected_branch_merge_access; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_merge_access ON public.protected_branch_merge_access_levels USING btree (protected_branch_id);


--
-- Name: index_protected_branch_merge_access_levels_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_merge_access_levels_on_group_id ON public.protected_branch_merge_access_levels USING btree (group_id);


--
-- Name: index_protected_branch_merge_access_levels_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_merge_access_levels_on_user_id ON public.protected_branch_merge_access_levels USING btree (user_id);


--
-- Name: index_protected_branch_push_access; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_push_access ON public.protected_branch_push_access_levels USING btree (protected_branch_id);


--
-- Name: index_protected_branch_push_access_levels_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_push_access_levels_on_group_id ON public.protected_branch_push_access_levels USING btree (group_id);


--
-- Name: index_protected_branch_push_access_levels_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_push_access_levels_on_user_id ON public.protected_branch_push_access_levels USING btree (user_id);


--
-- Name: index_protected_branch_unprotect_access; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_unprotect_access ON public.protected_branch_unprotect_access_levels USING btree (protected_branch_id);


--
-- Name: index_protected_branch_unprotect_access_levels_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_unprotect_access_levels_on_group_id ON public.protected_branch_unprotect_access_levels USING btree (group_id);


--
-- Name: index_protected_branch_unprotect_access_levels_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branch_unprotect_access_levels_on_user_id ON public.protected_branch_unprotect_access_levels USING btree (user_id);


--
-- Name: index_protected_branches_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_branches_on_project_id ON public.protected_branches USING btree (project_id);


--
-- Name: index_protected_environment_deploy_access; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_environment_deploy_access ON public.protected_environment_deploy_access_levels USING btree (protected_environment_id);


--
-- Name: index_protected_environment_deploy_access_levels_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_environment_deploy_access_levels_on_group_id ON public.protected_environment_deploy_access_levels USING btree (group_id);


--
-- Name: index_protected_environment_deploy_access_levels_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_environment_deploy_access_levels_on_user_id ON public.protected_environment_deploy_access_levels USING btree (user_id);


--
-- Name: index_protected_environments_on_group_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_protected_environments_on_group_id_and_name ON public.protected_environments USING btree (group_id, name) WHERE (group_id IS NOT NULL);


--
-- Name: index_protected_environments_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_environments_on_project_id ON public.protected_environments USING btree (project_id);


--
-- Name: index_protected_environments_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_protected_environments_on_project_id_and_name ON public.protected_environments USING btree (project_id, name);


--
-- Name: index_protected_tag_create_access; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_tag_create_access ON public.protected_tag_create_access_levels USING btree (protected_tag_id);


--
-- Name: index_protected_tag_create_access_levels_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_tag_create_access_levels_on_group_id ON public.protected_tag_create_access_levels USING btree (group_id);


--
-- Name: index_protected_tag_create_access_levels_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_tag_create_access_levels_on_user_id ON public.protected_tag_create_access_levels USING btree (user_id);


--
-- Name: index_protected_tags_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_protected_tags_on_project_id ON public.protected_tags USING btree (project_id);


--
-- Name: index_protected_tags_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_protected_tags_on_project_id_and_name ON public.protected_tags USING btree (project_id, name);


--
-- Name: index_push_rules_on_is_sample; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_push_rules_on_is_sample ON public.push_rules USING btree (is_sample) WHERE is_sample;


--
-- Name: index_push_rules_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_push_rules_on_project_id ON public.push_rules USING btree (project_id);


--
-- Name: index_raw_usage_data_on_recorded_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_raw_usage_data_on_recorded_at ON public.raw_usage_data USING btree (recorded_at);


--
-- Name: index_redirect_routes_on_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_redirect_routes_on_path ON public.redirect_routes USING btree (path);


--
-- Name: index_redirect_routes_on_path_unique_text_pattern_ops; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_redirect_routes_on_path_unique_text_pattern_ops ON public.redirect_routes USING btree (lower((path)::text) varchar_pattern_ops);


--
-- Name: index_redirect_routes_on_source_type_and_source_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_redirect_routes_on_source_type_and_source_id ON public.redirect_routes USING btree (source_type, source_id);


--
-- Name: index_release_links_on_release_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_release_links_on_release_id_and_name ON public.release_links USING btree (release_id, name);


--
-- Name: index_release_links_on_release_id_and_url; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_release_links_on_release_id_and_url ON public.release_links USING btree (release_id, url);


--
-- Name: index_releases_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_releases_on_author_id ON public.releases USING btree (author_id);


--
-- Name: index_releases_on_project_id_and_tag; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_releases_on_project_id_and_tag ON public.releases USING btree (project_id, tag);


--
-- Name: index_releases_on_released_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_releases_on_released_at ON public.releases USING btree (released_at);


--
-- Name: index_remote_mirrors_on_last_successful_update_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_remote_mirrors_on_last_successful_update_at ON public.remote_mirrors USING btree (last_successful_update_at);


--
-- Name: index_remote_mirrors_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_remote_mirrors_on_project_id ON public.remote_mirrors USING btree (project_id);


--
-- Name: index_required_code_owners_sections_on_protected_branch_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_required_code_owners_sections_on_protected_branch_id ON public.required_code_owners_sections USING btree (protected_branch_id);


--
-- Name: index_requirements_management_test_reports_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_management_test_reports_on_author_id ON public.requirements_management_test_reports USING btree (author_id);


--
-- Name: index_requirements_management_test_reports_on_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_management_test_reports_on_build_id ON public.requirements_management_test_reports USING btree (build_id);


--
-- Name: index_requirements_management_test_reports_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_management_test_reports_on_issue_id ON public.requirements_management_test_reports USING btree (issue_id);


--
-- Name: index_requirements_management_test_reports_on_requirement_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_management_test_reports_on_requirement_id ON public.requirements_management_test_reports USING btree (requirement_id);


--
-- Name: index_requirements_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_on_author_id ON public.requirements USING btree (author_id);


--
-- Name: index_requirements_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_on_created_at ON public.requirements USING btree (created_at);


--
-- Name: index_requirements_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_requirements_on_issue_id ON public.requirements USING btree (issue_id);


--
-- Name: index_requirements_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_on_project_id ON public.requirements USING btree (project_id);


--
-- Name: index_requirements_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_requirements_on_project_id_and_iid ON public.requirements USING btree (project_id, iid) WHERE (project_id IS NOT NULL);


--
-- Name: index_requirements_on_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_on_state ON public.requirements USING btree (state);


--
-- Name: index_requirements_on_title_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_on_title_trigram ON public.requirements USING gin (title public.gin_trgm_ops);


--
-- Name: index_requirements_on_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_requirements_on_updated_at ON public.requirements USING btree (updated_at);


--
-- Name: index_resource_iteration_events_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_iteration_events_on_issue_id ON public.resource_iteration_events USING btree (issue_id);


--
-- Name: index_resource_iteration_events_on_iteration_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_iteration_events_on_iteration_id ON public.resource_iteration_events USING btree (iteration_id);


--
-- Name: index_resource_iteration_events_on_iteration_id_and_add_action; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_iteration_events_on_iteration_id_and_add_action ON public.resource_iteration_events USING btree (iteration_id) WHERE (action = 1);


--
-- Name: index_resource_iteration_events_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_iteration_events_on_merge_request_id ON public.resource_iteration_events USING btree (merge_request_id);


--
-- Name: index_resource_iteration_events_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_iteration_events_on_user_id ON public.resource_iteration_events USING btree (user_id);


--
-- Name: index_resource_label_events_issue_id_label_id_action; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_label_events_issue_id_label_id_action ON public.resource_label_events USING btree (issue_id, label_id, action);


--
-- Name: index_resource_label_events_on_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_label_events_on_epic_id ON public.resource_label_events USING btree (epic_id);


--
-- Name: index_resource_label_events_on_label_id_and_action; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_label_events_on_label_id_and_action ON public.resource_label_events USING btree (label_id, action);


--
-- Name: index_resource_label_events_on_merge_request_id_label_id_action; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_label_events_on_merge_request_id_label_id_action ON public.resource_label_events USING btree (merge_request_id, label_id, action);


--
-- Name: index_resource_label_events_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_label_events_on_user_id ON public.resource_label_events USING btree (user_id);


--
-- Name: index_resource_milestone_events_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_milestone_events_created_at ON public.resource_milestone_events USING btree (created_at);


--
-- Name: index_resource_milestone_events_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_milestone_events_on_issue_id ON public.resource_milestone_events USING btree (issue_id);


--
-- Name: index_resource_milestone_events_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_milestone_events_on_merge_request_id ON public.resource_milestone_events USING btree (merge_request_id);


--
-- Name: index_resource_milestone_events_on_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_milestone_events_on_milestone_id ON public.resource_milestone_events USING btree (milestone_id);


--
-- Name: index_resource_milestone_events_on_milestone_id_and_add_action; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_milestone_events_on_milestone_id_and_add_action ON public.resource_milestone_events USING btree (milestone_id) WHERE (action = 1);


--
-- Name: index_resource_milestone_events_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_milestone_events_on_user_id ON public.resource_milestone_events USING btree (user_id);


--
-- Name: index_resource_state_events_on_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_state_events_on_epic_id ON public.resource_state_events USING btree (epic_id);


--
-- Name: index_resource_state_events_on_issue_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_state_events_on_issue_id_and_created_at ON public.resource_state_events USING btree (issue_id, created_at);


--
-- Name: index_resource_state_events_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_state_events_on_merge_request_id ON public.resource_state_events USING btree (merge_request_id);


--
-- Name: index_resource_state_events_on_source_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_state_events_on_source_merge_request_id ON public.resource_state_events USING btree (source_merge_request_id);


--
-- Name: index_resource_state_events_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_state_events_on_user_id ON public.resource_state_events USING btree (user_id);


--
-- Name: index_resource_weight_events_on_issue_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_weight_events_on_issue_id_and_created_at ON public.resource_weight_events USING btree (issue_id, created_at);


--
-- Name: index_resource_weight_events_on_issue_id_and_weight; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_weight_events_on_issue_id_and_weight ON public.resource_weight_events USING btree (issue_id, weight);


--
-- Name: index_resource_weight_events_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_resource_weight_events_on_user_id ON public.resource_weight_events USING btree (user_id);


--
-- Name: index_reviews_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_reviews_on_author_id ON public.reviews USING btree (author_id);


--
-- Name: index_reviews_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_reviews_on_merge_request_id ON public.reviews USING btree (merge_request_id);


--
-- Name: index_reviews_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_reviews_on_project_id ON public.reviews USING btree (project_id);


--
-- Name: index_route_on_name_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_route_on_name_trigram ON public.routes USING gin (name public.gin_trgm_ops);


--
-- Name: index_routes_on_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_routes_on_path ON public.routes USING btree (path);


--
-- Name: index_routes_on_path_text_pattern_ops; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_routes_on_path_text_pattern_ops ON public.routes USING btree (path varchar_pattern_ops);


--
-- Name: index_routes_on_path_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_routes_on_path_trigram ON public.routes USING gin (path public.gin_trgm_ops);


--
-- Name: index_routes_on_source_type_and_source_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_routes_on_source_type_and_source_id ON public.routes USING btree (source_type, source_id);


--
-- Name: index_saml_group_links_on_group_id_and_saml_group_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_saml_group_links_on_group_id_and_saml_group_name ON public.saml_group_links USING btree (group_id, saml_group_name);


--
-- Name: index_saml_providers_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_saml_providers_on_group_id ON public.saml_providers USING btree (group_id);


--
-- Name: index_scim_identities_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_scim_identities_on_group_id ON public.scim_identities USING btree (group_id);


--
-- Name: index_scim_identities_on_lower_extern_uid_and_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_scim_identities_on_lower_extern_uid_and_group_id ON public.scim_identities USING btree (lower((extern_uid)::text), group_id);


--
-- Name: index_scim_identities_on_user_id_and_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_scim_identities_on_user_id_and_group_id ON public.scim_identities USING btree (user_id, group_id);


--
-- Name: index_scim_oauth_access_tokens_on_group_id_and_token_encrypted; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_scim_oauth_access_tokens_on_group_id_and_token_encrypted ON public.scim_oauth_access_tokens USING btree (group_id, token_encrypted);


--
-- Name: index_secure_ci_builds_on_user_id_name_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_secure_ci_builds_on_user_id_name_created_at ON public.ci_builds USING btree (user_id, name, created_at) WHERE (((type)::text = 'Ci::Build'::text) AND ((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('license_scanning'::character varying)::text, ('sast'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('apifuzzer_fuzz'::character varying)::text, ('apifuzzer_fuzz_dnd'::character varying)::text, ('secret_detection'::character varying)::text])));


--
-- Name: index_security_ci_builds_on_name_and_id_parser_features; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_ci_builds_on_name_and_id_parser_features ON public.ci_builds USING btree (name, id) WHERE (((name)::text = ANY (ARRAY[('container_scanning'::character varying)::text, ('dast'::character varying)::text, ('dependency_scanning'::character varying)::text, ('license_management'::character varying)::text, ('sast'::character varying)::text, ('secret_detection'::character varying)::text, ('coverage_fuzzing'::character varying)::text, ('license_scanning'::character varying)::text])) AND ((type)::text = 'Ci::Build'::text));


--
-- Name: index_security_findings_on_confidence; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_findings_on_confidence ON public.security_findings USING btree (confidence);


--
-- Name: index_security_findings_on_project_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_findings_on_project_fingerprint ON public.security_findings USING btree (project_fingerprint);


--
-- Name: index_security_findings_on_scan_id_and_deduplicated; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_findings_on_scan_id_and_deduplicated ON public.security_findings USING btree (scan_id, deduplicated);


--
-- Name: index_security_findings_on_scan_id_and_position; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_security_findings_on_scan_id_and_position ON public.security_findings USING btree (scan_id, "position");


--
-- Name: index_security_findings_on_scanner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_findings_on_scanner_id ON public.security_findings USING btree (scanner_id);


--
-- Name: index_security_findings_on_severity; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_findings_on_severity ON public.security_findings USING btree (severity);


--
-- Name: index_security_findings_on_uuid_and_scan_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_security_findings_on_uuid_and_scan_id ON public.security_findings USING btree (uuid, scan_id);


--
-- Name: index_security_scans_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_scans_on_created_at ON public.security_scans USING btree (created_at);


--
-- Name: index_security_scans_on_date_created_at_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_scans_on_date_created_at_and_id ON public.security_scans USING btree (date(timezone('UTC'::text, created_at)), id);


--
-- Name: index_security_scans_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_scans_on_pipeline_id ON public.security_scans USING btree (pipeline_id);


--
-- Name: index_security_scans_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_security_scans_on_project_id ON public.security_scans USING btree (project_id);


--
-- Name: index_self_managed_prometheus_alert_events_on_environment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_self_managed_prometheus_alert_events_on_environment_id ON public.self_managed_prometheus_alert_events USING btree (environment_id);


--
-- Name: index_sent_notifications_on_noteable_type_noteable_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sent_notifications_on_noteable_type_noteable_id ON public.sent_notifications USING btree (noteable_id) WHERE ((noteable_type)::text = 'Issue'::text);


--
-- Name: index_sent_notifications_on_reply_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_sent_notifications_on_reply_key ON public.sent_notifications USING btree (reply_key);


--
-- Name: index_sentry_issues_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_sentry_issues_on_issue_id ON public.sentry_issues USING btree (issue_id);


--
-- Name: index_sentry_issues_on_sentry_issue_identifier; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sentry_issues_on_sentry_issue_identifier ON public.sentry_issues USING btree (sentry_issue_identifier);


--
-- Name: index_serverless_domain_cluster_on_creator_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_serverless_domain_cluster_on_creator_id ON public.serverless_domain_cluster USING btree (creator_id);


--
-- Name: index_serverless_domain_cluster_on_pages_domain_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_serverless_domain_cluster_on_pages_domain_id ON public.serverless_domain_cluster USING btree (pages_domain_id);


--
-- Name: index_service_desk_enabled_projects_on_id_creator_id_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_service_desk_enabled_projects_on_id_creator_id_created_at ON public.projects USING btree (id, creator_id, created_at) WHERE (service_desk_enabled = true);


--
-- Name: index_shards_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_shards_on_name ON public.shards USING btree (name);


--
-- Name: index_site_profile_secret_variables_on_site_profile_id_and_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_site_profile_secret_variables_on_site_profile_id_and_key ON public.dast_site_profile_secret_variables USING btree (dast_site_profile_id, key);


--
-- Name: index_slack_integrations_on_service_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_slack_integrations_on_service_id ON public.slack_integrations USING btree (service_id);


--
-- Name: index_slack_integrations_on_team_id_and_alias; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_slack_integrations_on_team_id_and_alias ON public.slack_integrations USING btree (team_id, alias);


--
-- Name: index_smartcard_identities_on_subject_and_issuer; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_smartcard_identities_on_subject_and_issuer ON public.smartcard_identities USING btree (subject, issuer);


--
-- Name: index_smartcard_identities_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_smartcard_identities_on_user_id ON public.smartcard_identities USING btree (user_id);


--
-- Name: index_snippet_on_id_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippet_on_id_and_project_id ON public.snippets USING btree (id, project_id);


--
-- Name: index_snippet_repositories_failed_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippet_repositories_failed_verification ON public.snippet_repositories USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);


--
-- Name: index_snippet_repositories_needs_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippet_repositories_needs_verification ON public.snippet_repositories USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));


--
-- Name: index_snippet_repositories_on_disk_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_snippet_repositories_on_disk_path ON public.snippet_repositories USING btree (disk_path);


--
-- Name: index_snippet_repositories_on_shard_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippet_repositories_on_shard_id ON public.snippet_repositories USING btree (shard_id);


--
-- Name: index_snippet_repositories_pending_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippet_repositories_pending_verification ON public.snippet_repositories USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);


--
-- Name: index_snippet_repositories_verification_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippet_repositories_verification_state ON public.snippet_repositories USING btree (verification_state);


--
-- Name: index_snippet_repository_storage_moves_on_snippet_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippet_repository_storage_moves_on_snippet_id ON public.snippet_repository_storage_moves USING btree (snippet_id);


--
-- Name: index_snippet_user_mentions_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_snippet_user_mentions_on_note_id ON public.snippet_user_mentions USING btree (note_id) WHERE (note_id IS NOT NULL);


--
-- Name: index_snippets_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_author_id ON public.snippets USING btree (author_id);


--
-- Name: index_snippets_on_content_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_content_trigram ON public.snippets USING gin (content public.gin_trgm_ops);


--
-- Name: index_snippets_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_created_at ON public.snippets USING btree (created_at);


--
-- Name: index_snippets_on_description_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_description_trigram ON public.snippets USING gin (description public.gin_trgm_ops);


--
-- Name: index_snippets_on_file_name_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_file_name_trigram ON public.snippets USING gin (file_name public.gin_trgm_ops);


--
-- Name: index_snippets_on_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_id_and_created_at ON public.snippets USING btree (id, created_at);


--
-- Name: index_snippets_on_id_and_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_id_and_type ON public.snippets USING btree (id, type);


--
-- Name: index_snippets_on_project_id_and_visibility_level; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_project_id_and_visibility_level ON public.snippets USING btree (project_id, visibility_level);


--
-- Name: index_snippets_on_title_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_title_trigram ON public.snippets USING gin (title public.gin_trgm_ops);


--
-- Name: index_snippets_on_updated_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_updated_at ON public.snippets USING btree (updated_at);


--
-- Name: index_snippets_on_visibility_level_and_secret; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_snippets_on_visibility_level_and_secret ON public.snippets USING btree (visibility_level, secret);


--
-- Name: index_software_license_policies_on_software_license_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_software_license_policies_on_software_license_id ON public.software_license_policies USING btree (software_license_id);


--
-- Name: index_software_license_policies_unique_per_project; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_software_license_policies_unique_per_project ON public.software_license_policies USING btree (project_id, software_license_id);


--
-- Name: index_software_licenses_on_spdx_identifier; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_software_licenses_on_spdx_identifier ON public.software_licenses USING btree (spdx_identifier);


--
-- Name: index_software_licenses_on_unique_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_software_licenses_on_unique_name ON public.software_licenses USING btree (name);


--
-- Name: index_sop_configs_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_sop_configs_on_project_id ON public.security_orchestration_policy_configurations USING btree (project_id);


--
-- Name: index_sop_configurations_project_id_policy_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sop_configurations_project_id_policy_project_id ON public.security_orchestration_policy_configurations USING btree (security_policy_management_project_id, project_id);


--
-- Name: index_sop_schedules_on_sop_configuration_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sop_schedules_on_sop_configuration_id ON public.security_orchestration_policy_rule_schedules USING btree (security_orchestration_policy_configuration_id);


--
-- Name: index_sop_schedules_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sop_schedules_on_user_id ON public.security_orchestration_policy_rule_schedules USING btree (user_id);


--
-- Name: index_spam_logs_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_spam_logs_on_user_id ON public.spam_logs USING btree (user_id);


--
-- Name: index_sprints_iterations_cadence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sprints_iterations_cadence_id ON public.sprints USING btree (iterations_cadence_id);


--
-- Name: index_sprints_on_description_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sprints_on_description_trigram ON public.sprints USING gin (description public.gin_trgm_ops);


--
-- Name: index_sprints_on_due_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sprints_on_due_date ON public.sprints USING btree (due_date);


--
-- Name: index_sprints_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sprints_on_group_id ON public.sprints USING btree (group_id);


--
-- Name: index_sprints_on_iterations_cadence_id_and_title; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_sprints_on_iterations_cadence_id_and_title ON public.sprints USING btree (iterations_cadence_id, title);


--
-- Name: index_sprints_on_project_id_and_iid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_sprints_on_project_id_and_iid ON public.sprints USING btree (project_id, iid);


--
-- Name: index_sprints_on_project_id_and_title; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_sprints_on_project_id_and_title ON public.sprints USING btree (project_id, title) WHERE (project_id IS NOT NULL);


--
-- Name: index_sprints_on_title; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sprints_on_title ON public.sprints USING btree (title);


--
-- Name: index_sprints_on_title_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_sprints_on_title_trigram ON public.sprints USING gin (title public.gin_trgm_ops);


--
-- Name: index_status_check_responses_on_external_approval_rule_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_status_check_responses_on_external_approval_rule_id ON public.status_check_responses USING btree (external_approval_rule_id);


--
-- Name: index_status_check_responses_on_external_status_check_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_status_check_responses_on_external_status_check_id ON public.status_check_responses USING btree (external_status_check_id);


--
-- Name: index_status_check_responses_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_status_check_responses_on_merge_request_id ON public.status_check_responses USING btree (merge_request_id);


--
-- Name: index_status_page_published_incidents_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_status_page_published_incidents_on_issue_id ON public.status_page_published_incidents USING btree (issue_id);


--
-- Name: index_status_page_settings_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_status_page_settings_on_project_id ON public.status_page_settings USING btree (project_id);


--
-- Name: index_subscriptions_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_subscriptions_on_project_id ON public.subscriptions USING btree (project_id);


--
-- Name: index_subscriptions_on_subscribable_and_user_id_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_subscriptions_on_subscribable_and_user_id_and_project_id ON public.subscriptions USING btree (subscribable_id, subscribable_type, user_id, project_id);


--
-- Name: index_successful_deployments_on_cluster_id_and_environment_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_successful_deployments_on_cluster_id_and_environment_id ON public.deployments USING btree (cluster_id, environment_id) WHERE (status = 2);


--
-- Name: index_suggestions_on_note_id_and_relative_order; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_suggestions_on_note_id_and_relative_order ON public.suggestions USING btree (note_id, relative_order);


--
-- Name: index_system_note_metadata_on_description_version_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_system_note_metadata_on_description_version_id ON public.system_note_metadata USING btree (description_version_id) WHERE (description_version_id IS NOT NULL);


--
-- Name: index_system_note_metadata_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_system_note_metadata_on_note_id ON public.system_note_metadata USING btree (note_id);


--
-- Name: index_taggings_on_tag_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_taggings_on_tag_id ON public.taggings USING btree (tag_id);


--
-- Name: index_taggings_on_taggable_id_and_taggable_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_taggings_on_taggable_id_and_taggable_type ON public.taggings USING btree (taggable_id, taggable_type);


--
-- Name: index_taggings_on_taggable_id_and_taggable_type_and_context; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_taggings_on_taggable_id_and_taggable_type_and_context ON public.taggings USING btree (taggable_id, taggable_type, context);


--
-- Name: index_tags_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_tags_on_name ON public.tags USING btree (name);


--
-- Name: index_tags_on_name_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_tags_on_name_trigram ON public.tags USING gin (name public.gin_trgm_ops);


--
-- Name: index_term_agreements_on_term_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_term_agreements_on_term_id ON public.term_agreements USING btree (term_id);


--
-- Name: index_term_agreements_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_term_agreements_on_user_id ON public.term_agreements USING btree (user_id);


--
-- Name: index_terraform_state_versions_failed_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_terraform_state_versions_failed_verification ON public.terraform_state_versions USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);


--
-- Name: index_terraform_state_versions_needs_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_terraform_state_versions_needs_verification ON public.terraform_state_versions USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));


--
-- Name: index_terraform_state_versions_on_ci_build_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_terraform_state_versions_on_ci_build_id ON public.terraform_state_versions USING btree (ci_build_id);


--
-- Name: index_terraform_state_versions_on_created_by_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_terraform_state_versions_on_created_by_user_id ON public.terraform_state_versions USING btree (created_by_user_id);


--
-- Name: index_terraform_state_versions_on_state_id_and_version; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_terraform_state_versions_on_state_id_and_version ON public.terraform_state_versions USING btree (terraform_state_id, version);


--
-- Name: index_terraform_state_versions_on_verification_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_terraform_state_versions_on_verification_state ON public.terraform_state_versions USING btree (verification_state);


--
-- Name: index_terraform_state_versions_pending_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_terraform_state_versions_pending_verification ON public.terraform_state_versions USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);


--
-- Name: index_terraform_states_on_file_store; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_terraform_states_on_file_store ON public.terraform_states USING btree (file_store);


--
-- Name: index_terraform_states_on_locked_by_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_terraform_states_on_locked_by_user_id ON public.terraform_states USING btree (locked_by_user_id);


--
-- Name: index_terraform_states_on_project_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_terraform_states_on_project_id_and_name ON public.terraform_states USING btree (project_id, name);


--
-- Name: index_terraform_states_on_uuid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_terraform_states_on_uuid ON public.terraform_states USING btree (uuid);


--
-- Name: index_timelogs_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_timelogs_on_issue_id ON public.timelogs USING btree (issue_id);


--
-- Name: index_timelogs_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_timelogs_on_merge_request_id ON public.timelogs USING btree (merge_request_id);


--
-- Name: index_timelogs_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_timelogs_on_note_id ON public.timelogs USING btree (note_id);


--
-- Name: index_timelogs_on_project_id_and_spent_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_timelogs_on_project_id_and_spent_at ON public.timelogs USING btree (project_id, spent_at);


--
-- Name: index_timelogs_on_spent_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_timelogs_on_spent_at ON public.timelogs USING btree (spent_at) WHERE (spent_at IS NOT NULL);


--
-- Name: index_timelogs_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_timelogs_on_user_id ON public.timelogs USING btree (user_id);


--
-- Name: index_todos_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_author_id ON public.todos USING btree (author_id);


--
-- Name: index_todos_on_author_id_and_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_author_id_and_created_at ON public.todos USING btree (author_id, created_at);


--
-- Name: index_todos_on_commit_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_commit_id ON public.todos USING btree (commit_id);


--
-- Name: index_todos_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_group_id ON public.todos USING btree (group_id);


--
-- Name: index_todos_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_note_id ON public.todos USING btree (note_id);


--
-- Name: index_todos_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_project_id ON public.todos USING btree (project_id);


--
-- Name: index_todos_on_target_type_and_target_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_target_type_and_target_id ON public.todos USING btree (target_type, target_id);


--
-- Name: index_todos_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_user_id ON public.todos USING btree (user_id);


--
-- Name: index_todos_on_user_id_and_id_done; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_user_id_and_id_done ON public.todos USING btree (user_id, id) WHERE ((state)::text = 'done'::text);


--
-- Name: index_todos_on_user_id_and_id_pending; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_todos_on_user_id_and_id_pending ON public.todos USING btree (user_id, id) WHERE ((state)::text = 'pending'::text);


--
-- Name: index_token_with_ivs_on_hashed_plaintext_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_token_with_ivs_on_hashed_plaintext_token ON public.token_with_ivs USING btree (hashed_plaintext_token);


--
-- Name: index_token_with_ivs_on_hashed_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_token_with_ivs_on_hashed_token ON public.token_with_ivs USING btree (hashed_token);


--
-- Name: index_trending_projects_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_trending_projects_on_project_id ON public.trending_projects USING btree (project_id);


--
-- Name: index_u2f_registrations_on_key_handle; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_u2f_registrations_on_key_handle ON public.u2f_registrations USING btree (key_handle);


--
-- Name: index_u2f_registrations_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_u2f_registrations_on_user_id ON public.u2f_registrations USING btree (user_id);


--
-- Name: index_uniq_im_issuable_escalation_statuses_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_uniq_im_issuable_escalation_statuses_on_issue_id ON public.incident_management_issuable_escalation_statuses USING btree (issue_id);


--
-- Name: index_unique_issue_metrics_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_unique_issue_metrics_issue_id ON public.issue_metrics USING btree (issue_id);


--
-- Name: index_unit_test_failures_failed_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_unit_test_failures_failed_at ON public.ci_unit_test_failures USING btree (failed_at DESC);


--
-- Name: index_unit_test_failures_unique_columns; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_unit_test_failures_unique_columns ON public.ci_unit_test_failures USING btree (unit_test_id, failed_at DESC, build_id);


--
-- Name: index_upcoming_reconciliations_on_namespace_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_upcoming_reconciliations_on_namespace_id ON public.upcoming_reconciliations USING btree (namespace_id);


--
-- Name: index_uploads_on_checksum; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_uploads_on_checksum ON public.uploads USING btree (checksum);


--
-- Name: index_uploads_on_model_id_and_model_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_uploads_on_model_id_and_model_type ON public.uploads USING btree (model_id, model_type);


--
-- Name: index_uploads_on_store; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_uploads_on_store ON public.uploads USING btree (store);


--
-- Name: index_uploads_on_uploader_and_path; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_uploads_on_uploader_and_path ON public.uploads USING btree (uploader, path);


--
-- Name: index_user_agent_details_on_subject_id_and_subject_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_agent_details_on_subject_id_and_subject_type ON public.user_agent_details USING btree (subject_id, subject_type);


--
-- Name: index_user_callouts_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_callouts_on_user_id ON public.user_callouts USING btree (user_id);


--
-- Name: index_user_callouts_on_user_id_and_feature_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_user_callouts_on_user_id_and_feature_name ON public.user_callouts USING btree (user_id, feature_name);


--
-- Name: index_user_canonical_emails_on_canonical_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_canonical_emails_on_canonical_email ON public.user_canonical_emails USING btree (canonical_email);


--
-- Name: index_user_canonical_emails_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_user_canonical_emails_on_user_id ON public.user_canonical_emails USING btree (user_id);


--
-- Name: index_user_canonical_emails_on_user_id_and_canonical_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_user_canonical_emails_on_user_id_and_canonical_email ON public.user_canonical_emails USING btree (user_id, canonical_email);


--
-- Name: index_user_custom_attributes_on_key_and_value; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_custom_attributes_on_key_and_value ON public.user_custom_attributes USING btree (key, value);


--
-- Name: index_user_custom_attributes_on_user_id_and_key; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_user_custom_attributes_on_user_id_and_key ON public.user_custom_attributes USING btree (user_id, key);


--
-- Name: index_user_details_on_provisioned_by_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_details_on_provisioned_by_group_id ON public.user_details USING btree (provisioned_by_group_id);


--
-- Name: index_user_details_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_user_details_on_user_id ON public.user_details USING btree (user_id);


--
-- Name: index_user_highest_roles_on_user_id_and_highest_access_level; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_highest_roles_on_user_id_and_highest_access_level ON public.user_highest_roles USING btree (user_id, highest_access_level);


--
-- Name: index_user_interacted_projects_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_interacted_projects_on_user_id ON public.user_interacted_projects USING btree (user_id);


--
-- Name: index_user_permission_export_uploads_on_user_id_and_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_permission_export_uploads_on_user_id_and_status ON public.user_permission_export_uploads USING btree (user_id, status);


--
-- Name: index_user_preferences_on_gitpod_enabled; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_preferences_on_gitpod_enabled ON public.user_preferences USING btree (gitpod_enabled);


--
-- Name: index_user_preferences_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_user_preferences_on_user_id ON public.user_preferences USING btree (user_id);


--
-- Name: index_user_statuses_on_clear_status_at_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_statuses_on_clear_status_at_not_null ON public.user_statuses USING btree (clear_status_at) WHERE (clear_status_at IS NOT NULL);


--
-- Name: index_user_statuses_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_user_statuses_on_user_id ON public.user_statuses USING btree (user_id);


--
-- Name: index_user_synced_attributes_metadata_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_user_synced_attributes_metadata_on_user_id ON public.user_synced_attributes_metadata USING btree (user_id);


--
-- Name: index_users_on_accepted_term_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_accepted_term_id ON public.users USING btree (accepted_term_id);


--
-- Name: index_users_on_admin; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_admin ON public.users USING btree (admin);


--
-- Name: index_users_on_confirmation_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_users_on_confirmation_token ON public.users USING btree (confirmation_token);


--
-- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_created_at ON public.users USING btree (created_at);


--
-- Name: index_users_on_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_users_on_email ON public.users USING btree (email);


--
-- Name: index_users_on_email_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_email_trigram ON public.users USING gin (email public.gin_trgm_ops);


--
-- Name: index_users_on_feed_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_feed_token ON public.users USING btree (feed_token);


--
-- Name: index_users_on_group_view; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_group_view ON public.users USING btree (group_view);


--
-- Name: index_users_on_id_and_last_activity_on_for_non_internal_active; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_id_and_last_activity_on_for_non_internal_active ON public.users USING btree (id, last_activity_on) WHERE (((state)::text = 'active'::text) AND ((user_type IS NULL) OR (user_type = ANY (ARRAY[NULL::integer, 6, 4]))));


--
-- Name: index_users_on_incoming_email_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_incoming_email_token ON public.users USING btree (incoming_email_token);


--
-- Name: index_users_on_managing_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_managing_group_id ON public.users USING btree (managing_group_id);


--
-- Name: index_users_on_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_name ON public.users USING btree (name);


--
-- Name: index_users_on_name_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_name_trigram ON public.users USING gin (name public.gin_trgm_ops);


--
-- Name: index_users_on_public_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_public_email ON public.users USING btree (public_email) WHERE ((public_email)::text <> ''::text);


--
-- Name: index_users_on_require_two_factor_authentication_from_group; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_require_two_factor_authentication_from_group ON public.users USING btree (require_two_factor_authentication_from_group) WHERE (require_two_factor_authentication_from_group = true);


--
-- Name: index_users_on_reset_password_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_users_on_reset_password_token ON public.users USING btree (reset_password_token);


--
-- Name: index_users_on_state; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_state ON public.users USING btree (state);


--
-- Name: index_users_on_state_and_user_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_state_and_user_type ON public.users USING btree (state, user_type);


--
-- Name: index_users_on_static_object_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_users_on_static_object_token ON public.users USING btree (static_object_token);


--
-- Name: index_users_on_unconfirmed_email; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_unconfirmed_email ON public.users USING btree (unconfirmed_email) WHERE (unconfirmed_email IS NOT NULL);


--
-- Name: index_users_on_unlock_token; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_users_on_unlock_token ON public.users USING btree (unlock_token);


--
-- Name: index_users_on_user_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_user_type ON public.users USING btree (user_type);


--
-- Name: index_users_on_username; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_username ON public.users USING btree (username);


--
-- Name: index_users_on_username_trigram; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_on_username_trigram ON public.users USING gin (username public.gin_trgm_ops);


--
-- Name: index_users_ops_dashboard_projects_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_ops_dashboard_projects_on_project_id ON public.users_ops_dashboard_projects USING btree (project_id);


--
-- Name: index_users_ops_dashboard_projects_on_user_id_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_users_ops_dashboard_projects_on_user_id_and_project_id ON public.users_ops_dashboard_projects USING btree (user_id, project_id);


--
-- Name: index_users_require_two_factor_authentication_from_group_false; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_require_two_factor_authentication_from_group_false ON public.users USING btree (require_two_factor_authentication_from_group) WHERE (require_two_factor_authentication_from_group = false);


--
-- Name: index_users_security_dashboard_projects_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_security_dashboard_projects_on_user_id ON public.users_security_dashboard_projects USING btree (user_id);


--
-- Name: index_users_star_projects_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_users_star_projects_on_project_id ON public.users_star_projects USING btree (project_id);


--
-- Name: index_users_star_projects_on_user_id_and_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_users_star_projects_on_user_id_and_project_id ON public.users_star_projects USING btree (user_id, project_id);


--
-- Name: index_vuln_historical_statistics_on_project_id_and_date; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vuln_historical_statistics_on_project_id_and_date ON public.vulnerability_historical_statistics USING btree (project_id, date);


--
-- Name: index_vulnerabilities_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_author_id ON public.vulnerabilities USING btree (author_id);


--
-- Name: index_vulnerabilities_on_confirmed_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_confirmed_by_id ON public.vulnerabilities USING btree (confirmed_by_id);


--
-- Name: index_vulnerabilities_on_dismissed_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_dismissed_by_id ON public.vulnerabilities USING btree (dismissed_by_id);


--
-- Name: index_vulnerabilities_on_due_date_sourcing_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_due_date_sourcing_milestone_id ON public.vulnerabilities USING btree (due_date_sourcing_milestone_id);


--
-- Name: index_vulnerabilities_on_epic_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_epic_id ON public.vulnerabilities USING btree (epic_id);


--
-- Name: index_vulnerabilities_on_last_edited_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_last_edited_by_id ON public.vulnerabilities USING btree (last_edited_by_id);


--
-- Name: index_vulnerabilities_on_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_milestone_id ON public.vulnerabilities USING btree (milestone_id);


--
-- Name: index_vulnerabilities_on_project_id_and_state_and_severity; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_project_id_and_state_and_severity ON public.vulnerabilities USING btree (project_id, state, severity);


--
-- Name: index_vulnerabilities_on_resolved_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_resolved_by_id ON public.vulnerabilities USING btree (resolved_by_id);


--
-- Name: index_vulnerabilities_on_start_date_sourcing_milestone_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_start_date_sourcing_milestone_id ON public.vulnerabilities USING btree (start_date_sourcing_milestone_id);


--
-- Name: index_vulnerabilities_on_state_case_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_state_case_id ON public.vulnerabilities USING btree (array_position(ARRAY[(1)::smallint, (4)::smallint, (3)::smallint, (2)::smallint], state), id DESC);


--
-- Name: index_vulnerabilities_on_state_case_id_desc; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_state_case_id_desc ON public.vulnerabilities USING btree (array_position(ARRAY[(1)::smallint, (4)::smallint, (3)::smallint, (2)::smallint], state) DESC, id DESC);


--
-- Name: index_vulnerabilities_on_updated_by_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerabilities_on_updated_by_id ON public.vulnerabilities USING btree (updated_by_id);


--
-- Name: index_vulnerability_exports_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_exports_on_author_id ON public.vulnerability_exports USING btree (author_id);


--
-- Name: index_vulnerability_exports_on_file_store; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_exports_on_file_store ON public.vulnerability_exports USING btree (file_store);


--
-- Name: index_vulnerability_exports_on_group_id_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_exports_on_group_id_not_null ON public.vulnerability_exports USING btree (group_id) WHERE (group_id IS NOT NULL);


--
-- Name: index_vulnerability_exports_on_project_id_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_exports_on_project_id_not_null ON public.vulnerability_exports USING btree (project_id) WHERE (project_id IS NOT NULL);


--
-- Name: index_vulnerability_external_issue_links_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_external_issue_links_on_author_id ON public.vulnerability_external_issue_links USING btree (author_id);


--
-- Name: index_vulnerability_external_issue_links_on_vulnerability_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_external_issue_links_on_vulnerability_id ON public.vulnerability_external_issue_links USING btree (vulnerability_id);


--
-- Name: index_vulnerability_feedback_on_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_feedback_on_author_id ON public.vulnerability_feedback USING btree (author_id);


--
-- Name: index_vulnerability_feedback_on_comment_author_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_feedback_on_comment_author_id ON public.vulnerability_feedback USING btree (comment_author_id);


--
-- Name: index_vulnerability_feedback_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_feedback_on_issue_id ON public.vulnerability_feedback USING btree (issue_id);


--
-- Name: index_vulnerability_feedback_on_issue_id_not_null; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_feedback_on_issue_id_not_null ON public.vulnerability_feedback USING btree (id) WHERE (issue_id IS NOT NULL);


--
-- Name: index_vulnerability_feedback_on_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_feedback_on_merge_request_id ON public.vulnerability_feedback USING btree (merge_request_id);


--
-- Name: index_vulnerability_feedback_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_feedback_on_pipeline_id ON public.vulnerability_feedback USING btree (pipeline_id);


--
-- Name: index_vulnerability_finding_signatures_on_finding_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_finding_signatures_on_finding_id ON public.vulnerability_finding_signatures USING btree (finding_id);


--
-- Name: index_vulnerability_findings_remediations_on_remediation_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_findings_remediations_on_remediation_id ON public.vulnerability_findings_remediations USING btree (vulnerability_remediation_id);


--
-- Name: index_vulnerability_findings_remediations_on_unique_keys; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_findings_remediations_on_unique_keys ON public.vulnerability_findings_remediations USING btree (vulnerability_occurrence_id, vulnerability_remediation_id);


--
-- Name: index_vulnerability_flags_on_unique_columns; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_flags_on_unique_columns ON public.vulnerability_flags USING btree (vulnerability_occurrence_id, flag_type, origin);


--
-- Name: index_vulnerability_flags_on_vulnerability_occurrence_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_flags_on_vulnerability_occurrence_id ON public.vulnerability_flags USING btree (vulnerability_occurrence_id);


--
-- Name: index_vulnerability_historical_statistics_on_date_and_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_historical_statistics_on_date_and_id ON public.vulnerability_historical_statistics USING btree (date, id);


--
-- Name: index_vulnerability_identifiers_on_project_id_and_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_identifiers_on_project_id_and_fingerprint ON public.vulnerability_identifiers USING btree (project_id, fingerprint);


--
-- Name: index_vulnerability_issue_links_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_issue_links_on_issue_id ON public.vulnerability_issue_links USING btree (issue_id);


--
-- Name: index_vulnerability_occurrence_identifiers_on_identifier_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_occurrence_identifiers_on_identifier_id ON public.vulnerability_occurrence_identifiers USING btree (identifier_id);


--
-- Name: index_vulnerability_occurrence_identifiers_on_unique_keys; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_occurrence_identifiers_on_unique_keys ON public.vulnerability_occurrence_identifiers USING btree (occurrence_id, identifier_id);


--
-- Name: index_vulnerability_occurrence_pipelines_on_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_occurrence_pipelines_on_pipeline_id ON public.vulnerability_occurrence_pipelines USING btree (pipeline_id);


--
-- Name: index_vulnerability_occurrences_deduplication; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_occurrences_deduplication ON public.vulnerability_occurrences USING btree (project_id, report_type, project_fingerprint);


--
-- Name: index_vulnerability_occurrences_for_issue_links_migration; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_occurrences_for_issue_links_migration ON public.vulnerability_occurrences USING btree (project_id, report_type, encode(project_fingerprint, 'hex'::text));


--
-- Name: index_vulnerability_occurrences_on_primary_identifier_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_occurrences_on_primary_identifier_id ON public.vulnerability_occurrences USING btree (primary_identifier_id);


--
-- Name: index_vulnerability_occurrences_on_project_fingerprint; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_occurrences_on_project_fingerprint ON public.vulnerability_occurrences USING btree (project_fingerprint);


--
-- Name: index_vulnerability_occurrences_on_scanner_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_occurrences_on_scanner_id ON public.vulnerability_occurrences USING btree (scanner_id);


--
-- Name: index_vulnerability_occurrences_on_unique_keys; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_occurrences_on_unique_keys ON public.vulnerability_occurrences USING btree (project_id, primary_identifier_id, location_fingerprint, scanner_id);


--
-- Name: index_vulnerability_occurrences_on_uuid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_occurrences_on_uuid ON public.vulnerability_occurrences USING btree (uuid);


--
-- Name: index_vulnerability_occurrences_on_vulnerability_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_occurrences_on_vulnerability_id ON public.vulnerability_occurrences USING btree (vulnerability_id);


--
-- Name: index_vulnerability_remediations_on_project_id_and_checksum; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_remediations_on_project_id_and_checksum ON public.vulnerability_remediations USING btree (project_id, checksum);


--
-- Name: index_vulnerability_scanners_on_project_id_and_external_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_scanners_on_project_id_and_external_id ON public.vulnerability_scanners USING btree (project_id, external_id);


--
-- Name: index_vulnerability_statistics_on_latest_pipeline_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_statistics_on_latest_pipeline_id ON public.vulnerability_statistics USING btree (latest_pipeline_id);


--
-- Name: index_vulnerability_statistics_on_letter_grade; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_vulnerability_statistics_on_letter_grade ON public.vulnerability_statistics USING btree (letter_grade);


--
-- Name: index_vulnerability_statistics_on_unique_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_statistics_on_unique_project_id ON public.vulnerability_statistics USING btree (project_id);


--
-- Name: index_vulnerability_user_mentions_on_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulnerability_user_mentions_on_note_id ON public.vulnerability_user_mentions USING btree (note_id) WHERE (note_id IS NOT NULL);


--
-- Name: index_vulns_user_mentions_on_vulnerability_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulns_user_mentions_on_vulnerability_id ON public.vulnerability_user_mentions USING btree (vulnerability_id) WHERE (note_id IS NULL);


--
-- Name: index_vulns_user_mentions_on_vulnerability_id_and_note_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_vulns_user_mentions_on_vulnerability_id_and_note_id ON public.vulnerability_user_mentions USING btree (vulnerability_id, note_id);


--
-- Name: index_web_hooks_on_group_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_web_hooks_on_group_id ON public.web_hooks USING btree (group_id) WHERE ((type)::text = 'GroupHook'::text);


--
-- Name: index_web_hooks_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_web_hooks_on_project_id ON public.web_hooks USING btree (project_id);


--
-- Name: index_web_hooks_on_project_id_recent_failures; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_web_hooks_on_project_id_recent_failures ON public.web_hooks USING btree (project_id, recent_failures);


--
-- Name: index_web_hooks_on_service_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_web_hooks_on_service_id ON public.web_hooks USING btree (service_id);


--
-- Name: index_web_hooks_on_type; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_web_hooks_on_type ON public.web_hooks USING btree (type);


--
-- Name: index_webauthn_registrations_on_credential_xid; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_webauthn_registrations_on_credential_xid ON public.webauthn_registrations USING btree (credential_xid);


--
-- Name: index_webauthn_registrations_on_u2f_registration_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_webauthn_registrations_on_u2f_registration_id ON public.webauthn_registrations USING btree (u2f_registration_id) WHERE (u2f_registration_id IS NOT NULL);


--
-- Name: index_webauthn_registrations_on_user_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_webauthn_registrations_on_user_id ON public.webauthn_registrations USING btree (user_id);


--
-- Name: index_wiki_page_meta_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_wiki_page_meta_on_project_id ON public.wiki_page_meta USING btree (project_id);


--
-- Name: index_wiki_page_slugs_on_slug_and_wiki_page_meta_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_wiki_page_slugs_on_slug_and_wiki_page_meta_id ON public.wiki_page_slugs USING btree (slug, wiki_page_meta_id);


--
-- Name: index_wiki_page_slugs_on_wiki_page_meta_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_wiki_page_slugs_on_wiki_page_meta_id ON public.wiki_page_slugs USING btree (wiki_page_meta_id);


--
-- Name: index_x509_certificates_on_subject_key_identifier; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_x509_certificates_on_subject_key_identifier ON public.x509_certificates USING btree (subject_key_identifier);


--
-- Name: index_x509_certificates_on_x509_issuer_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_x509_certificates_on_x509_issuer_id ON public.x509_certificates USING btree (x509_issuer_id);


--
-- Name: index_x509_commit_signatures_on_commit_sha; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_x509_commit_signatures_on_commit_sha ON public.x509_commit_signatures USING btree (commit_sha);


--
-- Name: index_x509_commit_signatures_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_x509_commit_signatures_on_project_id ON public.x509_commit_signatures USING btree (project_id);


--
-- Name: index_x509_commit_signatures_on_x509_certificate_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_x509_commit_signatures_on_x509_certificate_id ON public.x509_commit_signatures USING btree (x509_certificate_id);


--
-- Name: index_x509_issuers_on_subject_key_identifier; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_x509_issuers_on_subject_key_identifier ON public.x509_issuers USING btree (subject_key_identifier);


--
-- Name: index_zentao_tracker_data_on_integration_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_zentao_tracker_data_on_integration_id ON public.zentao_tracker_data USING btree (integration_id);


--
-- Name: index_zoom_meetings_on_issue_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_zoom_meetings_on_issue_id ON public.zoom_meetings USING btree (issue_id);


--
-- Name: index_zoom_meetings_on_issue_id_and_issue_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX index_zoom_meetings_on_issue_id_and_issue_status ON public.zoom_meetings USING btree (issue_id, issue_status) WHERE (issue_status = 1);


--
-- Name: index_zoom_meetings_on_issue_status; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_zoom_meetings_on_issue_status ON public.zoom_meetings USING btree (issue_status);


--
-- Name: index_zoom_meetings_on_project_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX index_zoom_meetings_on_project_id ON public.zoom_meetings USING btree (project_id);


--
-- Name: issue_id_issues_prometheus_alert_events_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX issue_id_issues_prometheus_alert_events_index ON public.issues_prometheus_alert_events USING btree (prometheus_alert_event_id);


--
-- Name: issue_id_issues_self_managed_rometheus_alert_events_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX issue_id_issues_self_managed_rometheus_alert_events_index ON public.issues_self_managed_prometheus_alert_events USING btree (self_managed_prometheus_alert_event_id);


--
-- Name: issue_user_mentions_on_issue_id_and_note_id_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX issue_user_mentions_on_issue_id_and_note_id_index ON public.issue_user_mentions USING btree (issue_id, note_id);


--
-- Name: issue_user_mentions_on_issue_id_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX issue_user_mentions_on_issue_id_index ON public.issue_user_mentions USING btree (issue_id) WHERE (note_id IS NULL);


--
-- Name: kubernetes_namespaces_cluster_and_namespace; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX kubernetes_namespaces_cluster_and_namespace ON public.clusters_kubernetes_namespaces USING btree (cluster_id, namespace);


--
-- Name: merge_request_mentions_temp_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX merge_request_mentions_temp_index ON public.merge_requests USING btree (id) WHERE ((description ~~ '%@%'::text) OR ((title)::text ~~ '%@%'::text));


--
-- Name: merge_request_user_mentions_on_mr_id_and_note_id_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX merge_request_user_mentions_on_mr_id_and_note_id_index ON public.merge_request_user_mentions USING btree (merge_request_id, note_id);


--
-- Name: merge_request_user_mentions_on_mr_id_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX merge_request_user_mentions_on_mr_id_index ON public.merge_request_user_mentions USING btree (merge_request_id) WHERE (note_id IS NULL);


--
-- Name: merge_requests_state_id_temp_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX merge_requests_state_id_temp_index ON public.merge_requests USING btree (id) WHERE (state_id = ANY (ARRAY[2, 3]));


--
-- Name: note_mentions_temp_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX note_mentions_temp_index ON public.notes USING btree (id, noteable_type) WHERE (note ~~ '%@%'::text);


--
-- Name: one_canonical_wiki_page_slug_per_metadata; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX one_canonical_wiki_page_slug_per_metadata ON public.wiki_page_slugs USING btree (wiki_page_meta_id) WHERE (canonical = true);


--
-- Name: package_name_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX package_name_index ON public.packages_packages USING btree (name);


--
-- Name: packages_packages_failed_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX packages_packages_failed_verification ON public.packages_package_files USING btree (verification_retry_at NULLS FIRST) WHERE (verification_state = 3);


--
-- Name: packages_packages_needs_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX packages_packages_needs_verification ON public.packages_package_files USING btree (verification_state) WHERE ((verification_state = 0) OR (verification_state = 3));


--
-- Name: packages_packages_pending_verification; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX packages_packages_pending_verification ON public.packages_package_files USING btree (verified_at NULLS FIRST) WHERE (verification_state = 0);


--
-- Name: partial_index_bulk_import_exports_on_group_id_and_relation; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX partial_index_bulk_import_exports_on_group_id_and_relation ON public.bulk_import_exports USING btree (group_id, relation) WHERE (group_id IS NOT NULL);


--
-- Name: partial_index_bulk_import_exports_on_project_id_and_relation; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX partial_index_bulk_import_exports_on_project_id_and_relation ON public.bulk_import_exports USING btree (project_id, relation) WHERE (project_id IS NOT NULL);


--
-- Name: partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs ON public.ci_builds USING btree (scheduled_at) WHERE ((scheduled_at IS NOT NULL) AND ((type)::text = 'Ci::Build'::text) AND ((status)::text = 'scheduled'::text));


--
-- Name: partial_index_deployments_for_legacy_successful_deployments; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX partial_index_deployments_for_legacy_successful_deployments ON public.deployments USING btree (id) WHERE ((finished_at IS NULL) AND (status = 2));


--
-- Name: partial_index_deployments_for_project_id_and_tag; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX partial_index_deployments_for_project_id_and_tag ON public.deployments USING btree (project_id) WHERE (tag IS TRUE);


--
-- Name: snippet_user_mentions_on_snippet_id_and_note_id_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX snippet_user_mentions_on_snippet_id_and_note_id_index ON public.snippet_user_mentions USING btree (snippet_id, note_id);


--
-- Name: snippet_user_mentions_on_snippet_id_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX snippet_user_mentions_on_snippet_id_index ON public.snippet_user_mentions USING btree (snippet_id) WHERE (note_id IS NULL);


--
-- Name: taggings_idx; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX taggings_idx ON public.taggings USING btree (tag_id, taggable_id, taggable_type, context, tagger_id, tagger_type);


--
-- Name: term_agreements_unique_index; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX term_agreements_unique_index ON public.term_agreements USING btree (user_id, term_id);


--
-- Name: tmp_idx_deduplicate_vulnerability_occurrences; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX tmp_idx_deduplicate_vulnerability_occurrences ON public.vulnerability_occurrences USING btree (project_id, report_type, location_fingerprint, primary_identifier_id, id);


--
-- Name: tmp_idx_on_namespaces_delayed_project_removal; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX tmp_idx_on_namespaces_delayed_project_removal ON public.namespaces USING btree (id) WHERE (delayed_project_removal = true);


--
-- Name: tmp_index_approval_project_rules_scanners; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX tmp_index_approval_project_rules_scanners ON public.approval_project_rules USING gin (scanners) WHERE (scanners @> '{cluster_image_scanning}'::text[]);


--
-- Name: tmp_index_namespaces_empty_traversal_ids_with_child_namespaces; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX tmp_index_namespaces_empty_traversal_ids_with_child_namespaces ON public.namespaces USING btree (id) WHERE ((parent_id IS NOT NULL) AND (traversal_ids = '{}'::integer[]));


--
-- Name: tmp_index_namespaces_empty_traversal_ids_with_root_namespaces; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX tmp_index_namespaces_empty_traversal_ids_with_root_namespaces ON public.namespaces USING btree (id) WHERE ((parent_id IS NULL) AND (traversal_ids = '{}'::integer[]));


--
-- Name: tmp_index_on_vulnerabilities_non_dismissed; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX tmp_index_on_vulnerabilities_non_dismissed ON public.vulnerabilities USING btree (id) WHERE (state <> 2);


--
-- Name: uniq_pkgs_deb_grp_architectures_on_distribution_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX uniq_pkgs_deb_grp_architectures_on_distribution_id_and_name ON public.packages_debian_group_architectures USING btree (distribution_id, name);


--
-- Name: uniq_pkgs_deb_grp_components_on_distribution_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX uniq_pkgs_deb_grp_components_on_distribution_id_and_name ON public.packages_debian_group_components USING btree (distribution_id, name);


--
-- Name: uniq_pkgs_deb_proj_architectures_on_distribution_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX uniq_pkgs_deb_proj_architectures_on_distribution_id_and_name ON public.packages_debian_project_architectures USING btree (distribution_id, name);


--
-- Name: uniq_pkgs_deb_proj_components_on_distribution_id_and_name; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX uniq_pkgs_deb_proj_components_on_distribution_id_and_name ON public.packages_debian_project_components USING btree (distribution_id, name);


--
-- Name: uniq_pkgs_debian_group_distributions_group_id_and_codename; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX uniq_pkgs_debian_group_distributions_group_id_and_codename ON public.packages_debian_group_distributions USING btree (group_id, codename);


--
-- Name: uniq_pkgs_debian_group_distributions_group_id_and_suite; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX uniq_pkgs_debian_group_distributions_group_id_and_suite ON public.packages_debian_group_distributions USING btree (group_id, suite);


--
-- Name: uniq_pkgs_debian_project_distributions_project_id_and_codename; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX uniq_pkgs_debian_project_distributions_project_id_and_codename ON public.packages_debian_project_distributions USING btree (project_id, codename);


--
-- Name: uniq_pkgs_debian_project_distributions_project_id_and_suite; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX uniq_pkgs_debian_project_distributions_project_id_and_suite ON public.packages_debian_project_distributions USING btree (project_id, suite);


--
-- Name: unique_merge_request_metrics_by_merge_request_id; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX unique_merge_request_metrics_by_merge_request_id ON public.merge_request_metrics USING btree (merge_request_id);


--
-- Name: user_follow_users_followee_id_idx; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE INDEX user_follow_users_followee_id_idx ON public.user_follow_users USING btree (followee_id);


--
-- Name: vulnerability_feedback_unique_idx; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX vulnerability_feedback_unique_idx ON public.vulnerability_feedback USING btree (project_id, category, feedback_type, project_fingerprint);


--
-- Name: vulnerability_occurrence_pipelines_on_unique_keys; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX vulnerability_occurrence_pipelines_on_unique_keys ON public.vulnerability_occurrence_pipelines USING btree (occurrence_id, pipeline_id);


--
-- Name: work_item_types_namespace_id_and_name_unique; Type: INDEX; Schema: public; Owner: gitlab
--

CREATE UNIQUE INDEX work_item_types_namespace_id_and_name_unique ON public.work_item_types USING btree (namespace_id, btrim(lower(name)));


--
-- Name: audit_events_000000_created_at_author_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.analytics_index_audit_events_part_on_created_at_and_author_id ATTACH PARTITION gitlab_partitions_dynamic.audit_events_000000_created_at_author_id_idx;


--
-- Name: audit_events_000000_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.idx_audit_events_part_on_entity_id_desc_author_id_created_at ATTACH PARTITION gitlab_partitions_dynamic.audit_events_000000_entity_id_entity_type_id_author_id_crea_idx;


--
-- Name: audit_events_000000_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.audit_events_pkey ATTACH PARTITION gitlab_partitions_dynamic.audit_events_000000_pkey;


--
-- Name: audit_events_202109_created_at_author_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.analytics_index_audit_events_part_on_created_at_and_author_id ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202109_created_at_author_id_idx;


--
-- Name: audit_events_202109_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.idx_audit_events_part_on_entity_id_desc_author_id_created_at ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202109_entity_id_entity_type_id_author_id_crea_idx;


--
-- Name: audit_events_202109_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.audit_events_pkey ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202109_pkey;


--
-- Name: audit_events_202110_created_at_author_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.analytics_index_audit_events_part_on_created_at_and_author_id ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202110_created_at_author_id_idx;


--
-- Name: audit_events_202110_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.idx_audit_events_part_on_entity_id_desc_author_id_created_at ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202110_entity_id_entity_type_id_author_id_crea_idx;


--
-- Name: audit_events_202110_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.audit_events_pkey ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202110_pkey;


--
-- Name: audit_events_202111_created_at_author_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.analytics_index_audit_events_part_on_created_at_and_author_id ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202111_created_at_author_id_idx;


--
-- Name: audit_events_202111_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.idx_audit_events_part_on_entity_id_desc_author_id_created_at ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202111_entity_id_entity_type_id_author_id_crea_idx;


--
-- Name: audit_events_202111_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.audit_events_pkey ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202111_pkey;


--
-- Name: audit_events_202112_created_at_author_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.analytics_index_audit_events_part_on_created_at_and_author_id ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202112_created_at_author_id_idx;


--
-- Name: audit_events_202112_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.idx_audit_events_part_on_entity_id_desc_author_id_created_at ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202112_entity_id_entity_type_id_author_id_crea_idx;


--
-- Name: audit_events_202112_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.audit_events_pkey ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202112_pkey;


--
-- Name: audit_events_202201_created_at_author_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.analytics_index_audit_events_part_on_created_at_and_author_id ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202201_created_at_author_id_idx;


--
-- Name: audit_events_202201_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.idx_audit_events_part_on_entity_id_desc_author_id_created_at ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202201_entity_id_entity_type_id_author_id_crea_idx;


--
-- Name: audit_events_202201_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.audit_events_pkey ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202201_pkey;


--
-- Name: audit_events_202202_created_at_author_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.analytics_index_audit_events_part_on_created_at_and_author_id ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202202_created_at_author_id_idx;


--
-- Name: audit_events_202202_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.idx_audit_events_part_on_entity_id_desc_author_id_created_at ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202202_entity_id_entity_type_id_author_id_crea_idx;


--
-- Name: audit_events_202202_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.audit_events_pkey ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202202_pkey;


--
-- Name: audit_events_202203_created_at_author_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.analytics_index_audit_events_part_on_created_at_and_author_id ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202203_created_at_author_id_idx;


--
-- Name: audit_events_202203_entity_id_entity_type_id_author_id_crea_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.idx_audit_events_part_on_entity_id_desc_author_id_created_at ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202203_entity_id_entity_type_id_author_id_crea_idx;


--
-- Name: audit_events_202203_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.audit_events_pkey ATTACH PARTITION gitlab_partitions_dynamic.audit_events_202203_pkey;


--
-- Name: web_hook_logs_202106_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202106_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202106_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202106_pkey;


--
-- Name: web_hook_logs_202106_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202106_web_hook_id_idx;


--
-- Name: web_hook_logs_202107_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202107_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202107_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202107_pkey;


--
-- Name: web_hook_logs_202107_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202107_web_hook_id_idx;


--
-- Name: web_hook_logs_202108_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202108_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202108_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202108_pkey;


--
-- Name: web_hook_logs_202108_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202108_web_hook_id_idx;


--
-- Name: web_hook_logs_202109_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202109_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202109_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202109_pkey;


--
-- Name: web_hook_logs_202109_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202109_web_hook_id_idx;


--
-- Name: web_hook_logs_202110_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202110_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202110_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202110_pkey;


--
-- Name: web_hook_logs_202110_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202110_web_hook_id_idx;


--
-- Name: web_hook_logs_202111_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202111_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202111_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202111_pkey;


--
-- Name: web_hook_logs_202111_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202111_web_hook_id_idx;


--
-- Name: web_hook_logs_202112_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202112_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202112_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202112_pkey;


--
-- Name: web_hook_logs_202112_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202112_web_hook_id_idx;


--
-- Name: web_hook_logs_202201_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202201_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202201_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202201_pkey;


--
-- Name: web_hook_logs_202201_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202201_web_hook_id_idx;


--
-- Name: web_hook_logs_202202_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202202_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202202_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202202_pkey;


--
-- Name: web_hook_logs_202202_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202202_web_hook_id_idx;


--
-- Name: web_hook_logs_202203_created_at_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_created_at_and_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202203_created_at_web_hook_id_idx;


--
-- Name: web_hook_logs_202203_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.web_hook_logs_pkey ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202203_pkey;


--
-- Name: web_hook_logs_202203_web_hook_id_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_dynamic; Owner: gitlab
--

ALTER INDEX public.index_web_hook_logs_part_on_web_hook_id ATTACH PARTITION gitlab_partitions_dynamic.web_hook_logs_202203_web_hook_id_idx;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx10; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx10;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx11; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx11;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx12; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx12;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx13; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx13;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx14; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx14;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx15; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx15;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx16; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx16;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx17; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx17;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx18; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx18;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx19; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx19;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx20; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx20;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx21; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx21;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx22; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx22;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx23; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx23;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx24; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx24;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx25; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx25;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx26; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx26;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx27; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx27;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx28; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx28;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx29; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx29;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx30; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx30;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx31; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx31;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx32; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx32;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx33; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx33;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx34; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx34;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx35; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx35;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx36; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx36;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx37; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx37;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx38; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx38;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx39; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx39;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx40; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx40;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx41; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx41;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx42; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx42;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx43; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx43;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx44; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx44;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx45; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx45;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx46; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx46;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx47; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx47;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx48; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx48;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx49; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx49;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx50; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx50;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx51; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx51;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx52; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx52;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx53; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx53;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx54; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx54;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx55; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx55;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx56; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx56;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx57; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx57;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx58; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx58;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx59; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx59;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx60; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx60;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx61; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx61;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx62; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx62;


--
-- Name: product_analytics_events_expe_project_id_collector_tstamp_idx63; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_expe_project_id_collector_tstamp_idx63;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx1; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx1;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx2; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx2;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx3; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx3;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx4; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx4;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx5; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx5;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx6; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx6;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx7; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx7;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx8; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx8;


--
-- Name: product_analytics_events_exper_project_id_collector_tstamp_idx9; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_exper_project_id_collector_tstamp_idx9;


--
-- Name: product_analytics_events_experi_project_id_collector_tstamp_idx; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.index_product_analytics_events_experimental_project_and_time ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experi_project_id_collector_tstamp_idx;


--
-- Name: product_analytics_events_experimental_00_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_00_pkey;


--
-- Name: product_analytics_events_experimental_01_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_01_pkey;


--
-- Name: product_analytics_events_experimental_02_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_02_pkey;


--
-- Name: product_analytics_events_experimental_03_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_03_pkey;


--
-- Name: product_analytics_events_experimental_04_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_04_pkey;


--
-- Name: product_analytics_events_experimental_05_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_05_pkey;


--
-- Name: product_analytics_events_experimental_06_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_06_pkey;


--
-- Name: product_analytics_events_experimental_07_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_07_pkey;


--
-- Name: product_analytics_events_experimental_08_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_08_pkey;


--
-- Name: product_analytics_events_experimental_09_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_09_pkey;


--
-- Name: product_analytics_events_experimental_10_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_10_pkey;


--
-- Name: product_analytics_events_experimental_11_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_11_pkey;


--
-- Name: product_analytics_events_experimental_12_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_12_pkey;


--
-- Name: product_analytics_events_experimental_13_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_13_pkey;


--
-- Name: product_analytics_events_experimental_14_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_14_pkey;


--
-- Name: product_analytics_events_experimental_15_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_15_pkey;


--
-- Name: product_analytics_events_experimental_16_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_16_pkey;


--
-- Name: product_analytics_events_experimental_17_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_17_pkey;


--
-- Name: product_analytics_events_experimental_18_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_18_pkey;


--
-- Name: product_analytics_events_experimental_19_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_19_pkey;


--
-- Name: product_analytics_events_experimental_20_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_20_pkey;


--
-- Name: product_analytics_events_experimental_21_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_21_pkey;


--
-- Name: product_analytics_events_experimental_22_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_22_pkey;


--
-- Name: product_analytics_events_experimental_23_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_23_pkey;


--
-- Name: product_analytics_events_experimental_24_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_24_pkey;


--
-- Name: product_analytics_events_experimental_25_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_25_pkey;


--
-- Name: product_analytics_events_experimental_26_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_26_pkey;


--
-- Name: product_analytics_events_experimental_27_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_27_pkey;


--
-- Name: product_analytics_events_experimental_28_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_28_pkey;


--
-- Name: product_analytics_events_experimental_29_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_29_pkey;


--
-- Name: product_analytics_events_experimental_30_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_30_pkey;


--
-- Name: product_analytics_events_experimental_31_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_31_pkey;


--
-- Name: product_analytics_events_experimental_32_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_32_pkey;


--
-- Name: product_analytics_events_experimental_33_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_33_pkey;


--
-- Name: product_analytics_events_experimental_34_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_34_pkey;


--
-- Name: product_analytics_events_experimental_35_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_35_pkey;


--
-- Name: product_analytics_events_experimental_36_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_36_pkey;


--
-- Name: product_analytics_events_experimental_37_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_37_pkey;


--
-- Name: product_analytics_events_experimental_38_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_38_pkey;


--
-- Name: product_analytics_events_experimental_39_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_39_pkey;


--
-- Name: product_analytics_events_experimental_40_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_40_pkey;


--
-- Name: product_analytics_events_experimental_41_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_41_pkey;


--
-- Name: product_analytics_events_experimental_42_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_42_pkey;


--
-- Name: product_analytics_events_experimental_43_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_43_pkey;


--
-- Name: product_analytics_events_experimental_44_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_44_pkey;


--
-- Name: product_analytics_events_experimental_45_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_45_pkey;


--
-- Name: product_analytics_events_experimental_46_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_46_pkey;


--
-- Name: product_analytics_events_experimental_47_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_47_pkey;


--
-- Name: product_analytics_events_experimental_48_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_48_pkey;


--
-- Name: product_analytics_events_experimental_49_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_49_pkey;


--
-- Name: product_analytics_events_experimental_50_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_50_pkey;


--
-- Name: product_analytics_events_experimental_51_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_51_pkey;


--
-- Name: product_analytics_events_experimental_52_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_52_pkey;


--
-- Name: product_analytics_events_experimental_53_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_53_pkey;


--
-- Name: product_analytics_events_experimental_54_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_54_pkey;


--
-- Name: product_analytics_events_experimental_55_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_55_pkey;


--
-- Name: product_analytics_events_experimental_56_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_56_pkey;


--
-- Name: product_analytics_events_experimental_57_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_57_pkey;


--
-- Name: product_analytics_events_experimental_58_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_58_pkey;


--
-- Name: product_analytics_events_experimental_59_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_59_pkey;


--
-- Name: product_analytics_events_experimental_60_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_60_pkey;


--
-- Name: product_analytics_events_experimental_61_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_61_pkey;


--
-- Name: product_analytics_events_experimental_62_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_62_pkey;


--
-- Name: product_analytics_events_experimental_63_pkey; Type: INDEX ATTACH; Schema: gitlab_partitions_static; Owner: gitlab
--

ALTER INDEX public.product_analytics_events_experimental_pkey ATTACH PARTITION gitlab_partitions_static.product_analytics_events_experimental_63_pkey;


--
-- Name: push_event_payloads trigger_07c94931164e; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_07c94931164e BEFORE INSERT OR UPDATE ON public.push_event_payloads FOR EACH ROW EXECUTE FUNCTION public.trigger_07c94931164e();


--
-- Name: ci_build_needs trigger_21e7a2602957; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_21e7a2602957 BEFORE INSERT OR UPDATE ON public.ci_build_needs FOR EACH ROW EXECUTE FUNCTION public.trigger_21e7a2602957();


--
-- Name: ci_builds trigger_3f6129be01d2; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_3f6129be01d2 BEFORE INSERT OR UPDATE ON public.ci_builds FOR EACH ROW EXECUTE FUNCTION public.trigger_3f6129be01d2();


--
-- Name: ci_stages trigger_490d204c00b3; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_490d204c00b3 BEFORE INSERT OR UPDATE ON public.ci_stages FOR EACH ROW EXECUTE FUNCTION public.trigger_490d204c00b3();


--
-- Name: ci_builds_runner_session trigger_51ab7cef8934; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_51ab7cef8934 BEFORE INSERT OR UPDATE ON public.ci_builds_runner_session FOR EACH ROW EXECUTE FUNCTION public.trigger_51ab7cef8934();


--
-- Name: ci_builds_metadata trigger_542d6c2ad72e; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_542d6c2ad72e BEFORE INSERT OR UPDATE ON public.ci_builds_metadata FOR EACH ROW EXECUTE FUNCTION public.trigger_542d6c2ad72e();


--
-- Name: events trigger_69523443cc10; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_69523443cc10 BEFORE INSERT OR UPDATE ON public.events FOR EACH ROW EXECUTE FUNCTION public.trigger_69523443cc10();


--
-- Name: deployments trigger_77f5e1d20482; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_77f5e1d20482 BEFORE INSERT OR UPDATE ON public.deployments FOR EACH ROW EXECUTE FUNCTION public.trigger_77f5e1d20482();


--
-- Name: ci_sources_pipelines trigger_8485e97c00e3; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_8485e97c00e3 BEFORE INSERT OR UPDATE ON public.ci_sources_pipelines FOR EACH ROW EXECUTE FUNCTION public.trigger_8485e97c00e3();


--
-- Name: ci_builds_metadata trigger_8487d4de3e7b; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_8487d4de3e7b BEFORE INSERT OR UPDATE ON public.ci_builds_metadata FOR EACH ROW EXECUTE FUNCTION public.trigger_8487d4de3e7b();


--
-- Name: dep_ci_build_trace_sections trigger_91dc388a5fe6; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_91dc388a5fe6 BEFORE INSERT OR UPDATE ON public.dep_ci_build_trace_sections FOR EACH ROW EXECUTE FUNCTION public.trigger_91dc388a5fe6();


--
-- Name: taggings trigger_aebe8b822ad3; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_aebe8b822ad3 BEFORE INSERT OR UPDATE ON public.taggings FOR EACH ROW EXECUTE FUNCTION public.trigger_aebe8b822ad3();


--
-- Name: ci_job_artifacts trigger_be1804f21693; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_be1804f21693 BEFORE INSERT OR UPDATE ON public.ci_job_artifacts FOR EACH ROW EXECUTE FUNCTION public.trigger_be1804f21693();


--
-- Name: ci_build_trace_chunks trigger_cf2f9e35f002; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_cf2f9e35f002 BEFORE INSERT OR UPDATE ON public.ci_build_trace_chunks FOR EACH ROW EXECUTE FUNCTION public.trigger_cf2f9e35f002();


--
-- Name: geo_job_artifact_deleted_events trigger_f1ca8ec18d78; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_f1ca8ec18d78 BEFORE INSERT OR UPDATE ON public.geo_job_artifact_deleted_events FOR EACH ROW EXECUTE FUNCTION public.trigger_f1ca8ec18d78();


--
-- Name: integrations trigger_has_external_issue_tracker_on_delete; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_has_external_issue_tracker_on_delete AFTER DELETE ON public.integrations FOR EACH ROW WHEN ((((old.category)::text = 'issue_tracker'::text) AND (old.active = true) AND (old.project_id IS NOT NULL))) EXECUTE FUNCTION public.set_has_external_issue_tracker();


--
-- Name: integrations trigger_has_external_issue_tracker_on_insert; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_has_external_issue_tracker_on_insert AFTER INSERT ON public.integrations FOR EACH ROW WHEN ((((new.category)::text = 'issue_tracker'::text) AND (new.active = true) AND (new.project_id IS NOT NULL))) EXECUTE FUNCTION public.set_has_external_issue_tracker();


--
-- Name: integrations trigger_has_external_issue_tracker_on_update; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_has_external_issue_tracker_on_update AFTER UPDATE ON public.integrations FOR EACH ROW WHEN ((((new.category)::text = 'issue_tracker'::text) AND (old.active <> new.active) AND (new.project_id IS NOT NULL))) EXECUTE FUNCTION public.set_has_external_issue_tracker();


--
-- Name: integrations trigger_has_external_wiki_on_delete; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_has_external_wiki_on_delete AFTER DELETE ON public.integrations FOR EACH ROW WHEN ((((old.type)::text = 'ExternalWikiService'::text) AND (old.project_id IS NOT NULL))) EXECUTE FUNCTION public.set_has_external_wiki();


--
-- Name: integrations trigger_has_external_wiki_on_insert; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_has_external_wiki_on_insert AFTER INSERT ON public.integrations FOR EACH ROW WHEN (((new.active = true) AND ((new.type)::text = 'ExternalWikiService'::text) AND (new.project_id IS NOT NULL))) EXECUTE FUNCTION public.set_has_external_wiki();


--
-- Name: integrations trigger_has_external_wiki_on_update; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_has_external_wiki_on_update AFTER UPDATE ON public.integrations FOR EACH ROW WHEN ((((new.type)::text = 'ExternalWikiService'::text) AND (old.active <> new.active) AND (new.project_id IS NOT NULL))) EXECUTE FUNCTION public.set_has_external_wiki();


--
-- Name: integrations trigger_type_new_on_insert; Type: TRIGGER; Schema: public; Owner: gitlab
--

CREATE TRIGGER trigger_type_new_on_insert AFTER INSERT ON public.integrations FOR EACH ROW EXECUTE FUNCTION public.integrations_set_type_new();


--
-- Name: chat_names fk_00797a2bf9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.chat_names
    ADD CONSTRAINT fk_00797a2bf9 FOREIGN KEY (service_id) REFERENCES public.integrations(id) ON DELETE CASCADE;


--
-- Name: deployments fk_009fd21147; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployments
    ADD CONSTRAINT fk_009fd21147 FOREIGN KEY (environment_id) REFERENCES public.environments(id) ON DELETE CASCADE NOT VALID;


--
-- Name: epics fk_013c9f36ca; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_013c9f36ca FOREIGN KEY (due_date_sourcing_epic_id) REFERENCES public.epics(id) ON DELETE SET NULL;


--
-- Name: clusters_applications_runners fk_02de2ded36; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_runners
    ADD CONSTRAINT fk_02de2ded36 FOREIGN KEY (runner_id) REFERENCES public.ci_runners(id) ON DELETE SET NULL;


--
-- Name: incident_management_escalation_rules fk_0314ee86eb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_escalation_rules
    ADD CONSTRAINT fk_0314ee86eb FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: design_management_designs_versions fk_03c671965c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_designs_versions
    ADD CONSTRAINT fk_03c671965c FOREIGN KEY (design_id) REFERENCES public.design_management_designs(id) ON DELETE CASCADE;


--
-- Name: terraform_state_versions fk_04b91e4a9f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_state_versions
    ADD CONSTRAINT fk_04b91e4a9f FOREIGN KEY (ci_build_id) REFERENCES public.ci_builds(id) ON DELETE SET NULL;


--
-- Name: issues fk_05f1e72feb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_05f1e72feb FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: merge_requests fk_06067f5644; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_06067f5644 FOREIGN KEY (latest_merge_request_diff_id) REFERENCES public.merge_request_diffs(id) ON DELETE SET NULL;


--
-- Name: user_interacted_projects fk_0894651f08; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_interacted_projects
    ADD CONSTRAINT fk_0894651f08 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: dast_sites fk_0a57f2271b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_sites
    ADD CONSTRAINT fk_0a57f2271b FOREIGN KEY (dast_site_validation_id) REFERENCES public.dast_site_validations(id) ON DELETE SET NULL;


--
-- Name: web_hooks fk_0c8ca6d9d1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.web_hooks
    ADD CONSTRAINT fk_0c8ca6d9d1 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: notification_settings fk_0c95e91db7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.notification_settings
    ADD CONSTRAINT fk_0c95e91db7 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: lists fk_0d3f677137; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lists
    ADD CONSTRAINT fk_0d3f677137 FOREIGN KEY (board_id) REFERENCES public.boards(id) ON DELETE CASCADE;


--
-- Name: ci_unit_test_failures fk_0f09856e1f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_unit_test_failures
    ADD CONSTRAINT fk_0f09856e1f FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: project_pages_metadata fk_0fd5b22688; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_pages_metadata
    ADD CONSTRAINT fk_0fd5b22688 FOREIGN KEY (pages_deployment_id) REFERENCES public.pages_deployments(id) ON DELETE SET NULL;


--
-- Name: group_deletion_schedules fk_11e3ebfcdd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deletion_schedules
    ADD CONSTRAINT fk_11e3ebfcdd FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: vulnerabilities fk_1302949740; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_1302949740 FOREIGN KEY (last_edited_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: vulnerabilities fk_131d289c65; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_131d289c65 FOREIGN KEY (milestone_id) REFERENCES public.milestones(id) ON DELETE SET NULL;


--
-- Name: webauthn_registrations fk_13e04d719a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.webauthn_registrations
    ADD CONSTRAINT fk_13e04d719a FOREIGN KEY (u2f_registration_id) REFERENCES public.u2f_registrations(id) ON DELETE CASCADE;


--
-- Name: protected_branch_push_access_levels fk_15d2a7a4ae; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_push_access_levels
    ADD CONSTRAINT fk_15d2a7a4ae FOREIGN KEY (deploy_key_id) REFERENCES public.keys(id) ON DELETE CASCADE;


--
-- Name: internal_ids fk_162941d509; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.internal_ids
    ADD CONSTRAINT fk_162941d509 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_176d3fbb5d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_176d3fbb5d FOREIGN KEY (job_artifact_deleted_event_id) REFERENCES public.geo_job_artifact_deleted_events(id) ON DELETE CASCADE;


--
-- Name: project_features fk_18513d9b92; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_features
    ADD CONSTRAINT fk_18513d9b92 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_pipelines fk_190998ef09; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines
    ADD CONSTRAINT fk_190998ef09 FOREIGN KEY (external_pull_request_id) REFERENCES public.external_pull_requests(id) ON DELETE SET NULL;


--
-- Name: analytics_devops_adoption_segments fk_190a24754d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_devops_adoption_segments
    ADD CONSTRAINT fk_190a24754d FOREIGN KEY (display_namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: user_details fk_190e4fcc88; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_details
    ADD CONSTRAINT fk_190e4fcc88 FOREIGN KEY (provisioned_by_group_id) REFERENCES public.namespaces(id) ON DELETE SET NULL;


--
-- Name: vulnerabilities fk_1d37cddf91; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_1d37cddf91 FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE SET NULL;


--
-- Name: ci_sources_pipelines fk_1e53c97c0a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_pipelines
    ADD CONSTRAINT fk_1e53c97c0a FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: boards fk_1e9a074a35; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards
    ADD CONSTRAINT fk_1e9a074a35 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: epics fk_1fbed67632; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_1fbed67632 FOREIGN KEY (start_date_sourcing_milestone_id) REFERENCES public.milestones(id) ON DELETE SET NULL;


--
-- Name: geo_container_repository_updated_events fk_212c89c706; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_container_repository_updated_events
    ADD CONSTRAINT fk_212c89c706 FOREIGN KEY (container_repository_id) REFERENCES public.container_repositories(id) ON DELETE CASCADE;


--
-- Name: ci_build_trace_metadata fk_21d25cac1a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_trace_metadata
    ADD CONSTRAINT fk_21d25cac1a FOREIGN KEY (trace_artifact_id) REFERENCES public.ci_job_artifacts(id) ON DELETE CASCADE;


--
-- Name: users_star_projects fk_22cd27ddfc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_star_projects
    ADD CONSTRAINT fk_22cd27ddfc FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: alert_management_alerts fk_2358b75436; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alerts
    ADD CONSTRAINT fk_2358b75436 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE SET NULL;


--
-- Name: ci_stages fk_2360681d1d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_stages
    ADD CONSTRAINT fk_2360681d1d FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: import_failures fk_24b824da43; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.import_failures
    ADD CONSTRAINT fk_24b824da43 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: project_ci_cd_settings fk_24c15d2f2e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_ci_cd_settings
    ADD CONSTRAINT fk_24c15d2f2e FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: epics fk_25b99c1be3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_25b99c1be3 FOREIGN KEY (parent_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: projects fk_25d8780d11; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.projects
    ADD CONSTRAINT fk_25d8780d11 FOREIGN KEY (marked_for_deletion_by_user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: ci_pipelines fk_262d4c2d19; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines
    ADD CONSTRAINT fk_262d4c2d19 FOREIGN KEY (auto_canceled_by_id) REFERENCES public.ci_pipelines(id) ON DELETE SET NULL;


--
-- Name: dep_ci_build_trace_sections fk_264e112c66; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dep_ci_build_trace_sections
    ADD CONSTRAINT fk_264e112c66 FOREIGN KEY (section_name_id) REFERENCES public.dep_ci_build_trace_section_names(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_27548c6db3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_27548c6db3 FOREIGN KEY (hashed_storage_migrated_event_id) REFERENCES public.geo_hashed_storage_migrated_events(id) ON DELETE CASCADE;


--
-- Name: deployments fk_289bba3222; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployments
    ADD CONSTRAINT fk_289bba3222 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE SET NULL;


--
-- Name: ci_freeze_periods fk_2e02bbd1a6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_freeze_periods
    ADD CONSTRAINT fk_2e02bbd1a6 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: notes fk_2e82291620; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.notes
    ADD CONSTRAINT fk_2e82291620 FOREIGN KEY (review_id) REFERENCES public.reviews(id) ON DELETE SET NULL;


--
-- Name: members fk_2e88fb7ce9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.members
    ADD CONSTRAINT fk_2e88fb7ce9 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: lfs_objects_projects fk_2eb33f7a78; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_objects_projects
    ADD CONSTRAINT fk_2eb33f7a78 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE NOT VALID;


--
-- Name: analytics_cycle_analytics_group_stages fk_3078345d6d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_stages
    ADD CONSTRAINT fk_3078345d6d FOREIGN KEY (stage_event_hash_id) REFERENCES public.analytics_cycle_analytics_stage_event_hashes(id) ON DELETE CASCADE;


--
-- Name: lists fk_30f2a831f4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lists
    ADD CONSTRAINT fk_30f2a831f4 FOREIGN KEY (iteration_id) REFERENCES public.sprints(id) ON DELETE CASCADE;


--
-- Name: approvals fk_310d714958; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approvals
    ADD CONSTRAINT fk_310d714958 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: namespaces fk_319256d87a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespaces
    ADD CONSTRAINT fk_319256d87a FOREIGN KEY (file_template_project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: ci_group_variables fk_33ae4d58d8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_group_variables
    ADD CONSTRAINT fk_33ae4d58d8 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: namespaces fk_3448c97865; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespaces
    ADD CONSTRAINT fk_3448c97865 FOREIGN KEY (push_rule_id) REFERENCES public.push_rules(id) ON DELETE SET NULL;


--
-- Name: in_product_marketing_emails fk_35c9101b63; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.in_product_marketing_emails
    ADD CONSTRAINT fk_35c9101b63 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: epics fk_3654b61b03; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_3654b61b03 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: sprints fk_365d1db505; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sprints
    ADD CONSTRAINT fk_365d1db505 FOREIGN KEY (iterations_cadence_id) REFERENCES public.iterations_cadences(id) ON DELETE CASCADE;


--
-- Name: push_event_payloads fk_36c74129da; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.push_event_payloads
    ADD CONSTRAINT fk_36c74129da FOREIGN KEY (event_id) REFERENCES public.events(id) ON DELETE CASCADE;


--
-- Name: bulk_import_exports fk_39c726d3b5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_exports
    ADD CONSTRAINT fk_39c726d3b5 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_builds fk_3a9eaa254d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds
    ADD CONSTRAINT fk_3a9eaa254d FOREIGN KEY (stage_id) REFERENCES public.ci_stages(id) ON DELETE CASCADE;


--
-- Name: issues fk_3b8c72ea56; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_3b8c72ea56 FOREIGN KEY (sprint_id) REFERENCES public.sprints(id) ON DELETE SET NULL;


--
-- Name: epics fk_3c1fd1cccc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_3c1fd1cccc FOREIGN KEY (due_date_sourcing_milestone_id) REFERENCES public.milestones(id) ON DELETE SET NULL;


--
-- Name: ci_pipelines fk_3d34ab2e06; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines
    ADD CONSTRAINT fk_3d34ab2e06 FOREIGN KEY (pipeline_schedule_id) REFERENCES public.ci_pipeline_schedules(id) ON DELETE SET NULL;


--
-- Name: ci_pipeline_schedule_variables fk_41c35fda51; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_schedule_variables
    ADD CONSTRAINT fk_41c35fda51 FOREIGN KEY (pipeline_schedule_id) REFERENCES public.ci_pipeline_schedules(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_42c3b54bed; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_42c3b54bed FOREIGN KEY (cache_invalidation_event_id) REFERENCES public.geo_cache_invalidation_events(id) ON DELETE CASCADE;


--
-- Name: remote_mirrors fk_43a9aa4ca8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.remote_mirrors
    ADD CONSTRAINT fk_43a9aa4ca8 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_runner_projects fk_4478a6f1e4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runner_projects
    ADD CONSTRAINT fk_4478a6f1e4 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: todos fk_45054f9c45; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.todos
    ADD CONSTRAINT fk_45054f9c45 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: releases fk_47fe2a0596; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.releases
    ADD CONSTRAINT fk_47fe2a0596 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_4a99ebfd60; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_4a99ebfd60 FOREIGN KEY (repositories_changed_event_id) REFERENCES public.geo_repositories_changed_events(id) ON DELETE CASCADE;


--
-- Name: dep_ci_build_trace_sections fk_4ebe41f502; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dep_ci_build_trace_sections
    ADD CONSTRAINT fk_4ebe41f502 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: alert_management_alerts fk_51ab4b6089; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alerts
    ADD CONSTRAINT fk_51ab4b6089 FOREIGN KEY (prometheus_alert_id) REFERENCES public.prometheus_alerts(id) ON DELETE CASCADE;


--
-- Name: path_locks fk_5265c98f24; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.path_locks
    ADD CONSTRAINT fk_5265c98f24 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: dast_site_profiles_pipelines fk_53849b0ad5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles_pipelines
    ADD CONSTRAINT fk_53849b0ad5 FOREIGN KEY (ci_pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_prometheus fk_557e773639; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_prometheus
    ADD CONSTRAINT fk_557e773639 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: terraform_states fk_558901b030; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_states
    ADD CONSTRAINT fk_558901b030 FOREIGN KEY (locked_by_user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: status_check_responses fk_55bd2abc83; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_check_responses
    ADD CONSTRAINT fk_55bd2abc83 FOREIGN KEY (external_status_check_id) REFERENCES public.external_status_checks(id) ON DELETE CASCADE;


--
-- Name: merge_request_metrics fk_56067dcb44; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_metrics
    ADD CONSTRAINT fk_56067dcb44 FOREIGN KEY (target_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_feedback fk_563ff1912e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_feedback
    ADD CONSTRAINT fk_563ff1912e FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE SET NULL;


--
-- Name: deploy_keys_projects fk_58a901ca7e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deploy_keys_projects
    ADD CONSTRAINT fk_58a901ca7e FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: dast_scanner_profiles_builds fk_5d46286ad3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_scanner_profiles_builds
    ADD CONSTRAINT fk_5d46286ad3 FOREIGN KEY (dast_scanner_profile_id) REFERENCES public.dast_scanner_profiles(id) ON DELETE CASCADE;


--
-- Name: issue_assignees fk_5e0c8d9154; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_assignees
    ADD CONSTRAINT fk_5e0c8d9154 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: csv_issue_imports fk_5e1572387c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.csv_issue_imports
    ADD CONSTRAINT fk_5e1572387c FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: project_access_tokens fk_5f7e8450e1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_access_tokens
    ADD CONSTRAINT fk_5f7e8450e1 FOREIGN KEY (personal_access_token_id) REFERENCES public.personal_access_tokens(id) ON DELETE CASCADE;


--
-- Name: merge_requests fk_6149611a04; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_6149611a04 FOREIGN KEY (assignee_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: dast_profile_schedules fk_61d52aa0e7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profile_schedules
    ADD CONSTRAINT fk_61d52aa0e7 FOREIGN KEY (dast_profile_id) REFERENCES public.dast_profiles(id) ON DELETE CASCADE;


--
-- Name: events fk_61fbf6ca48; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.events
    ADD CONSTRAINT fk_61fbf6ca48 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: merge_requests fk_641731faff; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_641731faff FOREIGN KEY (updated_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: ci_builds fk_6661f4f0e8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds
    ADD CONSTRAINT fk_6661f4f0e8 FOREIGN KEY (resource_group_id) REFERENCES public.ci_resource_groups(id) ON DELETE SET NULL;


--
-- Name: project_pages_metadata fk_69366a119e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_pages_metadata
    ADD CONSTRAINT fk_69366a119e FOREIGN KEY (artifacts_archive_id) REFERENCES public.ci_job_artifacts(id) ON DELETE SET NULL;


--
-- Name: application_settings fk_693b8795e4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_settings
    ADD CONSTRAINT fk_693b8795e4 FOREIGN KEY (push_rule_id) REFERENCES public.push_rules(id) ON DELETE SET NULL;


--
-- Name: merge_requests fk_6a5165a692; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_6a5165a692 FOREIGN KEY (milestone_id) REFERENCES public.milestones(id) ON DELETE SET NULL;


--
-- Name: geo_event_log fk_6ada82d42a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_6ada82d42a FOREIGN KEY (container_repository_updated_event_id) REFERENCES public.geo_container_repository_updated_events(id) ON DELETE CASCADE;


--
-- Name: dast_profile_schedules fk_6cca0d8800; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profile_schedules
    ADD CONSTRAINT fk_6cca0d8800 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: projects fk_6e5c14658a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.projects
    ADD CONSTRAINT fk_6e5c14658a FOREIGN KEY (pool_repository_id) REFERENCES public.pool_repositories(id) ON DELETE SET NULL;


--
-- Name: terraform_state_versions fk_6e81384d7f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_state_versions
    ADD CONSTRAINT fk_6e81384d7f FOREIGN KEY (created_by_user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: protected_branch_push_access_levels fk_7111b68cdb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_push_access_levels
    ADD CONSTRAINT fk_7111b68cdb FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: integrations fk_71cce407f9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.integrations
    ADD CONSTRAINT fk_71cce407f9 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: user_interacted_projects fk_722ceba4f7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_interacted_projects
    ADD CONSTRAINT fk_722ceba4f7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerabilities fk_725465b774; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_725465b774 FOREIGN KEY (dismissed_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: index_statuses fk_74b2492545; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.index_statuses
    ADD CONSTRAINT fk_74b2492545 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: cluster_agent_tokens fk_75008f3553; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_agent_tokens
    ADD CONSTRAINT fk_75008f3553 FOREIGN KEY (created_by_user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: vulnerabilities fk_76bc5f5455; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_76bc5f5455 FOREIGN KEY (resolved_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: oauth_openid_requests fk_77114b3b09; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.oauth_openid_requests
    ADD CONSTRAINT fk_77114b3b09 FOREIGN KEY (access_grant_id) REFERENCES public.oauth_access_grants(id) ON DELETE CASCADE;


--
-- Name: ci_resource_groups fk_774722d144; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_resource_groups
    ADD CONSTRAINT fk_774722d144 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: users fk_789cd90b35; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users
    ADD CONSTRAINT fk_789cd90b35 FOREIGN KEY (accepted_term_id) REFERENCES public.application_setting_terms(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_78a6492f68; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_78a6492f68 FOREIGN KEY (repository_updated_event_id) REFERENCES public.geo_repository_updated_events(id) ON DELETE CASCADE;


--
-- Name: analytics_devops_adoption_snapshots fk_78c9eac821; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_devops_adoption_snapshots
    ADD CONSTRAINT fk_78c9eac821 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: lists fk_7a5553d60f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lists
    ADD CONSTRAINT fk_7a5553d60f FOREIGN KEY (label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: ci_unit_tests fk_7a8fabf0a8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_unit_tests
    ADD CONSTRAINT fk_7a8fabf0a8 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: protected_branches fk_7a9c6d93e7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branches
    ADD CONSTRAINT fk_7a9c6d93e7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerabilities fk_7ac31eacb9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_7ac31eacb9 FOREIGN KEY (updated_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: vulnerabilities fk_7c5bb22a22; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_7c5bb22a22 FOREIGN KEY (due_date_sourcing_milestone_id) REFERENCES public.milestones(id) ON DELETE SET NULL;


--
-- Name: labels fk_7de4989a69; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.labels
    ADD CONSTRAINT fk_7de4989a69 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: merge_requests fk_7e85395a64; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_7e85395a64 FOREIGN KEY (sprint_id) REFERENCES public.sprints(id) ON DELETE SET NULL;


--
-- Name: merge_request_metrics fk_7f28d925f3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_metrics
    ADD CONSTRAINT fk_7f28d925f3 FOREIGN KEY (merged_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: group_import_states fk_8053b3ebd6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_import_states
    ADD CONSTRAINT fk_8053b3ebd6 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: sprints fk_80aa8a1f95; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sprints
    ADD CONSTRAINT fk_80aa8a1f95 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: import_export_uploads fk_83319d9721; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.import_export_uploads
    ADD CONSTRAINT fk_83319d9721 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: push_rules fk_83b29894de; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.push_rules
    ADD CONSTRAINT fk_83b29894de FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: experiment_subjects fk_842649f2f5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_subjects
    ADD CONSTRAINT fk_842649f2f5 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: merge_request_diffs fk_8483f3258f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diffs
    ADD CONSTRAINT fk_8483f3258f FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: requirements fk_85044baef0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements
    ADD CONSTRAINT fk_85044baef0 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: ci_pipelines fk_86635dbd80; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines
    ADD CONSTRAINT fk_86635dbd80 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_86c84214ec; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_86c84214ec FOREIGN KEY (repository_renamed_event_id) REFERENCES public.geo_repository_renamed_events(id) ON DELETE CASCADE;


--
-- Name: packages_package_files fk_86f0f182f8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_package_files
    ADD CONSTRAINT fk_86f0f182f8 FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: ci_builds fk_87f4cefcda; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds
    ADD CONSTRAINT fk_87f4cefcda FOREIGN KEY (upstream_pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: vulnerabilities fk_88b4d546ef; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_88b4d546ef FOREIGN KEY (start_date_sourcing_milestone_id) REFERENCES public.milestones(id) ON DELETE SET NULL;


--
-- Name: bulk_import_entities fk_88c725229f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_entities
    ADD CONSTRAINT fk_88c725229f FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: requirements_management_test_reports fk_88f30752fc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements_management_test_reports
    ADD CONSTRAINT fk_88f30752fc FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: issues fk_899c8f3231; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_899c8f3231 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: protected_branch_merge_access_levels fk_8a3072ccb3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_merge_access_levels
    ADD CONSTRAINT fk_8a3072ccb3 FOREIGN KEY (protected_branch_id) REFERENCES public.protected_branches(id) ON DELETE CASCADE;


--
-- Name: bulk_import_exports fk_8c6f33cebe; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_exports
    ADD CONSTRAINT fk_8c6f33cebe FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: releases fk_8e4456f90f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.releases
    ADD CONSTRAINT fk_8e4456f90f FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: protected_tags fk_8e4af87648; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_tags
    ADD CONSTRAINT fk_8e4af87648 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_pipeline_schedules fk_8ead60fcc4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_schedules
    ADD CONSTRAINT fk_8ead60fcc4 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: todos fk_91d1f47b13; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.todos
    ADD CONSTRAINT fk_91d1f47b13 FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: dast_site_profiles_builds fk_94e80df60e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles_builds
    ADD CONSTRAINT fk_94e80df60e FOREIGN KEY (dast_site_profile_id) REFERENCES public.dast_site_profiles(id) ON DELETE CASCADE;


--
-- Name: vulnerability_feedback fk_94f7c8a81e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_feedback
    ADD CONSTRAINT fk_94f7c8a81e FOREIGN KEY (comment_author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: milestones fk_95650a40d4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.milestones
    ADD CONSTRAINT fk_95650a40d4 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: vulnerabilities fk_959d40ad0a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_959d40ad0a FOREIGN KEY (confirmed_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: boards_epic_list_user_preferences fk_95eac55851; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_list_user_preferences
    ADD CONSTRAINT fk_95eac55851 FOREIGN KEY (epic_list_id) REFERENCES public.boards_epic_lists(id) ON DELETE CASCADE;


--
-- Name: application_settings fk_964370041d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_settings
    ADD CONSTRAINT fk_964370041d FOREIGN KEY (usage_stats_set_by_user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: issues fk_96b1dd429c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_96b1dd429c FOREIGN KEY (milestone_id) REFERENCES public.milestones(id) ON DELETE SET NULL;


--
-- Name: vulnerability_occurrences fk_97ffe77653; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrences
    ADD CONSTRAINT fk_97ffe77653 FOREIGN KEY (vulnerability_id) REFERENCES public.vulnerabilities(id) ON DELETE SET NULL;


--
-- Name: protected_branch_merge_access_levels fk_98f3d044fe; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_merge_access_levels
    ADD CONSTRAINT fk_98f3d044fe FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: notes fk_99e097b079; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.notes
    ADD CONSTRAINT fk_99e097b079 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_9b9afb1916; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_9b9afb1916 FOREIGN KEY (repository_created_event_id) REFERENCES public.geo_repository_created_events(id) ON DELETE CASCADE;


--
-- Name: milestones fk_9bd0a0c791; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.milestones
    ADD CONSTRAINT fk_9bd0a0c791 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: issues fk_9c4516d665; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_9c4516d665 FOREIGN KEY (duplicated_to_id) REFERENCES public.issues(id) ON DELETE SET NULL;


--
-- Name: epics fk_9d480c64b2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_9d480c64b2 FOREIGN KEY (start_date_sourcing_epic_id) REFERENCES public.epics(id) ON DELETE SET NULL;


--
-- Name: protected_environments fk_9e112565b7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environments
    ADD CONSTRAINT fk_9e112565b7 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: alert_management_alerts fk_9e49e5c2b7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alerts
    ADD CONSTRAINT fk_9e49e5c2b7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_pipeline_schedules fk_9ea99f58d2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_schedules
    ADD CONSTRAINT fk_9ea99f58d2 FOREIGN KEY (owner_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: protected_branch_push_access_levels fk_9ffc86a3d9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_push_access_levels
    ADD CONSTRAINT fk_9ffc86a3d9 FOREIGN KEY (protected_branch_id) REFERENCES public.protected_branches(id) ON DELETE CASCADE;


--
-- Name: deployment_merge_requests fk_a064ff4453; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployment_merge_requests
    ADD CONSTRAINT fk_a064ff4453 FOREIGN KEY (environment_id) REFERENCES public.environments(id) ON DELETE CASCADE;


--
-- Name: issues fk_a194299be1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_a194299be1 FOREIGN KEY (moved_to_id) REFERENCES public.issues(id) ON DELETE SET NULL;


--
-- Name: ci_builds fk_a2141b1522; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds
    ADD CONSTRAINT fk_a2141b1522 FOREIGN KEY (auto_canceled_by_id) REFERENCES public.ci_pipelines(id) ON DELETE SET NULL;


--
-- Name: ci_pipelines fk_a23be95014; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines
    ADD CONSTRAINT fk_a23be95014 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: dast_site_profiles_builds fk_a325505e99; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles_builds
    ADD CONSTRAINT fk_a325505e99 FOREIGN KEY (ci_build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: bulk_import_entities fk_a44ff95be5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_entities
    ADD CONSTRAINT fk_a44ff95be5 FOREIGN KEY (parent_id) REFERENCES public.bulk_import_entities(id) ON DELETE CASCADE;


--
-- Name: users fk_a4b8fefe3e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users
    ADD CONSTRAINT fk_a4b8fefe3e FOREIGN KEY (managing_group_id) REFERENCES public.namespaces(id) ON DELETE SET NULL;


--
-- Name: lfs_objects_projects fk_a56e02279c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_objects_projects
    ADD CONSTRAINT fk_a56e02279c FOREIGN KEY (lfs_object_id) REFERENCES public.lfs_objects(id) ON DELETE RESTRICT NOT VALID;


--
-- Name: dast_profiles_pipelines fk_a60cad829d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profiles_pipelines
    ADD CONSTRAINT fk_a60cad829d FOREIGN KEY (ci_pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: merge_requests fk_a6963e8447; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_a6963e8447 FOREIGN KEY (target_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: epics fk_aa5798e761; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_aa5798e761 FOREIGN KEY (closed_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: dast_profiles fk_aa76ef30e9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profiles
    ADD CONSTRAINT fk_aa76ef30e9 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: alert_management_alerts fk_aad61aedca; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alerts
    ADD CONSTRAINT fk_aad61aedca FOREIGN KEY (environment_id) REFERENCES public.environments(id) ON DELETE SET NULL;


--
-- Name: identities fk_aade90f0fc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.identities
    ADD CONSTRAINT fk_aade90f0fc FOREIGN KEY (saml_provider_id) REFERENCES public.saml_providers(id) ON DELETE CASCADE;


--
-- Name: dep_ci_build_trace_sections fk_ab7c104e26; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dep_ci_build_trace_sections
    ADD CONSTRAINT fk_ab7c104e26 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_sources_pipelines fk_acd9737679; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_pipelines
    ADD CONSTRAINT fk_acd9737679 FOREIGN KEY (source_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: merge_requests fk_ad525e1f87; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_ad525e1f87 FOREIGN KEY (merge_user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: ci_variables fk_ada5eb64b3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_variables
    ADD CONSTRAINT fk_ada5eb64b3 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: merge_request_metrics fk_ae440388cc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_metrics
    ADD CONSTRAINT fk_ae440388cc FOREIGN KEY (latest_closed_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: dast_profile_schedules fk_aef03d62e5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profile_schedules
    ADD CONSTRAINT fk_aef03d62e5 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: analytics_cycle_analytics_group_stages fk_analytics_cycle_analytics_group_stages_group_value_stream_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_stages
    ADD CONSTRAINT fk_analytics_cycle_analytics_group_stages_group_value_stream_id FOREIGN KEY (group_value_stream_id) REFERENCES public.analytics_cycle_analytics_group_value_streams(id) ON DELETE CASCADE;


--
-- Name: fork_network_members fk_b01280dae4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.fork_network_members
    ADD CONSTRAINT fk_b01280dae4 FOREIGN KEY (forked_from_project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: vulnerabilities fk_b1de915a15; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_b1de915a15 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: project_access_tokens fk_b27801bfbf; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_access_tokens
    ADD CONSTRAINT fk_b27801bfbf FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: issues fk_b37be69be6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_b37be69be6 FOREIGN KEY (work_item_type_id) REFERENCES public.work_item_types(id);


--
-- Name: protected_tag_create_access_levels fk_b4eb82fe3c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_tag_create_access_levels
    ADD CONSTRAINT fk_b4eb82fe3c FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: bulk_import_entities fk_b69fa2b2df; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_entities
    ADD CONSTRAINT fk_b69fa2b2df FOREIGN KEY (bulk_import_id) REFERENCES public.bulk_imports(id) ON DELETE CASCADE;


--
-- Name: compliance_management_frameworks fk_b74c45b71f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.compliance_management_frameworks
    ADD CONSTRAINT fk_b74c45b71f FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: external_status_checks_protected_branches fk_b7d788e813; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_status_checks_protected_branches
    ADD CONSTRAINT fk_b7d788e813 FOREIGN KEY (protected_branch_id) REFERENCES public.protected_branches(id) ON DELETE CASCADE;


--
-- Name: issue_assignees fk_b7d881734a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_assignees
    ADD CONSTRAINT fk_b7d881734a FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: ci_trigger_requests fk_b8ec8b7245; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_trigger_requests
    ADD CONSTRAINT fk_b8ec8b7245 FOREIGN KEY (trigger_id) REFERENCES public.ci_triggers(id) ON DELETE CASCADE;


--
-- Name: deployments fk_b9a3851b82; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployments
    ADD CONSTRAINT fk_b9a3851b82 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: gitlab_subscriptions fk_bd0c4019c3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gitlab_subscriptions
    ADD CONSTRAINT fk_bd0c4019c3 FOREIGN KEY (hosted_plan_id) REFERENCES public.plans(id) ON DELETE CASCADE;


--
-- Name: metrics_users_starred_dashboards fk_bd6ae32fac; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.metrics_users_starred_dashboards
    ADD CONSTRAINT fk_bd6ae32fac FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: project_compliance_framework_settings fk_be413374a9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_compliance_framework_settings
    ADD CONSTRAINT fk_be413374a9 FOREIGN KEY (framework_id) REFERENCES public.compliance_management_frameworks(id) ON DELETE CASCADE;


--
-- Name: snippets fk_be41fd4bb7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippets
    ADD CONSTRAINT fk_be41fd4bb7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_sources_pipelines fk_be5624bf37; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_pipelines
    ADD CONSTRAINT fk_be5624bf37 FOREIGN KEY (source_job_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: packages_maven_metadata fk_be88aed360; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_maven_metadata
    ADD CONSTRAINT fk_be88aed360 FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: ci_builds fk_befce0568a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds
    ADD CONSTRAINT fk_befce0568a FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: design_management_versions fk_c1440b4896; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_versions
    ADD CONSTRAINT fk_c1440b4896 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: packages_packages fk_c188f0dba4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_packages
    ADD CONSTRAINT fk_c188f0dba4 FOREIGN KEY (creator_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: geo_event_log fk_c1f241c70d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_c1f241c70d FOREIGN KEY (upload_deleted_event_id) REFERENCES public.geo_upload_deleted_events(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_project_stages fk_c3339bdfc9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_stages
    ADD CONSTRAINT fk_c3339bdfc9 FOREIGN KEY (stage_event_hash_id) REFERENCES public.analytics_cycle_analytics_stage_event_hashes(id) ON DELETE CASCADE;


--
-- Name: vulnerability_exports fk_c3d3cb5d0f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_exports
    ADD CONSTRAINT fk_c3d3cb5d0f FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: timelogs fk_c49c83dd77; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.timelogs
    ADD CONSTRAINT fk_c49c83dd77 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_c4b1c1f66e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_c4b1c1f66e FOREIGN KEY (repository_deleted_event_id) REFERENCES public.geo_repository_deleted_events(id) ON DELETE CASCADE;


--
-- Name: issues fk_c63cbf6c25; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_c63cbf6c25 FOREIGN KEY (closed_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: issue_links fk_c900194ff2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_links
    ADD CONSTRAINT fk_c900194ff2 FOREIGN KEY (source_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: external_approval_rules_protected_branches fk_c9a037a926; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_approval_rules_protected_branches
    ADD CONSTRAINT fk_c9a037a926 FOREIGN KEY (external_approval_rule_id) REFERENCES public.external_approval_rules(id) ON DELETE CASCADE;


--
-- Name: external_approval_rules_protected_branches fk_ca2ffb55e6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_approval_rules_protected_branches
    ADD CONSTRAINT fk_ca2ffb55e6 FOREIGN KEY (protected_branch_id) REFERENCES public.protected_branches(id) ON DELETE CASCADE;


--
-- Name: external_status_checks_protected_branches fk_cc0dcc36d1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_status_checks_protected_branches
    ADD CONSTRAINT fk_cc0dcc36d1 FOREIGN KEY (external_status_check_id) REFERENCES public.external_status_checks(id) ON DELETE CASCADE;


--
-- Name: dast_profiles_pipelines fk_cc206a8c13; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profiles_pipelines
    ADD CONSTRAINT fk_cc206a8c13 FOREIGN KEY (dast_profile_id) REFERENCES public.dast_profiles(id) ON DELETE CASCADE;


--
-- Name: experiment_subjects fk_ccc28f8ceb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_subjects
    ADD CONSTRAINT fk_ccc28f8ceb FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: todos fk_ccf0373936; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.todos
    ADD CONSTRAINT fk_ccf0373936 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: dast_site_profiles_pipelines fk_cf05cf8fe1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles_pipelines
    ADD CONSTRAINT fk_cf05cf8fe1 FOREIGN KEY (dast_site_profile_id) REFERENCES public.dast_site_profiles(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_cff7185ad2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_cff7185ad2 FOREIGN KEY (reset_checksum_event_id) REFERENCES public.geo_reset_checksum_events(id) ON DELETE CASCADE;


--
-- Name: custom_emoji fk_custom_emoji_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.custom_emoji
    ADD CONSTRAINT fk_custom_emoji_creator_id FOREIGN KEY (creator_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: bulk_import_entities fk_d06d023c30; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_entities
    ADD CONSTRAINT fk_d06d023c30 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: project_mirror_data fk_d1aad367d7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_mirror_data
    ADD CONSTRAINT fk_d1aad367d7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: environments fk_d1c8c1da6a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.environments
    ADD CONSTRAINT fk_d1c8c1da6a FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_builds fk_d3130c9a7f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds
    ADD CONSTRAINT fk_d3130c9a7f FOREIGN KEY (commit_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: web_hooks fk_d47999a98a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.web_hooks
    ADD CONSTRAINT fk_d47999a98a FOREIGN KEY (service_id) REFERENCES public.integrations(id) ON DELETE CASCADE;


--
-- Name: ci_sources_pipelines fk_d4e29af7d7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_pipelines
    ADD CONSTRAINT fk_d4e29af7d7 FOREIGN KEY (source_pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: geo_event_log fk_d5af95fcd9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_d5af95fcd9 FOREIGN KEY (lfs_object_deleted_event_id) REFERENCES public.geo_lfs_object_deleted_events(id) ON DELETE CASCADE;


--
-- Name: lists fk_d6cf4279f7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lists
    ADD CONSTRAINT fk_d6cf4279f7 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: metrics_users_starred_dashboards fk_d76a2b9a8c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.metrics_users_starred_dashboards
    ADD CONSTRAINT fk_d76a2b9a8c FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_pipelines fk_d80e161c54; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines
    ADD CONSTRAINT fk_d80e161c54 FOREIGN KEY (ci_ref_id) REFERENCES public.ci_refs(id) ON DELETE SET NULL;


--
-- Name: system_note_metadata fk_d83a918cb1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.system_note_metadata
    ADD CONSTRAINT fk_d83a918cb1 FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: todos fk_d94154aa95; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.todos
    ADD CONSTRAINT fk_d94154aa95 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: label_links fk_d97dd08678; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.label_links
    ADD CONSTRAINT fk_d97dd08678 FOREIGN KEY (label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: project_group_links fk_daa8cee94c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_group_links
    ADD CONSTRAINT fk_daa8cee94c FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: security_scans fk_dbc89265b9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_scans
    ADD CONSTRAINT fk_dbc89265b9 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: epics fk_dccd3f98fc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_dccd3f98fc FOREIGN KEY (assignee_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: issues fk_df75a7c8b8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_df75a7c8b8 FOREIGN KEY (promoted_to_epic_id) REFERENCES public.epics(id) ON DELETE SET NULL;


--
-- Name: experiment_subjects fk_dfc3e211d4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_subjects
    ADD CONSTRAINT fk_dfc3e211d4 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: ci_resources fk_e169a8e3d5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_resources
    ADD CONSTRAINT fk_e169a8e3d5 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE SET NULL;


--
-- Name: ci_sources_pipelines fk_e1bad85861; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_pipelines
    ADD CONSTRAINT fk_e1bad85861 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: gitlab_subscriptions fk_e2595d00a1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gitlab_subscriptions
    ADD CONSTRAINT fk_e2595d00a1 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: ci_triggers fk_e3e63f966e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_triggers
    ADD CONSTRAINT fk_e3e63f966e FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: dast_scanner_profiles_builds fk_e4c49200f8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_scanner_profiles_builds
    ADD CONSTRAINT fk_e4c49200f8 FOREIGN KEY (ci_build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: merge_requests fk_e719a85f8a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_e719a85f8a FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: issue_links fk_e71bb44f1f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_links
    ADD CONSTRAINT fk_e71bb44f1f FOREIGN KEY (target_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: csv_issue_imports fk_e71c0ae362; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.csv_issue_imports
    ADD CONSTRAINT fk_e71c0ae362 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: namespaces fk_e7a0b20a6b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespaces
    ADD CONSTRAINT fk_e7a0b20a6b FOREIGN KEY (custom_project_templates_group_id) REFERENCES public.namespaces(id) ON DELETE SET NULL;


--
-- Name: fork_networks fk_e7b436b2b5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.fork_networks
    ADD CONSTRAINT fk_e7b436b2b5 FOREIGN KEY (root_project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: sprints fk_e8206c9686; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sprints
    ADD CONSTRAINT fk_e8206c9686 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: application_settings fk_e8a145f3a7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_settings
    ADD CONSTRAINT fk_e8a145f3a7 FOREIGN KEY (instance_administrators_group_id) REFERENCES public.namespaces(id) ON DELETE SET NULL;


--
-- Name: vulnerability_statistics fk_e8b13c928f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_statistics
    ADD CONSTRAINT fk_e8b13c928f FOREIGN KEY (latest_pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE SET NULL;


--
-- Name: ci_triggers fk_e8e10d1964; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_triggers
    ADD CONSTRAINT fk_e8e10d1964 FOREIGN KEY (owner_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: integrations fk_e8fe908a34; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.integrations
    ADD CONSTRAINT fk_e8fe908a34 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: pages_domains fk_ea2f6dfc6f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_domains
    ADD CONSTRAINT fk_ea2f6dfc6f FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: application_settings fk_ec757bd087; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_settings
    ADD CONSTRAINT fk_ec757bd087 FOREIGN KEY (file_template_project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: events fk_edfd187b6f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.events
    ADD CONSTRAINT fk_edfd187b6f FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: vulnerabilities fk_efb96ab1e2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerabilities
    ADD CONSTRAINT fk_efb96ab1e2 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: emails fk_emails_user_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.emails
    ADD CONSTRAINT fk_emails_user_id FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: clusters fk_f05c5e5a42; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters
    ADD CONSTRAINT fk_f05c5e5a42 FOREIGN KEY (management_project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: vulnerability_external_issue_links fk_f07bb8233d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_external_issue_links
    ADD CONSTRAINT fk_f07bb8233d FOREIGN KEY (vulnerability_id) REFERENCES public.vulnerabilities(id) ON DELETE CASCADE;


--
-- Name: epics fk_f081aa4489; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epics
    ADD CONSTRAINT fk_f081aa4489 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: boards fk_f15266b5f9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards
    ADD CONSTRAINT fk_f15266b5f9 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_pipeline_variables fk_f29c5f4380; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_variables
    ADD CONSTRAINT fk_f29c5f4380 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: status_check_responses fk_f3953d86c6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_check_responses
    ADD CONSTRAINT fk_f3953d86c6 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: design_management_designs_versions fk_f4d25ba00c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_designs_versions
    ADD CONSTRAINT fk_f4d25ba00c FOREIGN KEY (version_id) REFERENCES public.design_management_versions(id) ON DELETE CASCADE;


--
-- Name: analytics_devops_adoption_segments fk_f5aa768998; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_devops_adoption_segments
    ADD CONSTRAINT fk_f5aa768998 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: boards_epic_list_user_preferences fk_f5f2fe5c1f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_list_user_preferences
    ADD CONSTRAINT fk_f5f2fe5c1f FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: cluster_agents fk_f7d43dee13; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_agents
    ADD CONSTRAINT fk_f7d43dee13 FOREIGN KEY (created_by_user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: protected_tag_create_access_levels fk_f7dfda8c51; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_tag_create_access_levels
    ADD CONSTRAINT fk_f7dfda8c51 FOREIGN KEY (protected_tag_id) REFERENCES public.protected_tags(id) ON DELETE CASCADE;


--
-- Name: dep_ci_build_trace_section_names fk_f8cd72cd26; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dep_ci_build_trace_section_names
    ADD CONSTRAINT fk_f8cd72cd26 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_stages fk_fb57e6cc56; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_stages
    ADD CONSTRAINT fk_fb57e6cc56 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: system_note_metadata fk_fbd87415c9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.system_note_metadata
    ADD CONSTRAINT fk_fbd87415c9 FOREIGN KEY (description_version_id) REFERENCES public.description_versions(id) ON DELETE SET NULL;


--
-- Name: vulnerability_remediations fk_fc61a535a0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_remediations
    ADD CONSTRAINT fk_fc61a535a0 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_daily_build_group_report_results fk_fd1858fefd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_daily_build_group_report_results
    ADD CONSTRAINT fk_fd1858fefd FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: merge_requests fk_fd82eae0b9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_fd82eae0b9 FOREIGN KEY (head_pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE SET NULL;


--
-- Name: ci_pending_builds fk_fdc0137e4a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pending_builds
    ADD CONSTRAINT fk_fdc0137e4a FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: project_import_data fk_ffb9ee3a10; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_import_data
    ADD CONSTRAINT fk_ffb9ee3a10 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: issues fk_ffed080f01; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues
    ADD CONSTRAINT fk_ffed080f01 FOREIGN KEY (updated_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: geo_event_log fk_geo_event_log_on_geo_event_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_event_log
    ADD CONSTRAINT fk_geo_event_log_on_geo_event_id FOREIGN KEY (geo_event_id) REFERENCES public.geo_events(id) ON DELETE CASCADE;


--
-- Name: path_locks fk_path_locks_user_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.path_locks
    ADD CONSTRAINT fk_path_locks_user_id FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: personal_access_tokens fk_personal_access_tokens_user_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.personal_access_tokens
    ADD CONSTRAINT fk_personal_access_tokens_user_id FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: project_settings fk_project_settings_push_rule_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_settings
    ADD CONSTRAINT fk_project_settings_push_rule_id FOREIGN KEY (push_rule_id) REFERENCES public.push_rules(id) ON DELETE SET NULL;


--
-- Name: projects fk_projects_namespace_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.projects
    ADD CONSTRAINT fk_projects_namespace_id FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE RESTRICT;


--
-- Name: protected_branch_merge_access_levels fk_protected_branch_merge_access_levels_user_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_merge_access_levels
    ADD CONSTRAINT fk_protected_branch_merge_access_levels_user_id FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: protected_branch_push_access_levels fk_protected_branch_push_access_levels_user_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_push_access_levels
    ADD CONSTRAINT fk_protected_branch_push_access_levels_user_id FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: protected_tag_create_access_levels fk_protected_tag_create_access_levels_user_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_tag_create_access_levels
    ADD CONSTRAINT fk_protected_tag_create_access_levels_user_id FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: approval_merge_request_rules fk_rails_004ce82224; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules
    ADD CONSTRAINT fk_rails_004ce82224 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: namespace_statistics fk_rails_0062050394; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_statistics
    ADD CONSTRAINT fk_rails_0062050394 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_elastic_stacks fk_rails_026f219f46; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_elastic_stacks
    ADD CONSTRAINT fk_rails_026f219f46 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: incident_management_oncall_participants fk_rails_032b12996a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_participants
    ADD CONSTRAINT fk_rails_032b12996a FOREIGN KEY (oncall_rotation_id) REFERENCES public.incident_management_oncall_rotations(id) ON DELETE CASCADE;


--
-- Name: events fk_rails_0434b48643; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.events
    ADD CONSTRAINT fk_rails_0434b48643 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ip_restrictions fk_rails_04a93778d5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ip_restrictions
    ADD CONSTRAINT fk_rails_04a93778d5 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: terraform_state_versions fk_rails_04f176e239; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_state_versions
    ADD CONSTRAINT fk_rails_04f176e239 FOREIGN KEY (terraform_state_id) REFERENCES public.terraform_states(id) ON DELETE CASCADE;


--
-- Name: ci_build_report_results fk_rails_056d298d48; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_report_results
    ADD CONSTRAINT fk_rails_056d298d48 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_daily_build_group_report_results fk_rails_0667f7608c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_daily_build_group_report_results
    ADD CONSTRAINT fk_rails_0667f7608c FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_subscriptions_projects fk_rails_0818751483; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_subscriptions_projects
    ADD CONSTRAINT fk_rails_0818751483 FOREIGN KEY (downstream_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: trending_projects fk_rails_09feecd872; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.trending_projects
    ADD CONSTRAINT fk_rails_09feecd872 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: security_orchestration_policy_configurations fk_rails_0a22dcd52d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_orchestration_policy_configurations
    ADD CONSTRAINT fk_rails_0a22dcd52d FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: project_deploy_tokens fk_rails_0aca134388; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_deploy_tokens
    ADD CONSTRAINT fk_rails_0aca134388 FOREIGN KEY (deploy_token_id) REFERENCES public.deploy_tokens(id) ON DELETE CASCADE;


--
-- Name: packages_debian_group_distributions fk_rails_0adf75c347; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_distributions
    ADD CONSTRAINT fk_rails_0adf75c347 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE RESTRICT;


--
-- Name: packages_conan_file_metadata fk_rails_0afabd9328; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_conan_file_metadata
    ADD CONSTRAINT fk_rails_0afabd9328 FOREIGN KEY (package_file_id) REFERENCES public.packages_package_files(id) ON DELETE CASCADE;


--
-- Name: ci_build_pending_states fk_rails_0bbbfeaf9d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_pending_states
    ADD CONSTRAINT fk_rails_0bbbfeaf9d FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: operations_user_lists fk_rails_0c716e079b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_user_lists
    ADD CONSTRAINT fk_rails_0c716e079b FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: geo_node_statuses fk_rails_0ecc699c2a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_node_statuses
    ADD CONSTRAINT fk_rails_0ecc699c2a FOREIGN KEY (geo_node_id) REFERENCES public.geo_nodes(id) ON DELETE CASCADE;


--
-- Name: project_repository_states fk_rails_0f2298ca8a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repository_states
    ADD CONSTRAINT fk_rails_0f2298ca8a FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: user_synced_attributes_metadata fk_rails_0f4aa0981f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_synced_attributes_metadata
    ADD CONSTRAINT fk_rails_0f4aa0981f FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: project_authorizations fk_rails_0f84bb11f3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_authorizations
    ADD CONSTRAINT fk_rails_0f84bb11f3 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: boards_epic_lists fk_rails_0f9c7f646f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_lists
    ADD CONSTRAINT fk_rails_0f9c7f646f FOREIGN KEY (epic_board_id) REFERENCES public.boards_epic_boards(id) ON DELETE CASCADE;


--
-- Name: issue_email_participants fk_rails_0fdfd8b811; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_email_participants
    ADD CONSTRAINT fk_rails_0fdfd8b811 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: merge_request_context_commits fk_rails_0fe0039f60; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_context_commits
    ADD CONSTRAINT fk_rails_0fe0039f60 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: ci_build_trace_chunks fk_rails_1013b761f2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_trace_chunks
    ADD CONSTRAINT fk_rails_1013b761f2 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: vulnerability_exports fk_rails_1019162882; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_exports
    ADD CONSTRAINT fk_rails_1019162882 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: prometheus_alert_events fk_rails_106f901176; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alert_events
    ADD CONSTRAINT fk_rails_106f901176 FOREIGN KEY (prometheus_alert_id) REFERENCES public.prometheus_alerts(id) ON DELETE CASCADE;


--
-- Name: ci_sources_projects fk_rails_10a1eb379a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_projects
    ADD CONSTRAINT fk_rails_10a1eb379a FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: zoom_meetings fk_rails_1190f0e0fa; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.zoom_meetings
    ADD CONSTRAINT fk_rails_1190f0e0fa FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: gpg_signatures fk_rails_11ae8cb9a7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_signatures
    ADD CONSTRAINT fk_rails_11ae8cb9a7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: project_authorizations fk_rails_11e7aa3ed9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_authorizations
    ADD CONSTRAINT fk_rails_11e7aa3ed9 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: description_versions fk_rails_12b144011c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.description_versions
    ADD CONSTRAINT fk_rails_12b144011c FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: project_statistics fk_rails_12c471002f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_statistics
    ADD CONSTRAINT fk_rails_12c471002f FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: user_details fk_rails_12e0b3043d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_details
    ADD CONSTRAINT fk_rails_12e0b3043d FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: bulk_imports fk_rails_130a09357d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_imports
    ADD CONSTRAINT fk_rails_130a09357d FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: diff_note_positions fk_rails_13c7212859; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.diff_note_positions
    ADD CONSTRAINT fk_rails_13c7212859 FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: users_security_dashboard_projects fk_rails_150cd5682c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_security_dashboard_projects
    ADD CONSTRAINT fk_rails_150cd5682c FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_build_report_results fk_rails_16cb1ff064; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_report_results
    ADD CONSTRAINT fk_rails_16cb1ff064 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: project_deploy_tokens fk_rails_170e03cbaf; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_deploy_tokens
    ADD CONSTRAINT fk_rails_170e03cbaf FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_project_stages fk_rails_1722574860; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_stages
    ADD CONSTRAINT fk_rails_1722574860 FOREIGN KEY (start_event_label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: packages_build_infos fk_rails_17a9a0dffc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_build_infos
    ADD CONSTRAINT fk_rails_17a9a0dffc FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE SET NULL;


--
-- Name: security_orchestration_policy_rule_schedules fk_rails_17ade83f17; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_orchestration_policy_rule_schedules
    ADD CONSTRAINT fk_rails_17ade83f17 FOREIGN KEY (security_orchestration_policy_configuration_id) REFERENCES public.security_orchestration_policy_configurations(id) ON DELETE CASCADE;


--
-- Name: incident_management_escalation_rules fk_rails_17dbea07a6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_escalation_rules
    ADD CONSTRAINT fk_rails_17dbea07a6 FOREIGN KEY (policy_id) REFERENCES public.incident_management_escalation_policies(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_jupyter fk_rails_17df21c98c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_jupyter
    ADD CONSTRAINT fk_rails_17df21c98c FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: cluster_providers_aws fk_rails_18983d9ea4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_providers_aws
    ADD CONSTRAINT fk_rails_18983d9ea4 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: grafana_integrations fk_rails_18d0e2b564; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.grafana_integrations
    ADD CONSTRAINT fk_rails_18d0e2b564 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: bulk_import_failures fk_rails_1964240b8c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_failures
    ADD CONSTRAINT fk_rails_1964240b8c FOREIGN KEY (bulk_import_entity_id) REFERENCES public.bulk_import_entities(id) ON DELETE CASCADE;


--
-- Name: group_wiki_repositories fk_rails_19755e374b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_wiki_repositories
    ADD CONSTRAINT fk_rails_19755e374b FOREIGN KEY (shard_id) REFERENCES public.shards(id) ON DELETE RESTRICT;


--
-- Name: open_project_tracker_data fk_rails_1987546e48; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.open_project_tracker_data
    ADD CONSTRAINT fk_rails_1987546e48 FOREIGN KEY (service_id) REFERENCES public.integrations(id) ON DELETE CASCADE;


--
-- Name: gpg_signatures fk_rails_19d4f1c6f9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_signatures
    ADD CONSTRAINT fk_rails_19d4f1c6f9 FOREIGN KEY (gpg_key_subkey_id) REFERENCES public.gpg_key_subkeys(id) ON DELETE SET NULL;


--
-- Name: incident_management_oncall_schedules fk_rails_19e83fdd65; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_schedules
    ADD CONSTRAINT fk_rails_19e83fdd65 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_user_mentions fk_rails_1a41c485cd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_user_mentions
    ADD CONSTRAINT fk_rails_1a41c485cd FOREIGN KEY (vulnerability_id) REFERENCES public.vulnerabilities(id) ON DELETE CASCADE;


--
-- Name: packages_debian_file_metadata fk_rails_1ae85be112; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_file_metadata
    ADD CONSTRAINT fk_rails_1ae85be112 FOREIGN KEY (package_file_id) REFERENCES public.packages_package_files(id) ON DELETE CASCADE;


--
-- Name: issuable_slas fk_rails_1b8768cd63; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_slas
    ADD CONSTRAINT fk_rails_1b8768cd63 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: board_assignees fk_rails_1c0ff59e82; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_assignees
    ADD CONSTRAINT fk_rails_1c0ff59e82 FOREIGN KEY (assignee_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: epic_user_mentions fk_rails_1c65976a49; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_user_mentions
    ADD CONSTRAINT fk_rails_1c65976a49 FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: approver_groups fk_rails_1cdcbd7723; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approver_groups
    ADD CONSTRAINT fk_rails_1cdcbd7723 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: project_ci_feature_usages fk_rails_1deedbf64b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_ci_feature_usages
    ADD CONSTRAINT fk_rails_1deedbf64b FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: packages_tags fk_rails_1dfc868911; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_tags
    ADD CONSTRAINT fk_rails_1dfc868911 FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: boards_epic_board_positions fk_rails_1ecfd9f2de; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_positions
    ADD CONSTRAINT fk_rails_1ecfd9f2de FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: geo_repository_created_events fk_rails_1f49e46a61; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_created_events
    ADD CONSTRAINT fk_rails_1f49e46a61 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: external_status_checks fk_rails_1f5a8aa809; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_status_checks
    ADD CONSTRAINT fk_rails_1f5a8aa809 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: dora_daily_metrics fk_rails_1fd07aff6f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dora_daily_metrics
    ADD CONSTRAINT fk_rails_1fd07aff6f FOREIGN KEY (environment_id) REFERENCES public.environments(id) ON DELETE CASCADE;


--
-- Name: boards_epic_lists fk_rails_1fe6b54909; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_lists
    ADD CONSTRAINT fk_rails_1fe6b54909 FOREIGN KEY (label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: approval_merge_request_rules_groups fk_rails_2020a7124a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_groups
    ADD CONSTRAINT fk_rails_2020a7124a FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: vulnerability_feedback fk_rails_20976e6fd9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_feedback
    ADD CONSTRAINT fk_rails_20976e6fd9 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE SET NULL;


--
-- Name: work_item_types fk_rails_20f694a960; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.work_item_types
    ADD CONSTRAINT fk_rails_20f694a960 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: user_statuses fk_rails_2178592333; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_statuses
    ADD CONSTRAINT fk_rails_2178592333 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: users_ops_dashboard_projects fk_rails_220a0562db; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_ops_dashboard_projects
    ADD CONSTRAINT fk_rails_220a0562db FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_runners fk_rails_22388594e9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_runners
    ADD CONSTRAINT fk_rails_22388594e9 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: service_desk_settings fk_rails_223a296a85; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.service_desk_settings
    ADD CONSTRAINT fk_rails_223a296a85 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: saml_group_links fk_rails_22e312c530; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.saml_group_links
    ADD CONSTRAINT fk_rails_22e312c530 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_responses fk_rails_2390a09723; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_responses
    ADD CONSTRAINT fk_rails_2390a09723 FOREIGN KEY (vulnerability_finding_evidence_id) REFERENCES public.vulnerability_finding_evidences(id) ON DELETE CASCADE;


--
-- Name: dast_profiles fk_rails_23cae5abe1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profiles
    ADD CONSTRAINT fk_rails_23cae5abe1 FOREIGN KEY (dast_scanner_profile_id) REFERENCES public.dast_scanner_profiles(id) ON DELETE CASCADE;


--
-- Name: group_custom_attributes fk_rails_246e0db83a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_custom_attributes
    ADD CONSTRAINT fk_rails_246e0db83a FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: incident_management_oncall_rotations fk_rails_256e0bc604; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_rotations
    ADD CONSTRAINT fk_rails_256e0bc604 FOREIGN KEY (oncall_schedule_id) REFERENCES public.incident_management_oncall_schedules(id) ON DELETE CASCADE;


--
-- Name: ci_unit_test_failures fk_rails_259da3e79c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_unit_test_failures
    ADD CONSTRAINT fk_rails_259da3e79c FOREIGN KEY (unit_test_id) REFERENCES public.ci_unit_tests(id) ON DELETE CASCADE;


--
-- Name: analytics_devops_adoption_snapshots fk_rails_25da9a92c0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_devops_adoption_snapshots
    ADD CONSTRAINT fk_rails_25da9a92c0 FOREIGN KEY (segment_id) REFERENCES public.analytics_devops_adoption_segments(id) ON DELETE CASCADE;


--
-- Name: cluster_agents fk_rails_25e9fc2d5d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_agents
    ADD CONSTRAINT fk_rails_25e9fc2d5d FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: boards_epic_user_preferences fk_rails_268c57d62d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_user_preferences
    ADD CONSTRAINT fk_rails_268c57d62d FOREIGN KEY (board_id) REFERENCES public.boards(id) ON DELETE CASCADE;


--
-- Name: group_wiki_repositories fk_rails_26f867598c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_wiki_repositories
    ADD CONSTRAINT fk_rails_26f867598c FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: lfs_file_locks fk_rails_27a1d98fa8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_file_locks
    ADD CONSTRAINT fk_rails_27a1d98fa8 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: project_alerting_settings fk_rails_27a84b407d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_alerting_settings
    ADD CONSTRAINT fk_rails_27a84b407d FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: user_credit_card_validations fk_rails_27ebc03cbf; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_credit_card_validations
    ADD CONSTRAINT fk_rails_27ebc03cbf FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: dast_site_validations fk_rails_285c617324; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_validations
    ADD CONSTRAINT fk_rails_285c617324 FOREIGN KEY (dast_site_token_id) REFERENCES public.dast_site_tokens(id) ON DELETE CASCADE;


--
-- Name: vulnerability_findings_remediations fk_rails_28a8d0cf93; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_findings_remediations
    ADD CONSTRAINT fk_rails_28a8d0cf93 FOREIGN KEY (vulnerability_occurrence_id) REFERENCES public.vulnerability_occurrences(id) ON DELETE CASCADE;


--
-- Name: incident_management_issuable_escalation_statuses fk_rails_29abffe3b9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_issuable_escalation_statuses
    ADD CONSTRAINT fk_rails_29abffe3b9 FOREIGN KEY (policy_id) REFERENCES public.incident_management_escalation_policies(id) ON DELETE SET NULL;


--
-- Name: resource_state_events fk_rails_29af06892a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_state_events
    ADD CONSTRAINT fk_rails_29af06892a FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: reviews fk_rails_29e6f859c4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.reviews
    ADD CONSTRAINT fk_rails_29e6f859c4 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: draft_notes fk_rails_2a8dac9901; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.draft_notes
    ADD CONSTRAINT fk_rails_2a8dac9901 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: group_group_links fk_rails_2b2353ca49; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_group_links
    ADD CONSTRAINT fk_rails_2b2353ca49 FOREIGN KEY (shared_with_group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: geo_repository_updated_events fk_rails_2b70854c08; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_updated_events
    ADD CONSTRAINT fk_rails_2b70854c08 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: packages_debian_group_component_files fk_rails_2b8992dd83; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_component_files
    ADD CONSTRAINT fk_rails_2b8992dd83 FOREIGN KEY (architecture_id) REFERENCES public.packages_debian_group_architectures(id) ON DELETE RESTRICT;


--
-- Name: boards_epic_board_labels fk_rails_2bedeb8799; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_labels
    ADD CONSTRAINT fk_rails_2bedeb8799 FOREIGN KEY (label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: error_tracking_error_events fk_rails_2c096c0076; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_error_events
    ADD CONSTRAINT fk_rails_2c096c0076 FOREIGN KEY (error_id) REFERENCES public.error_tracking_errors(id) ON DELETE CASCADE;


--
-- Name: onboarding_progresses fk_rails_2ccfd420cc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.onboarding_progresses
    ADD CONSTRAINT fk_rails_2ccfd420cc FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: protected_branch_unprotect_access_levels fk_rails_2d2aba21ef; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_unprotect_access_levels
    ADD CONSTRAINT fk_rails_2d2aba21ef FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: issuable_severities fk_rails_2fbb74ad6d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_severities
    ADD CONSTRAINT fk_rails_2fbb74ad6d FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: saml_providers fk_rails_306d459be7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.saml_providers
    ADD CONSTRAINT fk_rails_306d459be7 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: resource_state_events fk_rails_3112bba7dc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_state_events
    ADD CONSTRAINT fk_rails_3112bba7dc FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: merge_request_diff_commits fk_rails_316aaceda3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_commits
    ADD CONSTRAINT fk_rails_316aaceda3 FOREIGN KEY (merge_request_diff_id) REFERENCES public.merge_request_diffs(id) ON DELETE CASCADE;


--
-- Name: group_import_states fk_rails_31c3e0503a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_import_states
    ADD CONSTRAINT fk_rails_31c3e0503a FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: zoom_meetings fk_rails_3263f29616; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.zoom_meetings
    ADD CONSTRAINT fk_rails_3263f29616 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: container_repositories fk_rails_32f7bf5aad; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.container_repositories
    ADD CONSTRAINT fk_rails_32f7bf5aad FOREIGN KEY (project_id) REFERENCES public.projects(id);


--
-- Name: clusters_applications_jupyter fk_rails_331f0aff78; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_jupyter
    ADD CONSTRAINT fk_rails_331f0aff78 FOREIGN KEY (oauth_application_id) REFERENCES public.oauth_applications(id) ON DELETE SET NULL;


--
-- Name: merge_request_metrics fk_rails_33ae169d48; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_metrics
    ADD CONSTRAINT fk_rails_33ae169d48 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: suggestions fk_rails_33b03a535c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.suggestions
    ADD CONSTRAINT fk_rails_33b03a535c FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: requirements fk_rails_33fed8aa4e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements
    ADD CONSTRAINT fk_rails_33fed8aa4e FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: metrics_dashboard_annotations fk_rails_345ab51043; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.metrics_dashboard_annotations
    ADD CONSTRAINT fk_rails_345ab51043 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: wiki_page_slugs fk_rails_358b46be14; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.wiki_page_slugs
    ADD CONSTRAINT fk_rails_358b46be14 FOREIGN KEY (wiki_page_meta_id) REFERENCES public.wiki_page_meta(id) ON DELETE CASCADE;


--
-- Name: ci_job_token_project_scope_links fk_rails_35f7f506ce; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_token_project_scope_links
    ADD CONSTRAINT fk_rails_35f7f506ce FOREIGN KEY (added_by_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: board_labels fk_rails_362b0600a3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_labels
    ADD CONSTRAINT fk_rails_362b0600a3 FOREIGN KEY (label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: merge_request_blocks fk_rails_364d4bea8b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_blocks
    ADD CONSTRAINT fk_rails_364d4bea8b FOREIGN KEY (blocked_merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: merge_request_reviewers fk_rails_3704a66140; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_reviewers
    ADD CONSTRAINT fk_rails_3704a66140 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: group_merge_request_approval_settings fk_rails_37b6b4cdba; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_merge_request_approval_settings
    ADD CONSTRAINT fk_rails_37b6b4cdba FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_project_stages fk_rails_3829e49b66; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_stages
    ADD CONSTRAINT fk_rails_3829e49b66 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: packages_debian_project_distribution_keys fk_rails_3834a11264; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_distribution_keys
    ADD CONSTRAINT fk_rails_3834a11264 FOREIGN KEY (distribution_id) REFERENCES public.packages_debian_project_distributions(id) ON DELETE CASCADE;


--
-- Name: issue_user_mentions fk_rails_3861d9fefa; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_user_mentions
    ADD CONSTRAINT fk_rails_3861d9fefa FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: namespace_settings fk_rails_3896d4fae5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_settings
    ADD CONSTRAINT fk_rails_3896d4fae5 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: self_managed_prometheus_alert_events fk_rails_3936dadc62; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.self_managed_prometheus_alert_events
    ADD CONSTRAINT fk_rails_3936dadc62 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: approval_project_rules_groups fk_rails_396841e79e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_groups
    ADD CONSTRAINT fk_rails_396841e79e FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: self_managed_prometheus_alert_events fk_rails_39d83d1b65; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.self_managed_prometheus_alert_events
    ADD CONSTRAINT fk_rails_39d83d1b65 FOREIGN KEY (environment_id) REFERENCES public.environments(id) ON DELETE CASCADE;


--
-- Name: chat_teams fk_rails_3b543909cb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.chat_teams
    ADD CONSTRAINT fk_rails_3b543909cb FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: ci_build_needs fk_rails_3cf221d4ed; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_needs
    ADD CONSTRAINT fk_rails_3cf221d4ed FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: cluster_groups fk_rails_3d28377556; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_groups
    ADD CONSTRAINT fk_rails_3d28377556 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: note_diff_files fk_rails_3d66047aeb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.note_diff_files
    ADD CONSTRAINT fk_rails_3d66047aeb FOREIGN KEY (diff_note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: snippet_user_mentions fk_rails_3e00189191; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_user_mentions
    ADD CONSTRAINT fk_rails_3e00189191 FOREIGN KEY (snippet_id) REFERENCES public.snippets(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_helm fk_rails_3e2b1c06bc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_helm
    ADD CONSTRAINT fk_rails_3e2b1c06bc FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: packages_package_file_build_infos fk_rails_3e3f630188; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_package_file_build_infos
    ADD CONSTRAINT fk_rails_3e3f630188 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE SET NULL;


--
-- Name: epic_user_mentions fk_rails_3eaf4d88cc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_user_mentions
    ADD CONSTRAINT fk_rails_3eaf4d88cc FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_project_stages fk_rails_3ec9fd7912; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_stages
    ADD CONSTRAINT fk_rails_3ec9fd7912 FOREIGN KEY (end_event_label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: board_assignees fk_rails_3f6f926bd5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_assignees
    ADD CONSTRAINT fk_rails_3f6f926bd5 FOREIGN KEY (board_id) REFERENCES public.boards(id) ON DELETE CASCADE;


--
-- Name: description_versions fk_rails_3ff658220b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.description_versions
    ADD CONSTRAINT fk_rails_3ff658220b FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: clusters_kubernetes_namespaces fk_rails_40cc7ccbc3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_kubernetes_namespaces
    ADD CONSTRAINT fk_rails_40cc7ccbc3 FOREIGN KEY (cluster_project_id) REFERENCES public.cluster_projects(id) ON DELETE SET NULL;


--
-- Name: geo_node_namespace_links fk_rails_41ff5fb854; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_node_namespace_links
    ADD CONSTRAINT fk_rails_41ff5fb854 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: epic_issues fk_rails_4209981af6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_issues
    ADD CONSTRAINT fk_rails_4209981af6 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: ci_refs fk_rails_4249db8cc3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_refs
    ADD CONSTRAINT fk_rails_4249db8cc3 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: security_orchestration_policy_configurations fk_rails_42ed6c25ec; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_orchestration_policy_configurations
    ADD CONSTRAINT fk_rails_42ed6c25ec FOREIGN KEY (security_policy_management_project_id) REFERENCES public.projects(id) ON DELETE RESTRICT;


--
-- Name: ci_resources fk_rails_430336af2d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_resources
    ADD CONSTRAINT fk_rails_430336af2d FOREIGN KEY (resource_group_id) REFERENCES public.ci_resource_groups(id) ON DELETE CASCADE;


--
-- Name: batched_background_migration_jobs fk_rails_432153b86d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.batched_background_migration_jobs
    ADD CONSTRAINT fk_rails_432153b86d FOREIGN KEY (batched_background_migration_id) REFERENCES public.batched_background_migrations(id) ON DELETE CASCADE;


--
-- Name: operations_strategies_user_lists fk_rails_43241e8d29; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_strategies_user_lists
    ADD CONSTRAINT fk_rails_43241e8d29 FOREIGN KEY (strategy_id) REFERENCES public.operations_strategies(id) ON DELETE CASCADE;


--
-- Name: lfs_file_locks fk_rails_43df7a0412; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lfs_file_locks
    ADD CONSTRAINT fk_rails_43df7a0412 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: dast_site_profile_secret_variables fk_rails_43e2897950; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profile_secret_variables
    ADD CONSTRAINT fk_rails_43e2897950 FOREIGN KEY (dast_site_profile_id) REFERENCES public.dast_site_profiles(id) ON DELETE CASCADE;


--
-- Name: merge_request_assignees fk_rails_443443ce6f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_assignees
    ADD CONSTRAINT fk_rails_443443ce6f FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: packages_dependency_links fk_rails_4437bf4070; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_dependency_links
    ADD CONSTRAINT fk_rails_4437bf4070 FOREIGN KEY (dependency_id) REFERENCES public.packages_dependencies(id) ON DELETE CASCADE;


--
-- Name: project_auto_devops fk_rails_45436b12b2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_auto_devops
    ADD CONSTRAINT fk_rails_45436b12b2 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: merge_requests_closing_issues fk_rails_458eda8667; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests_closing_issues
    ADD CONSTRAINT fk_rails_458eda8667 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: protected_environment_deploy_access_levels fk_rails_45cc02a931; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environment_deploy_access_levels
    ADD CONSTRAINT fk_rails_45cc02a931 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: prometheus_alert_events fk_rails_4675865839; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alert_events
    ADD CONSTRAINT fk_rails_4675865839 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: smartcard_identities fk_rails_4689f889a9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.smartcard_identities
    ADD CONSTRAINT fk_rails_4689f889a9 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: vulnerability_feedback fk_rails_472f69b043; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_feedback
    ADD CONSTRAINT fk_rails_472f69b043 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: user_custom_attributes fk_rails_47b91868a8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_custom_attributes
    ADD CONSTRAINT fk_rails_47b91868a8 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: ci_pending_builds fk_rails_480669c3b3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pending_builds
    ADD CONSTRAINT fk_rails_480669c3b3 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: upcoming_reconciliations fk_rails_497b4938ac; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.upcoming_reconciliations
    ADD CONSTRAINT fk_rails_497b4938ac FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: ci_pipeline_artifacts fk_rails_4a70390ca6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_artifacts
    ADD CONSTRAINT fk_rails_4a70390ca6 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_job_token_project_scope_links fk_rails_4b2ee3290b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_token_project_scope_links
    ADD CONSTRAINT fk_rails_4b2ee3290b FOREIGN KEY (source_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: group_deletion_schedules fk_rails_4b8c694a6c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deletion_schedules
    ADD CONSTRAINT fk_rails_4b8c694a6c FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: snippet_repository_storage_moves fk_rails_4b950f5b94; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_repository_storage_moves
    ADD CONSTRAINT fk_rails_4b950f5b94 FOREIGN KEY (snippet_id) REFERENCES public.snippets(id) ON DELETE CASCADE;


--
-- Name: design_management_designs fk_rails_4bb1073360; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_designs
    ADD CONSTRAINT fk_rails_4bb1073360 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: issue_metrics fk_rails_4bb543d85d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_metrics
    ADD CONSTRAINT fk_rails_4bb543d85d FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: project_metrics_settings fk_rails_4c6037ee4f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_metrics_settings
    ADD CONSTRAINT fk_rails_4c6037ee4f FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: prometheus_metrics fk_rails_4c8957a707; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_metrics
    ADD CONSTRAINT fk_rails_4c8957a707 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: scim_identities fk_rails_4d2056ebd9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.scim_identities
    ADD CONSTRAINT fk_rails_4d2056ebd9 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: snippet_user_mentions fk_rails_4d3f96b2cb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_user_mentions
    ADD CONSTRAINT fk_rails_4d3f96b2cb FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: deployment_clusters fk_rails_4e6243e120; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployment_clusters
    ADD CONSTRAINT fk_rails_4e6243e120 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: geo_repository_renamed_events fk_rails_4e6524febb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repository_renamed_events
    ADD CONSTRAINT fk_rails_4e6524febb FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: aws_roles fk_rails_4ed56f4720; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.aws_roles
    ADD CONSTRAINT fk_rails_4ed56f4720 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: security_scans fk_rails_4ef1e6b4c6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_scans
    ADD CONSTRAINT fk_rails_4ef1e6b4c6 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: packages_debian_publications fk_rails_4fc8ebd03e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_publications
    ADD CONSTRAINT fk_rails_4fc8ebd03e FOREIGN KEY (distribution_id) REFERENCES public.packages_debian_project_distributions(id) ON DELETE CASCADE;


--
-- Name: merge_request_diff_files fk_rails_501aa0a391; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_files
    ADD CONSTRAINT fk_rails_501aa0a391 FOREIGN KEY (merge_request_diff_id) REFERENCES public.merge_request_diffs(id) ON DELETE CASCADE;


--
-- Name: resource_iteration_events fk_rails_501fa15d69; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_iteration_events
    ADD CONSTRAINT fk_rails_501fa15d69 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: status_page_settings fk_rails_506e5ba391; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_page_settings
    ADD CONSTRAINT fk_rails_506e5ba391 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_project_monthly_usages fk_rails_508bcd4aa6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_project_monthly_usages
    ADD CONSTRAINT fk_rails_508bcd4aa6 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: project_repository_storage_moves fk_rails_5106dbd44a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repository_storage_moves
    ADD CONSTRAINT fk_rails_5106dbd44a FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: bulk_import_configurations fk_rails_536b96bff1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_configurations
    ADD CONSTRAINT fk_rails_536b96bff1 FOREIGN KEY (bulk_import_id) REFERENCES public.bulk_imports(id) ON DELETE CASCADE;


--
-- Name: x509_commit_signatures fk_rails_53fe41188f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_commit_signatures
    ADD CONSTRAINT fk_rails_53fe41188f FOREIGN KEY (x509_certificate_id) REFERENCES public.x509_certificates(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_group_value_streams fk_rails_540627381a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_value_streams
    ADD CONSTRAINT fk_rails_540627381a FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: geo_node_namespace_links fk_rails_546bf08d3e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_node_namespace_links
    ADD CONSTRAINT fk_rails_546bf08d3e FOREIGN KEY (geo_node_id) REFERENCES public.geo_nodes(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_knative fk_rails_54fc91e0a0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_knative
    ADD CONSTRAINT fk_rails_54fc91e0a0 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: issuable_metric_images fk_rails_56417a5a7f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issuable_metric_images
    ADD CONSTRAINT fk_rails_56417a5a7f FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: group_deploy_keys fk_rails_5682fc07f8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_keys
    ADD CONSTRAINT fk_rails_5682fc07f8 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE RESTRICT;


--
-- Name: experiment_users fk_rails_56d4708b4a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_users
    ADD CONSTRAINT fk_rails_56d4708b4a FOREIGN KEY (experiment_id) REFERENCES public.experiments(id) ON DELETE CASCADE;


--
-- Name: issue_user_mentions fk_rails_57581fda73; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_user_mentions
    ADD CONSTRAINT fk_rails_57581fda73 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: merge_request_assignees fk_rails_579d375628; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_assignees
    ADD CONSTRAINT fk_rails_579d375628 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: packages_debian_project_architectures fk_rails_5808663adf; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_architectures
    ADD CONSTRAINT fk_rails_5808663adf FOREIGN KEY (distribution_id) REFERENCES public.packages_debian_project_distributions(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_cilium fk_rails_59dc12eea6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_cilium
    ADD CONSTRAINT fk_rails_59dc12eea6 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_group_stages fk_rails_5a22f40223; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_stages
    ADD CONSTRAINT fk_rails_5a22f40223 FOREIGN KEY (start_event_label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: badges fk_rails_5a7c055bdc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.badges
    ADD CONSTRAINT fk_rails_5a7c055bdc FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: resource_label_events fk_rails_5ac1d2fc24; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_label_events
    ADD CONSTRAINT fk_rails_5ac1d2fc24 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: approval_merge_request_rules_groups fk_rails_5b2ecf6139; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_groups
    ADD CONSTRAINT fk_rails_5b2ecf6139 FOREIGN KEY (approval_merge_request_rule_id) REFERENCES public.approval_merge_request_rules(id) ON DELETE CASCADE;


--
-- Name: namespace_limits fk_rails_5b3f2bc334; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_limits
    ADD CONSTRAINT fk_rails_5b3f2bc334 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: protected_environment_deploy_access_levels fk_rails_5b9f6970fe; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environment_deploy_access_levels
    ADD CONSTRAINT fk_rails_5b9f6970fe FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: protected_branch_unprotect_access_levels fk_rails_5be1abfc25; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_unprotect_access_levels
    ADD CONSTRAINT fk_rails_5be1abfc25 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: cluster_providers_gcp fk_rails_5c2c3bc814; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_providers_gcp
    ADD CONSTRAINT fk_rails_5c2c3bc814 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: insights fk_rails_5c4391f60a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.insights
    ADD CONSTRAINT fk_rails_5c4391f60a FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: vulnerability_scanners fk_rails_5c9d42a221; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_scanners
    ADD CONSTRAINT fk_rails_5c9d42a221 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: reviews fk_rails_5ca11d8c31; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.reviews
    ADD CONSTRAINT fk_rails_5ca11d8c31 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: ci_running_builds fk_rails_5ca491d360; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_running_builds
    ADD CONSTRAINT fk_rails_5ca491d360 FOREIGN KEY (runner_id) REFERENCES public.ci_runners(id) ON DELETE CASCADE;


--
-- Name: epic_issues fk_rails_5d942936b4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_issues
    ADD CONSTRAINT fk_rails_5d942936b4 FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: resource_weight_events fk_rails_5eb5cb92a1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_weight_events
    ADD CONSTRAINT fk_rails_5eb5cb92a1 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: approval_project_rules fk_rails_5fb4dd100b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules
    ADD CONSTRAINT fk_rails_5fb4dd100b FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: incident_management_oncall_participants fk_rails_5fe86ea341; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_participants
    ADD CONSTRAINT fk_rails_5fe86ea341 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: user_highest_roles fk_rails_60f6c325a6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_highest_roles
    ADD CONSTRAINT fk_rails_60f6c325a6 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: dependency_proxy_group_settings fk_rails_616ddd680a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_group_settings
    ADD CONSTRAINT fk_rails_616ddd680a FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: group_deploy_tokens fk_rails_61a572b41a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_tokens
    ADD CONSTRAINT fk_rails_61a572b41a FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: status_page_published_incidents fk_rails_61e5493940; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.status_page_published_incidents
    ADD CONSTRAINT fk_rails_61e5493940 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: deployment_clusters fk_rails_6359a164df; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployment_clusters
    ADD CONSTRAINT fk_rails_6359a164df FOREIGN KEY (deployment_id) REFERENCES public.deployments(id) ON DELETE CASCADE;


--
-- Name: evidences fk_rails_6388b435a6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.evidences
    ADD CONSTRAINT fk_rails_6388b435a6 FOREIGN KEY (release_id) REFERENCES public.releases(id) ON DELETE CASCADE;


--
-- Name: jira_imports fk_rails_63cbe52ada; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_imports
    ADD CONSTRAINT fk_rails_63cbe52ada FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_occurrence_pipelines fk_rails_6421e35d7d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrence_pipelines
    ADD CONSTRAINT fk_rails_6421e35d7d FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: group_deploy_tokens fk_rails_6477b01f6b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_tokens
    ADD CONSTRAINT fk_rails_6477b01f6b FOREIGN KEY (deploy_token_id) REFERENCES public.deploy_tokens(id) ON DELETE CASCADE;


--
-- Name: reviews fk_rails_64798be025; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.reviews
    ADD CONSTRAINT fk_rails_64798be025 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: operations_feature_flags fk_rails_648e241be7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags
    ADD CONSTRAINT fk_rails_648e241be7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_sources_projects fk_rails_64b6855cbc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_sources_projects
    ADD CONSTRAINT fk_rails_64b6855cbc FOREIGN KEY (source_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: board_group_recent_visits fk_rails_64bfc19bc5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_group_recent_visits
    ADD CONSTRAINT fk_rails_64bfc19bc5 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: approval_merge_request_rule_sources fk_rails_64e8ed3c7e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rule_sources
    ADD CONSTRAINT fk_rails_64e8ed3c7e FOREIGN KEY (approval_project_rule_id) REFERENCES public.approval_project_rules(id) ON DELETE CASCADE;


--
-- Name: ci_pipeline_chat_data fk_rails_64ebfab6b3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_chat_data
    ADD CONSTRAINT fk_rails_64ebfab6b3 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: approval_project_rules_protected_branches fk_rails_65203aa786; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_protected_branches
    ADD CONSTRAINT fk_rails_65203aa786 FOREIGN KEY (approval_project_rule_id) REFERENCES public.approval_project_rules(id) ON DELETE CASCADE;


--
-- Name: design_management_versions fk_rails_6574200d99; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_versions
    ADD CONSTRAINT fk_rails_6574200d99 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: approval_merge_request_rules_approved_approvers fk_rails_6577725edb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_approved_approvers
    ADD CONSTRAINT fk_rails_6577725edb FOREIGN KEY (approval_merge_request_rule_id) REFERENCES public.approval_merge_request_rules(id) ON DELETE CASCADE;


--
-- Name: operations_feature_flags_clients fk_rails_6650ed902c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags_clients
    ADD CONSTRAINT fk_rails_6650ed902c FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: namespace_admin_notes fk_rails_666166ea7b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_admin_notes
    ADD CONSTRAINT fk_rails_666166ea7b FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_project_value_streams fk_rails_669f4ba293; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_value_streams
    ADD CONSTRAINT fk_rails_669f4ba293 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: jira_imports fk_rails_675d38c03b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_imports
    ADD CONSTRAINT fk_rails_675d38c03b FOREIGN KEY (label_id) REFERENCES public.labels(id) ON DELETE SET NULL;


--
-- Name: vulnerability_findings_remediations fk_rails_681c85ae0f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_findings_remediations
    ADD CONSTRAINT fk_rails_681c85ae0f FOREIGN KEY (vulnerability_remediation_id) REFERENCES public.vulnerability_remediations(id) ON DELETE CASCADE;


--
-- Name: resource_iteration_events fk_rails_6830c13ac1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_iteration_events
    ADD CONSTRAINT fk_rails_6830c13ac1 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_headers fk_rails_683b8e000c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_headers
    ADD CONSTRAINT fk_rails_683b8e000c FOREIGN KEY (vulnerability_finding_evidence_response_id) REFERENCES public.vulnerability_finding_evidence_responses(id) ON DELETE CASCADE;


--
-- Name: geo_hashed_storage_migrated_events fk_rails_687ed7d7c5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_hashed_storage_migrated_events
    ADD CONSTRAINT fk_rails_687ed7d7c5 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_job_token_project_scope_links fk_rails_6904b38465; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_token_project_scope_links
    ADD CONSTRAINT fk_rails_6904b38465 FOREIGN KEY (target_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: plan_limits fk_rails_69f8b6184f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.plan_limits
    ADD CONSTRAINT fk_rails_69f8b6184f FOREIGN KEY (plan_id) REFERENCES public.plans(id) ON DELETE CASCADE;


--
-- Name: operations_feature_flags_issues fk_rails_6a8856ca4f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags_issues
    ADD CONSTRAINT fk_rails_6a8856ca4f FOREIGN KEY (feature_flag_id) REFERENCES public.operations_feature_flags(id) ON DELETE CASCADE;


--
-- Name: error_tracking_errors fk_rails_6b41f837ba; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_errors
    ADD CONSTRAINT fk_rails_6b41f837ba FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: prometheus_alerts fk_rails_6d9b283465; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alerts
    ADD CONSTRAINT fk_rails_6d9b283465 FOREIGN KEY (environment_id) REFERENCES public.environments(id) ON DELETE CASCADE;


--
-- Name: term_agreements fk_rails_6ea6520e4a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.term_agreements
    ADD CONSTRAINT fk_rails_6ea6520e4a FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_assets fk_rails_6edbbecba4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_assets
    ADD CONSTRAINT fk_rails_6edbbecba4 FOREIGN KEY (vulnerability_finding_evidence_id) REFERENCES public.vulnerability_finding_evidences(id) ON DELETE CASCADE;


--
-- Name: project_compliance_framework_settings fk_rails_6f5294f16c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_compliance_framework_settings
    ADD CONSTRAINT fk_rails_6f5294f16c FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: users_security_dashboard_projects fk_rails_6f6cf8e66e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_security_dashboard_projects
    ADD CONSTRAINT fk_rails_6f6cf8e66e FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: dast_sites fk_rails_6febb6ea9c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_sites
    ADD CONSTRAINT fk_rails_6febb6ea9c FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_builds_runner_session fk_rails_70707857d3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds_runner_session
    ADD CONSTRAINT fk_rails_70707857d3 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: list_user_preferences fk_rails_70b2ef5ce2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.list_user_preferences
    ADD CONSTRAINT fk_rails_70b2ef5ce2 FOREIGN KEY (list_id) REFERENCES public.lists(id) ON DELETE CASCADE;


--
-- Name: project_custom_attributes fk_rails_719c3dccc5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_custom_attributes
    ADD CONSTRAINT fk_rails_719c3dccc5 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_pending_builds fk_rails_725a2644a3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pending_builds
    ADD CONSTRAINT fk_rails_725a2644a3 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: security_findings fk_rails_729b763a54; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_findings
    ADD CONSTRAINT fk_rails_729b763a54 FOREIGN KEY (scanner_id) REFERENCES public.vulnerability_scanners(id) ON DELETE CASCADE;


--
-- Name: dast_scanner_profiles fk_rails_72a8ba7141; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_scanner_profiles
    ADD CONSTRAINT fk_rails_72a8ba7141 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_historical_statistics fk_rails_72b73ed023; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_historical_statistics
    ADD CONSTRAINT fk_rails_72b73ed023 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_requests fk_rails_72c87c8eb6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_requests
    ADD CONSTRAINT fk_rails_72c87c8eb6 FOREIGN KEY (vulnerability_finding_evidence_id) REFERENCES public.vulnerability_finding_evidences(id) ON DELETE CASCADE;


--
-- Name: slack_integrations fk_rails_73db19721a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.slack_integrations
    ADD CONSTRAINT fk_rails_73db19721a FOREIGN KEY (service_id) REFERENCES public.integrations(id) ON DELETE CASCADE;


--
-- Name: custom_emoji fk_rails_745925b412; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.custom_emoji
    ADD CONSTRAINT fk_rails_745925b412 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: boards_epic_board_labels fk_rails_7471128a8e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_labels
    ADD CONSTRAINT fk_rails_7471128a8e FOREIGN KEY (epic_board_id) REFERENCES public.boards_epic_boards(id) ON DELETE CASCADE;


--
-- Name: dast_site_profiles fk_rails_747dc64abc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles
    ADD CONSTRAINT fk_rails_747dc64abc FOREIGN KEY (dast_site_id) REFERENCES public.dast_sites(id) ON DELETE CASCADE;


--
-- Name: merge_request_context_commit_diff_files fk_rails_74a00a1787; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_context_commit_diff_files
    ADD CONSTRAINT fk_rails_74a00a1787 FOREIGN KEY (merge_request_context_commit_id) REFERENCES public.merge_request_context_commits(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_ingress fk_rails_753a7b41c1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_ingress
    ADD CONSTRAINT fk_rails_753a7b41c1 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: release_links fk_rails_753be7ae29; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.release_links
    ADD CONSTRAINT fk_rails_753be7ae29 FOREIGN KEY (release_id) REFERENCES public.releases(id) ON DELETE CASCADE;


--
-- Name: milestone_releases fk_rails_754f27dbfa; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.milestone_releases
    ADD CONSTRAINT fk_rails_754f27dbfa FOREIGN KEY (release_id) REFERENCES public.releases(id) ON DELETE CASCADE;


--
-- Name: geo_repositories_changed_events fk_rails_75ec0fefcc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_repositories_changed_events
    ADD CONSTRAINT fk_rails_75ec0fefcc FOREIGN KEY (geo_node_id) REFERENCES public.geo_nodes(id) ON DELETE CASCADE;


--
-- Name: resource_label_events fk_rails_75efb0a653; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_label_events
    ADD CONSTRAINT fk_rails_75efb0a653 FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: x509_certificates fk_rails_76479fb5b4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_certificates
    ADD CONSTRAINT fk_rails_76479fb5b4 FOREIGN KEY (x509_issuer_id) REFERENCES public.x509_issuers(id) ON DELETE CASCADE;


--
-- Name: pages_domain_acme_orders fk_rails_76581b1c16; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_domain_acme_orders
    ADD CONSTRAINT fk_rails_76581b1c16 FOREIGN KEY (pages_domain_id) REFERENCES public.pages_domains(id) ON DELETE CASCADE;


--
-- Name: packages_debian_publications fk_rails_7668c1d606; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_publications
    ADD CONSTRAINT fk_rails_7668c1d606 FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: boards_epic_user_preferences fk_rails_76c4e9732d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_user_preferences
    ADD CONSTRAINT fk_rails_76c4e9732d FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: packages_debian_group_distribution_keys fk_rails_779438f163; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_distribution_keys
    ADD CONSTRAINT fk_rails_779438f163 FOREIGN KEY (distribution_id) REFERENCES public.packages_debian_group_distributions(id) ON DELETE CASCADE;


--
-- Name: ci_subscriptions_projects fk_rails_7871f9a97b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_subscriptions_projects
    ADD CONSTRAINT fk_rails_7871f9a97b FOREIGN KEY (upstream_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: terraform_states fk_rails_78f54ca485; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.terraform_states
    ADD CONSTRAINT fk_rails_78f54ca485 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_project_stages fk_rails_796a7dbc9c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_project_stages
    ADD CONSTRAINT fk_rails_796a7dbc9c FOREIGN KEY (project_value_stream_id) REFERENCES public.analytics_cycle_analytics_project_value_streams(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_supporting_messages fk_rails_79e77f6c5c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_supporting_messages
    ADD CONSTRAINT fk_rails_79e77f6c5c FOREIGN KEY (vulnerability_finding_evidence_id) REFERENCES public.vulnerability_finding_evidences(id) ON DELETE CASCADE;


--
-- Name: software_license_policies fk_rails_7a7a2a92de; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.software_license_policies
    ADD CONSTRAINT fk_rails_7a7a2a92de FOREIGN KEY (software_license_id) REFERENCES public.software_licenses(id) ON DELETE CASCADE;


--
-- Name: project_repositories fk_rails_7a810d4121; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repositories
    ADD CONSTRAINT fk_rails_7a810d4121 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: operations_scopes fk_rails_7a9358853b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_scopes
    ADD CONSTRAINT fk_rails_7a9358853b FOREIGN KEY (strategy_id) REFERENCES public.operations_strategies(id) ON DELETE CASCADE;


--
-- Name: milestone_releases fk_rails_7ae0756a2d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.milestone_releases
    ADD CONSTRAINT fk_rails_7ae0756a2d FOREIGN KEY (milestone_id) REFERENCES public.milestones(id) ON DELETE CASCADE;


--
-- Name: resource_state_events fk_rails_7ddc5f7457; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_state_events
    ADD CONSTRAINT fk_rails_7ddc5f7457 FOREIGN KEY (source_merge_request_id) REFERENCES public.merge_requests(id) ON DELETE SET NULL;


--
-- Name: application_settings fk_rails_7e112a9599; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_settings
    ADD CONSTRAINT fk_rails_7e112a9599 FOREIGN KEY (instance_administration_project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: clusters_kubernetes_namespaces fk_rails_7e7688ecaf; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_kubernetes_namespaces
    ADD CONSTRAINT fk_rails_7e7688ecaf FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: approval_merge_request_rules_users fk_rails_80e6801803; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_users
    ADD CONSTRAINT fk_rails_80e6801803 FOREIGN KEY (approval_merge_request_rule_id) REFERENCES public.approval_merge_request_rules(id) ON DELETE CASCADE;


--
-- Name: required_code_owners_sections fk_rails_817708cf2d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.required_code_owners_sections
    ADD CONSTRAINT fk_rails_817708cf2d FOREIGN KEY (protected_branch_id) REFERENCES public.protected_branches(id) ON DELETE CASCADE;


--
-- Name: dast_site_profiles fk_rails_83e309d69e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_profiles
    ADD CONSTRAINT fk_rails_83e309d69e FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: zentao_tracker_data fk_rails_84efda7be0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.zentao_tracker_data
    ADD CONSTRAINT fk_rails_84efda7be0 FOREIGN KEY (integration_id) REFERENCES public.integrations(id) ON DELETE CASCADE;


--
-- Name: boards_epic_user_preferences fk_rails_851fe1510a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_user_preferences
    ADD CONSTRAINT fk_rails_851fe1510a FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: deployment_merge_requests fk_rails_86a6d8bf12; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployment_merge_requests
    ADD CONSTRAINT fk_rails_86a6d8bf12 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: analytics_language_trend_repository_languages fk_rails_86cc9aef5f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_language_trend_repository_languages
    ADD CONSTRAINT fk_rails_86cc9aef5f FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: merge_request_diff_details fk_rails_86f4d24ecd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_diff_details
    ADD CONSTRAINT fk_rails_86f4d24ecd FOREIGN KEY (merge_request_diff_id) REFERENCES public.merge_request_diffs(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_crossplane fk_rails_87186702df; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_crossplane
    ADD CONSTRAINT fk_rails_87186702df FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: packages_package_file_build_infos fk_rails_871ca3ae21; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_package_file_build_infos
    ADD CONSTRAINT fk_rails_871ca3ae21 FOREIGN KEY (package_file_id) REFERENCES public.packages_package_files(id) ON DELETE CASCADE;


--
-- Name: boards_epic_boards fk_rails_874c573878; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_boards
    ADD CONSTRAINT fk_rails_874c573878 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: ci_runner_namespaces fk_rails_8767676b7a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runner_namespaces
    ADD CONSTRAINT fk_rails_8767676b7a FOREIGN KEY (runner_id) REFERENCES public.ci_runners(id) ON DELETE CASCADE;


--
-- Name: software_license_policies fk_rails_87b2247ce5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.software_license_policies
    ADD CONSTRAINT fk_rails_87b2247ce5 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: protected_environment_deploy_access_levels fk_rails_898a13b650; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environment_deploy_access_levels
    ADD CONSTRAINT fk_rails_898a13b650 FOREIGN KEY (protected_environment_id) REFERENCES public.protected_environments(id) ON DELETE CASCADE;


--
-- Name: snippet_repositories fk_rails_8afd7e2f71; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_repositories
    ADD CONSTRAINT fk_rails_8afd7e2f71 FOREIGN KEY (snippet_id) REFERENCES public.snippets(id) ON DELETE CASCADE;


--
-- Name: gpg_key_subkeys fk_rails_8b2c90b046; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_key_subkeys
    ADD CONSTRAINT fk_rails_8b2c90b046 FOREIGN KEY (gpg_key_id) REFERENCES public.gpg_keys(id) ON DELETE CASCADE;


--
-- Name: board_user_preferences fk_rails_8b3b23ce82; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_user_preferences
    ADD CONSTRAINT fk_rails_8b3b23ce82 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: allowed_email_domains fk_rails_8b5da859f9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.allowed_email_domains
    ADD CONSTRAINT fk_rails_8b5da859f9 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: cluster_projects fk_rails_8b8c5caf07; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_projects
    ADD CONSTRAINT fk_rails_8b8c5caf07 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: project_pages_metadata fk_rails_8c28a61485; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_pages_metadata
    ADD CONSTRAINT fk_rails_8c28a61485 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: packages_conan_metadata fk_rails_8c68cfec8b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_conan_metadata
    ADD CONSTRAINT fk_rails_8c68cfec8b FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: vulnerability_feedback fk_rails_8c77e5891a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_feedback
    ADD CONSTRAINT fk_rails_8c77e5891a FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE SET NULL;


--
-- Name: ci_pipeline_messages fk_rails_8d3b04e3e1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_messages
    ADD CONSTRAINT fk_rails_8d3b04e3e1 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: incident_management_pending_alert_escalations fk_rails_8d8de95da9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.incident_management_pending_alert_escalations
    ADD CONSTRAINT fk_rails_8d8de95da9 FOREIGN KEY (alert_id) REFERENCES public.alert_management_alerts(id) ON DELETE CASCADE;


--
-- Name: approval_merge_request_rules_approved_approvers fk_rails_8dc94cff4d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_approved_approvers
    ADD CONSTRAINT fk_rails_8dc94cff4d FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: design_user_mentions fk_rails_8de8c6d632; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_user_mentions
    ADD CONSTRAINT fk_rails_8de8c6d632 FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: clusters_kubernetes_namespaces fk_rails_8df789f3ab; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_kubernetes_namespaces
    ADD CONSTRAINT fk_rails_8df789f3ab FOREIGN KEY (environment_id) REFERENCES public.environments(id) ON DELETE SET NULL;


--
-- Name: alert_management_alert_user_mentions fk_rails_8e48eca0fe; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alert_user_mentions
    ADD CONSTRAINT fk_rails_8e48eca0fe FOREIGN KEY (alert_management_alert_id) REFERENCES public.alert_management_alerts(id) ON DELETE CASCADE;


--
-- Name: project_daily_statistics fk_rails_8e549b272d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_daily_statistics
    ADD CONSTRAINT fk_rails_8e549b272d FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: ci_pipelines_config fk_rails_906c9a2533; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipelines_config
    ADD CONSTRAINT fk_rails_906c9a2533 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: approval_project_rules_groups fk_rails_9071e863d1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_groups
    ADD CONSTRAINT fk_rails_9071e863d1 FOREIGN KEY (approval_project_rule_id) REFERENCES public.approval_project_rules(id) ON DELETE CASCADE;


--
-- Name: vulnerability_occurrences fk_rails_90fed4faba; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrences
    ADD CONSTRAINT fk_rails_90fed4faba FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: geo_reset_checksum_events fk_rails_910a06f12b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_reset_checksum_events
    ADD CONSTRAINT fk_rails_910a06f12b FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: project_error_tracking_settings fk_rails_910a2b8bd9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_error_tracking_settings
    ADD CONSTRAINT fk_rails_910a2b8bd9 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: list_user_preferences fk_rails_916d72cafd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.list_user_preferences
    ADD CONSTRAINT fk_rails_916d72cafd FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_responses fk_rails_929041a499; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_responses
    ADD CONSTRAINT fk_rails_929041a499 FOREIGN KEY (vulnerability_finding_evidence_supporting_message_id) REFERENCES public.vulnerability_finding_evidence_supporting_messages(id) ON DELETE CASCADE;


--
-- Name: merge_request_cleanup_schedules fk_rails_92dd0e705c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_cleanup_schedules
    ADD CONSTRAINT fk_rails_92dd0e705c FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: board_labels fk_rails_9374a16edd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_labels
    ADD CONSTRAINT fk_rails_9374a16edd FOREIGN KEY (board_id) REFERENCES public.boards(id) ON DELETE CASCADE;


--
-- Name: alert_management_alert_assignees fk_rails_93c0f6703b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alert_assignees
    ADD CONSTRAINT fk_rails_93c0f6703b FOREIGN KEY (alert_id) REFERENCES public.alert_management_alerts(id) ON DELETE CASCADE;


--
-- Name: scim_identities fk_rails_9421a0bffb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.scim_identities
    ADD CONSTRAINT fk_rails_9421a0bffb FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: packages_debian_project_distributions fk_rails_94b95e1f84; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_distributions
    ADD CONSTRAINT fk_rails_94b95e1f84 FOREIGN KEY (creator_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: packages_rubygems_metadata fk_rails_95a3f5ce78; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_rubygems_metadata
    ADD CONSTRAINT fk_rails_95a3f5ce78 FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: packages_pypi_metadata fk_rails_9698717cdd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_pypi_metadata
    ADD CONSTRAINT fk_rails_9698717cdd FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: boards_epic_board_recent_visits fk_rails_96c2c18642; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_recent_visits
    ADD CONSTRAINT fk_rails_96c2c18642 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: packages_dependency_links fk_rails_96ef1c00d3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_dependency_links
    ADD CONSTRAINT fk_rails_96ef1c00d3 FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: group_repository_storage_moves fk_rails_982bb5daf1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_repository_storage_moves
    ADD CONSTRAINT fk_rails_982bb5daf1 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: resource_label_events fk_rails_9851a00031; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_label_events
    ADD CONSTRAINT fk_rails_9851a00031 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: ci_job_artifacts fk_rails_9862d392f9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_artifacts
    ADD CONSTRAINT fk_rails_9862d392f9 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: board_project_recent_visits fk_rails_98f8843922; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_project_recent_visits
    ADD CONSTRAINT fk_rails_98f8843922 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: clusters_kubernetes_namespaces fk_rails_98fe21e486; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_kubernetes_namespaces
    ADD CONSTRAINT fk_rails_98fe21e486 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: error_tracking_client_keys fk_rails_99342d1d54; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.error_tracking_client_keys
    ADD CONSTRAINT fk_rails_99342d1d54 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: pages_deployments fk_rails_993b88f59a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_deployments
    ADD CONSTRAINT fk_rails_993b88f59a FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_exports fk_rails_9aff2c3b45; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_exports
    ADD CONSTRAINT fk_rails_9aff2c3b45 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: users_ops_dashboard_projects fk_rails_9b4ebf005b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.users_ops_dashboard_projects
    ADD CONSTRAINT fk_rails_9b4ebf005b FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: project_incident_management_settings fk_rails_9c2ea1b7dd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_incident_management_settings
    ADD CONSTRAINT fk_rails_9c2ea1b7dd FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: packages_debian_project_components fk_rails_9d072b5073; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_components
    ADD CONSTRAINT fk_rails_9d072b5073 FOREIGN KEY (distribution_id) REFERENCES public.packages_debian_project_distributions(id) ON DELETE CASCADE;


--
-- Name: gpg_keys fk_rails_9d1f5d8719; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_keys
    ADD CONSTRAINT fk_rails_9d1f5d8719 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: analytics_language_trend_repository_languages fk_rails_9d851d566c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_language_trend_repository_languages
    ADD CONSTRAINT fk_rails_9d851d566c FOREIGN KEY (programming_language_id) REFERENCES public.programming_languages(id) ON DELETE CASCADE;


--
-- Name: badges fk_rails_9df4a56538; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.badges
    ADD CONSTRAINT fk_rails_9df4a56538 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_signatures fk_rails_9e0baf9dcd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_signatures
    ADD CONSTRAINT fk_rails_9e0baf9dcd FOREIGN KEY (finding_id) REFERENCES public.vulnerability_occurrences(id) ON DELETE CASCADE;


--
-- Name: clusters_applications_cert_managers fk_rails_9e4f2cb4b2; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_applications_cert_managers
    ADD CONSTRAINT fk_rails_9e4f2cb4b2 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: resource_milestone_events fk_rails_a006df5590; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_milestone_events
    ADD CONSTRAINT fk_rails_a006df5590 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: namespace_root_storage_statistics fk_rails_a0702c430b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_root_storage_statistics
    ADD CONSTRAINT fk_rails_a0702c430b FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: elastic_reindexing_slices fk_rails_a17d86aeb9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_reindexing_slices
    ADD CONSTRAINT fk_rails_a17d86aeb9 FOREIGN KEY (elastic_reindexing_subtask_id) REFERENCES public.elastic_reindexing_subtasks(id) ON DELETE CASCADE;


--
-- Name: project_aliases fk_rails_a1804f74a7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_aliases
    ADD CONSTRAINT fk_rails_a1804f74a7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_user_mentions fk_rails_a18600f210; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_user_mentions
    ADD CONSTRAINT fk_rails_a18600f210 FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: todos fk_rails_a27c483435; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.todos
    ADD CONSTRAINT fk_rails_a27c483435 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: jira_tracker_data fk_rails_a299066916; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_tracker_data
    ADD CONSTRAINT fk_rails_a299066916 FOREIGN KEY (service_id) REFERENCES public.integrations(id) ON DELETE CASCADE;


--
-- Name: protected_environments fk_rails_a354313d11; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_environments
    ADD CONSTRAINT fk_rails_a354313d11 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: jira_connect_subscriptions fk_rails_a3c10bcf7d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_connect_subscriptions
    ADD CONSTRAINT fk_rails_a3c10bcf7d FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: fork_network_members fk_rails_a40860a1ca; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.fork_network_members
    ADD CONSTRAINT fk_rails_a40860a1ca FOREIGN KEY (fork_network_id) REFERENCES public.fork_networks(id) ON DELETE CASCADE;


--
-- Name: customer_relations_organizations fk_rails_a48597902f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.customer_relations_organizations
    ADD CONSTRAINT fk_rails_a48597902f FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: operations_feature_flag_scopes fk_rails_a50a04d0a4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flag_scopes
    ADD CONSTRAINT fk_rails_a50a04d0a4 FOREIGN KEY (feature_flag_id) REFERENCES public.operations_feature_flags(id) ON DELETE CASCADE;


--
-- Name: packages_helm_file_metadata fk_rails_a559865345; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_helm_file_metadata
    ADD CONSTRAINT fk_rails_a559865345 FOREIGN KEY (package_file_id) REFERENCES public.packages_package_files(id) ON DELETE CASCADE;


--
-- Name: cluster_projects fk_rails_a5a958bca1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_projects
    ADD CONSTRAINT fk_rails_a5a958bca1 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: commit_user_mentions fk_rails_a6760813e0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.commit_user_mentions
    ADD CONSTRAINT fk_rails_a6760813e0 FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: vulnerability_identifiers fk_rails_a67a16c885; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_identifiers
    ADD CONSTRAINT fk_rails_a67a16c885 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: user_preferences fk_rails_a69bfcfd81; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_preferences
    ADD CONSTRAINT fk_rails_a69bfcfd81 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: sentry_issues fk_rails_a6a9612965; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.sentry_issues
    ADD CONSTRAINT fk_rails_a6a9612965 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: user_permission_export_uploads fk_rails_a7130085e3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_permission_export_uploads
    ADD CONSTRAINT fk_rails_a7130085e3 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: repository_languages fk_rails_a750ec87a8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.repository_languages
    ADD CONSTRAINT fk_rails_a750ec87a8 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: dependency_proxy_manifests fk_rails_a758021fb0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_manifests
    ADD CONSTRAINT fk_rails_a758021fb0 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: resource_milestone_events fk_rails_a788026e85; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_milestone_events
    ADD CONSTRAINT fk_rails_a788026e85 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: term_agreements fk_rails_a88721bcdf; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.term_agreements
    ADD CONSTRAINT fk_rails_a88721bcdf FOREIGN KEY (term_id) REFERENCES public.application_setting_terms(id);


--
-- Name: ci_pipeline_artifacts fk_rails_a9e811a466; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_artifacts
    ADD CONSTRAINT fk_rails_a9e811a466 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: merge_request_user_mentions fk_rails_aa1b2961b1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_user_mentions
    ADD CONSTRAINT fk_rails_aa1b2961b1 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: x509_commit_signatures fk_rails_ab07452314; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.x509_commit_signatures
    ADD CONSTRAINT fk_rails_ab07452314 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: resource_iteration_events fk_rails_abf5d4affa; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_iteration_events
    ADD CONSTRAINT fk_rails_abf5d4affa FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: clusters fk_rails_ac3a663d79; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters
    ADD CONSTRAINT fk_rails_ac3a663d79 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: packages_composer_metadata fk_rails_ad48c2e5bb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_composer_metadata
    ADD CONSTRAINT fk_rails_ad48c2e5bb FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_group_stages fk_rails_ae5da3409b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_stages
    ADD CONSTRAINT fk_rails_ae5da3409b FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: metrics_dashboard_annotations fk_rails_aeb11a7643; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.metrics_dashboard_annotations
    ADD CONSTRAINT fk_rails_aeb11a7643 FOREIGN KEY (environment_id) REFERENCES public.environments(id) ON DELETE CASCADE;


--
-- Name: ci_build_trace_metadata fk_rails_aebc78111f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_build_trace_metadata
    ADD CONSTRAINT fk_rails_aebc78111f FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: bulk_import_trackers fk_rails_aed566d3f3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_trackers
    ADD CONSTRAINT fk_rails_aed566d3f3 FOREIGN KEY (bulk_import_entity_id) REFERENCES public.bulk_import_entities(id) ON DELETE CASCADE;


--
-- Name: pool_repositories fk_rails_af3f8c5d62; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pool_repositories
    ADD CONSTRAINT fk_rails_af3f8c5d62 FOREIGN KEY (shard_id) REFERENCES public.shards(id) ON DELETE RESTRICT;


--
-- Name: vulnerability_statistics fk_rails_af61a7df4c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_statistics
    ADD CONSTRAINT fk_rails_af61a7df4c FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: resource_label_events fk_rails_b126799f57; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_label_events
    ADD CONSTRAINT fk_rails_b126799f57 FOREIGN KEY (label_id) REFERENCES public.labels(id) ON DELETE SET NULL;


--
-- Name: webauthn_registrations fk_rails_b15c016782; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.webauthn_registrations
    ADD CONSTRAINT fk_rails_b15c016782 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: packages_build_infos fk_rails_b18868292d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_build_infos
    ADD CONSTRAINT fk_rails_b18868292d FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: authentication_events fk_rails_b204656a54; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.authentication_events
    ADD CONSTRAINT fk_rails_b204656a54 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: merge_trains fk_rails_b29261ce31; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_trains
    ADD CONSTRAINT fk_rails_b29261ce31 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: board_project_recent_visits fk_rails_b315dd0c80; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_project_recent_visits
    ADD CONSTRAINT fk_rails_b315dd0c80 FOREIGN KEY (board_id) REFERENCES public.boards(id) ON DELETE CASCADE;


--
-- Name: issues_prometheus_alert_events fk_rails_b32edb790f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues_prometheus_alert_events
    ADD CONSTRAINT fk_rails_b32edb790f FOREIGN KEY (prometheus_alert_event_id) REFERENCES public.prometheus_alert_events(id) ON DELETE CASCADE;


--
-- Name: merge_trains fk_rails_b374b5225d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_trains
    ADD CONSTRAINT fk_rails_b374b5225d FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: incident_management_escalation_rules fk_rails_b3c9c17bd4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_escalation_rules
    ADD CONSTRAINT fk_rails_b3c9c17bd4 FOREIGN KEY (oncall_schedule_id) REFERENCES public.incident_management_oncall_schedules(id) ON DELETE CASCADE;


--
-- Name: application_settings fk_rails_b53e481273; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.application_settings
    ADD CONSTRAINT fk_rails_b53e481273 FOREIGN KEY (custom_project_templates_group_id) REFERENCES public.namespaces(id) ON DELETE SET NULL;


--
-- Name: packages_debian_project_component_files fk_rails_b543a9622b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_component_files
    ADD CONSTRAINT fk_rails_b543a9622b FOREIGN KEY (architecture_id) REFERENCES public.packages_debian_project_architectures(id) ON DELETE RESTRICT;


--
-- Name: namespace_aggregation_schedules fk_rails_b565c8d16c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_aggregation_schedules
    ADD CONSTRAINT fk_rails_b565c8d16c FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: approval_project_rules_protected_branches fk_rails_b7567b031b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_protected_branches
    ADD CONSTRAINT fk_rails_b7567b031b FOREIGN KEY (protected_branch_id) REFERENCES public.protected_branches(id) ON DELETE CASCADE;


--
-- Name: packages_composer_cache_files fk_rails_b82cea43a0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_composer_cache_files
    ADD CONSTRAINT fk_rails_b82cea43a0 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE SET NULL;


--
-- Name: merge_trains fk_rails_b9d67af01d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_trains
    ADD CONSTRAINT fk_rails_b9d67af01d FOREIGN KEY (target_project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: approval_project_rules_users fk_rails_b9e9394efb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_users
    ADD CONSTRAINT fk_rails_b9e9394efb FOREIGN KEY (approval_project_rule_id) REFERENCES public.approval_project_rules(id) ON DELETE CASCADE;


--
-- Name: lists fk_rails_baed5f39b7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.lists
    ADD CONSTRAINT fk_rails_baed5f39b7 FOREIGN KEY (milestone_id) REFERENCES public.milestones(id) ON DELETE CASCADE;


--
-- Name: web_hook_logs fk_rails_bb3355782d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.web_hook_logs
    ADD CONSTRAINT fk_rails_bb3355782d FOREIGN KEY (web_hook_id) REFERENCES public.web_hooks(id) ON DELETE CASCADE;


--
-- Name: security_findings fk_rails_bb63863cf1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_findings
    ADD CONSTRAINT fk_rails_bb63863cf1 FOREIGN KEY (scan_id) REFERENCES public.security_scans(id) ON DELETE CASCADE;


--
-- Name: packages_debian_project_component_files fk_rails_bbe9ebfbd9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_component_files
    ADD CONSTRAINT fk_rails_bbe9ebfbd9 FOREIGN KEY (component_id) REFERENCES public.packages_debian_project_components(id) ON DELETE RESTRICT;


--
-- Name: approval_merge_request_rules_users fk_rails_bc8972fa55; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rules_users
    ADD CONSTRAINT fk_rails_bc8972fa55 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: external_pull_requests fk_rails_bcae9b5c7b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_pull_requests
    ADD CONSTRAINT fk_rails_bcae9b5c7b FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: elasticsearch_indexed_projects fk_rails_bd13bbdc3d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elasticsearch_indexed_projects
    ADD CONSTRAINT fk_rails_bd13bbdc3d FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: elasticsearch_indexed_namespaces fk_rails_bdcf044f37; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elasticsearch_indexed_namespaces
    ADD CONSTRAINT fk_rails_bdcf044f37 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: vulnerability_occurrence_identifiers fk_rails_be2e49e1d0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrence_identifiers
    ADD CONSTRAINT fk_rails_be2e49e1d0 FOREIGN KEY (identifier_id) REFERENCES public.vulnerability_identifiers(id) ON DELETE CASCADE;


--
-- Name: alert_management_http_integrations fk_rails_bec49f52cc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_http_integrations
    ADD CONSTRAINT fk_rails_bec49f52cc FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_occurrences fk_rails_bf5b788ca7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrences
    ADD CONSTRAINT fk_rails_bf5b788ca7 FOREIGN KEY (scanner_id) REFERENCES public.vulnerability_scanners(id) ON DELETE CASCADE;


--
-- Name: resource_weight_events fk_rails_bfc406b47c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_weight_events
    ADD CONSTRAINT fk_rails_bfc406b47c FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: design_management_designs fk_rails_bfe283ec3c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_management_designs
    ADD CONSTRAINT fk_rails_bfe283ec3c FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: atlassian_identities fk_rails_c02928bc18; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.atlassian_identities
    ADD CONSTRAINT fk_rails_c02928bc18 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: serverless_domain_cluster fk_rails_c09009dee1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.serverless_domain_cluster
    ADD CONSTRAINT fk_rails_c09009dee1 FOREIGN KEY (pages_domain_id) REFERENCES public.pages_domains(id) ON DELETE CASCADE;


--
-- Name: labels fk_rails_c1ac5161d8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.labels
    ADD CONSTRAINT fk_rails_c1ac5161d8 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: project_feature_usages fk_rails_c22a50024b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_feature_usages
    ADD CONSTRAINT fk_rails_c22a50024b FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: user_canonical_emails fk_rails_c2bd828b51; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_canonical_emails
    ADD CONSTRAINT fk_rails_c2bd828b51 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: project_repositories fk_rails_c3258dc63b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_repositories
    ADD CONSTRAINT fk_rails_c3258dc63b FOREIGN KEY (shard_id) REFERENCES public.shards(id) ON DELETE RESTRICT;


--
-- Name: packages_nuget_dependency_link_metadata fk_rails_c3313ee2e4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_nuget_dependency_link_metadata
    ADD CONSTRAINT fk_rails_c3313ee2e4 FOREIGN KEY (dependency_link_id) REFERENCES public.packages_dependency_links(id) ON DELETE CASCADE;


--
-- Name: group_deploy_keys_groups fk_rails_c3854f19f5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_keys_groups
    ADD CONSTRAINT fk_rails_c3854f19f5 FOREIGN KEY (group_deploy_key_id) REFERENCES public.group_deploy_keys(id) ON DELETE CASCADE;


--
-- Name: pages_deployments fk_rails_c3a90cf29b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pages_deployments
    ADD CONSTRAINT fk_rails_c3a90cf29b FOREIGN KEY (ci_build_id) REFERENCES public.ci_builds(id) ON DELETE SET NULL;


--
-- Name: merge_request_user_mentions fk_rails_c440b9ea31; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_user_mentions
    ADD CONSTRAINT fk_rails_c440b9ea31 FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: boards_epic_board_recent_visits fk_rails_c4dcba4a3e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_recent_visits
    ADD CONSTRAINT fk_rails_c4dcba4a3e FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: ci_job_artifacts fk_rails_c5137cb2c1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_artifacts
    ADD CONSTRAINT fk_rails_c5137cb2c1 FOREIGN KEY (job_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: packages_events fk_rails_c6c20d0094; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_events
    ADD CONSTRAINT fk_rails_c6c20d0094 FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE SET NULL;


--
-- Name: project_settings fk_rails_c6df6e6328; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_settings
    ADD CONSTRAINT fk_rails_c6df6e6328 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: container_expiration_policies fk_rails_c7360f09ad; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.container_expiration_policies
    ADD CONSTRAINT fk_rails_c7360f09ad FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: wiki_page_meta fk_rails_c7a0c59cf1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.wiki_page_meta
    ADD CONSTRAINT fk_rails_c7a0c59cf1 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: scim_oauth_access_tokens fk_rails_c84404fb6c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.scim_oauth_access_tokens
    ADD CONSTRAINT fk_rails_c84404fb6c FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: vulnerability_occurrences fk_rails_c8661a61eb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrences
    ADD CONSTRAINT fk_rails_c8661a61eb FOREIGN KEY (primary_identifier_id) REFERENCES public.vulnerability_identifiers(id) ON DELETE CASCADE;


--
-- Name: project_export_jobs fk_rails_c88d8db2e1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_export_jobs
    ADD CONSTRAINT fk_rails_c88d8db2e1 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: resource_state_events fk_rails_c913c64977; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_state_events
    ADD CONSTRAINT fk_rails_c913c64977 FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: resource_milestone_events fk_rails_c940fb9fc5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_milestone_events
    ADD CONSTRAINT fk_rails_c940fb9fc5 FOREIGN KEY (milestone_id) REFERENCES public.milestones(id) ON DELETE CASCADE;


--
-- Name: gpg_signatures fk_rails_c97176f5f7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.gpg_signatures
    ADD CONSTRAINT fk_rails_c97176f5f7 FOREIGN KEY (gpg_key_id) REFERENCES public.gpg_keys(id) ON DELETE SET NULL;


--
-- Name: board_group_recent_visits fk_rails_ca04c38720; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_group_recent_visits
    ADD CONSTRAINT fk_rails_ca04c38720 FOREIGN KEY (board_id) REFERENCES public.boards(id) ON DELETE CASCADE;


--
-- Name: boards_epic_board_positions fk_rails_cb4563dd6e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_positions
    ADD CONSTRAINT fk_rails_cb4563dd6e FOREIGN KEY (epic_board_id) REFERENCES public.boards_epic_boards(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_links fk_rails_cbdfde27ce; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_links
    ADD CONSTRAINT fk_rails_cbdfde27ce FOREIGN KEY (vulnerability_occurrence_id) REFERENCES public.vulnerability_occurrences(id) ON DELETE CASCADE;


--
-- Name: clusters_integration_elasticstack fk_rails_cc5ba8f658; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_integration_elasticstack
    ADD CONSTRAINT fk_rails_cc5ba8f658 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: issues_self_managed_prometheus_alert_events fk_rails_cc5d88bbb0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues_self_managed_prometheus_alert_events
    ADD CONSTRAINT fk_rails_cc5d88bbb0 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: operations_strategies_user_lists fk_rails_ccb7e4bc0b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_strategies_user_lists
    ADD CONSTRAINT fk_rails_ccb7e4bc0b FOREIGN KEY (user_list_id) REFERENCES public.operations_user_lists(id) ON DELETE CASCADE;


--
-- Name: issue_tracker_data fk_rails_ccc0840427; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issue_tracker_data
    ADD CONSTRAINT fk_rails_ccc0840427 FOREIGN KEY (service_id) REFERENCES public.integrations(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_headers fk_rails_ce7f121a03; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_headers
    ADD CONSTRAINT fk_rails_ce7f121a03 FOREIGN KEY (vulnerability_finding_evidence_request_id) REFERENCES public.vulnerability_finding_evidence_requests(id) ON DELETE CASCADE;


--
-- Name: resource_milestone_events fk_rails_cedf8cce4d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_milestone_events
    ADD CONSTRAINT fk_rails_cedf8cce4d FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: resource_iteration_events fk_rails_cee126f66c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_iteration_events
    ADD CONSTRAINT fk_rails_cee126f66c FOREIGN KEY (iteration_id) REFERENCES public.sprints(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_requests fk_rails_cf0f278cb0; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_requests
    ADD CONSTRAINT fk_rails_cf0f278cb0 FOREIGN KEY (vulnerability_finding_evidence_supporting_message_id) REFERENCES public.vulnerability_finding_evidence_supporting_messages(id) ON DELETE CASCADE;


--
-- Name: epic_metrics fk_rails_d071904753; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.epic_metrics
    ADD CONSTRAINT fk_rails_d071904753 FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: subscriptions fk_rails_d0c8bda804; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.subscriptions
    ADD CONSTRAINT fk_rails_d0c8bda804 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: operations_strategies fk_rails_d183b6e6dd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_strategies
    ADD CONSTRAINT fk_rails_d183b6e6dd FOREIGN KEY (feature_flag_id) REFERENCES public.operations_feature_flags(id) ON DELETE CASCADE;


--
-- Name: cluster_agent_tokens fk_rails_d1d26abc25; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_agent_tokens
    ADD CONSTRAINT fk_rails_d1d26abc25 FOREIGN KEY (agent_id) REFERENCES public.cluster_agents(id) ON DELETE CASCADE;


--
-- Name: requirements_management_test_reports fk_rails_d1e8b498bf; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements_management_test_reports
    ADD CONSTRAINT fk_rails_d1e8b498bf FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: pool_repositories fk_rails_d2711daad4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.pool_repositories
    ADD CONSTRAINT fk_rails_d2711daad4 FOREIGN KEY (source_project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: web_hooks fk_rails_d35697648e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.web_hooks
    ADD CONSTRAINT fk_rails_d35697648e FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: group_group_links fk_rails_d3a0488427; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_group_links
    ADD CONSTRAINT fk_rails_d3a0488427 FOREIGN KEY (shared_group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: vulnerability_issue_links fk_rails_d459c19036; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_issue_links
    ADD CONSTRAINT fk_rails_d459c19036 FOREIGN KEY (vulnerability_id) REFERENCES public.vulnerabilities(id) ON DELETE CASCADE;


--
-- Name: alert_management_alert_assignees fk_rails_d47570ac62; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alert_assignees
    ADD CONSTRAINT fk_rails_d47570ac62 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: geo_hashed_storage_attachments_events fk_rails_d496b088e9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.geo_hashed_storage_attachments_events
    ADD CONSTRAINT fk_rails_d496b088e9 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: merge_request_reviewers fk_rails_d9fec24b9d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_reviewers
    ADD CONSTRAINT fk_rails_d9fec24b9d FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: ci_running_builds fk_rails_da45cfa165; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_running_builds
    ADD CONSTRAINT fk_rails_da45cfa165 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: jira_imports fk_rails_da617096ce; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_imports
    ADD CONSTRAINT fk_rails_da617096ce FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: dependency_proxy_blobs fk_rails_db58bbc5d7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dependency_proxy_blobs
    ADD CONSTRAINT fk_rails_db58bbc5d7 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: issues_prometheus_alert_events fk_rails_db5b756534; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues_prometheus_alert_events
    ADD CONSTRAINT fk_rails_db5b756534 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: board_user_preferences fk_rails_dbebdaa8fe; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_user_preferences
    ADD CONSTRAINT fk_rails_dbebdaa8fe FOREIGN KEY (board_id) REFERENCES public.boards(id) ON DELETE CASCADE;


--
-- Name: ci_running_builds fk_rails_dc1d0801e8; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_running_builds
    ADD CONSTRAINT fk_rails_dc1d0801e8 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_occurrence_pipelines fk_rails_dc3ae04693; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrence_pipelines
    ADD CONSTRAINT fk_rails_dc3ae04693 FOREIGN KEY (occurrence_id) REFERENCES public.vulnerability_occurrences(id) ON DELETE CASCADE;


--
-- Name: deployment_merge_requests fk_rails_dcbce9f4df; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.deployment_merge_requests
    ADD CONSTRAINT fk_rails_dcbce9f4df FOREIGN KEY (deployment_id) REFERENCES public.deployments(id) ON DELETE CASCADE;


--
-- Name: packages_debian_group_component_files fk_rails_dd262386e9; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_component_files
    ADD CONSTRAINT fk_rails_dd262386e9 FOREIGN KEY (component_id) REFERENCES public.packages_debian_group_components(id) ON DELETE RESTRICT;


--
-- Name: user_callouts fk_rails_ddfdd80f3d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_callouts
    ADD CONSTRAINT fk_rails_ddfdd80f3d FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: vulnerability_feedback fk_rails_debd54e456; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_feedback
    ADD CONSTRAINT fk_rails_debd54e456 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: packages_debian_project_distributions fk_rails_df44271a30; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_project_distributions
    ADD CONSTRAINT fk_rails_df44271a30 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE RESTRICT;


--
-- Name: incident_management_oncall_shifts fk_rails_df4feb286a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_shifts
    ADD CONSTRAINT fk_rails_df4feb286a FOREIGN KEY (rotation_id) REFERENCES public.incident_management_oncall_rotations(id) ON DELETE CASCADE;


--
-- Name: analytics_cycle_analytics_group_stages fk_rails_dfb37c880d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.analytics_cycle_analytics_group_stages
    ADD CONSTRAINT fk_rails_dfb37c880d FOREIGN KEY (end_event_label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: bulk_import_export_uploads fk_rails_dfbfb45eca; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.bulk_import_export_uploads
    ADD CONSTRAINT fk_rails_dfbfb45eca FOREIGN KEY (export_id) REFERENCES public.bulk_import_exports(id) ON DELETE CASCADE;


--
-- Name: ci_minutes_additional_packs fk_rails_e0e0c4e4b1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_minutes_additional_packs
    ADD CONSTRAINT fk_rails_e0e0c4e4b1 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: label_priorities fk_rails_e161058b0f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.label_priorities
    ADD CONSTRAINT fk_rails_e161058b0f FOREIGN KEY (label_id) REFERENCES public.labels(id) ON DELETE CASCADE;


--
-- Name: packages_packages fk_rails_e1ac527425; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_packages
    ADD CONSTRAINT fk_rails_e1ac527425 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: cluster_platforms_kubernetes fk_rails_e1e2cf841a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_platforms_kubernetes
    ADD CONSTRAINT fk_rails_e1e2cf841a FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: ci_builds_metadata fk_rails_e20479742e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds_metadata
    ADD CONSTRAINT fk_rails_e20479742e FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidences fk_rails_e3205a0c65; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidences
    ADD CONSTRAINT fk_rails_e3205a0c65 FOREIGN KEY (vulnerability_occurrence_id) REFERENCES public.vulnerability_occurrences(id) ON DELETE CASCADE;


--
-- Name: clusters_integration_prometheus fk_rails_e44472034c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.clusters_integration_prometheus
    ADD CONSTRAINT fk_rails_e44472034c FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: vulnerability_occurrence_identifiers fk_rails_e4ef6d027c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_occurrence_identifiers
    ADD CONSTRAINT fk_rails_e4ef6d027c FOREIGN KEY (occurrence_id) REFERENCES public.vulnerability_occurrences(id) ON DELETE CASCADE;


--
-- Name: vulnerability_flags fk_rails_e59393b48b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_flags
    ADD CONSTRAINT fk_rails_e59393b48b FOREIGN KEY (vulnerability_occurrence_id) REFERENCES public.vulnerability_occurrences(id) ON DELETE CASCADE;


--
-- Name: serverless_domain_cluster fk_rails_e59e868733; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.serverless_domain_cluster
    ADD CONSTRAINT fk_rails_e59e868733 FOREIGN KEY (clusters_applications_knative_id) REFERENCES public.clusters_applications_knative(id) ON DELETE CASCADE;


--
-- Name: incident_management_escalation_policies fk_rails_e5b513daa7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_escalation_policies
    ADD CONSTRAINT fk_rails_e5b513daa7 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: vulnerability_external_issue_links fk_rails_e5ba7f7b13; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_external_issue_links
    ADD CONSTRAINT fk_rails_e5ba7f7b13 FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: approval_merge_request_rule_sources fk_rails_e605a04f76; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_merge_request_rule_sources
    ADD CONSTRAINT fk_rails_e605a04f76 FOREIGN KEY (approval_merge_request_rule_id) REFERENCES public.approval_merge_request_rules(id) ON DELETE CASCADE;


--
-- Name: prometheus_alerts fk_rails_e6351447ec; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alerts
    ADD CONSTRAINT fk_rails_e6351447ec FOREIGN KEY (prometheus_metric_id) REFERENCES public.prometheus_metrics(id) ON DELETE CASCADE;


--
-- Name: requirements_management_test_reports fk_rails_e67d085910; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements_management_test_reports
    ADD CONSTRAINT fk_rails_e67d085910 FOREIGN KEY (build_id) REFERENCES public.ci_builds(id) ON DELETE SET NULL;


--
-- Name: merge_request_metrics fk_rails_e6d7c24d1b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_metrics
    ADD CONSTRAINT fk_rails_e6d7c24d1b FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: draft_notes fk_rails_e753681674; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.draft_notes
    ADD CONSTRAINT fk_rails_e753681674 FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: namespace_package_settings fk_rails_e773444769; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.namespace_package_settings
    ADD CONSTRAINT fk_rails_e773444769 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: boards_epic_board_recent_visits fk_rails_e77911cf03; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.boards_epic_board_recent_visits
    ADD CONSTRAINT fk_rails_e77911cf03 FOREIGN KEY (epic_board_id) REFERENCES public.boards_epic_boards(id) ON DELETE CASCADE;


--
-- Name: dast_site_tokens fk_rails_e84f721a8e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_site_tokens
    ADD CONSTRAINT fk_rails_e84f721a8e FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: group_deploy_keys_groups fk_rails_e87145115d; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.group_deploy_keys_groups
    ADD CONSTRAINT fk_rails_e87145115d FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: description_versions fk_rails_e8f4caf9c7; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.description_versions
    ADD CONSTRAINT fk_rails_e8f4caf9c7 FOREIGN KEY (epic_id) REFERENCES public.epics(id) ON DELETE CASCADE;


--
-- Name: vulnerability_issue_links fk_rails_e9180d534b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_issue_links
    ADD CONSTRAINT fk_rails_e9180d534b FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: merge_request_blocks fk_rails_e9387863bc; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_request_blocks
    ADD CONSTRAINT fk_rails_e9387863bc FOREIGN KEY (blocking_merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: vulnerability_finding_evidence_sources fk_rails_e9761bed4c; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.vulnerability_finding_evidence_sources
    ADD CONSTRAINT fk_rails_e9761bed4c FOREIGN KEY (vulnerability_finding_evidence_id) REFERENCES public.vulnerability_finding_evidences(id) ON DELETE CASCADE;


--
-- Name: protected_branch_unprotect_access_levels fk_rails_e9eb8dc025; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.protected_branch_unprotect_access_levels
    ADD CONSTRAINT fk_rails_e9eb8dc025 FOREIGN KEY (protected_branch_id) REFERENCES public.protected_branches(id) ON DELETE CASCADE;


--
-- Name: alert_management_alert_user_mentions fk_rails_eb2de0cdef; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.alert_management_alert_user_mentions
    ADD CONSTRAINT fk_rails_eb2de0cdef FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE CASCADE;


--
-- Name: snippet_statistics fk_rails_ebc283ccf1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_statistics
    ADD CONSTRAINT fk_rails_ebc283ccf1 FOREIGN KEY (snippet_id) REFERENCES public.snippets(id) ON DELETE CASCADE;


--
-- Name: iterations_cadences fk_rails_ece400c55a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.iterations_cadences
    ADD CONSTRAINT fk_rails_ece400c55a FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: dast_profiles fk_rails_ed1e66fbbf; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.dast_profiles
    ADD CONSTRAINT fk_rails_ed1e66fbbf FOREIGN KEY (dast_site_profile_id) REFERENCES public.dast_site_profiles(id) ON DELETE CASCADE;


--
-- Name: project_security_settings fk_rails_ed4abe1338; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_security_settings
    ADD CONSTRAINT fk_rails_ed4abe1338 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: packages_debian_group_distributions fk_rails_ede0bb937f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_distributions
    ADD CONSTRAINT fk_rails_ede0bb937f FOREIGN KEY (creator_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: experiment_subjects fk_rails_ede5754774; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_subjects
    ADD CONSTRAINT fk_rails_ede5754774 FOREIGN KEY (experiment_id) REFERENCES public.experiments(id) ON DELETE CASCADE;


--
-- Name: ci_daily_build_group_report_results fk_rails_ee072d13b3; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_daily_build_group_report_results
    ADD CONSTRAINT fk_rails_ee072d13b3 FOREIGN KEY (last_pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE CASCADE;


--
-- Name: packages_debian_group_architectures fk_rails_ef667d1b03; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_architectures
    ADD CONSTRAINT fk_rails_ef667d1b03 FOREIGN KEY (distribution_id) REFERENCES public.packages_debian_group_distributions(id) ON DELETE CASCADE;


--
-- Name: label_priorities fk_rails_ef916d14fa; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.label_priorities
    ADD CONSTRAINT fk_rails_ef916d14fa FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: fork_network_members fk_rails_efccadc4ec; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.fork_network_members
    ADD CONSTRAINT fk_rails_efccadc4ec FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: security_orchestration_policy_rule_schedules fk_rails_efe1d9b133; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.security_orchestration_policy_rule_schedules
    ADD CONSTRAINT fk_rails_efe1d9b133 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: prometheus_alerts fk_rails_f0e8db86aa; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.prometheus_alerts
    ADD CONSTRAINT fk_rails_f0e8db86aa FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: import_export_uploads fk_rails_f129140f9e; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.import_export_uploads
    ADD CONSTRAINT fk_rails_f129140f9e FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: jira_connect_subscriptions fk_rails_f1d617343f; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.jira_connect_subscriptions
    ADD CONSTRAINT fk_rails_f1d617343f FOREIGN KEY (jira_connect_installation_id) REFERENCES public.jira_connect_installations(id) ON DELETE CASCADE;


--
-- Name: requirements fk_rails_f212e67e63; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements
    ADD CONSTRAINT fk_rails_f212e67e63 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: snippet_repositories fk_rails_f21f899728; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.snippet_repositories
    ADD CONSTRAINT fk_rails_f21f899728 FOREIGN KEY (shard_id) REFERENCES public.shards(id) ON DELETE RESTRICT;


--
-- Name: elastic_reindexing_subtasks fk_rails_f2cc190164; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.elastic_reindexing_subtasks
    ADD CONSTRAINT fk_rails_f2cc190164 FOREIGN KEY (elastic_reindexing_task_id) REFERENCES public.elastic_reindexing_tasks(id) ON DELETE CASCADE;


--
-- Name: ci_pipeline_chat_data fk_rails_f300456b63; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_pipeline_chat_data
    ADD CONSTRAINT fk_rails_f300456b63 FOREIGN KEY (chat_name_id) REFERENCES public.chat_names(id) ON DELETE CASCADE;


--
-- Name: approval_project_rules_users fk_rails_f365da8250; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.approval_project_rules_users
    ADD CONSTRAINT fk_rails_f365da8250 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: insights fk_rails_f36fda3932; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.insights
    ADD CONSTRAINT fk_rails_f36fda3932 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: incident_management_pending_alert_escalations fk_rails_f3d17bc8af; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.incident_management_pending_alert_escalations
    ADD CONSTRAINT fk_rails_f3d17bc8af FOREIGN KEY (rule_id) REFERENCES public.incident_management_escalation_rules(id) ON DELETE CASCADE;


--
-- Name: board_group_recent_visits fk_rails_f410736518; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_group_recent_visits
    ADD CONSTRAINT fk_rails_f410736518 FOREIGN KEY (group_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: incident_management_issuable_escalation_statuses fk_rails_f4c811fd28; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_issuable_escalation_statuses
    ADD CONSTRAINT fk_rails_f4c811fd28 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: resource_state_events fk_rails_f5827a7ccd; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_state_events
    ADD CONSTRAINT fk_rails_f5827a7ccd FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: packages_debian_group_components fk_rails_f5f1ef54c6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_debian_group_components
    ADD CONSTRAINT fk_rails_f5f1ef54c6 FOREIGN KEY (distribution_id) REFERENCES public.packages_debian_group_distributions(id) ON DELETE CASCADE;


--
-- Name: incident_management_oncall_shifts fk_rails_f6eef06841; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.incident_management_oncall_shifts
    ADD CONSTRAINT fk_rails_f6eef06841 FOREIGN KEY (participant_id) REFERENCES public.incident_management_oncall_participants(id) ON DELETE CASCADE;


--
-- Name: design_user_mentions fk_rails_f7075a53c1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.design_user_mentions
    ADD CONSTRAINT fk_rails_f7075a53c1 FOREIGN KEY (design_id) REFERENCES public.design_management_designs(id) ON DELETE CASCADE;


--
-- Name: internal_ids fk_rails_f7d46b66c6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.internal_ids
    ADD CONSTRAINT fk_rails_f7d46b66c6 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: issues_self_managed_prometheus_alert_events fk_rails_f7db2d72eb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.issues_self_managed_prometheus_alert_events
    ADD CONSTRAINT fk_rails_f7db2d72eb FOREIGN KEY (self_managed_prometheus_alert_event_id) REFERENCES public.self_managed_prometheus_alert_events(id) ON DELETE CASCADE;


--
-- Name: merge_requests_closing_issues fk_rails_f8540692be; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests_closing_issues
    ADD CONSTRAINT fk_rails_f8540692be FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: merge_trains fk_rails_f90820cb08; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_trains
    ADD CONSTRAINT fk_rails_f90820cb08 FOREIGN KEY (pipeline_id) REFERENCES public.ci_pipelines(id) ON DELETE SET NULL;


--
-- Name: ci_runner_namespaces fk_rails_f9d9ed3308; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_runner_namespaces
    ADD CONSTRAINT fk_rails_f9d9ed3308 FOREIGN KEY (namespace_id) REFERENCES public.namespaces(id) ON DELETE CASCADE;


--
-- Name: banned_users fk_rails_fa5bb598e5; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.banned_users
    ADD CONSTRAINT fk_rails_fa5bb598e5 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: requirements_management_test_reports fk_rails_fb3308ad55; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.requirements_management_test_reports
    ADD CONSTRAINT fk_rails_fb3308ad55 FOREIGN KEY (requirement_id) REFERENCES public.requirements(id) ON DELETE CASCADE;


--
-- Name: operations_feature_flags_issues fk_rails_fb4d2a7cb1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.operations_feature_flags_issues
    ADD CONSTRAINT fk_rails_fb4d2a7cb1 FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: board_project_recent_visits fk_rails_fb6fc419cb; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.board_project_recent_visits
    ADD CONSTRAINT fk_rails_fb6fc419cb FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: serverless_domain_cluster fk_rails_fbdba67eb1; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.serverless_domain_cluster
    ADD CONSTRAINT fk_rails_fbdba67eb1 FOREIGN KEY (creator_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: ci_job_variables fk_rails_fbf3b34792; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_job_variables
    ADD CONSTRAINT fk_rails_fbf3b34792 FOREIGN KEY (job_id) REFERENCES public.ci_builds(id) ON DELETE CASCADE;


--
-- Name: packages_nuget_metadata fk_rails_fc0c19f5b4; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.packages_nuget_metadata
    ADD CONSTRAINT fk_rails_fc0c19f5b4 FOREIGN KEY (package_id) REFERENCES public.packages_packages(id) ON DELETE CASCADE;


--
-- Name: incident_management_pending_alert_escalations fk_rails_fcbfd9338b; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.incident_management_pending_alert_escalations
    ADD CONSTRAINT fk_rails_fcbfd9338b FOREIGN KEY (schedule_id) REFERENCES public.incident_management_oncall_schedules(id) ON DELETE CASCADE;


--
-- Name: external_approval_rules fk_rails_fd4f9ac573; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.external_approval_rules
    ADD CONSTRAINT fk_rails_fd4f9ac573 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: experiment_users fk_rails_fd805f771a; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.experiment_users
    ADD CONSTRAINT fk_rails_fd805f771a FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: cluster_groups fk_rails_fdb8648a96; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.cluster_groups
    ADD CONSTRAINT fk_rails_fdb8648a96 FOREIGN KEY (cluster_id) REFERENCES public.clusters(id) ON DELETE CASCADE;


--
-- Name: project_tracing_settings fk_rails_fe56f57fc6; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.project_tracing_settings
    ADD CONSTRAINT fk_rails_fe56f57fc6 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: resource_label_events fk_rails_fe91ece594; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.resource_label_events
    ADD CONSTRAINT fk_rails_fe91ece594 FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: ci_builds_metadata fk_rails_ffcf702a02; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.ci_builds_metadata
    ADD CONSTRAINT fk_rails_ffcf702a02 FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: integrations fk_services_inherit_from_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.integrations
    ADD CONSTRAINT fk_services_inherit_from_id FOREIGN KEY (inherit_from_id) REFERENCES public.integrations(id) ON DELETE CASCADE;


--
-- Name: merge_requests fk_source_project; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.merge_requests
    ADD CONSTRAINT fk_source_project FOREIGN KEY (source_project_id) REFERENCES public.projects(id) ON DELETE SET NULL;


--
-- Name: timelogs fk_timelogs_issues_issue_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.timelogs
    ADD CONSTRAINT fk_timelogs_issues_issue_id FOREIGN KEY (issue_id) REFERENCES public.issues(id) ON DELETE CASCADE;


--
-- Name: timelogs fk_timelogs_merge_requests_merge_request_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.timelogs
    ADD CONSTRAINT fk_timelogs_merge_requests_merge_request_id FOREIGN KEY (merge_request_id) REFERENCES public.merge_requests(id) ON DELETE CASCADE;


--
-- Name: timelogs fk_timelogs_note_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.timelogs
    ADD CONSTRAINT fk_timelogs_note_id FOREIGN KEY (note_id) REFERENCES public.notes(id) ON DELETE SET NULL;


--
-- Name: u2f_registrations fk_u2f_registrations_user_id; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.u2f_registrations
    ADD CONSTRAINT fk_u2f_registrations_user_id FOREIGN KEY (user_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: product_analytics_events_experimental product_analytics_events_experimental_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE public.product_analytics_events_experimental
    ADD CONSTRAINT product_analytics_events_experimental_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.projects(id) ON DELETE CASCADE;


--
-- Name: user_follow_users user_follow_users_followee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_follow_users
    ADD CONSTRAINT user_follow_users_followee_id_fkey FOREIGN KEY (followee_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: user_follow_users user_follow_users_follower_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: gitlab
--

ALTER TABLE ONLY public.user_follow_users
    ADD CONSTRAINT user_follow_users_follower_id_fkey FOREIGN KEY (follower_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: SCHEMA public; Type: ACL; Schema: -; Owner: gitlab
--

REVOKE ALL ON SCHEMA public FROM rdsadmin;
REVOKE ALL ON SCHEMA public FROM PUBLIC;
GRANT ALL ON SCHEMA public TO gitlab;
GRANT ALL ON SCHEMA public TO PUBLIC;


--
-- PostgreSQL database dump complete
--

