MySQL
Sunday 9th July 2023
How to add a hash index to a column in a Laravel migration
MySQL supports several different types of index, each with their own advantages and disadvantages. The most common types are b-tree and hash. The default b-tree index type is useful for range...
ReadSaturday 22nd May 2021
Using MySQL error messages to ensure randomly generated strings are unique
For my home project GoStatic each deployment has a unique, randomly generated URL.
Example: https://er34oltia2yqkyvl.gostatic.app
The URL is generated using Laravel's Str::random()
...