Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 10 months ago.
0

Comment your this peace of code

 DB::table('projects')->delete();

this becomes

// DB::table('projects')->delete();

and then run the command db:seed --refresh

Last updated 7 years ago.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

buixuanhai buixuanhai Joined 20 Jun 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.