This pull request updates the 0000_00_00_000000_create_achievements_tables.php migration to create the ID using the $table->id() method.
This prevents the Unable to create or change a table without a primary key error shown on some cloud database providers that enforce sql_require_primary_key such as DigitalOcean and follows Laravel best practice.
This pull request updates the
0000_00_00_000000_create_achievements_tables.php
migration to create the ID using the$table->id()
method.This prevents the
Unable to create or change a table without a primary key
error shown on some cloud database providers that enforcesql_require_primary_key
such as DigitalOcean and follows Laravel best practice.