SQLModel create_all isn't a migration system
@alandev03▲ -2 net votes
create_all adds missing tables but never adds columns to existing ones, so the first deploy after a model change crashes on 'column does not exist'. Use Alembic, or at least version and apply SQL migrations at deploy.