mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 07:12:18 +10:00
* feat(applications): job application tracker with AI copilot Add an Applications module at /dashboard/applications: pipeline board (dnd-kit), table view with bulk actions, Insights (fit tiles, funnel, sources, shareable funnel-flow SVG), campaigns, tags, CSV import, and Add/Edit/Detail slide-overs. Each application links a live Reactive Resume. AI "Application Copilot" (applications.ai.*): job-posting autofill, resume↔job match score (fit ring), resume tailoring, and cover-letter / follow-up drafting — via the user's configured provider. Board cards + table rows get context menus (edit / move / archive / delete). Charts are CSS/SVG (no new chart dep); adds a UI Checkbox. Also includes local TanStack devtools setup and toolchain bumps. Claude-Session: https://claude.ai/code/session_01TEeRHnEayw2MFCShFRyL5f * feat(applications): close follow-up gaps + squash migrations Finish the deferred/open items on the applications tracker: - Cover-letter upload re-enabled. Fix the storage blocker by deriving the key extension from content type (buildFileKey/EXTENSION_BY_CONTENT_TYPE) instead of hardcoding .jpeg, so PDFs serve correctly and non-JPEG image avatars keep working under FLAG_DISABLE_IMAGE_PROCESSING. Add coverLetterUrl/coverLetterName columns + Documents-section upload/remove. - Contacts editor in the detail sheet (add/edit/remove, keyed per app). - Board caps rendered cards per column (COLUMN_PAGE_SIZE=50 + "Show more"). - Extract new Lingui messages across locales. - Guard coverLetterUrl to http(s)/relative at the API boundary. Squash the five branch-only application-table migrations (create -> +tags -> +cover-letter -> drop -> re-add) into a single clean CREATE TABLE via drizzle-kit generate. Claude-Session: https://claude.ai/code/session_01TEeRHnEayw2MFCShFRyL5f * chore: update dependencies * fix(web): address React Doctor findings — compiler, purity, query, component structure prefer-module-scope-pure-function: hoist buildSubtitle, getDecimalPlaces, handleLocaleChange, onLocaleChange, stop, listContent/groupedListContent to module scope so they aren't rebuilt on every render. react-compiler-todo (??=): rewrite draft.metadata.styleRules ??= [] to the non-assignment form to unblock auto-memoization. set-state-in-effect: derive updatedAtLabel at render time instead of syncing it through useState + useEffect. query-destructure-result: destructure useQuery results at call site in resume-analysis and resume-thumbnail to follow TanStack Query v5 convention. only-export-components: extract non-component exports to sibling .ts files so Fast Refresh can preserve component state: - getNextWeights → typography/get-next-weights.ts - detectJsonImportType + ImportType → dialogs/resume/import.utils.ts - getLocaleOptions → features/locale/locale-options.tsx - preview helpers + DEFAULT_PDF_PAGE_SIZE → preview.shared.utils.ts - resolveHighlightToolbarState + defaultHighlightColor → rich-input.utils.ts - computeDelta + getSparklinePoints → statistics.utils.ts no-multi-comp: split multi-component files into focused companions: - ResumePane + ToolbarButton → routes/agent/-components/resume-pane.tsx - DesktopBuilderShell → builder/$resumeId/-components/desktop-builder-shell.tsx - MobileBuilderShell + helpers → builder/$resumeId/-components/mobile-builder-shell.tsx - setBuilderLayout/getBuilderLayout moved to -store/sidebar.ts fix(tests): add Resume type import to section-builder mocks and cast partial mock data as unknown as Resume to satisfy stricter type checking; fix noExplicitAny Biome errors in the same mocks. * feat(applications): improve performance * chore: fix knip issues * perf(builder): halve per-keystroke render cost Section-form fields called `form.handleSubmit()` on every keystroke, which re-validated the whole form and toggled submit state — firing the render cascade twice per character (~6809 renders/keystroke, FPS dropping to 9). Persist via a form-level `listeners.onChange` instead and drop the per-field `handleSubmit()` (basics, custom-fields, design). Narrow header/dock resume subscriptions to metadata slices so they no longer re-render on content edits. Cuts renders 6809 -> 3403 per keystroke (50%), 0 frame drops. Save, preview, and design controls verified working; 449/449 web tests pass. * perf(home): eliminate hero CLS from unreserved video box The hero <section> is `flex items-center` (shrink-to-fit), so the video wrapper's width depended on the video's intrinsic size, which only resolves after the media loads. aspect-ratio couldn't reserve height without a definite width, so the video grew from ~190px to ~563px after first paint and shoved the centered hero text down ~373px (CLS ~0.095). Give the wrapper a definite width (w-full + mx-auto on the CometCard) and set an explicit aspect ratio + width/height on the video so its box is reserved before load. CLS 0.095 -> 0; hero stays visually centered at max-w-4xl. * docs: add application tracker guides * chore(db): squash application migrations * fix(email): import React in auth template for server-side rendering compatibility * chore(release): v5.2.1 * Refactor resume rendering and builder workflows * fix: address application tracker review findings
5559 lines
111 KiB
JSON
5559 lines
111 KiB
JSON
{
|
|
"version": "8",
|
|
"dialect": "postgres",
|
|
"id": "8bb888e0-1e3e-4f20-ac7f-e5591f5037ca",
|
|
"prevIds": ["15eff223-0ddb-4ad9-b73d-d2f7706b4d05"],
|
|
"ddl": [
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "agent_actions",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "agent_attachments",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "agent_messages",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "agent_threads",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "ai_providers",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "application",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "account",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "apikey",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "jwks",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "oauth_access_token",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "oauth_client",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "oauth_consent",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "oauth_refresh_token",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "passkey",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "session",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "two_factor",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "user",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "verification",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "resume",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "resume_analysis",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "resume_statistics",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "resume_statistics_daily",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "resume_version",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "thread_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "message_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "resume_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "kind",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'applied'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "status",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "title",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "summary",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "operations",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "snapshot_data",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "base_updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "applied_updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "reverted_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "revert_message",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "thread_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "message_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "storage_key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "filename",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "media_type",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "size",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "thread_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "role",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'completed'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "status",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "sequence",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ui_message",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "error",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ai_provider_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "source_resume_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "working_resume_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "title",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'active'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "status",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "active_run_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "active_stream_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "active_run_started_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_message_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "archived_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "deleted_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "label",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "provider",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "model",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "base_url",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "encrypted_api_key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "api_key_salt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "api_key_hash",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "api_key_preview",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'untested'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "test_status",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "test_error",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_tested_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_used_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "enabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "company",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "role",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "location",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "salary",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'saved'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "status",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "archived",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "resume_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "source",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tags",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "source_url",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "job_description",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "match_score",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ai_metadata",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "notes",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "resume_file_url",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "resume_file_name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "cover_letter_url",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "cover_letter_name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "follow_up_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "follow_up_note",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'[]'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "contacts",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'[]'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "activity",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "applied_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "account_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'credential'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "provider_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "scope",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id_token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "password",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "access_token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "refresh_token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "access_token_expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "refresh_token_expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "start",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "prefix",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'default'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "config_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "reference_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "refill_interval",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "refill_amount",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_refill_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "enabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "rate_limit_enabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "86400000",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "rate_limit_time_window",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "10",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "rate_limit_max",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "request_count",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "remaining",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_request",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "permissions",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "metadata",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jwks"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "public_key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jwks"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "private_key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jwks"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jwks"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jwks"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "client_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "session_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "reference_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "refresh_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "scopes",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "client_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "client_secret",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "disabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "skip_consent",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "enable_end_session",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "subject_type",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "scopes",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "uri",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "icon",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "contacts",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tos",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "policy",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "software_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "software_version",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "software_statement",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "redirect_uris",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "post_logout_redirect_uris",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "token_endpoint_auth_method",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "grant_types",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "response_types",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "public",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "type",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "require_pkce",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "reference_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "metadata",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "client_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "reference_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "scopes",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "client_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "session_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "reference_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "revoked",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "auth_time",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "scopes",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "aaguid",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "public_key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "credential_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "counter",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "device_type",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "backed_up",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "transports",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ip_address",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_agent",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "impersonated_by",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "secret",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "backup_codes",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "verified",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "failed_verification_count",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "locked_until",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "image",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "email",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "email_verified",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "username",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "display_username",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "two_factor_enabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_active_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "'user'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "role",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "banned",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ban_reason",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "timestamp(6) with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ban_expires",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verification"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "identifier",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verification"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "value",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verification"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verification"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verification"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verification"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "slug",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tags",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "is_public",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "is_locked",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "password",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "data",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_analysis"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "analysis",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_analysis"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "resume_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_analysis"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_analysis"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_analysis"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "views",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "downloads",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_viewed_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_downloaded_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "resume_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"type": "date",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "date",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "views",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "downloads",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "resume_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "resume_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "data",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "label",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"type": "timestamp with time zone",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "thread_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "created_at",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_actions_thread_id_created_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "resume_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_actions_resume_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "message_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_actions_message_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "thread_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_attachments_thread_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "message_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_attachments_message_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_attachments_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "thread_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "sequence",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": true,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_messages_thread_id_sequence_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "created_at",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_messages_user_id_created_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "status",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "last_message_at",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_threads_user_id_status_last_message_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "working_resume_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_threads_working_resume_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "ai_provider_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_threads_ai_provider_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "working_resume_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "source_resume_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": true,
|
|
"where": "\"status\" = 'active' and \"deleted_at\" is null",
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agent_threads_active_in_place_unique",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "enabled",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "ai_providers_user_id_enabled_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "last_used_at",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "ai_providers_user_id_last_used_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "created_at",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "ai_providers_user_id_created_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "application_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "updated_at",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "application_user_id_updated_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "account_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "reference_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "apikey_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "key",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "apikey_key_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "config_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "apikey_config_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "enabled",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "reference_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "apikey_enabled_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "token",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "oauth_access_token_token_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "client_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "oauth_client_client_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "client_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "oauth_consent_user_id_client_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "token",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "oauth_refresh_token_token_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "passkey_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "token",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "session_token_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "expires_at",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "session_expires_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "two_factor_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "secret",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "two_factor_secret_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "created_at",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "user_created_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "lower(\"email\")",
|
|
"isExpression": true,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": true,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "user_email_lower_unique_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "user"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "identifier",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "verification_identifier_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "verification"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "resume_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "created_at",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "resume_created_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "updated_at",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "resume_user_id_updated_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "is_public",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "slug",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "resume_is_public_slug_user_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "resume_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "resume_analysis_resume_id_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "resume_analysis"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "resume_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "date",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "resume_statistics_daily_resume_id_date_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
{
|
|
"value": "resume_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "created_at",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "resume_version_resume_id_created_at_index",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "agent_actions_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["thread_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "agent_threads",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "agent_actions_thread_id_agent_threads_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["message_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "agent_messages",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "agent_actions_message_id_agent_messages_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "resume",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "agent_actions_resume_id_resume_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_actions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "agent_attachments_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["thread_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "agent_threads",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "agent_attachments_thread_id_agent_threads_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["message_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "agent_messages",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "agent_attachments_message_id_agent_messages_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "agent_messages_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["thread_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "agent_threads",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "agent_messages_thread_id_agent_threads_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_messages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "agent_threads_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["ai_provider_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "ai_providers",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "agent_threads_ai_provider_id_ai_providers_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["source_resume_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "resume",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "agent_threads_source_resume_id_resume_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["working_resume_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "resume",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "agent_threads_working_resume_id_resume_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agent_threads"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "ai_providers_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "ai_providers"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "application_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "resume",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "application_resume_id_resume_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "application"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "account_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "account"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["reference_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "apikey_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "apikey"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["client_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "oauth_client",
|
|
"columnsTo": ["client_id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "oauth_access_token_client_id_oauth_client_client_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["session_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "session",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "oauth_access_token_session_id_session_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "oauth_access_token_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["refresh_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "oauth_refresh_token",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "oauth_access_token_refresh_id_oauth_refresh_token_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_access_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "oauth_client_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_client"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["client_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "oauth_client",
|
|
"columnsTo": ["client_id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "oauth_consent_client_id_oauth_client_client_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "oauth_consent_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_consent"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["client_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "oauth_client",
|
|
"columnsTo": ["client_id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "oauth_refresh_token_client_id_oauth_client_client_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["session_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "session",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "oauth_refresh_token_session_id_session_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "oauth_refresh_token_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "passkey_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "passkey"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "session_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "session"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "two_factor_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "two_factor"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "resume_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "resume",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "resume_analysis_resume_id_resume_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "resume_analysis"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "resume",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "resume_statistics_resume_id_resume_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "resume_statistics"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "resume",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "resume_statistics_daily_resume_id_resume_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "resume",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "resume_version_resume_id_resume_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["user_id"],
|
|
"schemaTo": "public",
|
|
"tableTo": "user",
|
|
"columnsTo": ["id"],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "resume_version_user_id_user_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "resume_version"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "agent_actions_pkey",
|
|
"schema": "public",
|
|
"table": "agent_actions",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "agent_attachments_pkey",
|
|
"schema": "public",
|
|
"table": "agent_attachments",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "agent_messages_pkey",
|
|
"schema": "public",
|
|
"table": "agent_messages",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "agent_threads_pkey",
|
|
"schema": "public",
|
|
"table": "agent_threads",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "ai_providers_pkey",
|
|
"schema": "public",
|
|
"table": "ai_providers",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "application_pkey",
|
|
"schema": "public",
|
|
"table": "application",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "account_pkey",
|
|
"schema": "public",
|
|
"table": "account",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "apikey_pkey",
|
|
"schema": "public",
|
|
"table": "apikey",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "jwks_pkey",
|
|
"schema": "public",
|
|
"table": "jwks",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "oauth_access_token_pkey",
|
|
"schema": "public",
|
|
"table": "oauth_access_token",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "oauth_client_pkey",
|
|
"schema": "public",
|
|
"table": "oauth_client",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "oauth_consent_pkey",
|
|
"schema": "public",
|
|
"table": "oauth_consent",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "oauth_refresh_token_pkey",
|
|
"schema": "public",
|
|
"table": "oauth_refresh_token",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "passkey_pkey",
|
|
"schema": "public",
|
|
"table": "passkey",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "session_pkey",
|
|
"schema": "public",
|
|
"table": "session",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "two_factor_pkey",
|
|
"schema": "public",
|
|
"table": "two_factor",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "user_pkey",
|
|
"schema": "public",
|
|
"table": "user",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "verification_pkey",
|
|
"schema": "public",
|
|
"table": "verification",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "resume_pkey",
|
|
"schema": "public",
|
|
"table": "resume",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "resume_analysis_pkey",
|
|
"schema": "public",
|
|
"table": "resume_analysis",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "resume_statistics_pkey",
|
|
"schema": "public",
|
|
"table": "resume_statistics",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "resume_statistics_daily_pkey",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": ["id"],
|
|
"nameExplicit": false,
|
|
"name": "resume_version_pkey",
|
|
"schema": "public",
|
|
"table": "resume_version",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["slug", "user_id"],
|
|
"nullsNotDistinct": false,
|
|
"name": "resume_slug_user_id_unique",
|
|
"entityType": "uniques",
|
|
"schema": "public",
|
|
"table": "resume"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id", "date"],
|
|
"nullsNotDistinct": false,
|
|
"name": "resume_statistics_daily_resume_id_date_unique",
|
|
"entityType": "uniques",
|
|
"schema": "public",
|
|
"table": "resume_statistics_daily"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["token"],
|
|
"nullsNotDistinct": false,
|
|
"name": "oauth_access_token_token_key",
|
|
"schema": "public",
|
|
"table": "oauth_access_token",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["client_id"],
|
|
"nullsNotDistinct": false,
|
|
"name": "oauth_client_client_id_key",
|
|
"schema": "public",
|
|
"table": "oauth_client",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["token"],
|
|
"nullsNotDistinct": false,
|
|
"name": "session_token_key",
|
|
"schema": "public",
|
|
"table": "session",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["email"],
|
|
"nullsNotDistinct": false,
|
|
"name": "user_email_key",
|
|
"schema": "public",
|
|
"table": "user",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["username"],
|
|
"nullsNotDistinct": false,
|
|
"name": "user_username_key",
|
|
"schema": "public",
|
|
"table": "user",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["display_username"],
|
|
"nullsNotDistinct": false,
|
|
"name": "user_display_username_key",
|
|
"schema": "public",
|
|
"table": "user",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["identifier"],
|
|
"nullsNotDistinct": false,
|
|
"name": "verification_identifier_key",
|
|
"schema": "public",
|
|
"table": "verification",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id"],
|
|
"nullsNotDistinct": false,
|
|
"name": "resume_analysis_resume_id_key",
|
|
"schema": "public",
|
|
"table": "resume_analysis",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": ["resume_id"],
|
|
"nullsNotDistinct": false,
|
|
"name": "resume_statistics_resume_id_key",
|
|
"schema": "public",
|
|
"table": "resume_statistics",
|
|
"entityType": "uniques"
|
|
}
|
|
],
|
|
"renames": []
|
|
}
|