GitLab Current State ERD (CustomersDot-related)

## Proposal

Build an Entity Relationship Diagram (ERD) representing the current state of the GitLab data model that relates to the CustomersDot application.

## ERD

```mermaid
erDiagram
    ci_minutes_additional_packs {
        bigint id
        timestampwithtimezone created_at
        timestampwithtimezone updated_at
        bigint namespace_id
        date expires_at
        integer number_of_minutes
        text purchase_xid
    }

    gitlab_subscriptions {
        bigint id
        timestampwithtimezone created_at
        timestampwithtimezone updated_at
        date start_date
        date end_date
        date trial_ends_on
        integer namespace_id
        integer hosted_plan_id
        integer max_seats_used
        integer seats
        boolean trial
        date trial_starts_on
        boolean auto_renew
        integer seats_in_use
        integer seats_owed
        smallint trial_extension_type
    }

    historical_data {
        integer id
        date date
        integer active_user_count
        timestampwithouttimezone created_at
        timestampwithouttimezone updated_at
        timestampwithtimezone recorded_at
    }

    licenses {
        integer id
        text data
        timestampwithouttimezone created_at
        timestampwithouttimezone updated_at
        boolean cloud
        timestampwithtimezone last_synced_at
    }

    members {
        integer id
        integer access_level
        integer source_id
        charactervarying source_type
        integer user_id
        integer notification_level
        charactervarying type
        timestampwithouttimezone created_at
        timestampwithouttimezone updated_at
        bigint member_namespace_id
    }

    namespace_limits {
        bigint additional_purchased_storage_size
        date additional_purchased_storage_ends_on
        integer namespace_id
        date temporary_storage_increase_ends_on
    }

    namespaces {
        integer id
        charactervarying name
        charactervarying path
        integer owner_id
        timestampwithouttimezone created_at
        timestampwithouttimezone updated_at
        charactervarying type
        charactervarying description
        charactervarying avatar
        integer parent_id
        integer shared_runners_minutes_limit
        bigint repository_size_limit
        integer extra_shared_runners_minutes_limit
        timestampwithtimezone last_ci_minutes_notification_at
        integer last_ci_minutes_usage_notification_level
        boolean shared_runners_enabled
    }

    personal_access_tokens {
        integer id
        integer user_id
        charactervarying name
        boolean revoked
        date expires_at
        timestampwithouttimezone created_at
        timestampwithouttimezone updated_at
        charactervarying scopes
        boolean impersonation
        charactervarying token_digest
        boolean expire_notification_delivered
        timestampwithtimezone last_used_at
        boolean after_expiry_notification_delivered
    }

    plan_limits {
        bigint id
        bigint plan_id
        integer storage_size_limit
    }

    plans {
        integer id
        timestampwithouttimezone created_at
        timestampwithouttimezone updated_at
        charactervarying name
        charactervarying title
    }

    upcoming_reconciliations {
        bigint id
        bigint namespace_id
        date next_reconciliation_date
        date display_alert_from
        timestampwithtimezone created_at
        timestampwithtimezone updated_at
    }

    user_credit_card_validations {
        bigint user_id
        timestampwithtimezone credit_card_validated_at
        date expiration_date
        smallint last_digits
        text holder_name
        text network
    }

    users {
        integer id
        charactervarying email
        charactervarying name
        boolean admin
        integer projects_limit
        charactervarying username
        charactervarying state
        charactervarying first_name
        charactervarying last_name
        smallint user_type
    }

    gitlab_subscriptions |o--|| namespaces : ""
    gitlab_subscriptions }o--|| plans : ""
    members }o--|| namespaces : ""
    members }o--|| users : ""
    namespace_limits |o--|| namespaces : ""
    namespaces }o--|| namespaces : ""
    upcoming_reconciliations }o--|| namespaces : ""
    users }o--|| namespaces : ""
    personal_access_tokens }o--|| users : ""
    plan_limits }o--|| plans : ""
    user_credit_card_validations |o--|| users : ""

```

Story points: 1.0