Fixes for the MySql create-script. Resolves issue #165.