Search⌘ K
AI Features

Create Table-less Schemas

Explore how to create table-less schemas in Ecto with embedded_schema. Understand writing changeset functions for data validation and converting user input into database records. This lesson guides you through handling data flexibly without relying on direct tables.

Create two schemas

We’ll create two new table-less schemas to solve our problem—one for SoloArtist and another for Band. We’ll use these schemas to collect user input and then ...