fixing migrations dependencies to use postgresql