converted oauth db type to text