Added schema .sql for mrs
fixed the mysql error