Nearly one in four people with type 2 diabetes in Scotland were prescribed antidepressants before a diabetes diagnosis