Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1171 All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead' in /home/users/centrumzycia/public_html/rodzinamaglos.pl/vendor/vlucas/spot/lib/Spot/Adapter/PDO/BaseAbstract.php:185 Stack trace: #0 /home/users/centrumzycia/public_html/rodzinamaglos.pl/vendor/vlucas/spot/lib/Spot/Adapter/PDO/BaseAbstract.php(185): PDO->exec('ALTER TABLE `ca...') #1 /home/users/centrumzycia/public_html/rodzinamaglos.pl/vendor/vlucas/spot/lib/Spot/Adapter/PDO/BaseAbstract.php(97): Spot\Adapter\PDO\BaseAbstract->migrateTableUpdate('candidates', Array, Array) #2 /home/users/centrumzycia/public_html/rodzinamaglos.pl/vendor/vlucas/spot/lib/Spot/Mapper.php(753): Spot\Adapter\PDO\BaseAbstract->migrate('candidates', Array, Array) #3 /home/users/centrumzycia/public_html/rodzinamaglos.pl/index.php(50): Spot\Mapper->migrate('Entity\\Candidat...') #4 {main} thrown in /home/users/centrumzycia/public_html/rodzinamaglos.pl/vendor/vlucas/spot/lib/Spot/Adapter/PDO/BaseAbstract.php on line 185