Update db schema and add model post tests.