user database migration bug