* feat(cli): check database version before installation * fix: log * fix: fix bugs * fix: postgres * fix: run beforeInstall