SQL-fix 3 to support Postgre
Merge branch 'master' of https://github.com/roikonen/MissaJuna.git