Closed monjon closed 2 years ago
I am trying to add google authentification using Social Authentication following the documentation provided here: https://github.com/CakeDC/users/blob/master/Docs/Documentation/Installation.md Each time I am running the command: bin/cake users addSuperuser I have the following error:
bin/cake users addSuperuser
[PDOException] SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value in .../vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php on line 39
Thanks for your help
This happens when you have a custom table without auto unique id.
I am trying to add google authentification using Social Authentication following the documentation provided here: https://github.com/CakeDC/users/blob/master/Docs/Documentation/Installation.md Each time I am running the command:
bin/cake users addSuperuser
I have the following error:Thanks for your help