In this tutorial, you’ll learn how to build a mood tracker application with Laravel 9, connect it to a PlanetScale MySQL database, make database schema changes, and deploy your database branch to production. You’ll use PlanetScale for the database, which gives you a fully managed MySQL-compatible database, unlimited scalability, a Git-like development workflow, zero downtime schema changes, and more.
Warning
This blog post is over a year old and may be out of date.
Here are some of the highlights of what you’ll create:
- A production-ready MySQL database in PlanetScale
- 2 database branches:
mainfor production anddevfor development - 2 tables,
moodsandentries, to store your daily entries and mood options - Database migrations and a seeder to run on your …