diff --git a/database/migrations/2021_03_17_044922_create_buttons_table.php b/database/migrations/2021_03_17_044922_create_buttons_table.php index 9f37661..d8c9709 100755 --- a/database/migrations/2021_03_17_044922_create_buttons_table.php +++ b/database/migrations/2021_03_17_044922_create_buttons_table.php @@ -18,6 +18,9 @@ class CreateButtonsTable extends Migration $table->string('name'); $table->timestamps(); }); + + // https://laraveldaily.com/set-auto-increment-start-laravel-migrations/ + DB::statement("ALTER TABLE `buttons` AUTO_INCREMENT=0;"); } /**