Closed joeconradt closed 8 years ago
When running command php app/console voter:update the following error happens when new voters need to be added to the database:
[Doctrine\DBAL\DBALException] An exception occurred while executing 'INSERT INTO lms_voter (service, class_name) VALUES (?, ?)' with params ["inkstand_core.voter.role_voter", null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'class_name' cannot be null
When running command php app/console voter:update the following error happens when new voters need to be added to the database:
[Doctrine\DBAL\DBALException] An exception occurred while executing 'INSERT INTO lms_voter (service, class_name) VALUES (?, ?)' with params ["inkstand_core.voter.role_voter", null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'class_name' cannot be null