Per Blueprint v4.0 §12 canonical data models: - Business Engine: organizations extended (legal_name, country, registry_id, domain, external_ids), transactions (minor-unit amounts, evidence_status), documents (metadata only -- binary/OCR stays in Paperless via paperless_id) - Life Engine: goals (horizon/metric/target/milestones) - Intelligence Engine: decisions (context/options/assumptions/evidence), opportunities, ai_requests (context_manifest_hash for audit without storing sensitive payload content in Postgres) - Trust Engine: observations (generic subject_type/subject_id so any entity -- user, org, device -- can feed reputation/trust scores) Applied directly to Supabase staging Postgres (14 tables total now). This is also the first drizzle/ migration actually committed -- the earlier one from the Identity Engine work never made it into git.
13 lines
No EOL
215 B
JSON
13 lines
No EOL
215 B
JSON
{
|
|
"version": "7",
|
|
"dialect": "postgresql",
|
|
"entries": [
|
|
{
|
|
"idx": 0,
|
|
"version": "7",
|
|
"when": 1784655760242,
|
|
"tag": "0000_ancient_silver_surfer",
|
|
"breakpoints": true
|
|
}
|
|
]
|
|
} |