chaged the db.sql file - revised table structure