sql files and diagram