Moved database from MySQL to POSTGRESQL