fix part of a bug with postgresql migrate down.
fix part of a bug with postgresql migrate down.

Not sure on the rest.

tadpol/MuranoCLI,tadpol/MuranoCLI,exosite/MrMurano,exosite/MrMurano,tadpol/MuranoCLI