Posts Tagged #databases

Every article on the Techalyst blog tagged with #databases.

Laravel Database Per Tenant: On the Fly Connections for a Multi Tenant App

Giving every tenant their own database is one of those things that sounds hard until you see how Laravel actually wires up a connection. Once...

Database Transactions in Laravel, and the afterCommit Trap

A database transaction groups several queries into one all or nothing unit. Either every query succeeds and the changes stick, or one of them...

5 mins read

Multi-Tenancy in Laravel: The Decisions and Gotchas Before You Build

A multi tenant application serves many separate customers from one codebase, while keeping each customer's data walled off from the rest. A sm...