sabeena
197
7
General

Need advice on db seeding

Posted 2 years ago by sabeena

Hi all, i have Mysql table which is having more than 100 rows. for example if i have cities table its having more rows and its a startup data needs to feed in app initialy. in this case i need an advice,

  1. what is the best practise in laravel doing seeding (i know seedin more than 100+ rows constructing data as arrays is difficult) ?

  2. is anyway to do csv seeding?

  3. or simply mysql workaround like directly dump to mysql without bothering laravel is good for the app ?

Please sign in or create an account to participate in this conversation.