In the Docker container, due to where the database volume is mounted when the setup script runs, the permissions for the database files get changed and become owned by "www-data", which causes MariaDB to consider the tables as corrupted when it tries to write to them (like, for example, adding a mod):
Attempting to correct the permissions seems to not work, needing to fully recreate the tables with php artisan migrate:fresh.
In the Docker container, due to where the database volume is mounted when the setup script runs, the permissions for the database files get changed and become owned by "www-data", which causes MariaDB to consider the tables as corrupted when it tries to write to them (like, for example, adding a mod):
Attempting to correct the permissions seems to not work, needing to fully recreate the tables with
php artisan migrate:fresh
.