1
1
1programmer2018-05-02 18:45:46
Laravel
1programmer, 2018-05-02 18:45:46

How to make a seed for 78 entries?

Hi all.
There is a questions table and you need to write 78 records (questions
)
into it. What would be needed:
id and the question itself
1 question 1
2 question 2
, etc.
How can this be implemented? For one record, I understand how, but what if there are 78 of them? Any option will work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yan-s, 2018-05-02
@Yan-s

Cycle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question