Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean-up-last-modifier-id: Don't delete guest users
Fixes sqlalchemy.exc.IntegrityError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (psycopg2.errors.ForeignKeyViolation) update or delete on table "account" violates foreign key constraint "session_last_modifier_id_fkey" on table "session" DETAIL: Key (id)=(...) is still referenced from table "session". Ref syslabcom/scrum#2372
- Loading branch information