Hi there,
it seems that my Laravel Setup (4.2.16) tries to fill a remember_token column on creation of every model, even on not-User ones - which does not make any sense at all.
When I try to create a new State for example (just some random non-User Model here):
Route::get('test', function(){
$state = Acme\State\State::create([
'name' => 'foo'
]);
dd($state);
});
it fails with
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'remember_token' in 'field list' (SQL: insert into `states` (`remember_token`, `name`, `updated_at`, `created_at`) values (, foo, 2015-01-08 13:36:41, 2015-01-08 13:36:41))
Of course there's no remember_token available, since this is not a user, and of course a remember_token is certainly not part of the State migration.
Can you point me to a direction where I have possibly caused this?
Thanks in advance!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community