Switched from postgres to Mysql.

Haven't tested... but it looks like it should work... in theory