Building Our Postgres Table

Let’s create a Postgress table for our responses.

Creating a migration

We created our schema and backed it with a repo. All that remains is to build out our final database tables. We’ll do that through a migration:

mix ecto.gen.migration create_responses

Get hands-on with 1400+ tech skills courses.