Updated database.sql file

update mysql tables based on database.sql