You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar issue but when running similar code in older migrations that worked fine before latest update - SQLSTATE[42000]: Syntax error or access violation: 1171 All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
Laravel Version
10.38.0
PHP Version
8.1.25
Database Driver & Version
8.0.25 - MySQL Community Server - GPL
Description
Migration fails when trying to add primary keys (on existing table).
Findings
Not working query on v10.38.0
Working on v10.37.2
Steps To Reproduce
Create migration to add primary key to a table.
The text was updated successfully, but these errors were encountered: