Updated structure.sql to reflect current database schema