[nim] included postgres DB sync and migrate setup