Skip to content

Commit 4af7296

Browse files
Fixed SQLite compatibility
Removed 'DB::statement("ALTER TABLE `buttons` AUTO_INCREMENT=0;");' due to incompatibility with SQLite.
1 parent 4753cea commit 4af7296

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

database/migrations/2021_03_17_044922_create_buttons_table.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ public function up()
1818
$table->string('name');
1919
$table->timestamps();
2020
});
21-
22-
// https://laraveldaily.com/set-auto-increment-start-laravel-migrations/
23-
DB::statement("ALTER TABLE `buttons` AUTO_INCREMENT=0;");
2421
}
2522

2623
/**

0 commit comments

Comments
 (0)