fixed sql to work with PostgreSQL. MySQL is not supported.
Merge branch 'master' of github.com:angelov/eestec-platform