added the database sql to the repo