Support four database engines in Flask React template

This commit is contained in:
rob
2026-11-17 19:52:08 +00:00
parent 444406d2fc
commit a00837178e
21 changed files with 131 additions and 41 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
# Architecture decisions
FORGE-001 through FORGE-005 were approved planning inputs on 2026-11-17 and are retained with subsequent approved details. FORGE-006 records the approved task identification policy. FORGE-007 supersedes only the PitchInvader pilot clause of FORGE-004; its design ownership and approval policy remain in force. FORGE-008 records Captain's temporary direct-`codex` workflow. FORGE-009 records the approved template migration defaults.
FORGE-001 through FORGE-005 were approved planning inputs on 2026-11-17 and are retained with subsequent approved details. FORGE-006 records the approved task identification policy. FORGE-007 supersedes only the PitchInvader pilot clause of FORGE-004; its design ownership and approval policy remain in force. FORGE-008 records Captain's temporary direct-`codex` workflow. FORGE-009 records the approved template migration defaults. FORGE-010 records the approved database set for the Flask/React template.
## FORGE-001 — Technology-Agnostic Project Bootstrap Architecture
Status: Accepted. Date: 2026-11-17. Rationale: project lifecycle must apply across stacks. Consequences: Core has no Flask, React, React Native, or other framework dependency; independently maintained templates own stack-specific behavior. Generated projects have no Forge runtime dependency. Supersedes: none.
@@ -28,3 +28,6 @@ Status: Accepted. Date: 2026-11-17. Rationale: Captain wants initial Forge tasks
## FORGE-009 — Optional Email and Hosting Foundations in Migrated Template
Status: Accepted. Date: 2026-11-17. Rationale: generated applications must remain useful without a GitHub account, a production host, or a Bortstack email identity. Consequences: FORGE-F006 preserves the template's email and hosting foundations as optional configuration, uses neutral project-specific defaults, and does not publish or deploy during generation. GitHub, Resend, Cloudflare, SWAG, and production setup require separate project choices; the original template repository remains unchanged. Supersedes: mandatory provider and immediate-deployment assumptions for the Forge migration only.
## FORGE-010 — Multi-Database Flask/React Template
Status: Accepted. Date: 2026-11-17. Rationale: Captain wants the generated application to support multiple database engines and selected SQLite, PostgreSQL, MySQL, and MariaDB for FORGE-F006. Consequences: local generation defaults to persistent SQLite; PostgreSQL, MySQL, and MariaDB are opt-in Compose overlays with their respective Python drivers and configuration examples. Validate generated migrations against all four engines. Database credentials belong in private project configuration, never in tracked production files. Supersedes: the inherited assumption that MySQL is the default generated database.