[mod:sql-queries.txt] Add foreign keys

Add foreign key to table 'indicators', 'legends' and 'navigation_details'