Made things safer for repos without categories
SQL file to build the database