Tag: databases

James Mills >

Removing foreign keys from a Laravel application

I currently use Digital Ocean’s managed database for my primary database but I wanted to try out Planet Scale. When migrating a database over to Planet Scale you cannot use Foreign Keys. This got me thinking about a way to automatically generate a migration file to drop all foreign keys. If you want to jump […]

Read More