You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(db): add auto-migration to create missing columns on existing tables
SQLModel's create_all only creates new tables but does not alter existing
ones to add new columns. This introduces a _auto_migrate_sync helper that
inspects the live schema and issues ALTER TABLE … ADD COLUMN for any
column present in the model but absent from the database.
Only column additions are supported (safe, non-destructive). Column
renames, type changes, and removals are intentionally not handled.
0 commit comments