T
T
TAZAQ2020-02-28 18:30:13
Database migration
TAZAQ, 2020-02-28 18:30:13

Laravel, what is the procedure for migration?

I'm building a base. Suddenly I thought about how to:
1) create all tables with fields for foreign keys and only then hang foreign keys
2) create tables from top to bottom, hang keys in the process
3) first create all tables without fields for foreign keys and only then create fields and hang keys
4) ???

Thanks in advance for your replies

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question