feat(schema): support safe SQLite column additions and guarded CREATE #8
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/sqlite-safe-add-column"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OpenSpec
Change:
sqlite-safe-add-column(spec-driven). Proposal, design andsqlite-optional-ddlspec reviewed; 7/7 tasks complete. OpenSpec artifacts remain local because repository ignoresopenspec/.Purpose and scope
{ ifNotExists: true }; default SQL and persisted schema identity remain unchanged. Cowboy-managed CREATE stays unguarded, and untracked-object drift fails.ALTER TABLE ADD COLUMN, including referenced D1 parents. Constrained/default/STORED generated additions and table-option changes use permitted rebuilds; D1 checks actual incoming foreign keys, including unmanaged children, and refuses prohibited rebuilds before destructive SQL.README.mdand authoritativedocs/plans/full-sqlite.mddocument guard limitations, D1 boundary, Bun/D1 SQLite version differences and native versus rebuild behavior.Checkpoints
6ab082cguarded standalone generators and drift tests.51a3713native ADD, rebuild and D1-style refusal regressions.1063edeuser documentation and authoritative guidance.All checkpoints pushed to
feat/sqlite-safe-add-column; PR targetsfeat/sqlite-virtual-tables.Verification
bun run checkpassed; no-output TypeScript checks across five projects passed.bun run lint: 0 errors, 14 pre-existing warnings.bun test: 129 passed, 0 failed (446 assertions).openspec validate sqlite-safe-add-column --strictpassed; apply progress 7/7.feat/sqlite-virtual-tables...HEADdiff reviewed: only this change's six tracked files;git diff --checkpassed, no secrets found. Local and remote SHA match; working tree clean.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.