App Database Access
Lombok apps can declare database support as part of the app platform.
Manifest support
Section titled “Manifest support”The app manifest expresses this as:
{ "database": { "enabled": true }}In practice, this is not just a loose boolean preference. The source-aligned review flagged that the database-enabled form should be treated as a specific enabled contract rather than vague optional wording.
What this means
Section titled “What this means”Database support is part of the declared platform surface for apps.
This allows app functionality to go beyond simple event callbacks and into richer application behavior.
Real implementation direction
Section titled “Real implementation direction”The reviewed codebase and Senior Dev review point to concrete implementation pieces such as:
- app-level PostgreSQL support
- Drizzle-oriented integration
- app-related database provisioning helpers such as
createLombokAppPgDatabase - migration assets such as
/migrations/*.sqlwithin packaged app structure
This means app database access should be understood as a real platform capability, not just a conceptual placeholder.
Relationship to the SDKs
Section titled “Relationship to the SDKs”Database-aware app execution belongs most naturally alongside:
- the app manifest
- worker/backend app logic
- the App Worker SDK
Next steps
Section titled “Next steps”Continue with: