Fix sql - from_unixtime() for mysql and to_timestamp() for PostreSQL
Merge pull request #38 from galactic-void/sql-fixes

Fix sql - from_unixtime() for mysql and to_timestamp() for PostgreSQL