Undid postgres changes