fix: delay database hooks execution until after transaction commits by himself65 · Pull Request #7345 · better-auth/better-auth
Summary This PR fixes issue #7260 where databaseHooks.user.create.after causes foreign key constraint violations during social login with database transactions enabled. Problem The issue occurred b...