From 4af729687e013aeba4c3924cd5dde79f1471f701 Mon Sep 17 00:00:00 2001 From: JulianPrieber <60265788+JulianPrieber@users.noreply.github.com> Date: Mon, 21 Feb 2022 19:58:55 +0100 Subject: [PATCH] Fixed SQLite compatibility Removed 'DB::statement("ALTER TABLE `buttons` AUTO_INCREMENT=0;");' due to incompatibility with SQLite. --- database/migrations/2021_03_17_044922_create_buttons_table.php | 3 --- 1 file changed, 3 deletions(-) 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 d8c9709..9f37661 100755 --- a/database/migrations/2021_03_17_044922_create_buttons_table.php +++ b/database/migrations/2021_03_17_044922_create_buttons_table.php @@ -18,9 +18,6 @@ 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;"); } /**