Episode #575

Understanding Fluent Migrations

Series: Build a Vapor Backend

21 minutes
Published on April 29, 2024

This video is only available to subscribers. Get access to this video and 578 others.

In order to evolve a persistent store over time you have to migrate the data. Fluent, the Vapor Framework that offers ORM support for popular databases, has a solution for this. In this episode we will understand how to write migrations, how to revert them and how to evolve your schema over time without losing data.

This episode uses Swift 5.10, Xcode 15.3.