The teams schema (teams table, team_memberships table, team_id column on
projects) was not included in the runtime migrations, causing existing
databases to fail on startup.
This adds the teams migration to _run_migrations() so it runs automatically
on application startup for databases that don't have the teams schema yet.