Fix: ON DELETE CASCADE is forbidden.

Conflicts:
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
	test/phpunit/SqlTest.php