feat: add constructive-compute-stubs — schema-only DDL for FK resolution#66
feat: add constructive-compute-stubs — schema-only DDL for FK resolution#66pyramation wants to merge 1 commit into
Conversation
…infra/membership tables Structural DDL (CREATE TABLE, ALTER TABLE ADD COLUMN, constraints, indexes) with zero behavioral code (no policies, grants, triggers, procedures, views). 8 schemas, 50 tables: - services_public (15): apps, apis, api_modules, api_schemas, api_settings, etc. - constructive_users_public (2): users, role_types - constructive_auth_private (8): sessions, session_credentials, identity_providers, etc. - constructive_memberships_public (20): app_memberships, org_memberships, membership_types, etc. - constructive_memberships_private (3): SPRTs (structural only) - constructive_infra_public (2): platform_namespaces, platform_namespace_events - constructive_auth_public, constructive_infra_private: schema-only Generated by constructive-db slicer with stubMode=true.
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Summary
Adds
database/constructive-compute-stubs/— a pgpm package containing schema-only DDL (tables, columns, constraints, indexes) for user/auth/infra/membership schemas. Zero behavioral code (no policies, grants, triggers, procedures, views).Generated by the constructive-db slicer (
stubMode: true) from PR #1586.8 schemas, 50 tables:
services_publicconstructive_memberships_publicconstructive_auth_privateconstructive_memberships_privateconstructive_users_publicconstructive_infra_publicconstructive_auth_publicconstructive_infra_privatePurpose: Provides FK targets so the compute packages (
constructive-compute,constructive-compute-fbp) can reference user/auth tables without pulling in the full security machinery. This enables a lightweight database for constructive-functions that has the complete relational model without any auth overhead.Link to Devin session: https://app.devin.ai/sessions/633efc205f0c445dbbb61c40679c2f78
Requested by: @pyramation