General error: 1364 Field 'remember_token' doesn't have a default value

橙三吉。 提交于 2019-12-06 05:49:18

i solved this issue on my application, and i want you to try the same.. go to your users table and edit the remember_token field, update the default column to NULL.

once this is done, try running the application again, it should work this time. But if you were using migrations to update your database schema(fields/properties), you could rollback and make this adjustment to that column by adding this nullable() to the remember_token string...

$table->string('remember_token')->nullable();

i hope this helps.

Regards.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!