Added new mysql script with foreign keys.