$ articles --topic=databases
Databases
15 Laravel articles about Databases.
An Audit Log You Cannot Quietly EditExplains how a hash chain makes tampering with an audit log costly, and why the chain only counts as evidence once its hashes are stored somewhere the editor cannot reach. The article walks through building this in Laravel and covers the pitfalls to watch for.Laravel · via juststeveking.com · 13d ago1 minMigrating Pinkary from Laravel Forge to Laravel Cloud: An engineering playbookThis playbook walks through Pinkary's migration from Laravel Forge to Laravel Cloud. It covers the SQLite and MySQL differences the team hit, query assumptions that broke, and coupling to local file storage, with code examples for each step.Laravel · via blog.laravel.com · 1mo ago1 minDealing with concurrent bridge-network creates & host-port races in DockerThe author describes moving CI from GitHub-hosted runners to self-hosted arm64 machines, where each test shard starts its own MySQL, Redis, and ClickHouse containers under rootless Docker. The article covers the concurrency problems this setup creates, specifically races when creating bridge networks and binding host ports.Git · via ma.ttias.be · 4mo ago1 minThis Week in Laravel: Seed 1M DB Rows, and Best Laravel PackagesA weekly roundup of Laravel resources for the week of May 14, 2026, including a look at seeding a database with one million rows and a selection of recommended Laravel packages.Laravel · via laraveldaily.com · 5mo ago1 minUpsert 1M Rows to Laravel DB: 5 Ways on MySQL / SQLite / PostgreSQL (Benchmarks)Benchmarks five ways to upsert one million rows into an existing Laravel products table with one million records, on MySQL, SQLite, and PostgreSQL. It compares results from a local MacBook Pro against a $6 Laravel Forge server. The full video is a 20-minute segment for Premium members.Laravel · via laraveldaily.com · 5mo ago1 minInsert 1M Rows to Laravel DB: 6 Ways on MySQL / SQLite / PostgreSQL (Benchmarks)Compares six ways to insert one million rows into Laravel database tables on MySQL, SQLite, and PostgreSQL, with timing benchmarks run on a local MacBook Pro and a $6 Laravel Forge server. The 14-minute video is for Premium members.Laravel · via laraveldaily.com · 5mo ago1 minMapping request to model fieldsThe author shares an approach for mapping semantic, API-facing field names back to database column names. It is a pattern they use often when the public interface should differ from the storage schema.APIs · via dyrynda.com.au · 6mo ago1 minHow to use hasManyThrough in Laravel with one clear exampleShows how to define a Laravel hasManyThrough relationship using one concrete example, covering the relationship definition and custom keys. It also explains when this approach fits better than writing manual joins.Laravel · via Benjamin Crozat · 7mo ago1 minHow to seed realistic data in Laravel with seeders and factoriesLearn when to use Laravel seeders versus factories, and how to generate realistic sample data for local development and tests without cluttering your database. The guide covers practical patterns for keeping seeded data clean and predictable.Laravel · via Benjamin Crozat · 7mo ago1 minOnce again processing 11 million rows, now in secondsA follow-up on processing a file of 11 million rows, this time bringing the runtime down to seconds. The post explains the changes that made the speedup possible and how this approach compares to earlier attempts.Databases · via stitcher.io · 9mo ago1 minEnabling WAL mode with SQLite in LaravelLearn how to switch an SQLite database in Laravel to WAL (Write-ahead Logging) mode. The article shows the one config change needed in database.php, the journal_mode setting, and explains how WAL writes changes to a separate log file so writes don't block reads.Laravel · via ryangjchandler.co.uk · 1y ago1 minHow to Use Takeout to Add New Services to Laravel Sail and Save RAMLearn how to add PostgreSQL, Elasticsearch, Memcached, or other services to Laravel Sail using Takeout, a shared Docker tool that avoids running extra MySQL instances for every project. The post covers installing Takeout, connecting it to Sail's docker-compose network, and pointing your .env file at the new service.Laravel · via Matt Stauffer · 5y ago4 min