In this example I’m going to use the spanish locale and the “Europe/Madrid” timezone.
First we need an entity that will hold the DateTime, for example a Booking entity:
<?phpnamespace AppBundle\Entity…
mysql> SET foreign_key_checks = 0;mysql> DROP table ...;mysql> SET foreign_key_checks = 1;
Ref: http://stackoverflow.com/questions/2300396/force-drop-mysql-bypassing-foreign-key-constraint