#How i make a survey using seeders

11 messages · Page 1 of 1 (latest)

sly lark
#

I got the migrations and seeders with questions but im lost, what i can do? Im using livewire.

severe ravine
#

php artisan migrate --seed

sly lark
#

but idk how make the questions show in view

brittle vine
#

In run method of DatabaseSeeder,

$this->call([ MySeeder1::class, MySeeder2::class ]);

sly lark
#

Ye but what

brittle vine
#

then the cli qustions should be showing

brittle vine
#

I thought you meant the cli questions when running a seeder... are you asking how to show data in your DB to the user?

sly lark
#

Yep