{
  "schemaVersion": "1",
  "targetFamily": "sql",
  "target": "postgres",
  "profileHash": "sha256:9c8aa3114e84ed3b7ea2bd57526d9c2e1bf7c5292be694e9d3801f566fda7ccb",
  "roots": {
    "audit_log_entries": {
      "model": "AuditLogEntries",
      "namespace": "auth"
    },
    "buckets": {
      "model": "StorageBucket",
      "namespace": "storage"
    },
    "buckets_analytics": {
      "model": "BucketsAnalytics",
      "namespace": "storage"
    },
    "buckets_vectors": {
      "model": "BucketsVectors",
      "namespace": "storage"
    },
    "custom_oauth_providers": {
      "model": "CustomOauthProviders",
      "namespace": "auth"
    },
    "flow_state": {
      "model": "FlowState",
      "namespace": "auth"
    },
    "iceberg_namespaces": {
      "model": "IcebergNamespaces",
      "namespace": "storage"
    },
    "iceberg_tables": {
      "model": "IcebergTables",
      "namespace": "storage"
    },
    "identities": {
      "model": "AuthIdentity",
      "namespace": "auth"
    },
    "instances": {
      "model": "Instances",
      "namespace": "auth"
    },
    "mfa_amr_claims": {
      "model": "MfaAmrClaims",
      "namespace": "auth"
    },
    "mfa_challenges": {
      "model": "MfaChallenges",
      "namespace": "auth"
    },
    "mfa_factors": {
      "model": "MfaFactors",
      "namespace": "auth"
    },
    "migrations": {
      "model": "Migrations",
      "namespace": "storage"
    },
    "oauth_authorizations": {
      "model": "OauthAuthorizations",
      "namespace": "auth"
    },
    "oauth_client_states": {
      "model": "OauthClientStates",
      "namespace": "auth"
    },
    "oauth_clients": {
      "model": "OauthClients",
      "namespace": "auth"
    },
    "oauth_consents": {
      "model": "OauthConsents",
      "namespace": "auth"
    },
    "objects": {
      "model": "StorageObject",
      "namespace": "storage"
    },
    "one_time_tokens": {
      "model": "OneTimeTokens",
      "namespace": "auth"
    },
    "refresh_tokens": {
      "model": "RefreshTokens",
      "namespace": "auth"
    },
    "s3_multipart_uploads": {
      "model": "S3MultipartUploads",
      "namespace": "storage"
    },
    "s3_multipart_uploads_parts": {
      "model": "S3MultipartUploadsParts",
      "namespace": "storage"
    },
    "saml_providers": {
      "model": "SamlProviders",
      "namespace": "auth"
    },
    "saml_relay_states": {
      "model": "SamlRelayStates",
      "namespace": "auth"
    },
    "schema_migrations": {
      "model": "SchemaMigrations",
      "namespace": "auth"
    },
    "sessions": {
      "model": "AuthSession",
      "namespace": "auth"
    },
    "sso_domains": {
      "model": "SsoDomains",
      "namespace": "auth"
    },
    "sso_providers": {
      "model": "SsoProviders",
      "namespace": "auth"
    },
    "users": {
      "model": "AuthUser",
      "namespace": "auth"
    },
    "vector_indexes": {
      "model": "VectorIndexes",
      "namespace": "storage"
    },
    "webauthn_challenges": {
      "model": "WebauthnChallenges",
      "namespace": "auth"
    },
    "webauthn_credentials": {
      "model": "WebauthnCredentials",
      "namespace": "auth"
    }
  },
  "domain": {
    "namespaces": {
      "auth": {
        "models": {
          "AuditLogEntries": {
            "fields": {
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "instanceId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "ipAddress": {
                "nullable": false,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "payload": {
                "nullable": true,
                "type": {
                  "codecId": "pg/json@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {},
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "instanceId": {
                  "column": "instance_id"
                },
                "ipAddress": {
                  "column": "ip_address"
                },
                "payload": {
                  "column": "payload"
                }
              },
              "namespaceId": "auth",
              "table": "audit_log_entries"
            }
          },
          "AuthIdentity": {
            "fields": {
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "email": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "identityData": {
                "nullable": false,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "lastSignInAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "provider": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "providerId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "user": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "userId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthUser",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "email": {
                  "column": "email"
                },
                "id": {
                  "column": "id"
                },
                "identityData": {
                  "column": "identity_data"
                },
                "lastSignInAt": {
                  "column": "last_sign_in_at"
                },
                "provider": {
                  "column": "provider"
                },
                "providerId": {
                  "column": "provider_id"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "identities"
            }
          },
          "AuthSession": {
            "fields": {
              "aal": {
                "nullable": true,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.aal_level"
                  }
                }
              },
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "factorId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "ip": {
                "nullable": true,
                "type": {
                  "codecId": "pg/inet@1",
                  "kind": "scalar"
                }
              },
              "notAfter": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "oauthClientId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "refreshTokenCounter": {
                "nullable": true,
                "type": {
                  "codecId": "pg/int8@1",
                  "kind": "scalar"
                }
              },
              "refreshTokenHmacKey": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "refreshedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamp@1",
                  "kind": "scalar"
                }
              },
              "scopes": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "tag": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "userAgent": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "mfaAmrClaims": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "sessionId"
                  ]
                },
                "to": {
                  "model": "MfaAmrClaims",
                  "namespace": "auth"
                }
              },
              "oauthClient": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "oauthClientId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "OauthClients",
                  "namespace": "auth"
                }
              },
              "refreshTokens": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "sessionId"
                  ]
                },
                "to": {
                  "model": "RefreshTokens",
                  "namespace": "auth"
                }
              },
              "user": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "userId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthUser",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "aal": {
                  "column": "aal"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "factorId": {
                  "column": "factor_id"
                },
                "id": {
                  "column": "id"
                },
                "ip": {
                  "column": "ip"
                },
                "notAfter": {
                  "column": "not_after"
                },
                "oauthClientId": {
                  "column": "oauth_client_id"
                },
                "refreshTokenCounter": {
                  "column": "refresh_token_counter"
                },
                "refreshTokenHmacKey": {
                  "column": "refresh_token_hmac_key"
                },
                "refreshedAt": {
                  "column": "refreshed_at"
                },
                "scopes": {
                  "column": "scopes"
                },
                "tag": {
                  "column": "tag"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userAgent": {
                  "column": "user_agent"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "sessions"
            }
          },
          "AuthUser": {
            "fields": {
              "aud": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "bannedUntil": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "confirmationSentAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "confirmationToken": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "confirmedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "deletedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "email": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "emailChange": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "emailChangeConfirmStatus": {
                "nullable": true,
                "type": {
                  "codecId": "pg/int2@1",
                  "kind": "scalar"
                }
              },
              "emailChangeSentAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "emailChangeTokenCurrent": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "emailChangeTokenNew": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "emailConfirmedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "encryptedPassword": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "instanceId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "invitedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "isAnonymous": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "isSsoUser": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "isSuperAdmin": {
                "nullable": true,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "lastSignInAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "phone": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "phoneChange": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "phoneChangeSentAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "phoneChangeToken": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "phoneConfirmedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "rawAppMetaData": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "rawUserMetaData": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "reauthenticationSentAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "reauthenticationToken": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "recoverySentAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "recoveryToken": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "role": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "identities": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "userId"
                  ]
                },
                "to": {
                  "model": "AuthIdentity",
                  "namespace": "auth"
                }
              },
              "mfaFactors": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "userId"
                  ]
                },
                "to": {
                  "model": "MfaFactors",
                  "namespace": "auth"
                }
              },
              "oauthAuthorizations": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "userId"
                  ]
                },
                "to": {
                  "model": "OauthAuthorizations",
                  "namespace": "auth"
                }
              },
              "oauthConsents": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "userId"
                  ]
                },
                "to": {
                  "model": "OauthConsents",
                  "namespace": "auth"
                }
              },
              "oneTimeTokens": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "userId"
                  ]
                },
                "to": {
                  "model": "OneTimeTokens",
                  "namespace": "auth"
                }
              },
              "sessions": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "userId"
                  ]
                },
                "to": {
                  "model": "AuthSession",
                  "namespace": "auth"
                }
              },
              "webauthnChallenges": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "userId"
                  ]
                },
                "to": {
                  "model": "WebauthnChallenges",
                  "namespace": "auth"
                }
              },
              "webauthnCredentials": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "userId"
                  ]
                },
                "to": {
                  "model": "WebauthnCredentials",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "aud": {
                  "column": "aud"
                },
                "bannedUntil": {
                  "column": "banned_until"
                },
                "confirmationSentAt": {
                  "column": "confirmation_sent_at"
                },
                "confirmationToken": {
                  "column": "confirmation_token"
                },
                "confirmedAt": {
                  "column": "confirmed_at"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "deletedAt": {
                  "column": "deleted_at"
                },
                "email": {
                  "column": "email"
                },
                "emailChange": {
                  "column": "email_change"
                },
                "emailChangeConfirmStatus": {
                  "column": "email_change_confirm_status"
                },
                "emailChangeSentAt": {
                  "column": "email_change_sent_at"
                },
                "emailChangeTokenCurrent": {
                  "column": "email_change_token_current"
                },
                "emailChangeTokenNew": {
                  "column": "email_change_token_new"
                },
                "emailConfirmedAt": {
                  "column": "email_confirmed_at"
                },
                "encryptedPassword": {
                  "column": "encrypted_password"
                },
                "id": {
                  "column": "id"
                },
                "instanceId": {
                  "column": "instance_id"
                },
                "invitedAt": {
                  "column": "invited_at"
                },
                "isAnonymous": {
                  "column": "is_anonymous"
                },
                "isSsoUser": {
                  "column": "is_sso_user"
                },
                "isSuperAdmin": {
                  "column": "is_super_admin"
                },
                "lastSignInAt": {
                  "column": "last_sign_in_at"
                },
                "phone": {
                  "column": "phone"
                },
                "phoneChange": {
                  "column": "phone_change"
                },
                "phoneChangeSentAt": {
                  "column": "phone_change_sent_at"
                },
                "phoneChangeToken": {
                  "column": "phone_change_token"
                },
                "phoneConfirmedAt": {
                  "column": "phone_confirmed_at"
                },
                "rawAppMetaData": {
                  "column": "raw_app_meta_data"
                },
                "rawUserMetaData": {
                  "column": "raw_user_meta_data"
                },
                "reauthenticationSentAt": {
                  "column": "reauthentication_sent_at"
                },
                "reauthenticationToken": {
                  "column": "reauthentication_token"
                },
                "recoverySentAt": {
                  "column": "recovery_sent_at"
                },
                "recoveryToken": {
                  "column": "recovery_token"
                },
                "role": {
                  "column": "role"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "auth",
              "table": "users"
            }
          },
          "CustomOauthProviders": {
            "fields": {
              "acceptableClientIds": {
                "many": true,
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "attributeMapping": {
                "nullable": false,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "authorizationParams": {
                "nullable": false,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "authorizationUrl": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "cachedDiscovery": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "clientId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "clientSecret": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "discoveryCachedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "discoveryUrl": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "emailOptional": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "enabled": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "identifier": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "issuer": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "jwksUri": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "name": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "pkceEnabled": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "providerType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "scopes": {
                "many": true,
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "skipNonceCheck": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "tokenUrl": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "userinfoUrl": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {},
            "storage": {
              "fields": {
                "acceptableClientIds": {
                  "column": "acceptable_client_ids"
                },
                "attributeMapping": {
                  "column": "attribute_mapping"
                },
                "authorizationParams": {
                  "column": "authorization_params"
                },
                "authorizationUrl": {
                  "column": "authorization_url"
                },
                "cachedDiscovery": {
                  "column": "cached_discovery"
                },
                "clientId": {
                  "column": "client_id"
                },
                "clientSecret": {
                  "column": "client_secret"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "discoveryCachedAt": {
                  "column": "discovery_cached_at"
                },
                "discoveryUrl": {
                  "column": "discovery_url"
                },
                "emailOptional": {
                  "column": "email_optional"
                },
                "enabled": {
                  "column": "enabled"
                },
                "id": {
                  "column": "id"
                },
                "identifier": {
                  "column": "identifier"
                },
                "issuer": {
                  "column": "issuer"
                },
                "jwksUri": {
                  "column": "jwks_uri"
                },
                "name": {
                  "column": "name"
                },
                "pkceEnabled": {
                  "column": "pkce_enabled"
                },
                "providerType": {
                  "column": "provider_type"
                },
                "scopes": {
                  "column": "scopes"
                },
                "skipNonceCheck": {
                  "column": "skip_nonce_check"
                },
                "tokenUrl": {
                  "column": "token_url"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userinfoUrl": {
                  "column": "userinfo_url"
                }
              },
              "namespaceId": "auth",
              "table": "custom_oauth_providers"
            }
          },
          "FlowState": {
            "fields": {
              "authCode": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "authCodeIssuedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "authenticationMethod": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "codeChallenge": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "codeChallengeMethod": {
                "nullable": true,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.code_challenge_method"
                  }
                }
              },
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "emailOptional": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "inviteToken": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "linkingTargetId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "oauthClientStateId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "providerAccessToken": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "providerRefreshToken": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "providerType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "referrer": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "samlRelayStates": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "flowStateId"
                  ]
                },
                "to": {
                  "model": "SamlRelayStates",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "authCode": {
                  "column": "auth_code"
                },
                "authCodeIssuedAt": {
                  "column": "auth_code_issued_at"
                },
                "authenticationMethod": {
                  "column": "authentication_method"
                },
                "codeChallenge": {
                  "column": "code_challenge"
                },
                "codeChallengeMethod": {
                  "column": "code_challenge_method"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "emailOptional": {
                  "column": "email_optional"
                },
                "id": {
                  "column": "id"
                },
                "inviteToken": {
                  "column": "invite_token"
                },
                "linkingTargetId": {
                  "column": "linking_target_id"
                },
                "oauthClientStateId": {
                  "column": "oauth_client_state_id"
                },
                "providerAccessToken": {
                  "column": "provider_access_token"
                },
                "providerRefreshToken": {
                  "column": "provider_refresh_token"
                },
                "providerType": {
                  "column": "provider_type"
                },
                "referrer": {
                  "column": "referrer"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "flow_state"
            }
          },
          "Instances": {
            "fields": {
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "rawBaseConfig": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "uuid": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {},
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "rawBaseConfig": {
                  "column": "raw_base_config"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "uuid": {
                  "column": "uuid"
                }
              },
              "namespaceId": "auth",
              "table": "instances"
            }
          },
          "MfaAmrClaims": {
            "fields": {
              "authenticationMethod": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "sessionId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "session": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "sessionId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthSession",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "authenticationMethod": {
                  "column": "authentication_method"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "sessionId": {
                  "column": "session_id"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "auth",
              "table": "mfa_amr_claims"
            }
          },
          "MfaChallenges": {
            "fields": {
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "factorId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "ipAddress": {
                "nullable": false,
                "type": {
                  "codecId": "pg/inet@1",
                  "kind": "scalar"
                }
              },
              "otpCode": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "verifiedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "webAuthnSessionData": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "factor": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "factorId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "MfaFactors",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "factorId": {
                  "column": "factor_id"
                },
                "id": {
                  "column": "id"
                },
                "ipAddress": {
                  "column": "ip_address"
                },
                "otpCode": {
                  "column": "otp_code"
                },
                "verifiedAt": {
                  "column": "verified_at"
                },
                "webAuthnSessionData": {
                  "column": "web_authn_session_data"
                }
              },
              "namespaceId": "auth",
              "table": "mfa_challenges"
            }
          },
          "MfaFactors": {
            "fields": {
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "factorType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.factor_type"
                  }
                }
              },
              "friendlyName": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "lastChallengedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "lastWebauthnChallengeData": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "phone": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "secret": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "status": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.factor_status"
                  }
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "webAuthnAaguid": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "webAuthnCredential": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "mfaChallenges": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "factorId"
                  ]
                },
                "to": {
                  "model": "MfaChallenges",
                  "namespace": "auth"
                }
              },
              "user": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "userId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthUser",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "factorType": {
                  "column": "factor_type"
                },
                "friendlyName": {
                  "column": "friendly_name"
                },
                "id": {
                  "column": "id"
                },
                "lastChallengedAt": {
                  "column": "last_challenged_at"
                },
                "lastWebauthnChallengeData": {
                  "column": "last_webauthn_challenge_data"
                },
                "phone": {
                  "column": "phone"
                },
                "secret": {
                  "column": "secret"
                },
                "status": {
                  "column": "status"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userId": {
                  "column": "user_id"
                },
                "webAuthnAaguid": {
                  "column": "web_authn_aaguid"
                },
                "webAuthnCredential": {
                  "column": "web_authn_credential"
                }
              },
              "namespaceId": "auth",
              "table": "mfa_factors"
            }
          },
          "OauthAuthorizations": {
            "fields": {
              "approvedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "authorizationCode": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "authorizationId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "clientId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "codeChallenge": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "codeChallengeMethod": {
                "nullable": true,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.code_challenge_method"
                  }
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "expiresAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "nonce": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "redirectUri": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "resource": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "responseType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.oauth_response_type"
                  }
                }
              },
              "scope": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "state": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "status": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.oauth_authorization_status"
                  }
                }
              },
              "userId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "client": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "clientId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "OauthClients",
                  "namespace": "auth"
                }
              },
              "user": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "userId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthUser",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "approvedAt": {
                  "column": "approved_at"
                },
                "authorizationCode": {
                  "column": "authorization_code"
                },
                "authorizationId": {
                  "column": "authorization_id"
                },
                "clientId": {
                  "column": "client_id"
                },
                "codeChallenge": {
                  "column": "code_challenge"
                },
                "codeChallengeMethod": {
                  "column": "code_challenge_method"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "expiresAt": {
                  "column": "expires_at"
                },
                "id": {
                  "column": "id"
                },
                "nonce": {
                  "column": "nonce"
                },
                "redirectUri": {
                  "column": "redirect_uri"
                },
                "resource": {
                  "column": "resource"
                },
                "responseType": {
                  "column": "response_type"
                },
                "scope": {
                  "column": "scope"
                },
                "state": {
                  "column": "state"
                },
                "status": {
                  "column": "status"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "oauth_authorizations"
            }
          },
          "OauthClientStates": {
            "fields": {
              "codeVerifier": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "providerType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {},
            "storage": {
              "fields": {
                "codeVerifier": {
                  "column": "code_verifier"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "providerType": {
                  "column": "provider_type"
                }
              },
              "namespaceId": "auth",
              "table": "oauth_client_states"
            }
          },
          "OauthClients": {
            "fields": {
              "clientName": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "clientSecretHash": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "clientType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.oauth_client_type"
                  }
                }
              },
              "clientUri": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "deletedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "grantTypes": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "logoUri": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "redirectUris": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "registrationType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.oauth_registration_type"
                  }
                }
              },
              "tokenEndpointAuthMethod": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "oauthAuthorizations": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "clientId"
                  ]
                },
                "to": {
                  "model": "OauthAuthorizations",
                  "namespace": "auth"
                }
              },
              "oauthConsents": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "clientId"
                  ]
                },
                "to": {
                  "model": "OauthConsents",
                  "namespace": "auth"
                }
              },
              "sessions": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "oauthClientId"
                  ]
                },
                "to": {
                  "model": "AuthSession",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "clientName": {
                  "column": "client_name"
                },
                "clientSecretHash": {
                  "column": "client_secret_hash"
                },
                "clientType": {
                  "column": "client_type"
                },
                "clientUri": {
                  "column": "client_uri"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "deletedAt": {
                  "column": "deleted_at"
                },
                "grantTypes": {
                  "column": "grant_types"
                },
                "id": {
                  "column": "id"
                },
                "logoUri": {
                  "column": "logo_uri"
                },
                "redirectUris": {
                  "column": "redirect_uris"
                },
                "registrationType": {
                  "column": "registration_type"
                },
                "tokenEndpointAuthMethod": {
                  "column": "token_endpoint_auth_method"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "auth",
              "table": "oauth_clients"
            }
          },
          "OauthConsents": {
            "fields": {
              "clientId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "grantedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "revokedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "scopes": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "client": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "clientId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "OauthClients",
                  "namespace": "auth"
                }
              },
              "user": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "userId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthUser",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "clientId": {
                  "column": "client_id"
                },
                "grantedAt": {
                  "column": "granted_at"
                },
                "id": {
                  "column": "id"
                },
                "revokedAt": {
                  "column": "revoked_at"
                },
                "scopes": {
                  "column": "scopes"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "oauth_consents"
            }
          },
          "OneTimeTokens": {
            "fields": {
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamp@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "relatesTo": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "tokenHash": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "tokenType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "auth.one_time_token_type"
                  }
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamp@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "user": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "userId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthUser",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "relatesTo": {
                  "column": "relates_to"
                },
                "tokenHash": {
                  "column": "token_hash"
                },
                "tokenType": {
                  "column": "token_type"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "one_time_tokens"
            }
          },
          "RefreshTokens": {
            "fields": {
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/int8@1",
                  "kind": "scalar"
                }
              },
              "instanceId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "parent": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "revoked": {
                "nullable": true,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "sessionId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "token": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": true,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "session": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "sessionId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthSession",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "instanceId": {
                  "column": "instance_id"
                },
                "parent": {
                  "column": "parent"
                },
                "revoked": {
                  "column": "revoked"
                },
                "sessionId": {
                  "column": "session_id"
                },
                "token": {
                  "column": "token"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "refresh_tokens"
            }
          },
          "SamlProviders": {
            "fields": {
              "attributeMapping": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "entityId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "metadataUrl": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "metadataXml": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "nameIdFormat": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "ssoProviderId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "ssoProvider": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "ssoProviderId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "SsoProviders",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "attributeMapping": {
                  "column": "attribute_mapping"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "entityId": {
                  "column": "entity_id"
                },
                "id": {
                  "column": "id"
                },
                "metadataUrl": {
                  "column": "metadata_url"
                },
                "metadataXml": {
                  "column": "metadata_xml"
                },
                "nameIdFormat": {
                  "column": "name_id_format"
                },
                "ssoProviderId": {
                  "column": "sso_provider_id"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "auth",
              "table": "saml_providers"
            }
          },
          "SamlRelayStates": {
            "fields": {
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "flowStateId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "forEmail": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "redirectTo": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "requestId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "ssoProviderId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "flowState": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "flowStateId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "FlowState",
                  "namespace": "auth"
                }
              },
              "ssoProvider": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "ssoProviderId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "SsoProviders",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "flowStateId": {
                  "column": "flow_state_id"
                },
                "forEmail": {
                  "column": "for_email"
                },
                "id": {
                  "column": "id"
                },
                "redirectTo": {
                  "column": "redirect_to"
                },
                "requestId": {
                  "column": "request_id"
                },
                "ssoProviderId": {
                  "column": "sso_provider_id"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "auth",
              "table": "saml_relay_states"
            }
          },
          "SchemaMigrations": {
            "fields": {
              "version": {
                "nullable": false,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {},
            "storage": {
              "fields": {
                "version": {
                  "column": "version"
                }
              },
              "namespaceId": "auth",
              "table": "schema_migrations"
            }
          },
          "SsoDomains": {
            "fields": {
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "domain": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "ssoProviderId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "ssoProvider": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "ssoProviderId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "SsoProviders",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "domain": {
                  "column": "domain"
                },
                "id": {
                  "column": "id"
                },
                "ssoProviderId": {
                  "column": "sso_provider_id"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "auth",
              "table": "sso_domains"
            }
          },
          "SsoProviders": {
            "fields": {
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "disabled": {
                "nullable": true,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "resourceId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "samlProviders": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "ssoProviderId"
                  ]
                },
                "to": {
                  "model": "SamlProviders",
                  "namespace": "auth"
                }
              },
              "samlRelayStates": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "ssoProviderId"
                  ]
                },
                "to": {
                  "model": "SamlRelayStates",
                  "namespace": "auth"
                }
              },
              "ssoDomains": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "ssoProviderId"
                  ]
                },
                "to": {
                  "model": "SsoDomains",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "createdAt": {
                  "column": "created_at"
                },
                "disabled": {
                  "column": "disabled"
                },
                "id": {
                  "column": "id"
                },
                "resourceId": {
                  "column": "resource_id"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "auth",
              "table": "sso_providers"
            }
          },
          "WebauthnChallenges": {
            "fields": {
              "challengeType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "expiresAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "sessionData": {
                "nullable": false,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "user": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "userId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthUser",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "challengeType": {
                  "column": "challenge_type"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "expiresAt": {
                  "column": "expires_at"
                },
                "id": {
                  "column": "id"
                },
                "sessionData": {
                  "column": "session_data"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "webauthn_challenges"
            }
          },
          "WebauthnCredentials": {
            "fields": {
              "aaguid": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "attestationType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "backedUp": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "backupEligible": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "credentialId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bytea@1",
                  "kind": "scalar"
                }
              },
              "friendlyName": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "lastUsedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "publicKey": {
                "nullable": false,
                "type": {
                  "codecId": "pg/bytea@1",
                  "kind": "scalar"
                }
              },
              "signCount": {
                "nullable": false,
                "type": {
                  "codecId": "pg/int8@1",
                  "kind": "scalar"
                }
              },
              "transports": {
                "nullable": false,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "userId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "user": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "userId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "AuthUser",
                  "namespace": "auth"
                }
              }
            },
            "storage": {
              "fields": {
                "aaguid": {
                  "column": "aaguid"
                },
                "attestationType": {
                  "column": "attestation_type"
                },
                "backedUp": {
                  "column": "backed_up"
                },
                "backupEligible": {
                  "column": "backup_eligible"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "credentialId": {
                  "column": "credential_id"
                },
                "friendlyName": {
                  "column": "friendly_name"
                },
                "id": {
                  "column": "id"
                },
                "lastUsedAt": {
                  "column": "last_used_at"
                },
                "publicKey": {
                  "column": "public_key"
                },
                "signCount": {
                  "column": "sign_count"
                },
                "transports": {
                  "column": "transports"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userId": {
                  "column": "user_id"
                }
              },
              "namespaceId": "auth",
              "table": "webauthn_credentials"
            }
          }
        }
      },
      "storage": {
        "models": {
          "BucketsAnalytics": {
            "fields": {
              "_type": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "storage.buckettype"
                  }
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "deletedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "format": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "name": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "icebergNamespaces": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "catalogId"
                  ]
                },
                "to": {
                  "model": "IcebergNamespaces",
                  "namespace": "storage"
                }
              },
              "icebergTables": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "catalogId"
                  ]
                },
                "to": {
                  "model": "IcebergTables",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "_type": {
                  "column": "type"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "deletedAt": {
                  "column": "deleted_at"
                },
                "format": {
                  "column": "format"
                },
                "id": {
                  "column": "id"
                },
                "name": {
                  "column": "name"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "storage",
              "table": "buckets_analytics"
            }
          },
          "BucketsVectors": {
            "fields": {
              "_type": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "storage.buckettype"
                  }
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "vectorIndexes": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "bucketId"
                  ]
                },
                "to": {
                  "model": "VectorIndexes",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "_type": {
                  "column": "type"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "storage",
              "table": "buckets_vectors"
            }
          },
          "IcebergNamespaces": {
            "fields": {
              "bucketName": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "catalogId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "metadata": {
                "nullable": false,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "name": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "catalog": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "catalogId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "BucketsAnalytics",
                  "namespace": "storage"
                }
              },
              "icebergTables": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "namespaceId"
                  ]
                },
                "to": {
                  "model": "IcebergTables",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "bucketName": {
                  "column": "bucket_name"
                },
                "catalogId": {
                  "column": "catalog_id"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "metadata": {
                  "column": "metadata"
                },
                "name": {
                  "column": "name"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "storage",
              "table": "iceberg_namespaces"
            }
          },
          "IcebergTables": {
            "fields": {
              "bucketName": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "catalogId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "location": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "name": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "namespaceId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "remoteTableId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "shardId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "shardKey": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "catalog": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "catalogId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "BucketsAnalytics",
                  "namespace": "storage"
                }
              },
              "namespace": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "namespaceId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "IcebergNamespaces",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "bucketName": {
                  "column": "bucket_name"
                },
                "catalogId": {
                  "column": "catalog_id"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "location": {
                  "column": "location"
                },
                "name": {
                  "column": "name"
                },
                "namespaceId": {
                  "column": "namespace_id"
                },
                "remoteTableId": {
                  "column": "remote_table_id"
                },
                "shardId": {
                  "column": "shard_id"
                },
                "shardKey": {
                  "column": "shard_key"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "storage",
              "table": "iceberg_tables"
            }
          },
          "Migrations": {
            "fields": {
              "executedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamp@1",
                  "kind": "scalar"
                }
              },
              "hash": {
                "nullable": false,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/int4@1",
                  "kind": "scalar"
                }
              },
              "name": {
                "nullable": false,
                "type": {
                  "codecId": "sql/varchar@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {},
            "storage": {
              "fields": {
                "executedAt": {
                  "column": "executed_at"
                },
                "hash": {
                  "column": "hash"
                },
                "id": {
                  "column": "id"
                },
                "name": {
                  "column": "name"
                }
              },
              "namespaceId": "storage",
              "table": "migrations"
            }
          },
          "S3MultipartUploads": {
            "fields": {
              "bucketId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "inProgressSize": {
                "nullable": false,
                "type": {
                  "codecId": "pg/int8@1",
                  "kind": "scalar"
                }
              },
              "key": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "metadata": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "ownerId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "uploadSignature": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "userMetadata": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "version": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "bucket": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "bucketId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "StorageBucket",
                  "namespace": "storage"
                }
              },
              "s3MultipartUploadsParts": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "uploadId"
                  ]
                },
                "to": {
                  "model": "S3MultipartUploadsParts",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "bucketId": {
                  "column": "bucket_id"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "inProgressSize": {
                  "column": "in_progress_size"
                },
                "key": {
                  "column": "key"
                },
                "metadata": {
                  "column": "metadata"
                },
                "ownerId": {
                  "column": "owner_id"
                },
                "uploadSignature": {
                  "column": "upload_signature"
                },
                "userMetadata": {
                  "column": "user_metadata"
                },
                "version": {
                  "column": "version"
                }
              },
              "namespaceId": "storage",
              "table": "s3_multipart_uploads"
            }
          },
          "S3MultipartUploadsParts": {
            "fields": {
              "bucketId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "etag": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "key": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "ownerId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "partNumber": {
                "nullable": false,
                "type": {
                  "codecId": "pg/int4@1",
                  "kind": "scalar"
                }
              },
              "size": {
                "nullable": false,
                "type": {
                  "codecId": "pg/int8@1",
                  "kind": "scalar"
                }
              },
              "uploadId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "version": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "bucket": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "bucketId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "StorageBucket",
                  "namespace": "storage"
                }
              },
              "upload": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "uploadId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "S3MultipartUploads",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "bucketId": {
                  "column": "bucket_id"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "etag": {
                  "column": "etag"
                },
                "id": {
                  "column": "id"
                },
                "key": {
                  "column": "key"
                },
                "ownerId": {
                  "column": "owner_id"
                },
                "partNumber": {
                  "column": "part_number"
                },
                "size": {
                  "column": "size"
                },
                "uploadId": {
                  "column": "upload_id"
                },
                "version": {
                  "column": "version"
                }
              },
              "namespaceId": "storage",
              "table": "s3_multipart_uploads_parts"
            }
          },
          "StorageBucket": {
            "fields": {
              "_type": {
                "nullable": false,
                "type": {
                  "codecId": "pg/enum@1",
                  "kind": "scalar",
                  "typeParams": {
                    "typeName": "storage.buckettype"
                  }
                }
              },
              "avifAutodetection": {
                "nullable": true,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "fileSizeLimit": {
                "nullable": true,
                "type": {
                  "codecId": "pg/int8@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "name": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "owner": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "ownerId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "public": {
                "nullable": true,
                "type": {
                  "codecId": "pg/bool@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "objects": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "bucketId"
                  ]
                },
                "to": {
                  "model": "StorageObject",
                  "namespace": "storage"
                }
              },
              "s3MultipartUploads": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "bucketId"
                  ]
                },
                "to": {
                  "model": "S3MultipartUploads",
                  "namespace": "storage"
                }
              },
              "s3MultipartUploadsParts": {
                "cardinality": "1:N",
                "on": {
                  "localFields": [
                    "id"
                  ],
                  "targetFields": [
                    "bucketId"
                  ]
                },
                "to": {
                  "model": "S3MultipartUploadsParts",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "_type": {
                  "column": "type"
                },
                "avifAutodetection": {
                  "column": "avif_autodetection"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "fileSizeLimit": {
                  "column": "file_size_limit"
                },
                "id": {
                  "column": "id"
                },
                "name": {
                  "column": "name"
                },
                "owner": {
                  "column": "owner"
                },
                "ownerId": {
                  "column": "owner_id"
                },
                "public": {
                  "column": "public"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "storage",
              "table": "buckets"
            }
          },
          "StorageObject": {
            "fields": {
              "bucketId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "lastAccessedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "metadata": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "name": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "owner": {
                "nullable": true,
                "type": {
                  "codecId": "pg/uuid@1",
                  "kind": "scalar"
                }
              },
              "ownerId": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": true,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "userMetadata": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "version": {
                "nullable": true,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "bucket": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "bucketId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "StorageBucket",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "bucketId": {
                  "column": "bucket_id"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "id": {
                  "column": "id"
                },
                "lastAccessedAt": {
                  "column": "last_accessed_at"
                },
                "metadata": {
                  "column": "metadata"
                },
                "name": {
                  "column": "name"
                },
                "owner": {
                  "column": "owner"
                },
                "ownerId": {
                  "column": "owner_id"
                },
                "updatedAt": {
                  "column": "updated_at"
                },
                "userMetadata": {
                  "column": "user_metadata"
                },
                "version": {
                  "column": "version"
                }
              },
              "namespaceId": "storage",
              "table": "objects"
            }
          },
          "VectorIndexes": {
            "fields": {
              "bucketId": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "createdAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              },
              "dataType": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "dimension": {
                "nullable": false,
                "type": {
                  "codecId": "pg/int4@1",
                  "kind": "scalar"
                }
              },
              "distanceMetric": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "id": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "metadataConfiguration": {
                "nullable": true,
                "type": {
                  "codecId": "pg/jsonb@1",
                  "kind": "scalar"
                }
              },
              "name": {
                "nullable": false,
                "type": {
                  "codecId": "pg/text@1",
                  "kind": "scalar"
                }
              },
              "updatedAt": {
                "nullable": false,
                "type": {
                  "codecId": "pg/timestamptz@1",
                  "kind": "scalar"
                }
              }
            },
            "relations": {
              "bucket": {
                "cardinality": "N:1",
                "on": {
                  "localFields": [
                    "bucketId"
                  ],
                  "targetFields": [
                    "id"
                  ]
                },
                "to": {
                  "model": "BucketsVectors",
                  "namespace": "storage"
                }
              }
            },
            "storage": {
              "fields": {
                "bucketId": {
                  "column": "bucket_id"
                },
                "createdAt": {
                  "column": "created_at"
                },
                "dataType": {
                  "column": "data_type"
                },
                "dimension": {
                  "column": "dimension"
                },
                "distanceMetric": {
                  "column": "distance_metric"
                },
                "id": {
                  "column": "id"
                },
                "metadataConfiguration": {
                  "column": "metadata_configuration"
                },
                "name": {
                  "column": "name"
                },
                "updatedAt": {
                  "column": "updated_at"
                }
              },
              "namespaceId": "storage",
              "table": "vector_indexes"
            }
          }
        }
      }
    }
  },
  "storage": {
    "namespaces": {
      "__unbound__": {
        "entries": {
          "role": {
            "anon": {
              "control": "external",
              "kind": "role",
              "name": "anon",
              "namespaceId": "__unbound__"
            },
            "authenticated": {
              "control": "external",
              "kind": "role",
              "name": "authenticated",
              "namespaceId": "__unbound__"
            },
            "service_role": {
              "control": "external",
              "kind": "role",
              "name": "service_role",
              "namespaceId": "__unbound__"
            }
          },
          "table": {}
        },
        "id": "__unbound__",
        "kind": "postgres-unbound-schema"
      },
      "auth": {
        "entries": {
          "native_enum": {
            "aal_level": {
              "kind": "postgres-enum",
              "members": [
                "aal1",
                "aal2",
                "aal3"
              ],
              "typeName": "aal_level"
            },
            "code_challenge_method": {
              "kind": "postgres-enum",
              "members": [
                "s256",
                "plain"
              ],
              "typeName": "code_challenge_method"
            },
            "factor_status": {
              "kind": "postgres-enum",
              "members": [
                "unverified",
                "verified"
              ],
              "typeName": "factor_status"
            },
            "factor_type": {
              "kind": "postgres-enum",
              "members": [
                "totp",
                "webauthn",
                "phone"
              ],
              "typeName": "factor_type"
            },
            "oauth_authorization_status": {
              "kind": "postgres-enum",
              "members": [
                "pending",
                "approved",
                "denied",
                "expired"
              ],
              "typeName": "oauth_authorization_status"
            },
            "oauth_client_type": {
              "kind": "postgres-enum",
              "members": [
                "public",
                "confidential"
              ],
              "typeName": "oauth_client_type"
            },
            "oauth_registration_type": {
              "kind": "postgres-enum",
              "members": [
                "dynamic",
                "manual"
              ],
              "typeName": "oauth_registration_type"
            },
            "oauth_response_type": {
              "kind": "postgres-enum",
              "members": [
                "code"
              ],
              "typeName": "oauth_response_type"
            },
            "one_time_token_type": {
              "kind": "postgres-enum",
              "members": [
                "confirmation_token",
                "reauthentication_token",
                "recovery_token",
                "email_change_token_new",
                "email_change_token_current",
                "phone_change_token"
              ],
              "typeName": "one_time_token_type"
            }
          },
          "rls": {
            "audit_log_entries": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "audit_log_entries"
            },
            "flow_state": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "flow_state"
            },
            "identities": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "identities"
            },
            "instances": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "instances"
            },
            "mfa_amr_claims": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "mfa_amr_claims"
            },
            "mfa_challenges": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "mfa_challenges"
            },
            "mfa_factors": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "mfa_factors"
            },
            "one_time_tokens": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "one_time_tokens"
            },
            "refresh_tokens": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "refresh_tokens"
            },
            "saml_providers": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "saml_providers"
            },
            "saml_relay_states": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "saml_relay_states"
            },
            "schema_migrations": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "schema_migrations"
            },
            "sessions": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "sessions"
            },
            "sso_domains": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "sso_domains"
            },
            "sso_providers": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "sso_providers"
            },
            "users": {
              "kind": "rls",
              "namespaceId": "auth",
              "tableName": "users"
            }
          },
          "table": {
            "audit_log_entries": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "instance_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "ip_address": {
                  "codecId": "sql/varchar@1",
                  "default": {
                    "kind": "literal",
                    "value": ""
                  },
                  "nativeType": "character varying",
                  "nullable": false,
                  "typeRef": "IpAddress2"
                },
                "payload": {
                  "codecId": "pg/json@1",
                  "nativeType": "json",
                  "nullable": true,
                  "typeRef": "Payload"
                }
              },
              "foreignKeys": [],
              "indexes": [
                {
                  "columns": [
                    "instance_id"
                  ],
                  "name": "audit_logs_instance_id_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "audit_log_entries_pkey"
              },
              "uniques": []
            },
            "custom_oauth_providers": {
              "columns": {
                "acceptable_client_ids": {
                  "codecId": "pg/text@1",
                  "default": {
                    "kind": "literal",
                    "value": []
                  },
                  "many": true,
                  "nativeType": "text",
                  "nullable": false
                },
                "attribute_mapping": {
                  "codecId": "pg/jsonb@1",
                  "default": {
                    "expression": "'{}'::jsonb",
                    "kind": "function"
                  },
                  "nativeType": "jsonb",
                  "nullable": false
                },
                "authorization_params": {
                  "codecId": "pg/jsonb@1",
                  "default": {
                    "expression": "'{}'::jsonb",
                    "kind": "function"
                  },
                  "nativeType": "jsonb",
                  "nullable": false
                },
                "authorization_url": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "cached_discovery": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "client_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "client_secret": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "discovery_cached_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "discovery_url": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "email_optional": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "enabled": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": true
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "identifier": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "issuer": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "jwks_uri": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "pkce_enabled": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": true
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "provider_type": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "scopes": {
                  "codecId": "pg/text@1",
                  "default": {
                    "kind": "literal",
                    "value": []
                  },
                  "many": true,
                  "nativeType": "text",
                  "nullable": false
                },
                "skip_nonce_check": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "token_url": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "userinfo_url": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                }
              },
              "foreignKeys": [],
              "indexes": [
                {
                  "columns": [
                    "created_at"
                  ],
                  "name": "custom_oauth_providers_created_at_idx"
                },
                {
                  "columns": [
                    "enabled"
                  ],
                  "name": "custom_oauth_providers_enabled_idx"
                },
                {
                  "columns": [
                    "identifier"
                  ],
                  "name": "custom_oauth_providers_identifier_idx"
                },
                {
                  "columns": [
                    "provider_type"
                  ],
                  "name": "custom_oauth_providers_provider_type_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "custom_oauth_providers_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "identifier"
                  ],
                  "name": "custom_oauth_providers_identifier_key"
                }
              ]
            },
            "flow_state": {
              "columns": {
                "auth_code": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "auth_code_issued_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "authentication_method": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "code_challenge": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "code_challenge_method": {
                  "codecId": "pg/enum@1",
                  "nativeType": "auth.code_challenge_method",
                  "nullable": true,
                  "typeParams": {
                    "typeName": "auth.code_challenge_method"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "CodeChallengeMethod",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "email_optional": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "invite_token": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "linking_target_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "oauth_client_state_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "provider_access_token": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "provider_refresh_token": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "provider_type": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "referrer": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [],
              "indexes": [
                {
                  "columns": [
                    "created_at"
                  ],
                  "name": "flow_state_created_at_idx"
                },
                {
                  "columns": [
                    "auth_code"
                  ],
                  "name": "idx_auth_code"
                },
                {
                  "columns": [
                    "user_id",
                    "authentication_method"
                  ],
                  "name": "idx_user_id_auth_method"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "flow_state_pkey"
              },
              "uniques": []
            },
            "identities": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "email": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "identity_data": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": false
                },
                "last_sign_in_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "provider": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "provider_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [
                {
                  "name": "identities_user_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "user_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "identities"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "users"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "email"
                  ],
                  "name": "identities_email_idx"
                },
                {
                  "columns": [
                    "user_id"
                  ],
                  "name": "identities_user_id_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "identities_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "provider_id",
                    "provider"
                  ],
                  "name": "identities_provider_id_provider_unique"
                }
              ]
            },
            "instances": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "raw_base_config": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "uuid": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "instances_pkey"
              },
              "uniques": []
            },
            "mfa_amr_claims": {
              "columns": {
                "authentication_method": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "session_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": false
                }
              },
              "foreignKeys": [
                {
                  "name": "mfa_amr_claims_session_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "session_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "mfa_amr_claims"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "sessions"
                  }
                }
              ],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "amr_id_pk"
              },
              "uniques": [
                {
                  "columns": [
                    "session_id",
                    "authentication_method"
                  ],
                  "name": "mfa_amr_claims_session_id_authentication_method_pkey"
                }
              ]
            },
            "mfa_challenges": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "factor_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "ip_address": {
                  "codecId": "pg/inet@1",
                  "nativeType": "inet",
                  "nullable": false,
                  "typeRef": "IpAddress"
                },
                "otp_code": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "verified_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "web_authn_session_data": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                }
              },
              "foreignKeys": [
                {
                  "name": "mfa_challenges_auth_factor_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "factor_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "mfa_challenges"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "mfa_factors"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "created_at"
                  ],
                  "name": "mfa_challenge_created_at_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "mfa_challenges_pkey"
              },
              "uniques": []
            },
            "mfa_factors": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "factor_type": {
                  "codecId": "pg/enum@1",
                  "nativeType": "auth.factor_type",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "auth.factor_type"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "FactorType",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "friendly_name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "last_challenged_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "last_webauthn_challenge_data": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "phone": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "secret": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "status": {
                  "codecId": "pg/enum@1",
                  "nativeType": "auth.factor_status",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "auth.factor_status"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "FactorStatus",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "web_authn_aaguid": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "web_authn_credential": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                }
              },
              "foreignKeys": [
                {
                  "name": "mfa_factors_user_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "user_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "mfa_factors"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "users"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "user_id",
                    "created_at"
                  ],
                  "name": "factor_id_created_at_idx"
                },
                {
                  "columns": [
                    "user_id"
                  ],
                  "name": "mfa_factors_user_id_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "mfa_factors_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "last_challenged_at"
                  ],
                  "name": "mfa_factors_last_challenged_at_key"
                }
              ]
            },
            "oauth_authorizations": {
              "columns": {
                "approved_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "authorization_code": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "authorization_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "client_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "code_challenge": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "code_challenge_method": {
                  "codecId": "pg/enum@1",
                  "nativeType": "auth.code_challenge_method",
                  "nullable": true,
                  "typeParams": {
                    "typeName": "auth.code_challenge_method"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "CodeChallengeMethod",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "expires_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "(now() + '00:03:00'::interval)",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "nonce": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "redirect_uri": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "resource": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "response_type": {
                  "codecId": "pg/enum@1",
                  "default": {
                    "expression": "'code'::auth.oauth_response_type",
                    "kind": "function"
                  },
                  "nativeType": "auth.oauth_response_type",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "auth.oauth_response_type"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "OauthResponseType",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "scope": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "state": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "status": {
                  "codecId": "pg/enum@1",
                  "default": {
                    "expression": "'pending'::auth.oauth_authorization_status",
                    "kind": "function"
                  },
                  "nativeType": "auth.oauth_authorization_status",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "auth.oauth_authorization_status"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "OauthAuthorizationStatus",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [
                {
                  "name": "oauth_authorizations_client_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "client_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "oauth_authorizations"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "oauth_clients"
                  }
                },
                {
                  "name": "oauth_authorizations_user_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "user_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "oauth_authorizations"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "users"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "expires_at"
                  ],
                  "name": "oauth_auth_pending_exp_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "oauth_authorizations_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "authorization_code"
                  ],
                  "name": "oauth_authorizations_authorization_code_key"
                },
                {
                  "columns": [
                    "authorization_id"
                  ],
                  "name": "oauth_authorizations_authorization_id_key"
                }
              ]
            },
            "oauth_client_states": {
              "columns": {
                "code_verifier": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "provider_type": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                }
              },
              "foreignKeys": [],
              "indexes": [
                {
                  "columns": [
                    "created_at"
                  ],
                  "name": "idx_oauth_client_states_created_at"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "oauth_client_states_pkey"
              },
              "uniques": []
            },
            "oauth_clients": {
              "columns": {
                "client_name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "client_secret_hash": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "client_type": {
                  "codecId": "pg/enum@1",
                  "default": {
                    "expression": "'confidential'::auth.oauth_client_type",
                    "kind": "function"
                  },
                  "nativeType": "auth.oauth_client_type",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "auth.oauth_client_type"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "OauthClientType",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "client_uri": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "deleted_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "grant_types": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "logo_uri": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "redirect_uris": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "registration_type": {
                  "codecId": "pg/enum@1",
                  "nativeType": "auth.oauth_registration_type",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "auth.oauth_registration_type"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "OauthRegistrationType",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "token_endpoint_auth_method": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                }
              },
              "foreignKeys": [],
              "indexes": [
                {
                  "columns": [
                    "deleted_at"
                  ],
                  "name": "oauth_clients_deleted_at_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "oauth_clients_pkey"
              },
              "uniques": []
            },
            "oauth_consents": {
              "columns": {
                "client_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "granted_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "revoked_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "scopes": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [
                {
                  "name": "oauth_consents_client_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "client_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "oauth_consents"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "oauth_clients"
                  }
                },
                {
                  "name": "oauth_consents_user_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "user_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "oauth_consents"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "users"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "client_id"
                  ],
                  "name": "oauth_consents_active_client_idx"
                },
                {
                  "columns": [
                    "user_id",
                    "client_id"
                  ],
                  "name": "oauth_consents_active_user_client_idx"
                },
                {
                  "columns": [
                    "user_id",
                    "granted_at"
                  ],
                  "name": "oauth_consents_user_order_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "oauth_consents_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "user_id",
                    "client_id"
                  ],
                  "name": "oauth_consents_user_client_unique"
                }
              ]
            },
            "one_time_tokens": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamp@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamp",
                  "nullable": false,
                  "typeRef": "CreatedAt"
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "relates_to": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "token_hash": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "token_type": {
                  "codecId": "pg/enum@1",
                  "nativeType": "auth.one_time_token_type",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "auth.one_time_token_type"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "OneTimeTokenType",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "updated_at": {
                  "codecId": "pg/timestamp@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamp",
                  "nullable": false,
                  "typeRef": "CreatedAt"
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [
                {
                  "name": "one_time_tokens_user_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "user_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "one_time_tokens"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "users"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "relates_to"
                  ],
                  "name": "one_time_tokens_relates_to_hash_idx",
                  "type": "hash"
                },
                {
                  "columns": [
                    "token_hash"
                  ],
                  "name": "one_time_tokens_token_hash_hash_idx",
                  "type": "hash"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "one_time_tokens_pkey"
              },
              "uniques": []
            },
            "refresh_tokens": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/int8@1",
                  "default": {
                    "expression": "autoincrement()",
                    "kind": "function"
                  },
                  "nativeType": "int8",
                  "nullable": false
                },
                "instance_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "parent": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "revoked": {
                  "codecId": "pg/bool@1",
                  "nativeType": "bool",
                  "nullable": true
                },
                "session_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "token": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "user_id": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                }
              },
              "foreignKeys": [
                {
                  "name": "refresh_tokens_session_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "session_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "refresh_tokens"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "sessions"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "instance_id"
                  ],
                  "name": "refresh_tokens_instance_id_idx"
                },
                {
                  "columns": [
                    "instance_id",
                    "user_id"
                  ],
                  "name": "refresh_tokens_instance_id_user_id_idx"
                },
                {
                  "columns": [
                    "parent"
                  ],
                  "name": "refresh_tokens_parent_idx"
                },
                {
                  "columns": [
                    "session_id",
                    "revoked"
                  ],
                  "name": "refresh_tokens_session_id_revoked_idx"
                },
                {
                  "columns": [
                    "updated_at"
                  ],
                  "name": "refresh_tokens_updated_at_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "refresh_tokens_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "token"
                  ],
                  "name": "refresh_tokens_token_unique"
                }
              ]
            },
            "saml_providers": {
              "columns": {
                "attribute_mapping": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "entity_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "metadata_url": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "metadata_xml": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "name_id_format": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "sso_provider_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                }
              },
              "foreignKeys": [
                {
                  "name": "saml_providers_sso_provider_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "sso_provider_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "saml_providers"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "sso_providers"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "sso_provider_id"
                  ],
                  "name": "saml_providers_sso_provider_id_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "saml_providers_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "entity_id"
                  ],
                  "name": "saml_providers_entity_id_key"
                }
              ]
            },
            "saml_relay_states": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "flow_state_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "for_email": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "redirect_to": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "request_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "sso_provider_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                }
              },
              "foreignKeys": [
                {
                  "name": "saml_relay_states_flow_state_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "flow_state_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "saml_relay_states"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "flow_state"
                  }
                },
                {
                  "name": "saml_relay_states_sso_provider_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "sso_provider_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "saml_relay_states"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "sso_providers"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "created_at"
                  ],
                  "name": "saml_relay_states_created_at_idx"
                },
                {
                  "columns": [
                    "for_email"
                  ],
                  "name": "saml_relay_states_for_email_idx"
                },
                {
                  "columns": [
                    "sso_provider_id"
                  ],
                  "name": "saml_relay_states_sso_provider_id_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "saml_relay_states_pkey"
              },
              "uniques": []
            },
            "schema_migrations": {
              "columns": {
                "version": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": false,
                  "typeRef": "Parent"
                }
              },
              "foreignKeys": [],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "version"
                ],
                "name": "schema_migrations_pkey"
              },
              "uniques": []
            },
            "sessions": {
              "columns": {
                "aal": {
                  "codecId": "pg/enum@1",
                  "nativeType": "auth.aal_level",
                  "nullable": true,
                  "typeParams": {
                    "typeName": "auth.aal_level"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "AalLevel",
                    "namespaceId": "auth",
                    "plane": "storage"
                  }
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "factor_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "ip": {
                  "codecId": "pg/inet@1",
                  "nativeType": "inet",
                  "nullable": true,
                  "typeRef": "IpAddress"
                },
                "not_after": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "oauth_client_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "refresh_token_counter": {
                  "codecId": "pg/int8@1",
                  "nativeType": "int8",
                  "nullable": true
                },
                "refresh_token_hmac_key": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "refreshed_at": {
                  "codecId": "pg/timestamp@1",
                  "nativeType": "timestamp",
                  "nullable": true,
                  "typeRef": "CreatedAt"
                },
                "scopes": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "tag": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "user_agent": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [
                {
                  "name": "sessions_oauth_client_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "oauth_client_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "sessions"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "oauth_clients"
                  }
                },
                {
                  "name": "sessions_user_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "user_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "sessions"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "users"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "not_after"
                  ],
                  "name": "sessions_not_after_idx"
                },
                {
                  "columns": [
                    "oauth_client_id"
                  ],
                  "name": "sessions_oauth_client_id_idx"
                },
                {
                  "columns": [
                    "user_id"
                  ],
                  "name": "sessions_user_id_idx"
                },
                {
                  "columns": [
                    "user_id",
                    "created_at"
                  ],
                  "name": "user_id_created_at_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "sessions_pkey"
              },
              "uniques": []
            },
            "sso_domains": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "domain": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "sso_provider_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                }
              },
              "foreignKeys": [
                {
                  "name": "sso_domains_sso_provider_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "sso_provider_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "sso_domains"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "sso_providers"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "sso_provider_id"
                  ],
                  "name": "sso_domains_sso_provider_id_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "sso_domains_pkey"
              },
              "uniques": []
            },
            "sso_providers": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "disabled": {
                  "codecId": "pg/bool@1",
                  "nativeType": "bool",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "resource_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                }
              },
              "foreignKeys": [],
              "indexes": [
                {
                  "columns": [
                    "resource_id"
                  ],
                  "name": "sso_providers_resource_id_pattern_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "sso_providers_pkey"
              },
              "uniques": []
            },
            "users": {
              "columns": {
                "aud": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "banned_until": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "confirmation_sent_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "confirmation_token": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "confirmed_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "deleted_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "email": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "email_change": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "email_change_confirm_status": {
                  "codecId": "pg/int2@1",
                  "default": {
                    "kind": "literal",
                    "value": 0
                  },
                  "nativeType": "int2",
                  "nullable": true,
                  "typeRef": "EmailChangeConfirmStatus"
                },
                "email_change_sent_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "email_change_token_current": {
                  "codecId": "sql/varchar@1",
                  "default": {
                    "kind": "literal",
                    "value": ""
                  },
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "email_change_token_new": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "email_confirmed_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "encrypted_password": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "instance_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "invited_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "is_anonymous": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "is_sso_user": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "is_super_admin": {
                  "codecId": "pg/bool@1",
                  "nativeType": "bool",
                  "nullable": true
                },
                "last_sign_in_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "phone": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "phone_change": {
                  "codecId": "pg/text@1",
                  "default": {
                    "kind": "literal",
                    "value": ""
                  },
                  "nativeType": "text",
                  "nullable": true
                },
                "phone_change_sent_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "phone_change_token": {
                  "codecId": "sql/varchar@1",
                  "default": {
                    "kind": "literal",
                    "value": ""
                  },
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "phone_confirmed_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "raw_app_meta_data": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "raw_user_meta_data": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "reauthentication_sent_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "reauthentication_token": {
                  "codecId": "sql/varchar@1",
                  "default": {
                    "kind": "literal",
                    "value": ""
                  },
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "recovery_sent_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "recovery_token": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "role": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": true,
                  "typeRef": "Parent"
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                }
              },
              "foreignKeys": [],
              "indexes": [
                {
                  "columns": [
                    "instance_id"
                  ],
                  "name": "users_instance_id_idx"
                },
                {
                  "columns": [
                    "is_anonymous"
                  ],
                  "name": "users_is_anonymous_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "users_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "phone"
                  ],
                  "name": "users_phone_key"
                }
              ]
            },
            "webauthn_challenges": {
              "columns": {
                "challenge_type": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "expires_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "session_data": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": false
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [
                {
                  "name": "webauthn_challenges_user_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "user_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "webauthn_challenges"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "users"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "expires_at"
                  ],
                  "name": "webauthn_challenges_expires_at_idx"
                },
                {
                  "columns": [
                    "user_id"
                  ],
                  "name": "webauthn_challenges_user_id_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "webauthn_challenges_pkey"
              },
              "uniques": []
            },
            "webauthn_credentials": {
              "columns": {
                "aaguid": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "attestation_type": {
                  "codecId": "pg/text@1",
                  "default": {
                    "kind": "literal",
                    "value": ""
                  },
                  "nativeType": "text",
                  "nullable": false
                },
                "backed_up": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "backup_eligible": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": false
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "credential_id": {
                  "codecId": "pg/bytea@1",
                  "nativeType": "bytea",
                  "nullable": false
                },
                "friendly_name": {
                  "codecId": "pg/text@1",
                  "default": {
                    "kind": "literal",
                    "value": ""
                  },
                  "nativeType": "text",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "last_used_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "public_key": {
                  "codecId": "pg/bytea@1",
                  "nativeType": "bytea",
                  "nullable": false
                },
                "sign_count": {
                  "codecId": "pg/int8@1",
                  "default": {
                    "kind": "literal",
                    "value": 0
                  },
                  "nativeType": "int8",
                  "nullable": false
                },
                "transports": {
                  "codecId": "pg/jsonb@1",
                  "default": {
                    "expression": "'[]'::jsonb",
                    "kind": "function"
                  },
                  "nativeType": "jsonb",
                  "nullable": false
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "user_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                }
              },
              "foreignKeys": [
                {
                  "name": "webauthn_credentials_user_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "user_id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "webauthn_credentials"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "auth",
                    "tableName": "users"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "user_id"
                  ],
                  "name": "webauthn_credentials_user_id_idx"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "webauthn_credentials_pkey"
              },
              "uniques": []
            }
          },
          "valueSet": {
            "AalLevel": {
              "kind": "valueSet",
              "values": [
                "aal1",
                "aal2",
                "aal3"
              ]
            },
            "CodeChallengeMethod": {
              "kind": "valueSet",
              "values": [
                "s256",
                "plain"
              ]
            },
            "FactorStatus": {
              "kind": "valueSet",
              "values": [
                "unverified",
                "verified"
              ]
            },
            "FactorType": {
              "kind": "valueSet",
              "values": [
                "totp",
                "webauthn",
                "phone"
              ]
            },
            "OauthAuthorizationStatus": {
              "kind": "valueSet",
              "values": [
                "pending",
                "approved",
                "denied",
                "expired"
              ]
            },
            "OauthClientType": {
              "kind": "valueSet",
              "values": [
                "public",
                "confidential"
              ]
            },
            "OauthRegistrationType": {
              "kind": "valueSet",
              "values": [
                "dynamic",
                "manual"
              ]
            },
            "OauthResponseType": {
              "kind": "valueSet",
              "values": [
                "code"
              ]
            },
            "OneTimeTokenType": {
              "kind": "valueSet",
              "values": [
                "confirmation_token",
                "reauthentication_token",
                "recovery_token",
                "email_change_token_new",
                "email_change_token_current",
                "phone_change_token"
              ]
            }
          }
        },
        "id": "auth",
        "kind": "postgres-schema"
      },
      "public": {
        "entries": {
          "table": {}
        },
        "id": "public",
        "kind": "postgres-schema"
      },
      "storage": {
        "entries": {
          "native_enum": {
            "buckettype": {
              "kind": "postgres-enum",
              "members": [
                "STANDARD",
                "ANALYTICS",
                "VECTOR"
              ],
              "typeName": "buckettype"
            }
          },
          "rls": {
            "buckets": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "buckets"
            },
            "buckets_analytics": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "buckets_analytics"
            },
            "buckets_vectors": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "buckets_vectors"
            },
            "iceberg_namespaces": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "iceberg_namespaces"
            },
            "iceberg_tables": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "iceberg_tables"
            },
            "migrations": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "migrations"
            },
            "objects": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "objects"
            },
            "s3_multipart_uploads": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "s3_multipart_uploads"
            },
            "s3_multipart_uploads_parts": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "s3_multipart_uploads_parts"
            },
            "vector_indexes": {
              "kind": "rls",
              "namespaceId": "storage",
              "tableName": "vector_indexes"
            }
          },
          "table": {
            "buckets": {
              "columns": {
                "avif_autodetection": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": true
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "file_size_limit": {
                  "codecId": "pg/int8@1",
                  "nativeType": "int8",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "owner": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "owner_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "public": {
                  "codecId": "pg/bool@1",
                  "default": {
                    "kind": "literal",
                    "value": false
                  },
                  "nativeType": "bool",
                  "nullable": true
                },
                "type": {
                  "codecId": "pg/enum@1",
                  "default": {
                    "expression": "'STANDARD'::storage.buckettype",
                    "kind": "function"
                  },
                  "nativeType": "storage.buckettype",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "storage.buckettype"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "Buckettype",
                    "namespaceId": "storage",
                    "plane": "storage"
                  }
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": true
                }
              },
              "foreignKeys": [],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "buckets_pkey"
              },
              "uniques": []
            },
            "buckets_analytics": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "deleted_at": {
                  "codecId": "pg/timestamptz@1",
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "format": {
                  "codecId": "pg/text@1",
                  "default": {
                    "kind": "literal",
                    "value": "ICEBERG"
                  },
                  "nativeType": "text",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "type": {
                  "codecId": "pg/enum@1",
                  "default": {
                    "expression": "'ANALYTICS'::storage.buckettype",
                    "kind": "function"
                  },
                  "nativeType": "storage.buckettype",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "storage.buckettype"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "Buckettype",
                    "namespaceId": "storage",
                    "plane": "storage"
                  }
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                }
              },
              "foreignKeys": [],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "buckets_analytics_pkey"
              },
              "uniques": []
            },
            "buckets_vectors": {
              "columns": {
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "type": {
                  "codecId": "pg/enum@1",
                  "default": {
                    "expression": "'VECTOR'::storage.buckettype",
                    "kind": "function"
                  },
                  "nativeType": "storage.buckettype",
                  "nullable": false,
                  "typeParams": {
                    "typeName": "storage.buckettype"
                  },
                  "valueSet": {
                    "entityKind": "valueSet",
                    "entityName": "Buckettype",
                    "namespaceId": "storage",
                    "plane": "storage"
                  }
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                }
              },
              "foreignKeys": [],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "buckets_vectors_pkey"
              },
              "uniques": []
            },
            "iceberg_namespaces": {
              "columns": {
                "bucket_name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "catalog_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "metadata": {
                  "codecId": "pg/jsonb@1",
                  "default": {
                    "expression": "'{}'::jsonb",
                    "kind": "function"
                  },
                  "nativeType": "jsonb",
                  "nullable": false
                },
                "name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                }
              },
              "foreignKeys": [
                {
                  "name": "iceberg_namespaces_catalog_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "catalog_id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "iceberg_namespaces"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "buckets_analytics"
                  }
                }
              ],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "iceberg_namespaces_pkey"
              },
              "uniques": []
            },
            "iceberg_tables": {
              "columns": {
                "bucket_name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "catalog_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "location": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "namespace_id": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "remote_table_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "shard_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "shard_key": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                }
              },
              "foreignKeys": [
                {
                  "name": "iceberg_tables_catalog_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "catalog_id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "iceberg_tables"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "buckets_analytics"
                  }
                },
                {
                  "name": "iceberg_tables_namespace_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "namespace_id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "iceberg_tables"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "iceberg_namespaces"
                  }
                }
              ],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "iceberg_tables_pkey"
              },
              "uniques": []
            },
            "migrations": {
              "columns": {
                "executed_at": {
                  "codecId": "pg/timestamp@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamp",
                  "nullable": true,
                  "typeRef": "CreatedAt"
                },
                "hash": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": false,
                  "typeRef": "Hash"
                },
                "id": {
                  "codecId": "pg/int4@1",
                  "nativeType": "int4",
                  "nullable": false
                },
                "name": {
                  "codecId": "sql/varchar@1",
                  "nativeType": "character varying",
                  "nullable": false,
                  "typeRef": "Name"
                }
              },
              "foreignKeys": [],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "migrations_pkey"
              },
              "uniques": [
                {
                  "columns": [
                    "name"
                  ],
                  "name": "migrations_name_key"
                }
              ]
            },
            "objects": {
              "columns": {
                "bucket_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "last_accessed_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "metadata": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "owner": {
                  "codecId": "pg/uuid@1",
                  "nativeType": "uuid",
                  "nullable": true,
                  "typeRef": "Id"
                },
                "owner_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": true
                },
                "user_metadata": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "version": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                }
              },
              "foreignKeys": [
                {
                  "name": "objects_bucketId_fkey",
                  "source": {
                    "columns": [
                      "bucket_id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "objects"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "buckets"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "name"
                  ],
                  "name": "name_prefix_search"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "objects_pkey"
              },
              "uniques": []
            },
            "s3_multipart_uploads": {
              "columns": {
                "bucket_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "in_progress_size": {
                  "codecId": "pg/int8@1",
                  "default": {
                    "kind": "literal",
                    "value": 0
                  },
                  "nativeType": "int8",
                  "nullable": false
                },
                "key": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "metadata": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "owner_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "upload_signature": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "user_metadata": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "version": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                }
              },
              "foreignKeys": [
                {
                  "name": "s3_multipart_uploads_bucket_id_fkey",
                  "source": {
                    "columns": [
                      "bucket_id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "s3_multipart_uploads"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "buckets"
                  }
                }
              ],
              "indexes": [
                {
                  "columns": [
                    "bucket_id",
                    "key",
                    "created_at"
                  ],
                  "name": "idx_multipart_uploads_list"
                }
              ],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "s3_multipart_uploads_pkey"
              },
              "uniques": []
            },
            "s3_multipart_uploads_parts": {
              "columns": {
                "bucket_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "etag": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/uuid@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "uuid",
                  "nullable": false,
                  "typeRef": "Id"
                },
                "key": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "owner_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": true
                },
                "part_number": {
                  "codecId": "pg/int4@1",
                  "nativeType": "int4",
                  "nullable": false
                },
                "size": {
                  "codecId": "pg/int8@1",
                  "default": {
                    "kind": "literal",
                    "value": 0
                  },
                  "nativeType": "int8",
                  "nullable": false
                },
                "upload_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "version": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                }
              },
              "foreignKeys": [
                {
                  "name": "s3_multipart_uploads_parts_bucket_id_fkey",
                  "source": {
                    "columns": [
                      "bucket_id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "s3_multipart_uploads_parts"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "buckets"
                  }
                },
                {
                  "name": "s3_multipart_uploads_parts_upload_id_fkey",
                  "onDelete": "cascade",
                  "source": {
                    "columns": [
                      "upload_id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "s3_multipart_uploads_parts"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "s3_multipart_uploads"
                  }
                }
              ],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "s3_multipart_uploads_parts_pkey"
              },
              "uniques": []
            },
            "vector_indexes": {
              "columns": {
                "bucket_id": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "created_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                },
                "data_type": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "dimension": {
                  "codecId": "pg/int4@1",
                  "nativeType": "int4",
                  "nullable": false
                },
                "distance_metric": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "id": {
                  "codecId": "pg/text@1",
                  "default": {
                    "expression": "gen_random_uuid()",
                    "kind": "function"
                  },
                  "nativeType": "text",
                  "nullable": false
                },
                "metadata_configuration": {
                  "codecId": "pg/jsonb@1",
                  "nativeType": "jsonb",
                  "nullable": true
                },
                "name": {
                  "codecId": "pg/text@1",
                  "nativeType": "text",
                  "nullable": false
                },
                "updated_at": {
                  "codecId": "pg/timestamptz@1",
                  "default": {
                    "expression": "now()",
                    "kind": "function"
                  },
                  "nativeType": "timestamptz",
                  "nullable": false
                }
              },
              "foreignKeys": [
                {
                  "name": "vector_indexes_bucket_id_fkey",
                  "source": {
                    "columns": [
                      "bucket_id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "vector_indexes"
                  },
                  "target": {
                    "columns": [
                      "id"
                    ],
                    "namespaceId": "storage",
                    "tableName": "buckets_vectors"
                  }
                }
              ],
              "indexes": [],
              "primaryKey": {
                "columns": [
                  "id"
                ],
                "name": "vector_indexes_pkey"
              },
              "uniques": []
            }
          },
          "valueSet": {
            "Buckettype": {
              "kind": "valueSet",
              "values": [
                "STANDARD",
                "ANALYTICS",
                "VECTOR"
              ]
            }
          }
        },
        "id": "storage",
        "kind": "postgres-schema"
      }
    },
    "storageHash": "sha256:1856d476008cdfac9fd383f74be8015f6cb313515966c3c6cba4067f5bc15858",
    "types": {
      "CreatedAt": {
        "codecId": "pg/timestamp@1",
        "kind": "codec-instance",
        "nativeType": "timestamp"
      },
      "EmailChangeConfirmStatus": {
        "codecId": "pg/int2@1",
        "kind": "codec-instance",
        "nativeType": "int2"
      },
      "Hash": {
        "codecId": "sql/varchar@1",
        "kind": "codec-instance",
        "nativeType": "character varying",
        "typeParams": {
          "length": 40
        }
      },
      "Id": {
        "codecId": "pg/uuid@1",
        "kind": "codec-instance",
        "nativeType": "uuid"
      },
      "IpAddress": {
        "codecId": "pg/inet@1",
        "kind": "codec-instance",
        "nativeType": "inet"
      },
      "IpAddress2": {
        "codecId": "sql/varchar@1",
        "kind": "codec-instance",
        "nativeType": "character varying",
        "typeParams": {
          "length": 64
        }
      },
      "Name": {
        "codecId": "sql/varchar@1",
        "kind": "codec-instance",
        "nativeType": "character varying",
        "typeParams": {
          "length": 100
        }
      },
      "Parent": {
        "codecId": "sql/varchar@1",
        "kind": "codec-instance",
        "nativeType": "character varying",
        "typeParams": {
          "length": 255
        }
      },
      "Payload": {
        "codecId": "pg/json@1",
        "kind": "codec-instance",
        "nativeType": "json"
      }
    }
  },
  "capabilities": {
    "postgres": {
      "distinctOn": true,
      "jsonAgg": true,
      "lateral": true,
      "limit": true,
      "orderBy": true,
      "returning": true
    },
    "sql": {
      "defaultInInsert": true,
      "enums": true,
      "lateral": true,
      "returning": true,
      "scalarList": true
    }
  },
  "extensionPacks": {},
  "defaultControlPolicy": "external",
  "meta": {},
  "_generated": {
    "warning": "⚠️  GENERATED FILE - DO NOT EDIT",
    "message": "This file is automatically generated by \"prisma-next contract emit\".",
    "regenerate": "To regenerate, run: prisma-next contract emit"
  }
}