changed sql tables and added a .sql file for the database