feat(database): foundation — schema builder, plugin skeleton, connectors#354
Draft
feat(database): foundation — schema builder, plugin skeleton, connectors#354
Conversation
Signed-off-by: ditadi <victordperd@gmail.com>
Signed-off-by: ditadi <victordperd@gmail.com>
Signed-off-by: ditadi <victordperd@gmail.com>
Signed-off-by: ditadi <victordperd@gmail.com>
…drains on shutdown
Signed-off-by: ditadi <victordperd@gmail.com>
Signed-off-by: ditadi <victordperd@gmail.com>
…; add private-column helpers Signed-off-by: ditadi <victordperd@gmail.com>
…tabase/postgrest-js dep Signed-off-by: ditadi <victordperd@gmail.com>
…eaked exports Signed-off-by: ditadi <victordperd@gmail.com>
…ma-load failure Signed-off-by: ditadi <victordperd@gmail.com>
… too; trim enum error
This was referenced May 6, 2026
adc2df1 to
08c385a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🥞 Stacked PR
Use this link to review incremental changes.
Overview
This is the first PR in the database plugin stack. It adds the foundation needed by the later server, CLI, frontend, and RLS layers, without introducing the full end-user workflow yet.
What changed
defineSchema()plus typed column helpers for declaring AppKit-managed database schemas.column.private()metadata so later layers can hide sensitive columns from default reads, routes, and generated UI.statement_timeout, async drain, schema-load isolation, pool stats).Review guidance
Start here before reviewing the rest of the stack. The main contract to validate is the schema-builder API and metadata shape, because downstream PRs consume it for route generation, introspection, browser types, and UI metadata.
Test plan