Laravel Remember_token不再由Laravel创建


Laravel Remember_token is no longer being created by Laravel

我刚刚从mysql切换到PostgreSQL数据库。现在我无法创建用户,因为自从我切换到PostgreSQL Laravel似乎不再生成remember_token,并且我收到此错误:

"SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "remember_token" violates not-null constraint DETAIL: Failing row contains (blah blah blah)"

发生了什么事?

是的,记住令牌需要为空,谢谢莫赫比法尔