Fixed type in db schema