Changed db dump and sql changes which work with the server version