Remove depreciated functions and move some functions to schemas Move zero functions to a standalone package Reviewed-on: https://gitea.com/xorm/xorm/pulls/1548