Update testdb.sql with new triggers and new database structure