Couple of changes on postgreSQL tables structure to make it working
Merge pull request #145 from xillibit/patch-11

Couple of changes on postgreSQL tables structure to make it working