Monday, 3 February 2020

Laravel migration drop unique and foreign key constraint


//By default, Laravel automatically assigns a reasonable name to the indexes. Simply concatenate the table name, the name of the indexed column, and the index type.

Laravel uniquely names the foreign key reference like this:

No comments:

Post a comment