Skip to content

Database overview — minap_core ​

Version: 1.2
Date: 2026-11-27
Status: Working baseline
Owner repo: platform-core/
Package: @minap/core
Schema: PostgreSQL minap_core (DECIDED — D-022; đổi từ platform_core Owner 2026-11-26)

Mục đích ​

SoT identity/tenancy nền tảng: Account, Workspace, Membership, Invitation, Audit — sau khi Keycloak xác thực. Mở rộng PROPOSED: Application Markets (registry app_…, versions, secrets, catalog pin, rejection + FS soft-refs — chi tiết 05); entitlement hooks; config; ApplicationWorkspace / AppRoleAssignment.

Engine ​

Hạng mụcStatus
EnginePostgreSQL (D-022)
Schema nameminap_core
Local legacyCompose có thể còn DB tên platform_core (legacy) + schema public — NEED ALIGN về schema SoT minap_core

Bảng foundation ​

BảngPrefix
accountsacc_…
workspacesws_…
workspace_membershipswsm_…
workspace_invitationswsi_…
audit_eventsaud_…
account_preferences1:1 Account — PROPOSED
Vùng PROPOSED (Markets)Prefix / ghi chú
applicationsapp_… (publish)
application_versionsid nội bộ; UI = version_string
application_secretsid nội bộ; plaintext URL-Safe Base64 32-byte
verification_rejectionsid nội bộ
markets_attachment_refsid nội bộ; soft-ref file_…

Chi tiết cột: Schema. Markets: 05. ERD: 03. Prefixes: 04.

platform-core/docs = SoT chi tiết Platform Core · hub platform-docs giữ overview + stub/ref