xxxxxxxxxx
ALTER TABLE django_content_type MODIFY COLUMN name character varying(50) NOT NULL DEFAULT 'not null';
xxxxxxxxxx
You need to add date_hired to the fillable array! It's being ignored at this point by Laravel.
You might update this value later on the User model,
you need to make sure that Laravel knows it can write in that column.
Copy Code
protected $fillable = [
'name', 'email', 'password', 'vorname','rolle', 'date_hired',
];
Just set your id to auto increment
xxxxxxxxxx
SET @new_index = (SELECT MAX(id) FROM migrations );
SET @sql = CONCAT('ALTER TABLE migrations AUTO_INCREMENT = ', @new_index);
PREPARE st FROM @sql;
EXECUTE st;