return promise from createSchema