{
  "id": "bucketreef-database",
  "name": "BucketReef Database",
  "databaseType": "sqlite",
  "tables": [
    {
      "id": "table:storage_endpoints",
      "name": "storage_endpoints",
      "schema": null,
      "x": 2100,
      "y": 132,
      "fields": [
        {
          "id": "field:storage_endpoints.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.name",
          "name": "name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.endpoint_url",
          "name": "endpoint_url",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.region",
          "name": "region",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.provider",
          "name": "provider",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.admin_access_key",
          "name": "admin_access_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.admin_secret_key",
          "name": "admin_secret_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.identity_namespace",
          "name": "identity_namespace",
          "type": {
            "id": "varchar(32)",
            "name": "varchar(32)"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "32",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.ceph_admin_allowed",
          "name": "ceph_admin_allowed",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.features_config",
          "name": "features_config",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.latitude",
          "name": "latitude",
          "type": {
            "id": "float",
            "name": "float"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.longitude",
          "name": "longitude",
          "type": {
            "id": "float",
            "name": "float"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.force_path_style",
          "name": "force_path_style",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.verify_tls",
          "name": "verify_tls",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.is_default",
          "name": "is_default",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.is_editable",
          "name": "is_editable",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoints.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:storage_endpoints:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:storage_endpoints.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:storage_endpoints:ix_storage_endpoints_id",
          "name": "ix_storage_endpoints_id",
          "unique": false,
          "fieldIds": [
            "field:storage_endpoints.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:storage_endpoints:uq_storage_endpoints_identity_namespace",
          "name": "uq_storage_endpoints_identity_namespace",
          "unique": true,
          "fieldIds": [
            "field:storage_endpoints.identity_namespace"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        },
        {
          "id": "unique:storage_endpoints:uq_storage_endpoints_endpoint",
          "name": "uq_storage_endpoints_endpoint",
          "unique": true,
          "fieldIds": [
            "field:storage_endpoints.endpoint_url"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        },
        {
          "id": "unique:storage_endpoints:uq_storage_endpoints_name",
          "name": "uq_storage_endpoints_name",
          "unique": true,
          "fieldIds": [
            "field:storage_endpoints.name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:storage_endpoints:ck_storage_endpoints_endpoint_url_canonical",
          "expression": "endpoint_url = trim(endpoint_url) AND endpoint_url NOT LIKE '%/' AND length(endpoint_url) > 0",
          "createdAt": 0
        },
        {
          "id": "check:storage_endpoints:ck_storage_endpoints_provider",
          "expression": "provider IN ('ceph', 'aws', 'other')",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 0,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:endpoint_service_identities",
      "name": "endpoint_service_identities",
      "schema": null,
      "x": 2520,
      "y": 2040,
      "fields": [
        {
          "id": "field:endpoint_service_identities.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.endpoint_id",
          "name": "endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.kind",
          "name": "kind",
          "type": {
            "id": "varchar(24)",
            "name": "varchar(24)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "24",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.mode",
          "name": "mode",
          "type": {
            "id": "varchar(16)",
            "name": "varchar(16)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "16",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.rgw_uid",
          "name": "rgw_uid",
          "type": {
            "id": "varchar(128)",
            "name": "varchar(128)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "128",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.access_key",
          "name": "access_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.secret_key",
          "name": "secret_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.provenance",
          "name": "provenance",
          "type": {
            "id": "varchar(128)",
            "name": "varchar(128)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "128",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.status",
          "name": "status",
          "type": {
            "id": "varchar(24)",
            "name": "varchar(24)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "24",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.last_error",
          "name": "last_error",
          "type": {
            "id": "varchar(256)",
            "name": "varchar(256)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "256",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.last_reconciled_at",
          "name": "last_reconciled_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_service_identities.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:endpoint_service_identities:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:endpoint_service_identities.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:endpoint_service_identities:ix_endpoint_service_identities_endpoint_id",
          "name": "ix_endpoint_service_identities_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_service_identities.endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:endpoint_service_identities:uq_endpoint_service_identity_kind",
          "name": "uq_endpoint_service_identity_kind",
          "unique": true,
          "fieldIds": [
            "field:endpoint_service_identities.endpoint_id",
            "field:endpoint_service_identities.kind"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:endpoint_service_identities:ck_endpoint_service_identity_ceph_admin_external",
          "expression": "kind != 'ceph_admin' OR mode = 'external'",
          "createdAt": 0
        },
        {
          "id": "check:endpoint_service_identities:ck_endpoint_service_identity_kind",
          "expression": "kind IN ('runtime', 'supervision', 'ceph_admin')",
          "createdAt": 0
        },
        {
          "id": "check:endpoint_service_identities:ck_endpoint_service_identity_mode",
          "expression": "mode IN ('managed', 'external')",
          "createdAt": 0
        },
        {
          "id": "check:endpoint_service_identities:ck_endpoint_service_identity_status",
          "expression": "status IN ('not_provisioned', 'missing', 'provisioning', 'ready', 'error', 'revocation_pending', 'disabled')",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 1,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:key_rotation_intents",
      "name": "key_rotation_intents",
      "schema": null,
      "x": 2940,
      "y": 2040,
      "fields": [
        {
          "id": "field:key_rotation_intents.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.endpoint_id",
          "name": "endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.key_type",
          "name": "key_type",
          "type": {
            "id": "varchar(32)",
            "name": "varchar(32)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "32",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.target_id",
          "name": "target_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.rgw_uid",
          "name": "rgw_uid",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.tenant",
          "name": "tenant",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.rgw_endpoint",
          "name": "rgw_endpoint",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.old_access_key",
          "name": "old_access_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.new_access_key",
          "name": "new_access_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.new_secret_key",
          "name": "new_secret_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.deactivate_only",
          "name": "deactivate_only",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.phase",
          "name": "phase",
          "type": {
            "id": "varchar(16)",
            "name": "varchar(16)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "16",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.actor_email",
          "name": "actor_email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.last_error",
          "name": "last_error",
          "type": {
            "id": "varchar(256)",
            "name": "varchar(256)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "256",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:key_rotation_intents.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:key_rotation_intents:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:key_rotation_intents.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:key_rotation_intents:ix_key_rotation_intents_endpoint_id",
          "name": "ix_key_rotation_intents_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:key_rotation_intents.endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:key_rotation_intents:uq_key_rotation_intent_target",
          "name": "uq_key_rotation_intent_target",
          "unique": true,
          "fieldIds": [
            "field:key_rotation_intents.endpoint_id",
            "field:key_rotation_intents.key_type",
            "field:key_rotation_intents.target_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:key_rotation_intents:ck_key_rotation_intent_phase",
          "expression": "phase IN ('prepared', 'activated')",
          "createdAt": 0
        },
        {
          "id": "check:key_rotation_intents:ck_key_rotation_intent_type",
          "expression": "key_type IN ('endpoint_admin', 'endpoint_runtime', 'endpoint_supervision', 'ceph_admin', 'account', 's3_user')",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 2,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:manager_access_key_metadata",
      "name": "manager_access_key_metadata",
      "schema": null,
      "x": 2940,
      "y": 988,
      "fields": [
        {
          "id": "field:manager_access_key_metadata.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.principal_name",
          "name": "principal_name",
          "type": {
            "id": "varchar(256)",
            "name": "varchar(256)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "256",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.access_key_id",
          "name": "access_key_id",
          "type": {
            "id": "varchar(256)",
            "name": "varchar(256)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "256",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.name",
          "name": "name",
          "type": {
            "id": "varchar(128)",
            "name": "varchar(128)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "128",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.notes",
          "name": "notes",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.expiration_state",
          "name": "expiration_state",
          "type": {
            "id": "varchar(32)",
            "name": "varchar(32)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "32",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.expiration_enforced_at",
          "name": "expiration_enforced_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.expiration_last_attempt_at",
          "name": "expiration_last_attempt_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.expiration_last_error",
          "name": "expiration_last_error",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:manager_access_key_metadata.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:manager_access_key_metadata:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:manager_access_key_metadata.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:manager_access_key_metadata:ix_manager_access_key_metadata_access_key",
          "name": "ix_manager_access_key_metadata_access_key",
          "unique": false,
          "fieldIds": [
            "field:manager_access_key_metadata.access_key_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:manager_access_key_metadata:ix_manager_access_key_metadata_expires_at",
          "name": "ix_manager_access_key_metadata_expires_at",
          "unique": false,
          "fieldIds": [
            "field:manager_access_key_metadata.expires_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:manager_access_key_metadata:ix_manager_access_key_metadata_id",
          "name": "ix_manager_access_key_metadata_id",
          "unique": false,
          "fieldIds": [
            "field:manager_access_key_metadata.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:manager_access_key_metadata:uq_manager_access_key_metadata_iam",
          "name": "uq_manager_access_key_metadata_iam",
          "unique": true,
          "fieldIds": [
            "field:manager_access_key_metadata.account_id",
            "field:manager_access_key_metadata.principal_name",
            "field:manager_access_key_metadata.access_key_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        },
        {
          "id": "unique:manager_access_key_metadata:uq_manager_access_key_metadata_s3_user",
          "name": "uq_manager_access_key_metadata_s3_user",
          "unique": true,
          "fieldIds": [
            "field:manager_access_key_metadata.s3_user_id",
            "field:manager_access_key_metadata.access_key_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:manager_access_key_metadata:ck_manager_access_key_metadata_scope",
          "expression": "(account_id IS NOT NULL AND s3_user_id IS NULL AND principal_name IS NOT NULL) OR (account_id IS NULL AND s3_user_id IS NOT NULL AND principal_name IS NULL)",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 3,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:s3_accounts",
      "name": "s3_accounts",
      "schema": null,
      "x": 2520,
      "y": 132,
      "fields": [
        {
          "id": "field:s3_accounts.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.name",
          "name": "name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.rgw_account_id",
          "name": "rgw_account_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.rgw_tenant",
          "name": "rgw_tenant",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.email",
          "name": "email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.rgw_access_key",
          "name": "rgw_access_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.rgw_secret_key",
          "name": "rgw_secret_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.rgw_user_uid",
          "name": "rgw_user_uid",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.portal_settings_override",
          "name": "portal_settings_override",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.portal_settings_delegated",
          "name": "portal_settings_delegated",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.portal_collaborator_role_management_delegated",
          "name": "portal_collaborator_role_management_delegated",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.portal_collaborator_addition_delegated",
          "name": "portal_collaborator_addition_delegated",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.allow_bucket_quota_management",
          "name": "allow_bucket_quota_management",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.allow_access_key_metadata",
          "name": "allow_access_key_metadata",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.allow_access_key_expiration",
          "name": "allow_access_key_expiration",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.allow_activity_history",
          "name": "allow_activity_history",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.allow_rgw_usage_metrics",
          "name": "allow_rgw_usage_metrics",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.allow_cost_estimation",
          "name": "allow_cost_estimation",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.allow_bucket_usage_stats",
          "name": "allow_bucket_usage_stats",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_accounts.allow_bucket_usage_stats_collection",
          "name": "allow_bucket_usage_stats_collection",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:s3_accounts:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:s3_accounts.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:s3_accounts:ix_s3_accounts_id",
          "name": "ix_s3_accounts_id",
          "unique": false,
          "fieldIds": [
            "field:s3_accounts.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_accounts:ix_s3_accounts_storage_endpoint",
          "name": "ix_s3_accounts_storage_endpoint",
          "unique": false,
          "fieldIds": [
            "field:s3_accounts.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:s3_accounts:uq_s3_accounts_rgw_account_id",
          "name": "uq_s3_accounts_rgw_account_id",
          "unique": true,
          "fieldIds": [
            "field:s3_accounts.rgw_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        },
        {
          "id": "unique:s3_accounts:uq_s3_accounts_endpoint_tenant_name",
          "name": "uq_s3_accounts_endpoint_tenant_name",
          "unique": true,
          "fieldIds": [
            "field:s3_accounts.storage_endpoint_id",
            "field:s3_accounts.rgw_tenant",
            "field:s3_accounts.name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:s3_accounts:ck_s3_accounts_rgw_account_id_canonical",
          "expression": "rgw_account_id = TRIM(rgw_account_id) AND LENGTH(rgw_account_id) > 0",
          "createdAt": 0
        },
        {
          "id": "check:s3_accounts:ck_s3_accounts_rgw_user_uid_canonical",
          "expression": "rgw_user_uid = TRIM(rgw_user_uid) AND LENGTH(rgw_user_uid) > 0",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 4,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:user_s3_accounts",
      "name": "user_s3_accounts",
      "schema": null,
      "x": 2940,
      "y": 1664,
      "fields": [
        {
          "id": "field:user_s3_accounts.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_accounts.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_accounts.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_accounts.manager_role",
          "name": "manager_role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_accounts.portal_role",
          "name": "portal_role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_accounts.allow_manager_browser_data_access",
          "name": "allow_manager_browser_data_access",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_accounts.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_accounts.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:user_s3_accounts:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:user_s3_accounts.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:user_s3_accounts:ix_user_s3_accounts_account_user",
          "name": "ix_user_s3_accounts_account_user",
          "unique": false,
          "fieldIds": [
            "field:user_s3_accounts.account_id",
            "field:user_s3_accounts.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_s3_accounts:ix_user_s3_accounts_id",
          "name": "ix_user_s3_accounts_id",
          "unique": false,
          "fieldIds": [
            "field:user_s3_accounts.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:user_s3_accounts:uq_user_s3_account",
          "name": "uq_user_s3_account",
          "unique": true,
          "fieldIds": [
            "field:user_s3_accounts.user_id",
            "field:user_s3_accounts.account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:user_s3_accounts:ck_user_s3_accounts_has_role",
          "expression": "manager_role IS NOT NULL OR portal_role IS NOT NULL",
          "createdAt": 0
        },
        {
          "id": "check:user_s3_accounts:ck_user_s3_accounts_manager_browser_role",
          "expression": "allow_manager_browser_data_access IS FALSE OR manager_role = 'account_administrator'",
          "createdAt": 0
        },
        {
          "id": "check:user_s3_accounts:ck_user_s3_accounts_manager_role",
          "expression": "manager_role IS NULL OR manager_role = 'account_administrator'",
          "createdAt": 0
        },
        {
          "id": "check:user_s3_accounts:ck_user_s3_accounts_portal_role",
          "expression": "portal_role IS NULL OR portal_role IN ('portal_user', 'portal_manager')",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 5,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:account_iam_users",
      "name": "account_iam_users",
      "schema": null,
      "x": 2100,
      "y": 988,
      "fields": [
        {
          "id": "field:account_iam_users.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:account_iam_users.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:account_iam_users.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:account_iam_users.iam_user_id",
          "name": "iam_user_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:account_iam_users.iam_username",
          "name": "iam_username",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:account_iam_users.active_access_key",
          "name": "active_access_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:account_iam_users.active_secret_key",
          "name": "active_secret_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:account_iam_users.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:account_iam_users:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:account_iam_users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:account_iam_users:ix_account_iam_users_account_user",
          "name": "ix_account_iam_users_account_user",
          "unique": false,
          "fieldIds": [
            "field:account_iam_users.account_id",
            "field:account_iam_users.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:account_iam_users:ix_account_iam_users_id",
          "name": "ix_account_iam_users_id",
          "unique": false,
          "fieldIds": [
            "field:account_iam_users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:account_iam_users:uq_account_iam_user",
          "name": "uq_account_iam_user",
          "unique": true,
          "fieldIds": [
            "field:account_iam_users.user_id",
            "field:account_iam_users.account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        },
        {
          "id": "unique:account_iam_users:uq_account_iam_user_id",
          "name": "uq_account_iam_user_id",
          "unique": true,
          "fieldIds": [
            "field:account_iam_users.iam_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 6,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:users",
      "name": "users",
      "schema": null,
      "x": 60,
      "y": 132,
      "fields": [
        {
          "id": "field:users.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.email",
          "name": "email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.full_name",
          "name": "full_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.picture_url",
          "name": "picture_url",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.avatar_preference",
          "name": "avatar_preference",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "auto",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.avatar_image",
          "name": "avatar_image",
          "type": {
            "id": "blob",
            "name": "blob"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.avatar_content_type",
          "name": "avatar_content_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.avatar_updated_at",
          "name": "avatar_updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.hashed_password",
          "name": "hashed_password",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.auth_version",
          "name": "auth_version",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.is_active",
          "name": "is_active",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.role",
          "name": "role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "ui_user",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_access_ceph_admin",
          "name": "can_access_ceph_admin",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_access_storage_ops",
          "name": "can_access_storage_ops",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_access_manager_bucket_compare",
          "name": "can_access_manager_bucket_compare",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_access_manager_bucket_integrity_check",
          "name": "can_access_manager_bucket_integrity_check",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_access_manager_bucket_migration",
          "name": "can_access_manager_bucket_migration",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_access_manager_feature_rules",
          "name": "can_access_manager_feature_rules",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_access_manager_bucket_purge",
          "name": "can_access_manager_bucket_purge",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_create_manual_private_connections",
          "name": "can_create_manual_private_connections",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.can_provision_managed_private_connections",
          "name": "can_provision_managed_private_connections",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.browser_advanced_features_enabled",
          "name": "browser_advanced_features_enabled",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.last_login_at",
          "name": "last_login_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.ui_language",
          "name": "ui_language",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.quota_alerts_enabled",
          "name": "quota_alerts_enabled",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.quota_alerts_global_watch",
          "name": "quota_alerts_global_watch",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:users.ui_preferences_json",
          "name": "ui_preferences_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "{}",
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:users:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:users:ix_users_id",
          "name": "ix_users_id",
          "unique": false,
          "fieldIds": [
            "field:users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:users:uq_users_email",
          "name": "uq_users_email",
          "unique": true,
          "fieldIds": [
            "field:users.email"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:users:ck_users_role",
          "expression": "role IN ('ui_superadmin', 'ui_admin', 'ui_user', 'ui_none')",
          "createdAt": 0
        }
      ],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 7,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:browser_favorites",
      "name": "browser_favorites",
      "schema": null,
      "x": 60,
      "y": 1724,
      "fields": [
        {
          "id": "field:browser_favorites.id",
          "name": "id",
          "type": {
            "id": "varchar(36)",
            "name": "varchar(36)"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "36",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.surface",
          "name": "surface",
          "type": {
            "id": "varchar(24)",
            "name": "varchar(24)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "24",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.name",
          "name": "name",
          "type": {
            "id": "varchar(120)",
            "name": "varchar(120)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "120",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.workspace",
          "name": "workspace",
          "type": {
            "id": "varchar(24)",
            "name": "varchar(24)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "24",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.context",
          "name": "context",
          "type": {
            "id": "varchar(256)",
            "name": "varchar(256)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "256",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.bucket",
          "name": "bucket",
          "type": {
            "id": "varchar(255)",
            "name": "varchar(255)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "255",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.prefix",
          "name": "prefix",
          "type": {
            "id": "varchar(1024)",
            "name": "varchar(1024)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "1024",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.revision",
          "name": "revision",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:browser_favorites.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:browser_favorites:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:browser_favorites.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:browser_favorites:ix_browser_favorites_user_surface",
          "name": "ix_browser_favorites_user_surface",
          "unique": false,
          "fieldIds": [
            "field:browser_favorites.user_id",
            "field:browser_favorites.surface"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 8,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:audit_logs",
      "name": "audit_logs",
      "schema": null,
      "x": 900,
      "y": 8146,
      "fields": [
        {
          "id": "field:audit_logs.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.user_email",
          "name": "user_email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.user_role",
          "name": "user_role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.scope",
          "name": "scope",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.action",
          "name": "action",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.entity_type",
          "name": "entity_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.entity_id",
          "name": "entity_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.context_kind",
          "name": "context_kind",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.context_id",
          "name": "context_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.context_name",
          "name": "context_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.message",
          "name": "message",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.metadata_json",
          "name": "metadata_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.request_id",
          "name": "request_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.ip_address",
          "name": "ip_address",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:audit_logs.user_agent",
          "name": "user_agent",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:audit_logs:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:audit_logs.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:audit_logs:ix_audit_logs_context_kind_id_id",
          "name": "ix_audit_logs_context_kind_id_id",
          "unique": false,
          "fieldIds": [
            "field:audit_logs.context_kind",
            "field:audit_logs.context_id",
            "field:audit_logs.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:audit_logs:ix_audit_logs_created_at",
          "name": "ix_audit_logs_created_at",
          "unique": false,
          "fieldIds": [
            "field:audit_logs.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:audit_logs:ix_audit_logs_id",
          "name": "ix_audit_logs_id",
          "unique": false,
          "fieldIds": [
            "field:audit_logs.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:audit_logs:ix_audit_logs_request_id",
          "name": "ix_audit_logs_request_id",
          "unique": false,
          "fieldIds": [
            "field:audit_logs.request_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:audit_logs:ix_audit_logs_scope_id",
          "name": "ix_audit_logs_scope_id",
          "unique": false,
          "fieldIds": [
            "field:audit_logs.scope",
            "field:audit_logs.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:audit_logs:ix_audit_logs_user_id_id",
          "name": "ix_audit_logs_user_id_id",
          "unique": false,
          "fieldIds": [
            "field:audit_logs.user_id",
            "field:audit_logs.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:audit_logs:ix_audit_logs_user_role_id",
          "name": "ix_audit_logs_user_role_id",
          "unique": false,
          "fieldIds": [
            "field:audit_logs.user_role",
            "field:audit_logs.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [
        {
          "id": "check:audit_logs:ck_audit_logs_status",
          "expression": "status IN ('success', 'failure', 'partial')",
          "createdAt": 0
        }
      ],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 9,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:s3_sessions",
      "name": "s3_sessions",
      "schema": null,
      "x": 900,
      "y": 2190,
      "fields": [
        {
          "id": "field:s3_sessions.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.access_key_enc",
          "name": "access_key_enc",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.secret_key_enc",
          "name": "secret_key_enc",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.access_key_hash",
          "name": "access_key_hash",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.actor_type",
          "name": "actor_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.role",
          "name": "role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.account_id",
          "name": "account_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.account_name",
          "name": "account_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.user_uid",
          "name": "user_uid",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.capabilities",
          "name": "capabilities",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.last_used_at",
          "name": "last_used_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.idle_expires_at",
          "name": "idle_expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.absolute_expires_at",
          "name": "absolute_expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.revoked_at",
          "name": "revoked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_sessions.revoke_reason",
          "name": "revoke_reason",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:s3_sessions:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:s3_sessions.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:s3_sessions:ix_s3_sessions_access_key_hash",
          "name": "ix_s3_sessions_access_key_hash",
          "unique": false,
          "fieldIds": [
            "field:s3_sessions.access_key_hash"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_sessions:ix_s3_sessions_id",
          "name": "ix_s3_sessions_id",
          "unique": false,
          "fieldIds": [
            "field:s3_sessions.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_sessions:ix_s3_sessions_revoked_at",
          "name": "ix_s3_sessions_revoked_at",
          "unique": false,
          "fieldIds": [
            "field:s3_sessions.revoked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 10,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:auth_sessions",
      "name": "auth_sessions",
      "schema": null,
      "x": 1320,
      "y": 132,
      "fields": [
        {
          "id": "field:auth_sessions.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.s3_session_id",
          "name": "s3_session_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.principal_type",
          "name": "principal_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.auth_type",
          "name": "auth_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.auth_version",
          "name": "auth_version",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.last_activity_at",
          "name": "last_activity_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.idle_expires_at",
          "name": "idle_expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.absolute_expires_at",
          "name": "absolute_expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.mfa_verified_at",
          "name": "mfa_verified_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.ip_address",
          "name": "ip_address",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.user_agent",
          "name": "user_agent",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.csrf_token_hash",
          "name": "csrf_token_hash",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.revoked_at",
          "name": "revoked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_sessions.revoke_reason",
          "name": "revoke_reason",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:auth_sessions:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:auth_sessions.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:auth_sessions:ix_auth_sessions_absolute_expires_at",
          "name": "ix_auth_sessions_absolute_expires_at",
          "unique": false,
          "fieldIds": [
            "field:auth_sessions.absolute_expires_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:auth_sessions:ix_auth_sessions_idle_expires_at",
          "name": "ix_auth_sessions_idle_expires_at",
          "unique": false,
          "fieldIds": [
            "field:auth_sessions.idle_expires_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:auth_sessions:ix_auth_sessions_last_activity_at",
          "name": "ix_auth_sessions_last_activity_at",
          "unique": false,
          "fieldIds": [
            "field:auth_sessions.last_activity_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:auth_sessions:ix_auth_sessions_revoked_at",
          "name": "ix_auth_sessions_revoked_at",
          "unique": false,
          "fieldIds": [
            "field:auth_sessions.revoked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:auth_sessions:ix_auth_sessions_s3_session_id",
          "name": "ix_auth_sessions_s3_session_id",
          "unique": false,
          "fieldIds": [
            "field:auth_sessions.s3_session_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:auth_sessions:ix_auth_sessions_user_id",
          "name": "ix_auth_sessions_user_id",
          "unique": false,
          "fieldIds": [
            "field:auth_sessions.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 11,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:refresh_tokens",
      "name": "refresh_tokens",
      "schema": null,
      "x": 480,
      "y": 132,
      "fields": [
        {
          "id": "field:refresh_tokens.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.family_id",
          "name": "family_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.auth_session_id",
          "name": "auth_session_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.parent_id",
          "name": "parent_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.token_hash",
          "name": "token_hash",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.used_at",
          "name": "used_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.replaced_by_id",
          "name": "replaced_by_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.revoked_at",
          "name": "revoked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:refresh_tokens.revoke_reason",
          "name": "revoke_reason",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:refresh_tokens:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:refresh_tokens.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:refresh_tokens:ix_refresh_tokens_auth_session_id",
          "name": "ix_refresh_tokens_auth_session_id",
          "unique": false,
          "fieldIds": [
            "field:refresh_tokens.auth_session_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:refresh_tokens:ix_refresh_tokens_expires_at",
          "name": "ix_refresh_tokens_expires_at",
          "unique": false,
          "fieldIds": [
            "field:refresh_tokens.expires_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:refresh_tokens:ix_refresh_tokens_family_id",
          "name": "ix_refresh_tokens_family_id",
          "unique": false,
          "fieldIds": [
            "field:refresh_tokens.family_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:refresh_tokens:ix_refresh_tokens_revoked_at",
          "name": "ix_refresh_tokens_revoked_at",
          "unique": false,
          "fieldIds": [
            "field:refresh_tokens.revoked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:refresh_tokens:ix_refresh_tokens_token_hash",
          "name": "ix_refresh_tokens_token_hash",
          "unique": true,
          "fieldIds": [
            "field:refresh_tokens.token_hash"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 12,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:external_identities",
      "name": "external_identities",
      "schema": null,
      "x": 480,
      "y": 1724,
      "fields": [
        {
          "id": "field:external_identities.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.provider_type",
          "name": "provider_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.provider_id",
          "name": "provider_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.subject",
          "name": "subject",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.email",
          "name": "email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.email_verified",
          "name": "email_verified",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.last_login_at",
          "name": "last_login_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.revoked_at",
          "name": "revoked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identities.link_source",
          "name": "link_source",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "jit",
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:external_identities:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:external_identities.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:external_identities:ix_external_identities_email",
          "name": "ix_external_identities_email",
          "unique": false,
          "fieldIds": [
            "field:external_identities.email"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:external_identities:ix_external_identities_revoked_at",
          "name": "ix_external_identities_revoked_at",
          "unique": false,
          "fieldIds": [
            "field:external_identities.revoked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:external_identities:ix_external_identities_user_id",
          "name": "ix_external_identities_user_id",
          "unique": false,
          "fieldIds": [
            "field:external_identities.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:external_identities:uq_external_identity_subject",
          "name": "uq_external_identity_subject",
          "unique": true,
          "fieldIds": [
            "field:external_identities.provider_type",
            "field:external_identities.provider_id",
            "field:external_identities.subject"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 13,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:external_identity_link_requests",
      "name": "external_identity_link_requests",
      "schema": null,
      "x": 60,
      "y": 1138,
      "fields": [
        {
          "id": "field:external_identity_link_requests.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.provider_type",
          "name": "provider_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.provider_id",
          "name": "provider_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.subject",
          "name": "subject",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.email",
          "name": "email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.display_name",
          "name": "display_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.picture_url",
          "name": "picture_url",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "pending",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.decided_at",
          "name": "decided_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.decided_by_user_id",
          "name": "decided_by_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.decision_reason",
          "name": "decision_reason",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:external_identity_link_requests.decision_source",
          "name": "decision_source",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:external_identity_link_requests:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:external_identity_link_requests.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:external_identity_link_requests:ix_external_identity_link_requests_status",
          "name": "ix_external_identity_link_requests_status",
          "unique": false,
          "fieldIds": [
            "field:external_identity_link_requests.status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:external_identity_link_requests:ix_external_identity_link_requests_user_id",
          "name": "ix_external_identity_link_requests_user_id",
          "unique": false,
          "fieldIds": [
            "field:external_identity_link_requests.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:external_identity_link_requests:uq_external_link_request_subject",
          "name": "uq_external_link_request_subject",
          "unique": true,
          "fieldIds": [
            "field:external_identity_link_requests.provider_type",
            "field:external_identity_link_requests.provider_id",
            "field:external_identity_link_requests.subject"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 14,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:webauthn_credentials",
      "name": "webauthn_credentials",
      "schema": null,
      "x": 1320,
      "y": 2190,
      "fields": [
        {
          "id": "field:webauthn_credentials.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.credential_id",
          "name": "credential_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.public_key",
          "name": "public_key",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.sign_count",
          "name": "sign_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.transports_json",
          "name": "transports_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "[]",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.name",
          "name": "name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.last_used_at",
          "name": "last_used_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webauthn_credentials.revoked_at",
          "name": "revoked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:webauthn_credentials:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:webauthn_credentials.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:webauthn_credentials:ix_webauthn_credentials_credential_id",
          "name": "ix_webauthn_credentials_credential_id",
          "unique": true,
          "fieldIds": [
            "field:webauthn_credentials.credential_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webauthn_credentials:ix_webauthn_credentials_revoked_at",
          "name": "ix_webauthn_credentials_revoked_at",
          "unique": false,
          "fieldIds": [
            "field:webauthn_credentials.revoked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webauthn_credentials:ix_webauthn_credentials_user_id",
          "name": "ix_webauthn_credentials_user_id",
          "unique": false,
          "fieldIds": [
            "field:webauthn_credentials.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 15,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:auth_challenges",
      "name": "auth_challenges",
      "schema": null,
      "x": 1320,
      "y": 1138,
      "fields": [
        {
          "id": "field:auth_challenges.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_challenges.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_challenges.binding_sid",
          "name": "binding_sid",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_challenges.purpose",
          "name": "purpose",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_challenges.challenge_hash",
          "name": "challenge_hash",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_challenges.payload_json",
          "name": "payload_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "{}",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_challenges.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_challenges.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_challenges.consumed_at",
          "name": "consumed_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:auth_challenges:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:auth_challenges.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:auth_challenges:ix_auth_challenges_binding_sid",
          "name": "ix_auth_challenges_binding_sid",
          "unique": false,
          "fieldIds": [
            "field:auth_challenges.binding_sid"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:auth_challenges:ix_auth_challenges_expires_at",
          "name": "ix_auth_challenges_expires_at",
          "unique": false,
          "fieldIds": [
            "field:auth_challenges.expires_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:auth_challenges:ix_auth_challenges_purpose",
          "name": "ix_auth_challenges_purpose",
          "unique": false,
          "fieldIds": [
            "field:auth_challenges.purpose"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:auth_challenges:ix_auth_challenges_user_id",
          "name": "ix_auth_challenges_user_id",
          "unique": false,
          "fieldIds": [
            "field:auth_challenges.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:auth_challenges:uq_auth_challenges_challenge_hash",
          "name": "uq_auth_challenges_challenge_hash",
          "unique": true,
          "fieldIds": [
            "field:auth_challenges.challenge_hash"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 16,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:recovery_codes",
      "name": "recovery_codes",
      "schema": null,
      "x": 480,
      "y": 2190,
      "fields": [
        {
          "id": "field:recovery_codes.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:recovery_codes.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:recovery_codes.code_hash",
          "name": "code_hash",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:recovery_codes.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:recovery_codes.consumed_at",
          "name": "consumed_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:recovery_codes:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:recovery_codes.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:recovery_codes:ix_recovery_codes_consumed_at",
          "name": "ix_recovery_codes_consumed_at",
          "unique": false,
          "fieldIds": [
            "field:recovery_codes.consumed_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:recovery_codes:ix_recovery_codes_user_id",
          "name": "ix_recovery_codes_user_id",
          "unique": false,
          "fieldIds": [
            "field:recovery_codes.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:recovery_codes:uq_recovery_codes_code_hash",
          "name": "uq_recovery_codes_code_hash",
          "unique": true,
          "fieldIds": [
            "field:recovery_codes.code_hash"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 17,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:auth_rate_limits",
      "name": "auth_rate_limits",
      "schema": null,
      "x": 60,
      "y": 2806,
      "fields": [
        {
          "id": "field:auth_rate_limits.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_rate_limits.bucket_key",
          "name": "bucket_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_rate_limits.window_started_at",
          "name": "window_started_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_rate_limits.attempts",
          "name": "attempts",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:auth_rate_limits.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:auth_rate_limits:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:auth_rate_limits.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:auth_rate_limits:ix_auth_rate_limits_bucket_key",
          "name": "ix_auth_rate_limits_bucket_key",
          "unique": false,
          "fieldIds": [
            "field:auth_rate_limits.bucket_key"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:auth_rate_limits:uq_auth_rate_limit_window",
          "name": "uq_auth_rate_limit_window",
          "unique": true,
          "fieldIds": [
            "field:auth_rate_limits.bucket_key",
            "field:auth_rate_limits.window_started_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 18,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:api_tokens",
      "name": "api_tokens",
      "schema": null,
      "x": 900,
      "y": 1138,
      "fields": [
        {
          "id": "field:api_tokens.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.jti",
          "name": "jti",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.token_hash",
          "name": "token_hash",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.name",
          "name": "name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.scopes_json",
          "name": "scopes_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "[]",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.auth_version",
          "name": "auth_version",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.last_used_at",
          "name": "last_used_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:api_tokens.revoked_at",
          "name": "revoked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:api_tokens:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:api_tokens.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:api_tokens:ix_api_tokens_created_at",
          "name": "ix_api_tokens_created_at",
          "unique": false,
          "fieldIds": [
            "field:api_tokens.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:api_tokens:ix_api_tokens_id",
          "name": "ix_api_tokens_id",
          "unique": false,
          "fieldIds": [
            "field:api_tokens.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:api_tokens:ix_api_tokens_jti",
          "name": "ix_api_tokens_jti",
          "unique": true,
          "fieldIds": [
            "field:api_tokens.jti"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:api_tokens:ix_api_tokens_token_hash",
          "name": "ix_api_tokens_token_hash",
          "unique": true,
          "fieldIds": [
            "field:api_tokens.token_hash"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:api_tokens:ix_api_tokens_user_id",
          "name": "ix_api_tokens_user_id",
          "unique": false,
          "fieldIds": [
            "field:api_tokens.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 19,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:s3_users",
      "name": "s3_users",
      "schema": null,
      "x": 2940,
      "y": 132,
      "fields": [
        {
          "id": "field:s3_users.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.name",
          "name": "name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.rgw_user_uid",
          "name": "rgw_user_uid",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.rgw_tenant",
          "name": "rgw_tenant",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.email",
          "name": "email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.rgw_access_key",
          "name": "rgw_access_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.rgw_secret_key",
          "name": "rgw_secret_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_bucket_quota_management",
          "name": "allow_bucket_quota_management",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_access_key_management",
          "name": "allow_access_key_management",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_access_key_metadata",
          "name": "allow_access_key_metadata",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_access_key_expiration",
          "name": "allow_access_key_expiration",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_activity_history",
          "name": "allow_activity_history",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_rgw_usage_metrics",
          "name": "allow_rgw_usage_metrics",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_cost_estimation",
          "name": "allow_cost_estimation",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_bucket_usage_stats",
          "name": "allow_bucket_usage_stats",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_bucket_usage_stats_collection",
          "name": "allow_bucket_usage_stats_collection",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_users.allow_managed_private_connection_provisioning",
          "name": "allow_managed_private_connection_provisioning",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:s3_users:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:s3_users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:s3_users:ix_s3_users_id",
          "name": "ix_s3_users_id",
          "unique": false,
          "fieldIds": [
            "field:s3_users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_users:ix_s3_users_storage_endpoint",
          "name": "ix_s3_users_storage_endpoint",
          "unique": false,
          "fieldIds": [
            "field:s3_users.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:s3_users:uq_s3_users_endpoint_tenant_uid",
          "name": "uq_s3_users_endpoint_tenant_uid",
          "unique": true,
          "fieldIds": [
            "field:s3_users.storage_endpoint_id",
            "field:s3_users.rgw_tenant",
            "field:s3_users.rgw_user_uid"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:s3_users:ck_s3_users_rgw_user_uid_canonical",
          "expression": "rgw_user_uid = TRIM(rgw_user_uid) AND LENGTH(rgw_user_uid) > 0",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 20,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:user_s3_users",
      "name": "user_s3_users",
      "schema": null,
      "x": 2100,
      "y": 2040,
      "fields": [
        {
          "id": "field:user_s3_users.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_users.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_users.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_users.allow_manager_browser_data_access",
          "name": "allow_manager_browser_data_access",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:user_s3_users:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:user_s3_users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:user_s3_users:ix_user_s3_users_id",
          "name": "ix_user_s3_users_id",
          "unique": false,
          "fieldIds": [
            "field:user_s3_users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_s3_users:ix_user_s3_users_s3_user_user",
          "name": "ix_user_s3_users_s3_user_user",
          "unique": false,
          "fieldIds": [
            "field:user_s3_users.s3_user_id",
            "field:user_s3_users.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:user_s3_users:uq_user_s3_user",
          "name": "uq_user_s3_user",
          "unique": true,
          "fieldIds": [
            "field:user_s3_users.user_id",
            "field:user_s3_users.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 21,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:s3_connections",
      "name": "s3_connections",
      "schema": null,
      "x": 3360,
      "y": 132,
      "fields": [
        {
          "id": "field:s3_connections.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.created_by_user_id",
          "name": "created_by_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.name",
          "name": "name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.is_shared",
          "name": "is_shared",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.is_active",
          "name": "is_active",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.access_manager",
          "name": "access_manager",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.access_browser",
          "name": "access_browser",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.allow_activity_history",
          "name": "allow_activity_history",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.remediation_required",
          "name": "remediation_required",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.remediation_reason",
          "name": "remediation_reason",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.server_managed",
          "name": "server_managed",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.rgw_user_uid",
          "name": "rgw_user_uid",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.rgw_tenant",
          "name": "rgw_tenant",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.rgw_account_id",
          "name": "rgw_account_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.custom_endpoint_config",
          "name": "custom_endpoint_config",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.access_key_id",
          "name": "access_key_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.secret_access_key",
          "name": "secret_access_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.session_token",
          "name": "session_token",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.capabilities_json",
          "name": "capabilities_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "{\"can_manage_iam\":false}",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connections.last_used_at",
          "name": "last_used_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:s3_connections:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:s3_connections.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:s3_connections:ix_s3_connections_created_by_user_id",
          "name": "ix_s3_connections_created_by_user_id",
          "unique": false,
          "fieldIds": [
            "field:s3_connections.created_by_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_connections:ix_s3_connections_id",
          "name": "ix_s3_connections_id",
          "unique": false,
          "fieldIds": [
            "field:s3_connections.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_connections:ix_s3_connections_storage_endpoint_id",
          "name": "ix_s3_connections_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:s3_connections.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_connections:uq_s3_connections_private_creator_name",
          "name": "uq_s3_connections_private_creator_name",
          "unique": true,
          "fieldIds": [
            "field:s3_connections.created_by_user_id",
            "field:s3_connections.name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_connections:uq_s3_connections_shared_name",
          "name": "uq_s3_connections_shared_name",
          "unique": true,
          "fieldIds": [
            "field:s3_connections.name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 22,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:user_s3_connections",
      "name": "user_s3_connections",
      "schema": null,
      "x": 3360,
      "y": 1664,
      "fields": [
        {
          "id": "field:user_s3_connections.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_connections.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_connections.s3_connection_id",
          "name": "s3_connection_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_connections.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_s3_connections.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:user_s3_connections:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:user_s3_connections.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:user_s3_connections:ix_user_s3_connections_connection_user",
          "name": "ix_user_s3_connections_connection_user",
          "unique": false,
          "fieldIds": [
            "field:user_s3_connections.s3_connection_id",
            "field:user_s3_connections.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_s3_connections:ix_user_s3_connections_id",
          "name": "ix_user_s3_connections_id",
          "unique": false,
          "fieldIds": [
            "field:user_s3_connections.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:user_s3_connections:uq_user_s3_connection",
          "name": "uq_user_s3_connection",
          "unique": true,
          "fieldIds": [
            "field:user_s3_connections.user_id",
            "field:user_s3_connections.s3_connection_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 23,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:managed_private_accesses",
      "name": "managed_private_accesses",
      "schema": null,
      "x": 2520,
      "y": 988,
      "fields": [
        {
          "id": "field:managed_private_accesses.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.owner_user_id",
          "name": "owner_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.source_context_type",
          "name": "source_context_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.source_context_id",
          "name": "source_context_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.remote_principal_type",
          "name": "remote_principal_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.remote_principal_identifier",
          "name": "remote_principal_identifier",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.iam_username",
          "name": "iam_username",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.access_key_id",
          "name": "access_key_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.s3_connection_id",
          "name": "s3_connection_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.state",
          "name": "state",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "provisioning",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.cleanup_error",
          "name": "cleanup_error",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.iam_groups_json",
          "name": "iam_groups_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "[]",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.iam_managed_policies_json",
          "name": "iam_managed_policies_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "[]",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.iam_inline_policy_names_json",
          "name": "iam_inline_policy_names_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "[]",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.created_remote_principal",
          "name": "created_remote_principal",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.created_access_key",
          "name": "created_access_key",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:managed_private_accesses.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:managed_private_accesses:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:managed_private_accesses.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:managed_private_accesses:ix_managed_private_accesses_id",
          "name": "ix_managed_private_accesses_id",
          "unique": false,
          "fieldIds": [
            "field:managed_private_accesses.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:managed_private_accesses:ix_managed_private_accesses_owner_user_id",
          "name": "ix_managed_private_accesses_owner_user_id",
          "unique": false,
          "fieldIds": [
            "field:managed_private_accesses.owner_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:managed_private_accesses:ix_managed_private_accesses_s3_connection_id",
          "name": "ix_managed_private_accesses_s3_connection_id",
          "unique": false,
          "fieldIds": [
            "field:managed_private_accesses.s3_connection_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:managed_private_accesses:uq_managed_private_access_active_source",
          "name": "uq_managed_private_access_active_source",
          "unique": true,
          "fieldIds": [
            "field:managed_private_accesses.owner_user_id",
            "field:managed_private_accesses.source_context_type",
            "field:managed_private_accesses.source_context_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:managed_private_accesses:uq_managed_private_access_connection",
          "name": "uq_managed_private_access_connection",
          "unique": true,
          "fieldIds": [
            "field:managed_private_accesses.s3_connection_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:managed_private_accesses:ck_managed_private_access_principal_type",
          "expression": "remote_principal_type IN ('iam_user', 'rgw_user')",
          "createdAt": 0
        },
        {
          "id": "check:managed_private_accesses:ck_managed_private_access_source_type",
          "expression": "source_context_type IN ('account', 'connection', 's3_user')",
          "createdAt": 0
        },
        {
          "id": "check:managed_private_accesses:ck_managed_private_access_state",
          "expression": "state IN ('provisioning', 'active', 'deleting', 'cleanup_pending', 'failed')",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 24,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:ui_groups",
      "name": "ui_groups",
      "schema": null,
      "x": 900,
      "y": 132,
      "fields": [
        {
          "id": "field:ui_groups.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.name",
          "name": "name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.description",
          "name": "description",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.avatar_source",
          "name": "avatar_source",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "initials",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.avatar_icon",
          "name": "avatar_icon",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.avatar_image",
          "name": "avatar_image",
          "type": {
            "id": "blob",
            "name": "blob"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.avatar_content_type",
          "name": "avatar_content_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.avatar_updated_at",
          "name": "avatar_updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_access_ceph_admin",
          "name": "can_access_ceph_admin",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_access_storage_ops",
          "name": "can_access_storage_ops",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_access_manager_bucket_compare",
          "name": "can_access_manager_bucket_compare",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_access_manager_bucket_integrity_check",
          "name": "can_access_manager_bucket_integrity_check",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_access_manager_bucket_migration",
          "name": "can_access_manager_bucket_migration",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_access_manager_feature_rules",
          "name": "can_access_manager_feature_rules",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_access_manager_bucket_purge",
          "name": "can_access_manager_bucket_purge",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_create_manual_private_connections",
          "name": "can_create_manual_private_connections",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.can_provision_managed_private_connections",
          "name": "can_provision_managed_private_connections",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.browser_advanced_features_enabled",
          "name": "browser_advanced_features_enabled",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_groups.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:ui_groups:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:ui_groups.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:ui_groups:ix_ui_groups_id",
          "name": "ix_ui_groups_id",
          "unique": false,
          "fieldIds": [
            "field:ui_groups.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:ui_groups:ix_ui_groups_name",
          "name": "ix_ui_groups_name",
          "unique": false,
          "fieldIds": [
            "field:ui_groups.name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:ui_groups:uq_ui_groups_name",
          "name": "uq_ui_groups_name",
          "unique": true,
          "fieldIds": [
            "field:ui_groups.name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 25,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:user_ui_groups",
      "name": "user_ui_groups",
      "schema": null,
      "x": 480,
      "y": 1138,
      "fields": [
        {
          "id": "field:user_ui_groups.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_ui_groups.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_ui_groups.group_id",
          "name": "group_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_ui_groups.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:user_ui_groups:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:user_ui_groups.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:user_ui_groups:ix_user_ui_groups_group_user",
          "name": "ix_user_ui_groups_group_user",
          "unique": false,
          "fieldIds": [
            "field:user_ui_groups.group_id",
            "field:user_ui_groups.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_ui_groups:ix_user_ui_groups_id",
          "name": "ix_user_ui_groups_id",
          "unique": false,
          "fieldIds": [
            "field:user_ui_groups.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:user_ui_groups:uq_user_ui_group",
          "name": "uq_user_ui_group",
          "unique": true,
          "fieldIds": [
            "field:user_ui_groups.user_id",
            "field:user_ui_groups.group_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 26,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:ui_group_s3_accounts",
      "name": "ui_group_s3_accounts",
      "schema": null,
      "x": 3360,
      "y": 988,
      "fields": [
        {
          "id": "field:ui_group_s3_accounts.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_accounts.group_id",
          "name": "group_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_accounts.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_accounts.manager_role",
          "name": "manager_role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_accounts.portal_role",
          "name": "portal_role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_accounts.allow_manager_browser_data_access",
          "name": "allow_manager_browser_data_access",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_accounts.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_accounts.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:ui_group_s3_accounts:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:ui_group_s3_accounts.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:ui_group_s3_accounts:ix_ui_group_s3_accounts_account_group",
          "name": "ix_ui_group_s3_accounts_account_group",
          "unique": false,
          "fieldIds": [
            "field:ui_group_s3_accounts.account_id",
            "field:ui_group_s3_accounts.group_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:ui_group_s3_accounts:ix_ui_group_s3_accounts_id",
          "name": "ix_ui_group_s3_accounts_id",
          "unique": false,
          "fieldIds": [
            "field:ui_group_s3_accounts.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:ui_group_s3_accounts:uq_ui_group_s3_account",
          "name": "uq_ui_group_s3_account",
          "unique": true,
          "fieldIds": [
            "field:ui_group_s3_accounts.group_id",
            "field:ui_group_s3_accounts.account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:ui_group_s3_accounts:ck_ui_group_s3_accounts_has_role",
          "expression": "manager_role IS NOT NULL OR portal_role IS NOT NULL",
          "createdAt": 0
        },
        {
          "id": "check:ui_group_s3_accounts:ck_ui_group_s3_accounts_manager_browser_role",
          "expression": "allow_manager_browser_data_access IS FALSE OR manager_role = 'account_administrator'",
          "createdAt": 0
        },
        {
          "id": "check:ui_group_s3_accounts:ck_ui_group_s3_accounts_manager_role",
          "expression": "manager_role IS NULL OR manager_role = 'account_administrator'",
          "createdAt": 0
        },
        {
          "id": "check:ui_group_s3_accounts:ck_ui_group_s3_accounts_portal_role",
          "expression": "portal_role IS NULL OR portal_role IN ('portal_user', 'portal_manager')",
          "createdAt": 0
        }
      ],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 27,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:ui_group_s3_users",
      "name": "ui_group_s3_users",
      "schema": null,
      "x": 2520,
      "y": 1664,
      "fields": [
        {
          "id": "field:ui_group_s3_users.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_users.group_id",
          "name": "group_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_users.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_users.allow_manager_browser_data_access",
          "name": "allow_manager_browser_data_access",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:ui_group_s3_users:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:ui_group_s3_users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:ui_group_s3_users:ix_ui_group_s3_users_id",
          "name": "ix_ui_group_s3_users_id",
          "unique": false,
          "fieldIds": [
            "field:ui_group_s3_users.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:ui_group_s3_users:ix_ui_group_s3_users_s3_user_group",
          "name": "ix_ui_group_s3_users_s3_user_group",
          "unique": false,
          "fieldIds": [
            "field:ui_group_s3_users.s3_user_id",
            "field:ui_group_s3_users.group_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:ui_group_s3_users:uq_ui_group_s3_user",
          "name": "uq_ui_group_s3_user",
          "unique": true,
          "fieldIds": [
            "field:ui_group_s3_users.group_id",
            "field:ui_group_s3_users.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 28,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:ui_group_s3_connections",
      "name": "ui_group_s3_connections",
      "schema": null,
      "x": 2100,
      "y": 1664,
      "fields": [
        {
          "id": "field:ui_group_s3_connections.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_connections.group_id",
          "name": "group_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_connections.s3_connection_id",
          "name": "s3_connection_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_connections.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ui_group_s3_connections.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:ui_group_s3_connections:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:ui_group_s3_connections.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:ui_group_s3_connections:ix_ui_group_s3_connections_connection_group",
          "name": "ix_ui_group_s3_connections_connection_group",
          "unique": false,
          "fieldIds": [
            "field:ui_group_s3_connections.s3_connection_id",
            "field:ui_group_s3_connections.group_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:ui_group_s3_connections:ix_ui_group_s3_connections_id",
          "name": "ix_ui_group_s3_connections_id",
          "unique": false,
          "fieldIds": [
            "field:ui_group_s3_connections.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:ui_group_s3_connections:uq_ui_group_s3_connection",
          "name": "uq_ui_group_s3_connection",
          "unique": true,
          "fieldIds": [
            "field:ui_group_s3_connections.group_id",
            "field:ui_group_s3_connections.s3_connection_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#0F766E",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 29,
      "expanded": true,
      "parentAreaId": "area:storage-s3-execution"
    },
    {
      "id": "table:tag_definitions",
      "name": "tag_definitions",
      "schema": null,
      "x": 60,
      "y": 4620,
      "fields": [
        {
          "id": "field:tag_definitions.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:tag_definitions.domain_kind",
          "name": "domain_kind",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:tag_definitions.owner_user_id",
          "name": "owner_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:tag_definitions.label",
          "name": "label",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:tag_definitions.label_key",
          "name": "label_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:tag_definitions.color_key",
          "name": "color_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:tag_definitions.scope",
          "name": "scope",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "standard",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:tag_definitions.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:tag_definitions.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:tag_definitions:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:tag_definitions.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:tag_definitions:ix_tag_definitions_domain_owner",
          "name": "ix_tag_definitions_domain_owner",
          "unique": false,
          "fieldIds": [
            "field:tag_definitions.domain_kind",
            "field:tag_definitions.owner_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:tag_definitions:uq_tag_definitions_bucket_ui_ceph_admin_label",
          "name": "uq_tag_definitions_bucket_ui_ceph_admin_label",
          "unique": true,
          "fieldIds": [
            "field:tag_definitions.label_key"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:tag_definitions:uq_tag_definitions_domain_global_label",
          "name": "uq_tag_definitions_domain_global_label",
          "unique": true,
          "fieldIds": [
            "field:tag_definitions.domain_kind",
            "field:tag_definitions.label_key"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:tag_definitions:uq_tag_definitions_domain_owner_label",
          "name": "uq_tag_definitions_domain_owner_label",
          "unique": true,
          "fieldIds": [
            "field:tag_definitions.domain_kind",
            "field:tag_definitions.owner_user_id",
            "field:tag_definitions.label_key"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#7C3AED",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 30,
      "expanded": true,
      "parentAreaId": "area:tags-classification"
    },
    {
      "id": "table:bucket_ui_tag_assignments",
      "name": "bucket_ui_tag_assignments",
      "schema": null,
      "x": 480,
      "y": 4620,
      "fields": [
        {
          "id": "field:bucket_ui_tag_assignments.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_ui_tag_assignments.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_ui_tag_assignments.tenant_key",
          "name": "tenant_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_ui_tag_assignments.bucket_name",
          "name": "bucket_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_ui_tag_assignments.tag_definition_id",
          "name": "tag_definition_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_ui_tag_assignments.position",
          "name": "position",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_ui_tag_assignments.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_ui_tag_assignments.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:bucket_ui_tag_assignments:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:bucket_ui_tag_assignments.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:bucket_ui_tag_assignments:ix_bucket_ui_tag_assignments_bucket",
          "name": "ix_bucket_ui_tag_assignments_bucket",
          "unique": false,
          "fieldIds": [
            "field:bucket_ui_tag_assignments.storage_endpoint_id",
            "field:bucket_ui_tag_assignments.tenant_key",
            "field:bucket_ui_tag_assignments.bucket_name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_ui_tag_assignments:ix_bucket_ui_tag_assignments_definition_endpoint",
          "name": "ix_bucket_ui_tag_assignments_definition_endpoint",
          "unique": false,
          "fieldIds": [
            "field:bucket_ui_tag_assignments.tag_definition_id",
            "field:bucket_ui_tag_assignments.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:bucket_ui_tag_assignments:uq_bucket_ui_tag_assignment",
          "name": "uq_bucket_ui_tag_assignment",
          "unique": true,
          "fieldIds": [
            "field:bucket_ui_tag_assignments.storage_endpoint_id",
            "field:bucket_ui_tag_assignments.tenant_key",
            "field:bucket_ui_tag_assignments.bucket_name",
            "field:bucket_ui_tag_assignments.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#7C3AED",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 31,
      "expanded": true,
      "parentAreaId": "area:tags-classification"
    },
    {
      "id": "table:storage_endpoint_tags",
      "name": "storage_endpoint_tags",
      "schema": null,
      "x": 480,
      "y": 5342,
      "fields": [
        {
          "id": "field:storage_endpoint_tags.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoint_tags.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoint_tags.tag_definition_id",
          "name": "tag_definition_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoint_tags.position",
          "name": "position",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoint_tags.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:storage_endpoint_tags.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:storage_endpoint_tags:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:storage_endpoint_tags.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:storage_endpoint_tags:ix_storage_endpoint_tags_definition",
          "name": "ix_storage_endpoint_tags_definition",
          "unique": false,
          "fieldIds": [
            "field:storage_endpoint_tags.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:storage_endpoint_tags:ix_storage_endpoint_tags_endpoint_position",
          "name": "ix_storage_endpoint_tags_endpoint_position",
          "unique": false,
          "fieldIds": [
            "field:storage_endpoint_tags.storage_endpoint_id",
            "field:storage_endpoint_tags.position"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:storage_endpoint_tags:uq_storage_endpoint_tag",
          "name": "uq_storage_endpoint_tag",
          "unique": true,
          "fieldIds": [
            "field:storage_endpoint_tags.storage_endpoint_id",
            "field:storage_endpoint_tags.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#7C3AED",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 32,
      "expanded": true,
      "parentAreaId": "area:tags-classification"
    },
    {
      "id": "table:s3_account_tags",
      "name": "s3_account_tags",
      "schema": null,
      "x": 60,
      "y": 5026,
      "fields": [
        {
          "id": "field:s3_account_tags.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_account_tags.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_account_tags.tag_definition_id",
          "name": "tag_definition_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_account_tags.position",
          "name": "position",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_account_tags.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_account_tags.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:s3_account_tags:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:s3_account_tags.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:s3_account_tags:ix_s3_account_tags_account_position",
          "name": "ix_s3_account_tags_account_position",
          "unique": false,
          "fieldIds": [
            "field:s3_account_tags.account_id",
            "field:s3_account_tags.position"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_account_tags:ix_s3_account_tags_definition",
          "name": "ix_s3_account_tags_definition",
          "unique": false,
          "fieldIds": [
            "field:s3_account_tags.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:s3_account_tags:uq_s3_account_tag",
          "name": "uq_s3_account_tag",
          "unique": true,
          "fieldIds": [
            "field:s3_account_tags.account_id",
            "field:s3_account_tags.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#7C3AED",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 33,
      "expanded": true,
      "parentAreaId": "area:tags-classification"
    },
    {
      "id": "table:s3_user_tags",
      "name": "s3_user_tags",
      "schema": null,
      "x": 60,
      "y": 5342,
      "fields": [
        {
          "id": "field:s3_user_tags.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_user_tags.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_user_tags.tag_definition_id",
          "name": "tag_definition_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_user_tags.position",
          "name": "position",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_user_tags.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_user_tags.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:s3_user_tags:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:s3_user_tags.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:s3_user_tags:ix_s3_user_tags_definition",
          "name": "ix_s3_user_tags_definition",
          "unique": false,
          "fieldIds": [
            "field:s3_user_tags.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_user_tags:ix_s3_user_tags_user_position",
          "name": "ix_s3_user_tags_user_position",
          "unique": false,
          "fieldIds": [
            "field:s3_user_tags.s3_user_id",
            "field:s3_user_tags.position"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:s3_user_tags:uq_s3_user_tag",
          "name": "uq_s3_user_tag",
          "unique": true,
          "fieldIds": [
            "field:s3_user_tags.s3_user_id",
            "field:s3_user_tags.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#7C3AED",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 34,
      "expanded": true,
      "parentAreaId": "area:tags-classification"
    },
    {
      "id": "table:s3_connection_tags",
      "name": "s3_connection_tags",
      "schema": null,
      "x": 480,
      "y": 5026,
      "fields": [
        {
          "id": "field:s3_connection_tags.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connection_tags.s3_connection_id",
          "name": "s3_connection_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connection_tags.tag_definition_id",
          "name": "tag_definition_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connection_tags.position",
          "name": "position",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connection_tags.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:s3_connection_tags.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:s3_connection_tags:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:s3_connection_tags.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:s3_connection_tags:ix_s3_connection_tags_connection_position",
          "name": "ix_s3_connection_tags_connection_position",
          "unique": false,
          "fieldIds": [
            "field:s3_connection_tags.s3_connection_id",
            "field:s3_connection_tags.position"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:s3_connection_tags:ix_s3_connection_tags_definition",
          "name": "ix_s3_connection_tags_definition",
          "unique": false,
          "fieldIds": [
            "field:s3_connection_tags.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:s3_connection_tags:uq_s3_connection_tag",
          "name": "uq_s3_connection_tag",
          "unique": true,
          "fieldIds": [
            "field:s3_connection_tags.s3_connection_id",
            "field:s3_connection_tags.tag_definition_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#7C3AED",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 35,
      "expanded": true,
      "parentAreaId": "area:tags-classification"
    },
    {
      "id": "table:ldap_providers",
      "name": "ldap_providers",
      "schema": null,
      "x": 480,
      "y": 2806,
      "fields": [
        {
          "id": "field:ldap_providers.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.provider_id",
          "name": "provider_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.display_name",
          "name": "display_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.url",
          "name": "url",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.bind_dn",
          "name": "bind_dn",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.bind_password",
          "name": "bind_password",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.user_base_dn",
          "name": "user_base_dn",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.user_filter",
          "name": "user_filter",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.email_attribute",
          "name": "email_attribute",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.name_attribute",
          "name": "name_attribute",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.subject_attribute",
          "name": "subject_attribute",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.start_tls",
          "name": "start_tls",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.tls_verify",
          "name": "tls_verify",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.tls_ca_file",
          "name": "tls_ca_file",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.allow_legacy_tls",
          "name": "allow_legacy_tls",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.timeout_seconds",
          "name": "timeout_seconds",
          "type": {
            "id": "float",
            "name": "float"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.enabled",
          "name": "enabled",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.allow_insecure",
          "name": "allow_insecure",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:ldap_providers.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:ldap_providers:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:ldap_providers.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:ldap_providers:ix_ldap_providers_id",
          "name": "ix_ldap_providers_id",
          "unique": false,
          "fieldIds": [
            "field:ldap_providers.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:ldap_providers:uq_ldap_providers_provider_id",
          "name": "uq_ldap_providers_provider_id",
          "unique": true,
          "fieldIds": [
            "field:ldap_providers.provider_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 36,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:oidc_login_states",
      "name": "oidc_login_states",
      "schema": null,
      "x": 1320,
      "y": 2806,
      "fields": [
        {
          "id": "field:oidc_login_states.state",
          "name": "state",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_login_states.provider",
          "name": "provider",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_login_states.code_verifier",
          "name": "code_verifier",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_login_states.nonce",
          "name": "nonce",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_login_states.redirect_path",
          "name": "redirect_path",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_login_states.redirect_uri",
          "name": "redirect_uri",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_login_states.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:oidc_login_states:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:oidc_login_states.state"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:oidc_login_states:ix_oidc_login_states_created_at",
          "name": "ix_oidc_login_states_created_at",
          "unique": false,
          "fieldIds": [
            "field:oidc_login_states.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:oidc_login_states:ix_oidc_login_states_state",
          "name": "ix_oidc_login_states_state",
          "unique": false,
          "fieldIds": [
            "field:oidc_login_states.state"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 37,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:oidc_authorization_codes",
      "name": "oidc_authorization_codes",
      "schema": null,
      "x": 900,
      "y": 2806,
      "fields": [
        {
          "id": "field:oidc_authorization_codes.id",
          "name": "id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_authorization_codes.provider",
          "name": "provider",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_authorization_codes.code_hash",
          "name": "code_hash",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_authorization_codes.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_authorization_codes.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:oidc_authorization_codes:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:oidc_authorization_codes.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:oidc_authorization_codes:ix_oidc_authorization_codes_code_hash",
          "name": "ix_oidc_authorization_codes_code_hash",
          "unique": true,
          "fieldIds": [
            "field:oidc_authorization_codes.code_hash"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:oidc_authorization_codes:ix_oidc_authorization_codes_expires_at",
          "name": "ix_oidc_authorization_codes_expires_at",
          "unique": false,
          "fieldIds": [
            "field:oidc_authorization_codes.expires_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:oidc_authorization_codes:ix_oidc_authorization_codes_provider",
          "name": "ix_oidc_authorization_codes_provider",
          "unique": false,
          "fieldIds": [
            "field:oidc_authorization_codes.provider"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 38,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:oidc_providers",
      "name": "oidc_providers",
      "schema": null,
      "x": 60,
      "y": 3542,
      "fields": [
        {
          "id": "field:oidc_providers.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.provider_id",
          "name": "provider_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.display_name",
          "name": "display_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.discovery_url",
          "name": "discovery_url",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.client_id",
          "name": "client_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.client_secret",
          "name": "client_secret",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.redirect_uri",
          "name": "redirect_uri",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.scopes_json",
          "name": "scopes_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "[\"openid\",\"email\",\"profile\"]",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.prompt",
          "name": "prompt",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.enabled",
          "name": "enabled",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.icon_url",
          "name": "icon_url",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.use_pkce",
          "name": "use_pkce",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.use_nonce",
          "name": "use_nonce",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.linking_policy",
          "name": "linking_policy",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "manual",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.trusted_email_domains_json",
          "name": "trusted_email_domains_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "[]",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:oidc_providers.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:oidc_providers:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:oidc_providers.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:oidc_providers:ix_oidc_providers_id",
          "name": "ix_oidc_providers_id",
          "unique": false,
          "fieldIds": [
            "field:oidc_providers.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:oidc_providers:uq_oidc_providers_provider_id",
          "name": "uq_oidc_providers_provider_id",
          "unique": true,
          "fieldIds": [
            "field:oidc_providers.provider_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 39,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:cost_usage_daily",
      "name": "cost_usage_daily",
      "schema": null,
      "x": 2520,
      "y": 6840,
      "fields": [
        {
          "id": "field:cost_usage_daily.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.day",
          "name": "day",
          "type": {
            "id": "date",
            "name": "date"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.s3_account_id",
          "name": "s3_account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.bytes_in",
          "name": "bytes_in",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.bytes_out",
          "name": "bytes_out",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.ops_total",
          "name": "ops_total",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.ops_breakdown",
          "name": "ops_breakdown",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.source",
          "name": "source",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_usage_daily.collected_at",
          "name": "collected_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:cost_usage_daily:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:cost_usage_daily.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:ix_cost_usage_daily_day",
          "name": "ix_cost_usage_daily_day",
          "unique": false,
          "fieldIds": [
            "field:cost_usage_daily.day"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:ix_cost_usage_daily_endpoint_day_account",
          "name": "ix_cost_usage_daily_endpoint_day_account",
          "unique": false,
          "fieldIds": [
            "field:cost_usage_daily.storage_endpoint_id",
            "field:cost_usage_daily.day",
            "field:cost_usage_daily.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:ix_cost_usage_daily_endpoint_day_user",
          "name": "ix_cost_usage_daily_endpoint_day_user",
          "unique": false,
          "fieldIds": [
            "field:cost_usage_daily.storage_endpoint_id",
            "field:cost_usage_daily.day",
            "field:cost_usage_daily.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:ix_cost_usage_daily_id",
          "name": "ix_cost_usage_daily_id",
          "unique": false,
          "fieldIds": [
            "field:cost_usage_daily.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:ix_cost_usage_daily_s3_account_id",
          "name": "ix_cost_usage_daily_s3_account_id",
          "unique": false,
          "fieldIds": [
            "field:cost_usage_daily.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:ix_cost_usage_daily_s3_user_id",
          "name": "ix_cost_usage_daily_s3_user_id",
          "unique": false,
          "fieldIds": [
            "field:cost_usage_daily.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:ix_cost_usage_daily_storage_endpoint_id",
          "name": "ix_cost_usage_daily_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:cost_usage_daily.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:uq_cost_usage_daily_account",
          "name": "uq_cost_usage_daily_account",
          "unique": true,
          "fieldIds": [
            "field:cost_usage_daily.day",
            "field:cost_usage_daily.storage_endpoint_id",
            "field:cost_usage_daily.s3_account_id",
            "field:cost_usage_daily.source"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_usage_daily:uq_cost_usage_daily_user",
          "name": "uq_cost_usage_daily_user",
          "unique": true,
          "fieldIds": [
            "field:cost_usage_daily.day",
            "field:cost_usage_daily.storage_endpoint_id",
            "field:cost_usage_daily.s3_user_id",
            "field:cost_usage_daily.source"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:cost_usage_daily:uq_cost_usage_daily",
          "name": "uq_cost_usage_daily",
          "unique": true,
          "fieldIds": [
            "field:cost_usage_daily.day",
            "field:cost_usage_daily.storage_endpoint_id",
            "field:cost_usage_daily.s3_account_id",
            "field:cost_usage_daily.s3_user_id",
            "field:cost_usage_daily.source"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 40,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:cost_storage_daily",
      "name": "cost_storage_daily",
      "schema": null,
      "x": 2100,
      "y": 6840,
      "fields": [
        {
          "id": "field:cost_storage_daily.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.day",
          "name": "day",
          "type": {
            "id": "date",
            "name": "date"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.s3_account_id",
          "name": "s3_account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.total_bytes",
          "name": "total_bytes",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.total_objects",
          "name": "total_objects",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.by_bucket",
          "name": "by_bucket",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.source",
          "name": "source",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_storage_daily.collected_at",
          "name": "collected_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:cost_storage_daily:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:cost_storage_daily.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:ix_cost_storage_daily_day",
          "name": "ix_cost_storage_daily_day",
          "unique": false,
          "fieldIds": [
            "field:cost_storage_daily.day"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:ix_cost_storage_daily_endpoint_day_account",
          "name": "ix_cost_storage_daily_endpoint_day_account",
          "unique": false,
          "fieldIds": [
            "field:cost_storage_daily.storage_endpoint_id",
            "field:cost_storage_daily.day",
            "field:cost_storage_daily.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:ix_cost_storage_daily_endpoint_day_user",
          "name": "ix_cost_storage_daily_endpoint_day_user",
          "unique": false,
          "fieldIds": [
            "field:cost_storage_daily.storage_endpoint_id",
            "field:cost_storage_daily.day",
            "field:cost_storage_daily.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:ix_cost_storage_daily_id",
          "name": "ix_cost_storage_daily_id",
          "unique": false,
          "fieldIds": [
            "field:cost_storage_daily.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:ix_cost_storage_daily_s3_account_id",
          "name": "ix_cost_storage_daily_s3_account_id",
          "unique": false,
          "fieldIds": [
            "field:cost_storage_daily.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:ix_cost_storage_daily_s3_user_id",
          "name": "ix_cost_storage_daily_s3_user_id",
          "unique": false,
          "fieldIds": [
            "field:cost_storage_daily.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:ix_cost_storage_daily_storage_endpoint_id",
          "name": "ix_cost_storage_daily_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:cost_storage_daily.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:uq_cost_storage_daily_account",
          "name": "uq_cost_storage_daily_account",
          "unique": true,
          "fieldIds": [
            "field:cost_storage_daily.day",
            "field:cost_storage_daily.storage_endpoint_id",
            "field:cost_storage_daily.s3_account_id",
            "field:cost_storage_daily.source"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_storage_daily:uq_cost_storage_daily_user",
          "name": "uq_cost_storage_daily_user",
          "unique": true,
          "fieldIds": [
            "field:cost_storage_daily.day",
            "field:cost_storage_daily.storage_endpoint_id",
            "field:cost_storage_daily.s3_user_id",
            "field:cost_storage_daily.source"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:cost_storage_daily:uq_cost_storage_daily",
          "name": "uq_cost_storage_daily",
          "unique": true,
          "fieldIds": [
            "field:cost_storage_daily.day",
            "field:cost_storage_daily.storage_endpoint_id",
            "field:cost_storage_daily.s3_account_id",
            "field:cost_storage_daily.s3_user_id",
            "field:cost_storage_daily.source"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 41,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:cost_models",
      "name": "cost_models",
      "schema": null,
      "x": 2520,
      "y": 8418,
      "fields": [
        {
          "id": "field:cost_models.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_models.currency",
          "name": "currency",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "EUR",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_models.storage_gb_month_price",
          "name": "storage_gb_month_price",
          "type": {
            "id": "numeric(12, 6)",
            "name": "numeric(12, 6)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 12,
          "scale": 6,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_models.egress_gb_price",
          "name": "egress_gb_price",
          "type": {
            "id": "numeric(12, 6)",
            "name": "numeric(12, 6)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 12,
          "scale": 6,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_models.ingress_gb_price",
          "name": "ingress_gb_price",
          "type": {
            "id": "numeric(12, 6)",
            "name": "numeric(12, 6)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 12,
          "scale": 6,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_models.requests_per_1000_price",
          "name": "requests_per_1000_price",
          "type": {
            "id": "numeric(12, 6)",
            "name": "numeric(12, 6)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 12,
          "scale": 6,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_models.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_models.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:cost_models:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:cost_models.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        }
      ],
      "checkConstraints": [
        {
          "id": "check:cost_models:ck_cost_models_egress_price_nonnegative",
          "expression": "egress_gb_price >= 0",
          "createdAt": 0
        },
        {
          "id": "check:cost_models:ck_cost_models_ingress_price_nonnegative",
          "expression": "ingress_gb_price >= 0",
          "createdAt": 0
        },
        {
          "id": "check:cost_models:ck_cost_models_requests_price_nonnegative",
          "expression": "requests_per_1000_price >= 0",
          "createdAt": 0
        },
        {
          "id": "check:cost_models:ck_cost_models_singleton",
          "expression": "id = 1",
          "createdAt": 0
        },
        {
          "id": "check:cost_models:ck_cost_models_storage_price_nonnegative",
          "expression": "storage_gb_month_price >= 0",
          "createdAt": 0
        }
      ],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 42,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:cost_endpoint_overrides",
      "name": "cost_endpoint_overrides",
      "schema": null,
      "x": 2940,
      "y": 7306,
      "fields": [
        {
          "id": "field:cost_endpoint_overrides.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_endpoint_overrides.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_endpoint_overrides.storage_gb_month_price",
          "name": "storage_gb_month_price",
          "type": {
            "id": "numeric(12, 6)",
            "name": "numeric(12, 6)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 12,
          "scale": 6,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_endpoint_overrides.egress_gb_price",
          "name": "egress_gb_price",
          "type": {
            "id": "numeric(12, 6)",
            "name": "numeric(12, 6)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 12,
          "scale": 6,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_endpoint_overrides.ingress_gb_price",
          "name": "ingress_gb_price",
          "type": {
            "id": "numeric(12, 6)",
            "name": "numeric(12, 6)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 12,
          "scale": 6,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_endpoint_overrides.requests_per_1000_price",
          "name": "requests_per_1000_price",
          "type": {
            "id": "numeric(12, 6)",
            "name": "numeric(12, 6)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 12,
          "scale": 6,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_endpoint_overrides.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:cost_endpoint_overrides.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:cost_endpoint_overrides:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:cost_endpoint_overrides.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:cost_endpoint_overrides:ix_cost_endpoint_overrides_id",
          "name": "ix_cost_endpoint_overrides_id",
          "unique": false,
          "fieldIds": [
            "field:cost_endpoint_overrides.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:cost_endpoint_overrides:ix_cost_endpoint_overrides_storage_endpoint_id",
          "name": "ix_cost_endpoint_overrides_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:cost_endpoint_overrides.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:cost_endpoint_overrides:uq_cost_endpoint_overrides_endpoint",
          "name": "uq_cost_endpoint_overrides_endpoint",
          "unique": true,
          "fieldIds": [
            "field:cost_endpoint_overrides.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:cost_endpoint_overrides:ck_cost_endpoint_overrides_egress_price_nonnegative",
          "expression": "egress_gb_price >= 0",
          "createdAt": 0
        },
        {
          "id": "check:cost_endpoint_overrides:ck_cost_endpoint_overrides_ingress_price_nonnegative",
          "expression": "ingress_gb_price >= 0",
          "createdAt": 0
        },
        {
          "id": "check:cost_endpoint_overrides:ck_cost_endpoint_overrides_requests_price_nonnegative",
          "expression": "requests_per_1000_price >= 0",
          "createdAt": 0
        },
        {
          "id": "check:cost_endpoint_overrides:ck_cost_endpoint_overrides_storage_price_nonnegative",
          "expression": "storage_gb_month_price >= 0",
          "createdAt": 0
        }
      ],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 43,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:quota_usage_hourly",
      "name": "quota_usage_hourly",
      "schema": null,
      "x": 2520,
      "y": 7306,
      "fields": [
        {
          "id": "field:quota_usage_hourly.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.hour_ts",
          "name": "hour_ts",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.s3_account_id",
          "name": "s3_account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.used_bytes",
          "name": "used_bytes",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.used_objects",
          "name": "used_objects",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.bucket_count",
          "name": "bucket_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.quota_size_bytes",
          "name": "quota_size_bytes",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.quota_objects",
          "name": "quota_objects",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.usage_ratio_pct",
          "name": "usage_ratio_pct",
          "type": {
            "id": "numeric(8, 3)",
            "name": "numeric(8, 3)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 8,
          "scale": 3,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_hourly.collected_at",
          "name": "collected_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:quota_usage_hourly:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:quota_usage_hourly.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:ix_quota_usage_hourly_endpoint_hour_account",
          "name": "ix_quota_usage_hourly_endpoint_hour_account",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_hourly.storage_endpoint_id",
            "field:quota_usage_hourly.hour_ts",
            "field:quota_usage_hourly.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:ix_quota_usage_hourly_endpoint_hour_user",
          "name": "ix_quota_usage_hourly_endpoint_hour_user",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_hourly.storage_endpoint_id",
            "field:quota_usage_hourly.hour_ts",
            "field:quota_usage_hourly.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:ix_quota_usage_hourly_hour_ts",
          "name": "ix_quota_usage_hourly_hour_ts",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_hourly.hour_ts"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:ix_quota_usage_hourly_id",
          "name": "ix_quota_usage_hourly_id",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_hourly.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:ix_quota_usage_hourly_s3_account_id",
          "name": "ix_quota_usage_hourly_s3_account_id",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_hourly.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:ix_quota_usage_hourly_s3_user_id",
          "name": "ix_quota_usage_hourly_s3_user_id",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_hourly.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:ix_quota_usage_hourly_storage_endpoint_id",
          "name": "ix_quota_usage_hourly_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_hourly.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:uq_quota_usage_hourly_account",
          "name": "uq_quota_usage_hourly_account",
          "unique": true,
          "fieldIds": [
            "field:quota_usage_hourly.hour_ts",
            "field:quota_usage_hourly.storage_endpoint_id",
            "field:quota_usage_hourly.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_hourly:uq_quota_usage_hourly_user",
          "name": "uq_quota_usage_hourly_user",
          "unique": true,
          "fieldIds": [
            "field:quota_usage_hourly.hour_ts",
            "field:quota_usage_hourly.storage_endpoint_id",
            "field:quota_usage_hourly.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [
        {
          "id": "check:quota_usage_hourly:ck_quota_usage_hourly_subject_kind",
          "expression": "(s3_account_id IS NOT NULL AND s3_user_id IS NULL) OR (s3_account_id IS NULL AND s3_user_id IS NOT NULL)",
          "createdAt": 0
        }
      ],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 44,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:quota_usage_daily",
      "name": "quota_usage_daily",
      "schema": null,
      "x": 2100,
      "y": 7306,
      "fields": [
        {
          "id": "field:quota_usage_daily.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.day",
          "name": "day",
          "type": {
            "id": "date",
            "name": "date"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.s3_account_id",
          "name": "s3_account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.last_used_bytes",
          "name": "last_used_bytes",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.last_used_objects",
          "name": "last_used_objects",
          "type": {
            "id": "bigint",
            "name": "bigint"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.bucket_count",
          "name": "bucket_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.max_ratio_pct",
          "name": "max_ratio_pct",
          "type": {
            "id": "numeric(8, 3)",
            "name": "numeric(8, 3)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": 8,
          "scale": 3,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.samples_count",
          "name": "samples_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_usage_daily.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:quota_usage_daily:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:quota_usage_daily.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:ix_quota_usage_daily_day",
          "name": "ix_quota_usage_daily_day",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_daily.day"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:ix_quota_usage_daily_endpoint_day_account",
          "name": "ix_quota_usage_daily_endpoint_day_account",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_daily.storage_endpoint_id",
            "field:quota_usage_daily.day",
            "field:quota_usage_daily.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:ix_quota_usage_daily_endpoint_day_user",
          "name": "ix_quota_usage_daily_endpoint_day_user",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_daily.storage_endpoint_id",
            "field:quota_usage_daily.day",
            "field:quota_usage_daily.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:ix_quota_usage_daily_id",
          "name": "ix_quota_usage_daily_id",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_daily.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:ix_quota_usage_daily_s3_account_id",
          "name": "ix_quota_usage_daily_s3_account_id",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_daily.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:ix_quota_usage_daily_s3_user_id",
          "name": "ix_quota_usage_daily_s3_user_id",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_daily.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:ix_quota_usage_daily_storage_endpoint_id",
          "name": "ix_quota_usage_daily_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:quota_usage_daily.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:uq_quota_usage_daily_account",
          "name": "uq_quota_usage_daily_account",
          "unique": true,
          "fieldIds": [
            "field:quota_usage_daily.day",
            "field:quota_usage_daily.storage_endpoint_id",
            "field:quota_usage_daily.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_usage_daily:uq_quota_usage_daily_user",
          "name": "uq_quota_usage_daily_user",
          "unique": true,
          "fieldIds": [
            "field:quota_usage_daily.day",
            "field:quota_usage_daily.storage_endpoint_id",
            "field:quota_usage_daily.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [
        {
          "id": "check:quota_usage_daily:ck_quota_usage_daily_subject_kind",
          "expression": "(s3_account_id IS NOT NULL AND s3_user_id IS NULL) OR (s3_account_id IS NULL AND s3_user_id IS NOT NULL)",
          "createdAt": 0
        }
      ],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 45,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:quota_alert_states",
      "name": "quota_alert_states",
      "schema": null,
      "x": 2940,
      "y": 6840,
      "fields": [
        {
          "id": "field:quota_alert_states.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_alert_states.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_alert_states.s3_account_id",
          "name": "s3_account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_alert_states.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_alert_states.last_level",
          "name": "last_level",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "normal",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_alert_states.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:quota_alert_states.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:quota_alert_states:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:quota_alert_states.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:quota_alert_states:ix_quota_alert_states_endpoint_account",
          "name": "ix_quota_alert_states_endpoint_account",
          "unique": false,
          "fieldIds": [
            "field:quota_alert_states.storage_endpoint_id",
            "field:quota_alert_states.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_alert_states:ix_quota_alert_states_endpoint_user",
          "name": "ix_quota_alert_states_endpoint_user",
          "unique": false,
          "fieldIds": [
            "field:quota_alert_states.storage_endpoint_id",
            "field:quota_alert_states.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_alert_states:ix_quota_alert_states_id",
          "name": "ix_quota_alert_states_id",
          "unique": false,
          "fieldIds": [
            "field:quota_alert_states.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_alert_states:ix_quota_alert_states_s3_account_id",
          "name": "ix_quota_alert_states_s3_account_id",
          "unique": false,
          "fieldIds": [
            "field:quota_alert_states.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_alert_states:ix_quota_alert_states_s3_user_id",
          "name": "ix_quota_alert_states_s3_user_id",
          "unique": false,
          "fieldIds": [
            "field:quota_alert_states.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_alert_states:ix_quota_alert_states_storage_endpoint_id",
          "name": "ix_quota_alert_states_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:quota_alert_states.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_alert_states:uq_quota_alert_states_account",
          "name": "uq_quota_alert_states_account",
          "unique": true,
          "fieldIds": [
            "field:quota_alert_states.storage_endpoint_id",
            "field:quota_alert_states.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:quota_alert_states:uq_quota_alert_states_user",
          "name": "uq_quota_alert_states_user",
          "unique": true,
          "fieldIds": [
            "field:quota_alert_states.storage_endpoint_id",
            "field:quota_alert_states.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [
        {
          "id": "check:quota_alert_states:ck_quota_alert_states_subject_kind",
          "expression": "(s3_account_id IS NOT NULL AND s3_user_id IS NULL) OR (s3_account_id IS NULL AND s3_user_id IS NOT NULL)",
          "createdAt": 0
        }
      ],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 46,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:user_notifications",
      "name": "user_notifications",
      "schema": null,
      "x": 480,
      "y": 6840,
      "fields": [
        {
          "id": "field:user_notifications.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.notification_type",
          "name": "notification_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.severity",
          "name": "severity",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.title",
          "name": "title",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.message",
          "name": "message",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.subject_type",
          "name": "subject_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.s3_account_id",
          "name": "s3_account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.s3_user_id",
          "name": "s3_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.event_key",
          "name": "event_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.payload_json",
          "name": "payload_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "{}",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:user_notifications.read_at",
          "name": "read_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:user_notifications:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:user_notifications.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_created_at",
          "name": "ix_user_notifications_created_at",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_id",
          "name": "ix_user_notifications_id",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_notification_type",
          "name": "ix_user_notifications_notification_type",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.notification_type"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_s3_account_id",
          "name": "ix_user_notifications_s3_account_id",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.s3_account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_s3_user_id",
          "name": "ix_user_notifications_s3_user_id",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.s3_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_storage_endpoint_id",
          "name": "ix_user_notifications_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_subject_account",
          "name": "ix_user_notifications_subject_account",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.s3_account_id",
            "field:user_notifications.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_subject_s3_user",
          "name": "ix_user_notifications_subject_s3_user",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.s3_user_id",
            "field:user_notifications.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_user_created",
          "name": "ix_user_notifications_user_created",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.user_id",
            "field:user_notifications.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_user_id",
          "name": "ix_user_notifications_user_id",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:user_notifications:ix_user_notifications_user_read",
          "name": "ix_user_notifications_user_read",
          "unique": false,
          "fieldIds": [
            "field:user_notifications.user_id",
            "field:user_notifications.read_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:user_notifications:uq_user_notifications_user_event",
          "name": "uq_user_notifications_user_event",
          "unique": true,
          "fieldIds": [
            "field:user_notifications.user_id",
            "field:user_notifications.event_key"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 47,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:endpoint_health_checks",
      "name": "endpoint_health_checks",
      "schema": null,
      "x": 2100,
      "y": 7802,
      "fields": [
        {
          "id": "field:endpoint_health_checks.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_checks.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_checks.checked_at",
          "name": "checked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_checks.http_status",
          "name": "http_status",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_checks.latency_ms",
          "name": "latency_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_checks.check_mode",
          "name": "check_mode",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "http",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_checks.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_checks.error_message",
          "name": "error_message",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:endpoint_health_checks:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:endpoint_health_checks.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:endpoint_health_checks:ix_endpoint_health_checks_checked_at",
          "name": "ix_endpoint_health_checks_checked_at",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_checks.checked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_checks:ix_endpoint_health_checks_endpoint_mode_checked",
          "name": "ix_endpoint_health_checks_endpoint_mode_checked",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_checks.storage_endpoint_id",
            "field:endpoint_health_checks.check_mode",
            "field:endpoint_health_checks.checked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_checks:ix_endpoint_health_checks_id",
          "name": "ix_endpoint_health_checks_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_checks.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_checks:ix_endpoint_health_checks_storage_endpoint_id",
          "name": "ix_endpoint_health_checks_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_checks.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 48,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:endpoint_health_latest",
      "name": "endpoint_health_latest",
      "schema": null,
      "x": 2520,
      "y": 7802,
      "fields": [
        {
          "id": "field:endpoint_health_latest.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.check_mode",
          "name": "check_mode",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "http",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.check_type",
          "name": "check_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "availability",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.scope",
          "name": "scope",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "endpoint",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.checked_at",
          "name": "checked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.latency_ms",
          "name": "latency_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.http_status",
          "name": "http_status",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.error_message",
          "name": "error_message",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.min_latency_ms",
          "name": "min_latency_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.avg_latency_ms",
          "name": "avg_latency_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.max_latency_ms",
          "name": "max_latency_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.latency_sample_count",
          "name": "latency_sample_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.availability_24h",
          "name": "availability_24h",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_latest.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:endpoint_health_latest:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:endpoint_health_latest.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:endpoint_health_latest:ix_endpoint_health_latest_checked_at",
          "name": "ix_endpoint_health_latest_checked_at",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_latest.checked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_latest:ix_endpoint_health_latest_endpoint_type_scope_checked",
          "name": "ix_endpoint_health_latest_endpoint_type_scope_checked",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_latest.storage_endpoint_id",
            "field:endpoint_health_latest.check_type",
            "field:endpoint_health_latest.scope",
            "field:endpoint_health_latest.checked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_latest:ix_endpoint_health_latest_id",
          "name": "ix_endpoint_health_latest_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_latest.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_latest:ix_endpoint_health_latest_storage_endpoint_id",
          "name": "ix_endpoint_health_latest_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_latest.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_latest:ix_endpoint_health_latest_updated_at",
          "name": "ix_endpoint_health_latest_updated_at",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_latest.updated_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:endpoint_health_latest:uq_endpoint_health_latest_scope",
          "name": "uq_endpoint_health_latest_scope",
          "unique": true,
          "fieldIds": [
            "field:endpoint_health_latest.storage_endpoint_id",
            "field:endpoint_health_latest.check_mode",
            "field:endpoint_health_latest.check_type",
            "field:endpoint_health_latest.scope"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 49,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:endpoint_health_status_segments",
      "name": "endpoint_health_status_segments",
      "schema": null,
      "x": 2100,
      "y": 8418,
      "fields": [
        {
          "id": "field:endpoint_health_status_segments.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.check_mode",
          "name": "check_mode",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "http",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.check_type",
          "name": "check_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "availability",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.scope",
          "name": "scope",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "endpoint",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.started_at",
          "name": "started_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.ended_at",
          "name": "ended_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.min_latency_ms",
          "name": "min_latency_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.avg_latency_ms",
          "name": "avg_latency_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.max_latency_ms",
          "name": "max_latency_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.latency_sample_count",
          "name": "latency_sample_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_status_segments.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:endpoint_health_status_segments:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:endpoint_health_status_segments.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:endpoint_health_status_segments:ix_endpoint_health_segments_endpoint_type_scope_ended",
          "name": "ix_endpoint_health_segments_endpoint_type_scope_ended",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_status_segments.storage_endpoint_id",
            "field:endpoint_health_status_segments.check_type",
            "field:endpoint_health_status_segments.scope",
            "field:endpoint_health_status_segments.ended_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_status_segments:ix_endpoint_health_segments_endpoint_type_scope_started",
          "name": "ix_endpoint_health_segments_endpoint_type_scope_started",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_status_segments.storage_endpoint_id",
            "field:endpoint_health_status_segments.check_type",
            "field:endpoint_health_status_segments.scope",
            "field:endpoint_health_status_segments.started_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_status_segments:ix_endpoint_health_status_segments_ended_at",
          "name": "ix_endpoint_health_status_segments_ended_at",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_status_segments.ended_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_status_segments:ix_endpoint_health_status_segments_id",
          "name": "ix_endpoint_health_status_segments_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_status_segments.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_status_segments:ix_endpoint_health_status_segments_started_at",
          "name": "ix_endpoint_health_status_segments_started_at",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_status_segments.started_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_status_segments:ix_endpoint_health_status_segments_status",
          "name": "ix_endpoint_health_status_segments_status",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_status_segments.status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_status_segments:ix_endpoint_health_status_segments_storage_endpoint_id",
          "name": "ix_endpoint_health_status_segments_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_status_segments.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_status_segments:ix_endpoint_health_status_segments_updated_at",
          "name": "ix_endpoint_health_status_segments_updated_at",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_status_segments.updated_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 50,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:endpoint_health_rollups",
      "name": "endpoint_health_rollups",
      "schema": null,
      "x": 2940,
      "y": 7802,
      "fields": [
        {
          "id": "field:endpoint_health_rollups.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.storage_endpoint_id",
          "name": "storage_endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.check_mode",
          "name": "check_mode",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "http",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.check_type",
          "name": "check_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "availability",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.scope",
          "name": "scope",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "endpoint",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.resolution_seconds",
          "name": "resolution_seconds",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "300",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.bucket_start",
          "name": "bucket_start",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.up_count",
          "name": "up_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.degraded_count",
          "name": "degraded_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.down_count",
          "name": "down_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.unknown_count",
          "name": "unknown_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.latency_avg_ms",
          "name": "latency_avg_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.latency_p95_ms",
          "name": "latency_p95_ms",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.latency_sample_count",
          "name": "latency_sample_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:endpoint_health_rollups.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:endpoint_health_rollups:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:endpoint_health_rollups.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:endpoint_health_rollups:ix_endpoint_health_rollups_bucket_start",
          "name": "ix_endpoint_health_rollups_bucket_start",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_rollups.bucket_start"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_rollups:ix_endpoint_health_rollups_endpoint_type_scope_res_bucket",
          "name": "ix_endpoint_health_rollups_endpoint_type_scope_res_bucket",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_rollups.storage_endpoint_id",
            "field:endpoint_health_rollups.check_type",
            "field:endpoint_health_rollups.scope",
            "field:endpoint_health_rollups.resolution_seconds",
            "field:endpoint_health_rollups.bucket_start"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_rollups:ix_endpoint_health_rollups_id",
          "name": "ix_endpoint_health_rollups_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_rollups.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_rollups:ix_endpoint_health_rollups_storage_endpoint_id",
          "name": "ix_endpoint_health_rollups_storage_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_rollups.storage_endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:endpoint_health_rollups:ix_endpoint_health_rollups_updated_at",
          "name": "ix_endpoint_health_rollups_updated_at",
          "unique": false,
          "fieldIds": [
            "field:endpoint_health_rollups.updated_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:endpoint_health_rollups:uq_endpoint_health_rollup_bucket",
          "name": "uq_endpoint_health_rollup_bucket",
          "unique": true,
          "fieldIds": [
            "field:endpoint_health_rollups.storage_endpoint_id",
            "field:endpoint_health_rollups.check_mode",
            "field:endpoint_health_rollups.check_type",
            "field:endpoint_health_rollups.scope",
            "field:endpoint_health_rollups.resolution_seconds",
            "field:endpoint_health_rollups.bucket_start"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#059669",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 51,
      "expanded": true,
      "parentAreaId": "area:observability-quota-cost"
    },
    {
      "id": "table:bucket_migrations",
      "name": "bucket_migrations",
      "schema": null,
      "x": 60,
      "y": 6840,
      "fields": [
        {
          "id": "field:bucket_migrations.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.created_by_user_id",
          "name": "created_by_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.source_context_id",
          "name": "source_context_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.target_context_id",
          "name": "target_context_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.mode",
          "name": "mode",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "pre_sync",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.copy_bucket_settings",
          "name": "copy_bucket_settings",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.strong_integrity_check",
          "name": "strong_integrity_check",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.lock_target_writes",
          "name": "lock_target_writes",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.use_same_endpoint_copy",
          "name": "use_same_endpoint_copy",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.auto_grant_source_read_for_copy",
          "name": "auto_grant_source_read_for_copy",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "draft",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.worker_lease_owner",
          "name": "worker_lease_owner",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.worker_lease_until",
          "name": "worker_lease_until",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.precheck_status",
          "name": "precheck_status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "pending",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.precheck_report_json",
          "name": "precheck_report_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.precheck_checked_at",
          "name": "precheck_checked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.workflow_version",
          "name": "workflow_version",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "2",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.configuration_revision",
          "name": "configuration_revision",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.checked_revision",
          "name": "checked_revision",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.preparation_status",
          "name": "preparation_status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "unverified",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.preparation_active_checks",
          "name": "preparation_active_checks",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.preparation_completed_items",
          "name": "preparation_completed_items",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.preparation_requested_at",
          "name": "preparation_requested_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.maintenance_operation",
          "name": "maintenance_operation",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.maintenance_status",
          "name": "maintenance_status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "idle",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.maintenance_error",
          "name": "maintenance_error",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.maintenance_requested_by_user_id",
          "name": "maintenance_requested_by_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.parallelism_max",
          "name": "parallelism_max",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "16",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.total_items",
          "name": "total_items",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.completed_items",
          "name": "completed_items",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.failed_items",
          "name": "failed_items",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.skipped_items",
          "name": "skipped_items",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.awaiting_items",
          "name": "awaiting_items",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.error_message",
          "name": "error_message",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.started_at",
          "name": "started_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.finished_at",
          "name": "finished_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.last_heartbeat_at",
          "name": "last_heartbeat_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migrations.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:bucket_migrations:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:bucket_migrations.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_created_at",
          "name": "ix_bucket_migrations_created_at",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_created_by_user_id",
          "name": "ix_bucket_migrations_created_by_user_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.created_by_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_id",
          "name": "ix_bucket_migrations_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_precheck_status",
          "name": "ix_bucket_migrations_precheck_status",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.precheck_status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_preparation_status",
          "name": "ix_bucket_migrations_preparation_status",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.preparation_status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_source_context_id",
          "name": "ix_bucket_migrations_source_context_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.source_context_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_source_target",
          "name": "ix_bucket_migrations_source_target",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.source_context_id",
            "field:bucket_migrations.target_context_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_status",
          "name": "ix_bucket_migrations_status",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_status_created",
          "name": "ix_bucket_migrations_status_created",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.status",
            "field:bucket_migrations.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_target_context_id",
          "name": "ix_bucket_migrations_target_context_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.target_context_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_updated_at",
          "name": "ix_bucket_migrations_updated_at",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.updated_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_worker_lease",
          "name": "ix_bucket_migrations_worker_lease",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.worker_lease_until",
            "field:bucket_migrations.status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_worker_lease_owner",
          "name": "ix_bucket_migrations_worker_lease_owner",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.worker_lease_owner"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migrations:ix_bucket_migrations_worker_lease_until",
          "name": "ix_bucket_migrations_worker_lease_until",
          "unique": false,
          "fieldIds": [
            "field:bucket_migrations.worker_lease_until"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 52,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:bucket_migration_items",
      "name": "bucket_migration_items",
      "schema": null,
      "x": 60,
      "y": 8146,
      "fields": [
        {
          "id": "field:bucket_migration_items.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.migration_id",
          "name": "migration_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.source_bucket",
          "name": "source_bucket",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.target_bucket",
          "name": "target_bucket",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "pending",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.step",
          "name": "step",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "create_bucket",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.pre_sync_done",
          "name": "pre_sync_done",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.read_only_applied",
          "name": "read_only_applied",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.target_lock_applied",
          "name": "target_lock_applied",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.target_created_by_migration",
          "name": "target_created_by_migration",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.preparation_effects_json",
          "name": "preparation_effects_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.source_deleted",
          "name": "source_deleted",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.cleanup_error",
          "name": "cleanup_error",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.cleanup_verification_json",
          "name": "cleanup_verification_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.objects_copied",
          "name": "objects_copied",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.objects_deleted",
          "name": "objects_deleted",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.source_count",
          "name": "source_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.target_count",
          "name": "target_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.matched_count",
          "name": "matched_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.different_count",
          "name": "different_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.only_source_count",
          "name": "only_source_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.only_target_count",
          "name": "only_target_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.diff_sample_json",
          "name": "diff_sample_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.source_snapshot_json",
          "name": "source_snapshot_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.target_snapshot_json",
          "name": "target_snapshot_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.execution_strategy",
          "name": "execution_strategy",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.replication_state_json",
          "name": "replication_state_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.source_policy_backup_json",
          "name": "source_policy_backup_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.target_policy_backup_json",
          "name": "target_policy_backup_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.error_message",
          "name": "error_message",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.started_at",
          "name": "started_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.finished_at",
          "name": "finished_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_items.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:bucket_migration_items:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:bucket_migration_items.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:bucket_migration_items:ix_bucket_migration_items_created_at",
          "name": "ix_bucket_migration_items_created_at",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_items.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_items:ix_bucket_migration_items_id",
          "name": "ix_bucket_migration_items_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_items.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_items:ix_bucket_migration_items_migration_id",
          "name": "ix_bucket_migration_items_migration_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_items.migration_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_items:ix_bucket_migration_items_migration_status",
          "name": "ix_bucket_migration_items_migration_status",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_items.migration_id",
            "field:bucket_migration_items.status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_items:ix_bucket_migration_items_status",
          "name": "ix_bucket_migration_items_status",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_items.status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_items:ix_bucket_migration_items_updated_at",
          "name": "ix_bucket_migration_items_updated_at",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_items.updated_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:bucket_migration_items:uq_bucket_migration_items_source",
          "name": "uq_bucket_migration_items_source",
          "unique": true,
          "fieldIds": [
            "field:bucket_migration_items.migration_id",
            "field:bucket_migration_items.source_bucket"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 53,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:bucket_migration_events",
      "name": "bucket_migration_events",
      "schema": null,
      "x": 900,
      "y": 6840,
      "fields": [
        {
          "id": "field:bucket_migration_events.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_events.migration_id",
          "name": "migration_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_events.item_id",
          "name": "item_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_events.level",
          "name": "level",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "info",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_events.message",
          "name": "message",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_events.metadata_json",
          "name": "metadata_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_migration_events.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:bucket_migration_events:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:bucket_migration_events.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:bucket_migration_events:ix_bucket_migration_events_created_at",
          "name": "ix_bucket_migration_events_created_at",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_events.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_events:ix_bucket_migration_events_id",
          "name": "ix_bucket_migration_events_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_events.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_events:ix_bucket_migration_events_item_created",
          "name": "ix_bucket_migration_events_item_created",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_events.item_id",
            "field:bucket_migration_events.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_events:ix_bucket_migration_events_item_id",
          "name": "ix_bucket_migration_events_item_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_events.item_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_events:ix_bucket_migration_events_migration_created",
          "name": "ix_bucket_migration_events_migration_created",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_events.migration_id",
            "field:bucket_migration_events.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_migration_events:ix_bucket_migration_events_migration_id",
          "name": "ix_bucket_migration_events_migration_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_migration_events.migration_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 54,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:bucket_usage_stats_snapshots",
      "name": "bucket_usage_stats_snapshots",
      "schema": null,
      "x": 480,
      "y": 9888,
      "fields": [
        {
          "id": "field:bucket_usage_stats_snapshots.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.scope_kind",
          "name": "scope_kind",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.scope_id",
          "name": "scope_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.scope_name",
          "name": "scope_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.bucket_tenant",
          "name": "bucket_tenant",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.bucket_name",
          "name": "bucket_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.scan_mode",
          "name": "scan_mode",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "versions",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.version_listing_available",
          "name": "version_listing_available",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "1",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.object_version_count",
          "name": "object_version_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.current_version_count",
          "name": "current_version_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.noncurrent_version_count",
          "name": "noncurrent_version_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.delete_marker_count",
          "name": "delete_marker_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.total_bytes",
          "name": "total_bytes",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.current_bytes",
          "name": "current_bytes",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.noncurrent_bytes",
          "name": "noncurrent_bytes",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.data_type_distribution_json",
          "name": "data_type_distribution_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.storage_class_distribution_json",
          "name": "storage_class_distribution_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.size_distribution_json",
          "name": "size_distribution_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.age_distribution_json",
          "name": "age_distribution_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.current_noncurrent_distribution_json",
          "name": "current_noncurrent_distribution_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.warnings_json",
          "name": "warnings_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.calculated_at",
          "name": "calculated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:bucket_usage_stats_snapshots.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:bucket_usage_stats_snapshots:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:bucket_usage_stats_snapshots.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:bucket_usage_stats_snapshots:ix_bucket_usage_stats_calculated_at",
          "name": "ix_bucket_usage_stats_calculated_at",
          "unique": false,
          "fieldIds": [
            "field:bucket_usage_stats_snapshots.calculated_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_usage_stats_snapshots:ix_bucket_usage_stats_scope",
          "name": "ix_bucket_usage_stats_scope",
          "unique": false,
          "fieldIds": [
            "field:bucket_usage_stats_snapshots.scope_kind",
            "field:bucket_usage_stats_snapshots.scope_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:bucket_usage_stats_snapshots:ix_bucket_usage_stats_snapshots_id",
          "name": "ix_bucket_usage_stats_snapshots_id",
          "unique": false,
          "fieldIds": [
            "field:bucket_usage_stats_snapshots.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:bucket_usage_stats_snapshots:uq_bucket_usage_stats_scope_bucket",
          "name": "uq_bucket_usage_stats_scope_bucket",
          "unique": true,
          "fieldIds": [
            "field:bucket_usage_stats_snapshots.scope_kind",
            "field:bucket_usage_stats_snapshots.scope_id",
            "field:bucket_usage_stats_snapshots.bucket_tenant",
            "field:bucket_usage_stats_snapshots.bucket_name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 55,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:portal_storage_space_metadata",
      "name": "portal_storage_space_metadata",
      "schema": null,
      "x": 2520,
      "y": 4620,
      "fields": [
        {
          "id": "field:portal_storage_space_metadata.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.bucket_name",
          "name": "bucket_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.display_name",
          "name": "display_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.description",
          "name": "description",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.owner_user_id",
          "name": "owner_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.visibility",
          "name": "visibility",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.share_scope",
          "name": "share_scope",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.account_member_role",
          "name": "account_member_role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.project_key",
          "name": "project_key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.dataset_label",
          "name": "dataset_label",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.icon_source",
          "name": "icon_source",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "preset",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.icon_preset",
          "name": "icon_preset",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "bucket",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.icon_image",
          "name": "icon_image",
          "type": {
            "id": "blob",
            "name": "blob"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.icon_content_type",
          "name": "icon_content_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.icon_updated_at",
          "name": "icon_updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.origin",
          "name": "origin",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.name_editable",
          "name": "name_editable",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.archived_at",
          "name": "archived_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_metadata.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:portal_storage_space_metadata:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:portal_storage_space_metadata.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:portal_storage_space_metadata:ix_portal_storage_space_metadata_account",
          "name": "ix_portal_storage_space_metadata_account",
          "unique": false,
          "fieldIds": [
            "field:portal_storage_space_metadata.account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_storage_space_metadata:ix_portal_storage_space_metadata_id",
          "name": "ix_portal_storage_space_metadata_id",
          "unique": false,
          "fieldIds": [
            "field:portal_storage_space_metadata.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_storage_space_metadata:ix_portal_storage_space_metadata_owner_user",
          "name": "ix_portal_storage_space_metadata_owner_user",
          "unique": false,
          "fieldIds": [
            "field:portal_storage_space_metadata.owner_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:portal_storage_space_metadata:uq_portal_storage_space_metadata_account_bucket",
          "name": "uq_portal_storage_space_metadata_account_bucket",
          "unique": true,
          "fieldIds": [
            "field:portal_storage_space_metadata.account_id",
            "field:portal_storage_space_metadata.bucket_name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:portal_storage_space_metadata:ck_portal_storage_space_metadata_canonical_sharing",
          "expression": "(visibility = 'private' AND share_scope = 'restricted' AND account_member_role IS NULL) OR (visibility = 'shared' AND ((share_scope = 'restricted' AND account_member_role IS NULL) OR (share_scope = 'account' AND account_member_role IS NOT NULL AND account_member_role IN ('Viewer', 'Editor'))))",
          "createdAt": 0
        },
        {
          "id": "check:portal_storage_space_metadata:ck_portal_storage_space_metadata_icon_content_type",
          "expression": "icon_content_type IS NULL OR icon_content_type IN ('image/jpeg', 'image/png')",
          "createdAt": 0
        },
        {
          "id": "check:portal_storage_space_metadata:ck_portal_storage_space_metadata_icon_preset",
          "expression": "icon_preset IN ('bucket', 'folder', 'archive', 'database', 'media')",
          "createdAt": 0
        },
        {
          "id": "check:portal_storage_space_metadata:ck_portal_storage_space_metadata_icon_source",
          "expression": "icon_source IN ('preset', 'uploaded')",
          "createdAt": 0
        },
        {
          "id": "check:portal_storage_space_metadata:ck_portal_storage_space_metadata_private_owner",
          "expression": "(visibility = 'private' AND owner_user_id IS NOT NULL) OR (visibility = 'shared' AND owner_user_id IS NULL)",
          "createdAt": 0
        }
      ],
      "color": "#2563EB",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 56,
      "expanded": true,
      "parentAreaId": "area:portal"
    },
    {
      "id": "table:portal_storage_space_grants",
      "name": "portal_storage_space_grants",
      "schema": null,
      "x": 2520,
      "y": 5386,
      "fields": [
        {
          "id": "field:portal_storage_space_grants.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_grants.storage_space_metadata_id",
          "name": "storage_space_metadata_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_grants.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_grants.role",
          "name": "role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_grants.created_by_user_id",
          "name": "created_by_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_grants.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_storage_space_grants.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:portal_storage_space_grants:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:portal_storage_space_grants.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:portal_storage_space_grants:ix_portal_storage_space_grants_id",
          "name": "ix_portal_storage_space_grants_id",
          "unique": false,
          "fieldIds": [
            "field:portal_storage_space_grants.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_storage_space_grants:ix_portal_storage_space_grants_space",
          "name": "ix_portal_storage_space_grants_space",
          "unique": false,
          "fieldIds": [
            "field:portal_storage_space_grants.storage_space_metadata_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_storage_space_grants:ix_portal_storage_space_grants_user",
          "name": "ix_portal_storage_space_grants_user",
          "unique": false,
          "fieldIds": [
            "field:portal_storage_space_grants.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:portal_storage_space_grants:uq_portal_storage_space_grants_space_user",
          "name": "uq_portal_storage_space_grants_space_user",
          "unique": true,
          "fieldIds": [
            "field:portal_storage_space_grants.storage_space_metadata_id",
            "field:portal_storage_space_grants.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:portal_storage_space_grants:ck_portal_storage_space_grants_role",
          "expression": "role IN ('Viewer', 'Editor')",
          "createdAt": 0
        }
      ],
      "color": "#2563EB",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 57,
      "expanded": true,
      "parentAreaId": "area:portal"
    },
    {
      "id": "table:portal_public_links",
      "name": "portal_public_links",
      "schema": null,
      "x": 2520,
      "y": 5942,
      "fields": [
        {
          "id": "field:portal_public_links.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.token",
          "name": "token",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.bucket_name",
          "name": "bucket_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.object_key",
          "name": "object_key",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.label",
          "name": "label",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.created_by_user_id",
          "name": "created_by_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.created_by_email",
          "name": "created_by_email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.revoked_at",
          "name": "revoked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_public_links.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:portal_public_links:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:portal_public_links.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:portal_public_links:ix_portal_public_links_account_bucket",
          "name": "ix_portal_public_links_account_bucket",
          "unique": false,
          "fieldIds": [
            "field:portal_public_links.account_id",
            "field:portal_public_links.bucket_name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_public_links:ix_portal_public_links_expires",
          "name": "ix_portal_public_links_expires",
          "unique": false,
          "fieldIds": [
            "field:portal_public_links.expires_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_public_links:ix_portal_public_links_id",
          "name": "ix_portal_public_links_id",
          "unique": false,
          "fieldIds": [
            "field:portal_public_links.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:portal_public_links:uq_portal_public_links_token",
          "name": "uq_portal_public_links_token",
          "unique": true,
          "fieldIds": [
            "field:portal_public_links.token"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#2563EB",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 58,
      "expanded": true,
      "parentAreaId": "area:portal"
    },
    {
      "id": "table:portal_external_access_credentials",
      "name": "portal_external_access_credentials",
      "schema": null,
      "x": 2100,
      "y": 5386,
      "fields": [
        {
          "id": "field:portal_external_access_credentials.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.storage_space_metadata_id",
          "name": "storage_space_metadata_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.bucket_name",
          "name": "bucket_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.created_by_user_id",
          "name": "created_by_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.external_email",
          "name": "external_email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.permission",
          "name": "permission",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.iam_user_id",
          "name": "iam_user_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.iam_username",
          "name": "iam_username",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.access_key_id",
          "name": "access_key_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "Active",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.revoked_at",
          "name": "revoked_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_external_access_credentials.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:portal_external_access_credentials:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:portal_external_access_credentials.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:portal_external_access_credentials:ix_portal_external_access_credentials_account",
          "name": "ix_portal_external_access_credentials_account",
          "unique": false,
          "fieldIds": [
            "field:portal_external_access_credentials.account_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_external_access_credentials:ix_portal_external_access_credentials_creator",
          "name": "ix_portal_external_access_credentials_creator",
          "unique": false,
          "fieldIds": [
            "field:portal_external_access_credentials.created_by_user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_external_access_credentials:ix_portal_external_access_credentials_id",
          "name": "ix_portal_external_access_credentials_id",
          "unique": false,
          "fieldIds": [
            "field:portal_external_access_credentials.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_external_access_credentials:ix_portal_external_access_credentials_revoked",
          "name": "ix_portal_external_access_credentials_revoked",
          "unique": false,
          "fieldIds": [
            "field:portal_external_access_credentials.revoked_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_external_access_credentials:ix_portal_external_access_credentials_space",
          "name": "ix_portal_external_access_credentials_space",
          "unique": false,
          "fieldIds": [
            "field:portal_external_access_credentials.storage_space_metadata_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:portal_external_access_credentials:uq_portal_external_access_credentials_access_key",
          "name": "uq_portal_external_access_credentials_access_key",
          "unique": true,
          "fieldIds": [
            "field:portal_external_access_credentials.access_key_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        },
        {
          "id": "unique:portal_external_access_credentials:uq_portal_external_access_credentials_iam_username",
          "name": "uq_portal_external_access_credentials_iam_username",
          "unique": true,
          "fieldIds": [
            "field:portal_external_access_credentials.iam_username"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [
        {
          "id": "check:portal_external_access_credentials:ck_portal_external_access_credentials_permission",
          "expression": "permission IN ('read_only', 'read_write')",
          "createdAt": 0
        },
        {
          "id": "check:portal_external_access_credentials:ck_portal_external_access_credentials_status",
          "expression": "status IN ('Active', 'Inactive')",
          "createdAt": 0
        }
      ],
      "color": "#2563EB",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 59,
      "expanded": true,
      "parentAreaId": "area:portal"
    },
    {
      "id": "table:portal_admin_requests",
      "name": "portal_admin_requests",
      "schema": null,
      "x": 2100,
      "y": 4620,
      "fields": [
        {
          "id": "field:portal_admin_requests.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.account_id",
          "name": "account_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.requester_user_id",
          "name": "requester_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.requester_email",
          "name": "requester_email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.request_type",
          "name": "request_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "pending",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.payload_json",
          "name": "payload_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.result_json",
          "name": "result_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.error_message",
          "name": "error_message",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.decided_by_user_id",
          "name": "decided_by_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.decided_by_email",
          "name": "decided_by_email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.decided_at",
          "name": "decided_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_requests.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:portal_admin_requests:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:portal_admin_requests.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:portal_admin_requests:ix_portal_admin_requests_account_status",
          "name": "ix_portal_admin_requests_account_status",
          "unique": false,
          "fieldIds": [
            "field:portal_admin_requests.account_id",
            "field:portal_admin_requests.status",
            "field:portal_admin_requests.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_admin_requests:ix_portal_admin_requests_id",
          "name": "ix_portal_admin_requests_id",
          "unique": false,
          "fieldIds": [
            "field:portal_admin_requests.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_admin_requests:ix_portal_admin_requests_requester",
          "name": "ix_portal_admin_requests_requester",
          "unique": false,
          "fieldIds": [
            "field:portal_admin_requests.requester_user_id",
            "field:portal_admin_requests.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_admin_requests:ix_portal_admin_requests_status_created",
          "name": "ix_portal_admin_requests_status_created",
          "unique": false,
          "fieldIds": [
            "field:portal_admin_requests.status",
            "field:portal_admin_requests.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [
        {
          "id": "check:portal_admin_requests:ck_portal_admin_requests_status",
          "expression": "status IN ('pending', 'processing', 'approved', 'rejected', 'failed')",
          "createdAt": 0
        },
        {
          "id": "check:portal_admin_requests:ck_portal_admin_requests_type",
          "expression": "request_type IN ('portal_user_access', 'portal_user_removal', 'account_quota_change', 'portal_setting_change')",
          "createdAt": 0
        }
      ],
      "color": "#2563EB",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 60,
      "expanded": true,
      "parentAreaId": "area:portal"
    },
    {
      "id": "table:portal_admin_request_messages",
      "name": "portal_admin_request_messages",
      "schema": null,
      "x": 2100,
      "y": 5942,
      "fields": [
        {
          "id": "field:portal_admin_request_messages.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_request_messages.request_id",
          "name": "request_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_request_messages.author_user_id",
          "name": "author_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_request_messages.author_email",
          "name": "author_email",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_request_messages.author_role",
          "name": "author_role",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_request_messages.message",
          "name": "message",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:portal_admin_request_messages.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:portal_admin_request_messages:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:portal_admin_request_messages.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:portal_admin_request_messages:ix_portal_admin_request_messages_author",
          "name": "ix_portal_admin_request_messages_author",
          "unique": false,
          "fieldIds": [
            "field:portal_admin_request_messages.author_user_id",
            "field:portal_admin_request_messages.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_admin_request_messages:ix_portal_admin_request_messages_id",
          "name": "ix_portal_admin_request_messages_id",
          "unique": false,
          "fieldIds": [
            "field:portal_admin_request_messages.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:portal_admin_request_messages:ix_portal_admin_request_messages_request",
          "name": "ix_portal_admin_request_messages_request",
          "unique": false,
          "fieldIds": [
            "field:portal_admin_request_messages.request_id",
            "field:portal_admin_request_messages.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#2563EB",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 61,
      "expanded": true,
      "parentAreaId": "area:portal"
    },
    {
      "id": "table:backend_operation_leases",
      "name": "backend_operation_leases",
      "schema": null,
      "x": 60,
      "y": 9888,
      "fields": [
        {
          "id": "field:backend_operation_leases.operation_name",
          "name": "operation_name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:backend_operation_leases.lease_owner",
          "name": "lease_owner",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:backend_operation_leases.lease_until",
          "name": "lease_until",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:backend_operation_leases.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:backend_operation_leases.metadata_json",
          "name": "metadata_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:backend_operation_leases:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:backend_operation_leases.operation_name"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:backend_operation_leases:ix_backend_operation_leases_lease_until",
          "name": "ix_backend_operation_leases_lease_until",
          "unique": false,
          "fieldIds": [
            "field:backend_operation_leases.lease_until"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 62,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:app_settings",
      "name": "app_settings",
      "schema": null,
      "x": 900,
      "y": 9302,
      "fields": [
        {
          "id": "field:app_settings.key",
          "name": "key",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:app_settings.payload_json",
          "name": "payload_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:app_settings.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:app_settings.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:app_settings:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:app_settings.key"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 63,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:first_admin_bootstrap",
      "name": "first_admin_bootstrap",
      "schema": null,
      "x": 900,
      "y": 1724,
      "fields": [
        {
          "id": "field:first_admin_bootstrap.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:first_admin_bootstrap.token_digest",
          "name": "token_digest",
          "type": {
            "id": "varchar(64)",
            "name": "varchar(64)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "64",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:first_admin_bootstrap.expires_at",
          "name": "expires_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:first_admin_bootstrap.consumed_at",
          "name": "consumed_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:first_admin_bootstrap.created_user_id",
          "name": "created_user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:first_admin_bootstrap:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:first_admin_bootstrap.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        }
      ],
      "checkConstraints": [
        {
          "id": "check:first_admin_bootstrap:ck_first_admin_bootstrap_singleton",
          "expression": "id = 1",
          "createdAt": 0
        }
      ],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 64,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:onboarding_preferences",
      "name": "onboarding_preferences",
      "schema": null,
      "x": 60,
      "y": 2190,
      "fields": [
        {
          "id": "field:onboarding_preferences.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_preferences.dismissed",
          "name": "dismissed",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_preferences.initial_setup_completed_at",
          "name": "initial_setup_completed_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_preferences.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:onboarding_preferences:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:onboarding_preferences.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 65,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:onboarding_journeys",
      "name": "onboarding_journeys",
      "schema": null,
      "x": 1320,
      "y": 1724,
      "fields": [
        {
          "id": "field:onboarding_journeys.id",
          "name": "id",
          "type": {
            "id": "varchar(36)",
            "name": "varchar(36)"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "36",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_journeys.user_id",
          "name": "user_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_journeys.revision",
          "name": "revision",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_journeys.draft_json",
          "name": "draft_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_journeys.resources_json",
          "name": "resources_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_journeys.pending_step",
          "name": "pending_step",
          "type": {
            "id": "varchar(40)",
            "name": "varchar(40)"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": "40",
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_journeys.configured_at",
          "name": "configured_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_journeys.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:onboarding_journeys.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:onboarding_journeys:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:onboarding_journeys.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:onboarding_journeys:ix_onboarding_journeys_user_id",
          "name": "ix_onboarding_journeys_user_id",
          "unique": false,
          "fieldIds": [
            "field:onboarding_journeys.user_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        }
      ],
      "checkConstraints": [],
      "color": "#4F46E5",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 66,
      "expanded": true,
      "parentAreaId": "area:identity-ui-access"
    },
    {
      "id": "table:webhook_endpoints",
      "name": "webhook_endpoints",
      "schema": null,
      "x": 480,
      "y": 8146,
      "fields": [
        {
          "id": "field:webhook_endpoints.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_endpoints.name",
          "name": "name",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_endpoints.url",
          "name": "url",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_endpoints.enabled",
          "name": "enabled",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_endpoints.signing_secret",
          "name": "signing_secret",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_endpoints.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_endpoints.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:webhook_endpoints:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:webhook_endpoints.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:webhook_endpoints:ix_webhook_endpoints_enabled_id",
          "name": "ix_webhook_endpoints_enabled_id",
          "unique": false,
          "fieldIds": [
            "field:webhook_endpoints.enabled",
            "field:webhook_endpoints.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_endpoints:ix_webhook_endpoints_id",
          "name": "ix_webhook_endpoints_id",
          "unique": false,
          "fieldIds": [
            "field:webhook_endpoints.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:webhook_endpoints:uq_webhook_endpoints_name",
          "name": "uq_webhook_endpoints_name",
          "unique": true,
          "fieldIds": [
            "field:webhook_endpoints.name"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 67,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:webhook_endpoint_subscriptions",
      "name": "webhook_endpoint_subscriptions",
      "schema": null,
      "x": 480,
      "y": 9302,
      "fields": [
        {
          "id": "field:webhook_endpoint_subscriptions.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_endpoint_subscriptions.endpoint_id",
          "name": "endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_endpoint_subscriptions.event_type",
          "name": "event_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:webhook_endpoint_subscriptions:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:webhook_endpoint_subscriptions.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:webhook_endpoint_subscriptions:ix_webhook_endpoint_subscriptions_endpoint_id",
          "name": "ix_webhook_endpoint_subscriptions_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:webhook_endpoint_subscriptions.endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_endpoint_subscriptions:ix_webhook_endpoint_subscriptions_id",
          "name": "ix_webhook_endpoint_subscriptions_id",
          "unique": false,
          "fieldIds": [
            "field:webhook_endpoint_subscriptions.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_endpoint_subscriptions:ix_webhook_subscriptions_event_endpoint",
          "name": "ix_webhook_subscriptions_event_endpoint",
          "unique": false,
          "fieldIds": [
            "field:webhook_endpoint_subscriptions.event_type",
            "field:webhook_endpoint_subscriptions.endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:webhook_endpoint_subscriptions:uq_webhook_endpoint_subscription",
          "name": "uq_webhook_endpoint_subscription",
          "unique": true,
          "fieldIds": [
            "field:webhook_endpoint_subscriptions.endpoint_id",
            "field:webhook_endpoint_subscriptions.event_type"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 68,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    },
    {
      "id": "table:webhook_deliveries",
      "name": "webhook_deliveries",
      "schema": null,
      "x": 60,
      "y": 9302,
      "fields": [
        {
          "id": "field:webhook_deliveries.id",
          "name": "id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": true,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.delivery_id",
          "name": "delivery_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": true,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.event_id",
          "name": "event_id",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.endpoint_id",
          "name": "endpoint_id",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.event_type",
          "name": "event_type",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.payload_json",
          "name": "payload_json",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.is_test",
          "name": "is_test",
          "type": {
            "id": "boolean",
            "name": "boolean"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.status",
          "name": "status",
          "type": {
            "id": "varchar",
            "name": "varchar"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "pending",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.attempt_count",
          "name": "attempt_count",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": "0",
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.next_attempt_at",
          "name": "next_attempt_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.last_http_status",
          "name": "last_http_status",
          "type": {
            "id": "integer",
            "name": "integer"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.last_error",
          "name": "last_error",
          "type": {
            "id": "text",
            "name": "text"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.created_at",
          "name": "created_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.updated_at",
          "name": "updated_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": false,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        },
        {
          "id": "field:webhook_deliveries.delivered_at",
          "name": "delivered_at",
          "type": {
            "id": "datetime",
            "name": "datetime"
          },
          "primaryKey": false,
          "unique": false,
          "nullable": true,
          "increment": null,
          "isArray": false,
          "createdAt": 0,
          "characterMaximumLength": null,
          "precision": null,
          "scale": null,
          "default": null,
          "collation": null,
          "comments": null,
          "check": null
        }
      ],
      "indexes": [
        {
          "id": "index:webhook_deliveries:primary-key",
          "name": "",
          "unique": true,
          "fieldIds": [
            "field:webhook_deliveries.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": true,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_created_at",
          "name": "ix_webhook_deliveries_created_at",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.created_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_due",
          "name": "ix_webhook_deliveries_due",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.status",
            "field:webhook_deliveries.next_attempt_at",
            "field:webhook_deliveries.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_endpoint_created",
          "name": "ix_webhook_deliveries_endpoint_created",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.endpoint_id",
            "field:webhook_deliveries.created_at",
            "field:webhook_deliveries.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_endpoint_id",
          "name": "ix_webhook_deliveries_endpoint_id",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_event",
          "name": "ix_webhook_deliveries_event",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.event_id",
            "field:webhook_deliveries.endpoint_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_event_id",
          "name": "ix_webhook_deliveries_event_id",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.event_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_event_type",
          "name": "ix_webhook_deliveries_event_type",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.event_type"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_id",
          "name": "ix_webhook_deliveries_id",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_next_attempt_at",
          "name": "ix_webhook_deliveries_next_attempt_at",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.next_attempt_at"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "index:webhook_deliveries:ix_webhook_deliveries_status",
          "name": "ix_webhook_deliveries_status",
          "unique": false,
          "fieldIds": [
            "field:webhook_deliveries.status"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": null
        },
        {
          "id": "unique:webhook_deliveries:uq_webhook_deliveries_delivery_id",
          "name": "uq_webhook_deliveries_delivery_id",
          "unique": true,
          "fieldIds": [
            "field:webhook_deliveries.delivery_id"
          ],
          "createdAt": 0,
          "isPrimaryKey": false,
          "comments": "SQLAlchemy UniqueConstraint"
        }
      ],
      "checkConstraints": [],
      "color": "#D97706",
      "isView": false,
      "isMaterializedView": false,
      "createdAt": 0,
      "width": 360,
      "comments": null,
      "order": 69,
      "expanded": true,
      "parentAreaId": "area:operations-audit"
    }
  ],
  "relationships": [
    {
      "id": "relationship:endpoint_service_identities.endpoint_id->storage_endpoints.id",
      "name": "fk_endpoint_service_identities_endpoint_id_storage_endpoints_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:endpoint_service_identities",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:endpoint_service_identities.endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:key_rotation_intents.endpoint_id->storage_endpoints.id",
      "name": "fk_key_rotation_intents_endpoint_id_storage_endpoints_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:key_rotation_intents",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:key_rotation_intents.endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:manager_access_key_metadata.account_id->s3_accounts.id",
      "name": "fk_manager_access_key_metadata_account_id_s3_accounts_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:manager_access_key_metadata",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:manager_access_key_metadata.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:manager_access_key_metadata.s3_user_id->s3_users.id",
      "name": "fk_manager_access_key_metadata_s3_user_id_s3_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:manager_access_key_metadata",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:manager_access_key_metadata.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_accounts.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_s3_accounts_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:s3_accounts",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:s3_accounts.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_s3_accounts.user_id->users.id",
      "name": "fk_user_s3_accounts_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_s3_accounts",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:user_s3_accounts.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_s3_accounts.account_id->s3_accounts.id",
      "name": "fk_user_s3_accounts_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_s3_accounts",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:user_s3_accounts.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:account_iam_users.user_id->users.id",
      "name": "fk_account_iam_users_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:account_iam_users",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:account_iam_users.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:account_iam_users.account_id->s3_accounts.id",
      "name": "fk_account_iam_users_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:account_iam_users",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:account_iam_users.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:browser_favorites.user_id->users.id",
      "name": "fk_browser_favorites_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:browser_favorites",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:browser_favorites.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:audit_logs.user_id->users.id",
      "name": "fk_audit_logs_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:audit_logs",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:audit_logs.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:auth_sessions.user_id->users.id",
      "name": "fk_auth_sessions_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:auth_sessions",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:auth_sessions.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:auth_sessions.s3_session_id->s3_sessions.id",
      "name": "fk_auth_sessions_s3_session_id_s3_sessions_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:auth_sessions",
      "targetSchema": null,
      "targetTableId": "table:s3_sessions",
      "sourceFieldId": "field:auth_sessions.s3_session_id",
      "targetFieldId": "field:s3_sessions.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:refresh_tokens.auth_session_id->auth_sessions.id",
      "name": "fk_refresh_tokens_auth_session_id_auth_sessions_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:refresh_tokens",
      "targetSchema": null,
      "targetTableId": "table:auth_sessions",
      "sourceFieldId": "field:refresh_tokens.auth_session_id",
      "targetFieldId": "field:auth_sessions.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:refresh_tokens.parent_id->refresh_tokens.id",
      "name": "fk_refresh_tokens_parent_id_refresh_tokens_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:refresh_tokens",
      "targetSchema": null,
      "targetTableId": "table:refresh_tokens",
      "sourceFieldId": "field:refresh_tokens.parent_id",
      "targetFieldId": "field:refresh_tokens.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:refresh_tokens.replaced_by_id->refresh_tokens.id",
      "name": "fk_refresh_tokens_replaced_by_id_refresh_tokens_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:refresh_tokens",
      "targetSchema": null,
      "targetTableId": "table:refresh_tokens",
      "sourceFieldId": "field:refresh_tokens.replaced_by_id",
      "targetFieldId": "field:refresh_tokens.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:external_identities.user_id->users.id",
      "name": "fk_external_identities_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:external_identities",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:external_identities.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:external_identity_link_requests.user_id->users.id",
      "name": "fk_external_identity_link_requests_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:external_identity_link_requests",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:external_identity_link_requests.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:external_identity_link_requests.decided_by_user_id->users.id",
      "name": "fk_external_identity_link_requests_decided_by_user_id_users_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:external_identity_link_requests",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:external_identity_link_requests.decided_by_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:webauthn_credentials.user_id->users.id",
      "name": "fk_webauthn_credentials_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:webauthn_credentials",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:webauthn_credentials.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:auth_challenges.user_id->users.id",
      "name": "fk_auth_challenges_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:auth_challenges",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:auth_challenges.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:recovery_codes.user_id->users.id",
      "name": "fk_recovery_codes_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:recovery_codes",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:recovery_codes.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:api_tokens.user_id->users.id",
      "name": "fk_api_tokens_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:api_tokens",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:api_tokens.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_users.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_s3_users_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:s3_users",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:s3_users.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_s3_users.user_id->users.id",
      "name": "fk_user_s3_users_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_s3_users",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:user_s3_users.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_s3_users.s3_user_id->s3_users.id",
      "name": "fk_user_s3_users_s3_user_id_s3_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_s3_users",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:user_s3_users.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_connections.created_by_user_id->users.id",
      "name": "fk_s3_connections_created_by_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:s3_connections",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:s3_connections.created_by_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_connections.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_s3_connections_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:s3_connections",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:s3_connections.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_s3_connections.user_id->users.id",
      "name": "fk_user_s3_connections_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_s3_connections",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:user_s3_connections.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_s3_connections.s3_connection_id->s3_connections.id",
      "name": "fk_user_s3_connections_s3_connection_id_s3_connections_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_s3_connections",
      "targetSchema": null,
      "targetTableId": "table:s3_connections",
      "sourceFieldId": "field:user_s3_connections.s3_connection_id",
      "targetFieldId": "field:s3_connections.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:managed_private_accesses.owner_user_id->users.id",
      "name": "fk_managed_private_accesses_owner_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:managed_private_accesses",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:managed_private_accesses.owner_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:managed_private_accesses.s3_connection_id->s3_connections.id",
      "name": "fk_managed_private_accesses_s3_connection_id_s3_connections_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:managed_private_accesses",
      "targetSchema": null,
      "targetTableId": "table:s3_connections",
      "sourceFieldId": "field:managed_private_accesses.s3_connection_id",
      "targetFieldId": "field:s3_connections.id",
      "sourceCardinality": "one",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_ui_groups.user_id->users.id",
      "name": "fk_user_ui_groups_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_ui_groups",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:user_ui_groups.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_ui_groups.group_id->ui_groups.id",
      "name": "fk_user_ui_groups_group_id_ui_groups_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_ui_groups",
      "targetSchema": null,
      "targetTableId": "table:ui_groups",
      "sourceFieldId": "field:user_ui_groups.group_id",
      "targetFieldId": "field:ui_groups.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:ui_group_s3_accounts.group_id->ui_groups.id",
      "name": "fk_ui_group_s3_accounts_group_id_ui_groups_id",
      "sourceSchema": null,
      "sourceTableId": "table:ui_group_s3_accounts",
      "targetSchema": null,
      "targetTableId": "table:ui_groups",
      "sourceFieldId": "field:ui_group_s3_accounts.group_id",
      "targetFieldId": "field:ui_groups.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:ui_group_s3_accounts.account_id->s3_accounts.id",
      "name": "fk_ui_group_s3_accounts_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:ui_group_s3_accounts",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:ui_group_s3_accounts.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:ui_group_s3_users.group_id->ui_groups.id",
      "name": "fk_ui_group_s3_users_group_id_ui_groups_id",
      "sourceSchema": null,
      "sourceTableId": "table:ui_group_s3_users",
      "targetSchema": null,
      "targetTableId": "table:ui_groups",
      "sourceFieldId": "field:ui_group_s3_users.group_id",
      "targetFieldId": "field:ui_groups.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:ui_group_s3_users.s3_user_id->s3_users.id",
      "name": "fk_ui_group_s3_users_s3_user_id_s3_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:ui_group_s3_users",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:ui_group_s3_users.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:ui_group_s3_connections.group_id->ui_groups.id",
      "name": "fk_ui_group_s3_connections_group_id_ui_groups_id",
      "sourceSchema": null,
      "sourceTableId": "table:ui_group_s3_connections",
      "targetSchema": null,
      "targetTableId": "table:ui_groups",
      "sourceFieldId": "field:ui_group_s3_connections.group_id",
      "targetFieldId": "field:ui_groups.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:ui_group_s3_connections.s3_connection_id->s3_connections.id",
      "name": "fk_ui_group_s3_connections_s3_connection_id_s3_connections_id",
      "sourceSchema": null,
      "sourceTableId": "table:ui_group_s3_connections",
      "targetSchema": null,
      "targetTableId": "table:s3_connections",
      "sourceFieldId": "field:ui_group_s3_connections.s3_connection_id",
      "targetFieldId": "field:s3_connections.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:tag_definitions.owner_user_id->users.id",
      "name": "fk_tag_definitions_owner_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:tag_definitions",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:tag_definitions.owner_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:bucket_ui_tag_assignments.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_bucket_ui_tag_assignments_storage_endpoint_id_storage_endpoints_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:bucket_ui_tag_assignments",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:bucket_ui_tag_assignments.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:bucket_ui_tag_assignments.tag_definition_id->tag_definitions.id",
      "name": "fk_bucket_ui_tag_assignments_tag_definition_id_tag_definitions_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:bucket_ui_tag_assignments",
      "targetSchema": null,
      "targetTableId": "table:tag_definitions",
      "sourceFieldId": "field:bucket_ui_tag_assignments.tag_definition_id",
      "targetFieldId": "field:tag_definitions.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:storage_endpoint_tags.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_storage_endpoint_tags_storage_endpoint_id_storage_endpoints_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:storage_endpoint_tags",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:storage_endpoint_tags.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:storage_endpoint_tags.tag_definition_id->tag_definitions.id",
      "name": "fk_storage_endpoint_tags_tag_definition_id_tag_definitions_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:storage_endpoint_tags",
      "targetSchema": null,
      "targetTableId": "table:tag_definitions",
      "sourceFieldId": "field:storage_endpoint_tags.tag_definition_id",
      "targetFieldId": "field:tag_definitions.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_account_tags.account_id->s3_accounts.id",
      "name": "fk_s3_account_tags_account_id_s3_accounts_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:s3_account_tags",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:s3_account_tags.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_account_tags.tag_definition_id->tag_definitions.id",
      "name": "fk_s3_account_tags_tag_definition_id_tag_definitions_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:s3_account_tags",
      "targetSchema": null,
      "targetTableId": "table:tag_definitions",
      "sourceFieldId": "field:s3_account_tags.tag_definition_id",
      "targetFieldId": "field:tag_definitions.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_user_tags.s3_user_id->s3_users.id",
      "name": "fk_s3_user_tags_s3_user_id_s3_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:s3_user_tags",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:s3_user_tags.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_user_tags.tag_definition_id->tag_definitions.id",
      "name": "fk_s3_user_tags_tag_definition_id_tag_definitions_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:s3_user_tags",
      "targetSchema": null,
      "targetTableId": "table:tag_definitions",
      "sourceFieldId": "field:s3_user_tags.tag_definition_id",
      "targetFieldId": "field:tag_definitions.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_connection_tags.s3_connection_id->s3_connections.id",
      "name": "fk_s3_connection_tags_s3_connection_id_s3_connections_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:s3_connection_tags",
      "targetSchema": null,
      "targetTableId": "table:s3_connections",
      "sourceFieldId": "field:s3_connection_tags.s3_connection_id",
      "targetFieldId": "field:s3_connections.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:s3_connection_tags.tag_definition_id->tag_definitions.id",
      "name": "fk_s3_connection_tags_tag_definition_id_tag_definitions_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:s3_connection_tags",
      "targetSchema": null,
      "targetTableId": "table:tag_definitions",
      "sourceFieldId": "field:s3_connection_tags.tag_definition_id",
      "targetFieldId": "field:tag_definitions.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:cost_usage_daily.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_cost_usage_daily_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:cost_usage_daily",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:cost_usage_daily.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:cost_usage_daily.s3_account_id->s3_accounts.id",
      "name": "fk_cost_usage_daily_s3_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:cost_usage_daily",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:cost_usage_daily.s3_account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:cost_usage_daily.s3_user_id->s3_users.id",
      "name": "fk_cost_usage_daily_s3_user_id_s3_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:cost_usage_daily",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:cost_usage_daily.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:cost_storage_daily.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_cost_storage_daily_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:cost_storage_daily",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:cost_storage_daily.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:cost_storage_daily.s3_account_id->s3_accounts.id",
      "name": "fk_cost_storage_daily_s3_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:cost_storage_daily",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:cost_storage_daily.s3_account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:cost_storage_daily.s3_user_id->s3_users.id",
      "name": "fk_cost_storage_daily_s3_user_id_s3_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:cost_storage_daily",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:cost_storage_daily.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:cost_endpoint_overrides.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_cost_endpoint_overrides_storage_endpoint_id_storage_endpoints_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:cost_endpoint_overrides",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:cost_endpoint_overrides.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "one",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_usage_hourly.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_quota_usage_hourly_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_usage_hourly",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:quota_usage_hourly.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_usage_hourly.s3_account_id->s3_accounts.id",
      "name": "fk_quota_usage_hourly_s3_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_usage_hourly",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:quota_usage_hourly.s3_account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_usage_hourly.s3_user_id->s3_users.id",
      "name": "fk_quota_usage_hourly_s3_user_id_s3_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_usage_hourly",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:quota_usage_hourly.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_usage_daily.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_quota_usage_daily_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_usage_daily",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:quota_usage_daily.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_usage_daily.s3_account_id->s3_accounts.id",
      "name": "fk_quota_usage_daily_s3_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_usage_daily",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:quota_usage_daily.s3_account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_usage_daily.s3_user_id->s3_users.id",
      "name": "fk_quota_usage_daily_s3_user_id_s3_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_usage_daily",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:quota_usage_daily.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_alert_states.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_quota_alert_states_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_alert_states",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:quota_alert_states.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_alert_states.s3_account_id->s3_accounts.id",
      "name": "fk_quota_alert_states_s3_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_alert_states",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:quota_alert_states.s3_account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:quota_alert_states.s3_user_id->s3_users.id",
      "name": "fk_quota_alert_states_s3_user_id_s3_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:quota_alert_states",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:quota_alert_states.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_notifications.user_id->users.id",
      "name": "fk_user_notifications_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:user_notifications",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:user_notifications.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_notifications.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_user_notifications_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_notifications",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:user_notifications.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_notifications.s3_account_id->s3_accounts.id",
      "name": "fk_user_notifications_s3_account_id_s3_accounts_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_notifications",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:user_notifications.s3_account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:user_notifications.s3_user_id->s3_users.id",
      "name": "fk_user_notifications_s3_user_id_s3_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:user_notifications",
      "targetSchema": null,
      "targetTableId": "table:s3_users",
      "sourceFieldId": "field:user_notifications.s3_user_id",
      "targetFieldId": "field:s3_users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:endpoint_health_checks.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_endpoint_health_checks_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:endpoint_health_checks",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:endpoint_health_checks.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:endpoint_health_latest.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_endpoint_health_latest_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:endpoint_health_latest",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:endpoint_health_latest.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:endpoint_health_status_segments.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_endpoint_health_status_segments_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:endpoint_health_status_segments",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:endpoint_health_status_segments.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:endpoint_health_rollups.storage_endpoint_id->storage_endpoints.id",
      "name": "fk_endpoint_health_rollups_storage_endpoint_id_storage_endpoints_id",
      "sourceSchema": null,
      "sourceTableId": "table:endpoint_health_rollups",
      "targetSchema": null,
      "targetTableId": "table:storage_endpoints",
      "sourceFieldId": "field:endpoint_health_rollups.storage_endpoint_id",
      "targetFieldId": "field:storage_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:bucket_migrations.created_by_user_id->users.id",
      "name": "fk_bucket_migrations_created_by_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:bucket_migrations",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:bucket_migrations.created_by_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:bucket_migrations.maintenance_requested_by_user_id->users.id",
      "name": "fk_bucket_migrations_maintenance_requested_by_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:bucket_migrations",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:bucket_migrations.maintenance_requested_by_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:bucket_migration_items.migration_id->bucket_migrations.id",
      "name": "fk_bucket_migration_items_migration_id_bucket_migrations_id",
      "sourceSchema": null,
      "sourceTableId": "table:bucket_migration_items",
      "targetSchema": null,
      "targetTableId": "table:bucket_migrations",
      "sourceFieldId": "field:bucket_migration_items.migration_id",
      "targetFieldId": "field:bucket_migrations.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:bucket_migration_events.migration_id->bucket_migrations.id",
      "name": "fk_bucket_migration_events_migration_id_bucket_migrations_id",
      "sourceSchema": null,
      "sourceTableId": "table:bucket_migration_events",
      "targetSchema": null,
      "targetTableId": "table:bucket_migrations",
      "sourceFieldId": "field:bucket_migration_events.migration_id",
      "targetFieldId": "field:bucket_migrations.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:bucket_migration_events.item_id->bucket_migration_items.id",
      "name": "fk_bucket_migration_events_item_id_bucket_migration_items_id",
      "sourceSchema": null,
      "sourceTableId": "table:bucket_migration_events",
      "targetSchema": null,
      "targetTableId": "table:bucket_migration_items",
      "sourceFieldId": "field:bucket_migration_events.item_id",
      "targetFieldId": "field:bucket_migration_items.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_storage_space_metadata.account_id->s3_accounts.id",
      "name": "fk_portal_storage_space_metadata_account_id_s3_accounts_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_storage_space_metadata",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:portal_storage_space_metadata.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_storage_space_metadata.owner_user_id->users.id",
      "name": "fk_portal_storage_space_metadata_owner_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:portal_storage_space_metadata",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:portal_storage_space_metadata.owner_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_storage_space_grants.storage_space_metadata_id->portal_storage_space_metadata.id",
      "name": "fk_portal_storage_space_grants_storage_space_metadata_id_portal_storage_space_metadata_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_storage_space_grants",
      "targetSchema": null,
      "targetTableId": "table:portal_storage_space_metadata",
      "sourceFieldId": "field:portal_storage_space_grants.storage_space_metadata_id",
      "targetFieldId": "field:portal_storage_space_metadata.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_storage_space_grants.user_id->users.id",
      "name": "fk_portal_storage_space_grants_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_storage_space_grants",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:portal_storage_space_grants.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_storage_space_grants.created_by_user_id->users.id",
      "name": "fk_portal_storage_space_grants_created_by_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:portal_storage_space_grants",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:portal_storage_space_grants.created_by_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_public_links.account_id->s3_accounts.id",
      "name": "fk_portal_public_links_account_id_s3_accounts_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_public_links",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:portal_public_links.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_public_links.created_by_user_id->users.id",
      "name": "fk_portal_public_links_created_by_user_id_users_id",
      "sourceSchema": null,
      "sourceTableId": "table:portal_public_links",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:portal_public_links.created_by_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_external_access_credentials.account_id->s3_accounts.id",
      "name": "fk_portal_external_access_credentials_account_id_s3_accounts_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_external_access_credentials",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:portal_external_access_credentials.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_external_access_credentials.storage_space_metadata_id->portal_storage_space_metadata.id",
      "name": "fk_portal_external_access_credentials_storage_space_metadata_id_portal_storage_space_metadata_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_external_access_credentials",
      "targetSchema": null,
      "targetTableId": "table:portal_storage_space_metadata",
      "sourceFieldId": "field:portal_external_access_credentials.storage_space_metadata_id",
      "targetFieldId": "field:portal_storage_space_metadata.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_external_access_credentials.created_by_user_id->users.id",
      "name": "fk_portal_external_access_credentials_created_by_user_id_users_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_external_access_credentials",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:portal_external_access_credentials.created_by_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_admin_requests.account_id->s3_accounts.id",
      "name": "fk_portal_admin_requests_account_id_s3_accounts_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_admin_requests",
      "targetSchema": null,
      "targetTableId": "table:s3_accounts",
      "sourceFieldId": "field:portal_admin_requests.account_id",
      "targetFieldId": "field:s3_accounts.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_admin_requests.requester_user_id->users.id",
      "name": "fk_portal_admin_requests_requester_user_id_users_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_admin_requests",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:portal_admin_requests.requester_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_admin_requests.decided_by_user_id->users.id",
      "name": "fk_portal_admin_requests_decided_by_user_id_users_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_admin_requests",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:portal_admin_requests.decided_by_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_admin_request_messages.request_id->portal_admin_requests.id",
      "name": "fk_portal_admin_request_messages_request_id_portal_admin_requests_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_admin_request_messages",
      "targetSchema": null,
      "targetTableId": "table:portal_admin_requests",
      "sourceFieldId": "field:portal_admin_request_messages.request_id",
      "targetFieldId": "field:portal_admin_requests.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:portal_admin_request_messages.author_user_id->users.id",
      "name": "fk_portal_admin_request_messages_author_user_id_users_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:portal_admin_request_messages",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:portal_admin_request_messages.author_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:first_admin_bootstrap.created_user_id->users.id",
      "name": "fk_first_admin_bootstrap_created_user_id_users_id [ON DELETE SET NULL]",
      "sourceSchema": null,
      "sourceTableId": "table:first_admin_bootstrap",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:first_admin_bootstrap.created_user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:onboarding_preferences.user_id->users.id",
      "name": "fk_onboarding_preferences_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:onboarding_preferences",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:onboarding_preferences.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "one",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:onboarding_journeys.user_id->users.id",
      "name": "fk_onboarding_journeys_user_id_users_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:onboarding_journeys",
      "targetSchema": null,
      "targetTableId": "table:users",
      "sourceFieldId": "field:onboarding_journeys.user_id",
      "targetFieldId": "field:users.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:webhook_endpoint_subscriptions.endpoint_id->webhook_endpoints.id",
      "name": "fk_webhook_endpoint_subscriptions_endpoint_id_webhook_endpoints_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:webhook_endpoint_subscriptions",
      "targetSchema": null,
      "targetTableId": "table:webhook_endpoints",
      "sourceFieldId": "field:webhook_endpoint_subscriptions.endpoint_id",
      "targetFieldId": "field:webhook_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    },
    {
      "id": "relationship:webhook_deliveries.endpoint_id->webhook_endpoints.id",
      "name": "fk_webhook_deliveries_endpoint_id_webhook_endpoints_id [ON DELETE CASCADE]",
      "sourceSchema": null,
      "sourceTableId": "table:webhook_deliveries",
      "targetSchema": null,
      "targetTableId": "table:webhook_endpoints",
      "sourceFieldId": "field:webhook_deliveries.endpoint_id",
      "targetFieldId": "field:webhook_endpoints.id",
      "sourceCardinality": "many",
      "targetCardinality": "one",
      "createdAt": 0
    }
  ],
  "dependencies": [],
  "areas": [
    {
      "id": "area:identity-ui-access",
      "name": "Identity and UI access",
      "x": 0,
      "y": 0,
      "width": 1740,
      "height": 4188,
      "color": "#4F46E5",
      "order": 0
    },
    {
      "id": "area:storage-s3-execution",
      "name": "Storage and S3 execution",
      "x": 2040,
      "y": 0,
      "width": 1740,
      "height": 2656,
      "color": "#0F766E",
      "order": 1
    },
    {
      "id": "area:tags-classification",
      "name": "Tags and classification",
      "x": 0,
      "y": 4488,
      "width": 900,
      "height": 1170,
      "color": "#7C3AED",
      "order": 2
    },
    {
      "id": "area:portal",
      "name": "Portal",
      "x": 2040,
      "y": 4488,
      "width": 900,
      "height": 1920,
      "color": "#2563EB",
      "order": 3
    },
    {
      "id": "area:operations-audit",
      "name": "Operations and audit",
      "x": 0,
      "y": 6708,
      "width": 1320,
      "height": 4036,
      "color": "#D97706",
      "order": 4
    },
    {
      "id": "area:observability-quota-cost",
      "name": "Observability quota and cost",
      "x": 2040,
      "y": 6708,
      "width": 1320,
      "height": 2236,
      "color": "#059669",
      "order": 5
    }
  ],
  "customTypes": [],
  "notes": [],
  "createdAt": "1970-01-01T00:00:00.000Z",
  "updatedAt": "1970-01-01T00:00:00.000Z"
}
