Create a table between two other tables. It is not a relationship. I made the tables, now I want to add another table
imagine
1
2
4
5
6
7
8
Now I understand that I didn't make table 3 and I have to make between 2 and 4
Hello @tykus Create a table between two other tables. It is not a relationship. I made the tables, now I want to add another table
imagine
1
2
4
5
6
7
8
Now I understand that I didn't make table 3 and I have to make between 2 and 4
@LoverToHelp do you mean rows; if 1 2 3 4 5 6 7 8 etc, are primary keys, then you don't want to be interfering with them! What are you actually wanting to achieve here; what is the context?
@LoverToHelp You mean a migration to create the table?
If they depend on each other somehow you can create a new migration and change the timestamp of the migration file to a timestamp between the one of #2 and #4.
When done, run artisan migrate:fresh (this will wipe out your entire database and run all migrations again)
I made all the tables. I did not make one that is original and has a foreign key. Now I have to delete and create the tables from scratch or is there a way