added the sql database structure