0
I need to create a table with Laravel using the migrate command, the table would currently only have id. Normally two tables would be created, one with the name of the database I put containing the attributes, and another table that would manage data, would record whenever the table was modified. Only every time I create, these errors appear in Prompt:
And that leads to two problems. The first is that the 2 tables are created, but the name of one of them is wrong (should be the name I put in the database):
And the second is that they’re all empty, and I don’t know where those user table fields came from (which is under the wrong name):
As I’m still learning to use, I don’t know what happens
These are standard migrates of the Laravel it uses if you want the authentication scaffolding. It ran again because the error was in creating the users table that has an email field that is Unique. My lower answer explains the error better.
– Jedson Melo