sql scripts for creating tables and cleaning repository