mysql model of database and sql scripts