Fixed relations in model.
Switched h2 database to mysql.