resolved ref error caused by path change of db/model/schema --> db/schema