Revert "migrate db to psql"

This reverts commit 446d32f45fb862930243e6239ba811700330b646.
Revert "Revert "migrate db to psql""

This reverts commit 5a698340b73881796c4501bc2962a193f3f6b053.
Finish migrating db to psql
change .gitignore file