lundi 25 février 2019

How to clear primary key id generator in eloquent/mysql?

In my laravel 5.7 / mysql 5.7 app using eloquent I can clear rows in table using model :

Model::truncate();

But can I to clear primary key id generator, so first row would have value for id=1 ?

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire