Adding Database Interactions

Learn how to add a database to your application.

We'll cover the following

The most common use case for Ecto schemas is to enable easy interaction with a database. While we keep our schemas to a minimum of logic (just the schema definition and changeset function or functions),we still need to make some changes to use our schema with a database.

Adding a database

Before we can make the necessary changes, we need to make sure that we have a local running database.

Get hands-on with 1200+ tech skills courses.