---
title: "How to work with Ecto Migrations and How to manage data with associations"
url: https://daily.dev/posts/how-to-work-with-ecto-migrations-and-how-to-manage-data-with-associations-yhhp3az5j
source_url: https://thiagoramos.me/articles/how-to-use-migrations-and-insert-data-with-associations-ecto
type: article
source: "ElixirStatus"
published: 2024-04-01T02:07:59.928Z
updated: 2024-04-01T02:07:57.837Z
tags: ["database", "elixir", "ecto"]
reading_time: 16
upvotes: 3
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to work with Ecto Migrations and How to manage data with associations

**[ElixirStatus](https://daily.dev/sources/elixirstatus)** · 16 min read · 3 upvotes · 0 comments

## Summary

Learn how to work with Ecto Migrations and manage data with associations in Elixir/Phoenix.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thiagoramos.me/articles/how-to-use-migrations-and-insert-data-with-associations-ecto>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#database](https://daily.dev/tags/database), [#elixir](https://daily.dev/tags/elixir), [#ecto](https://daily.dev/tags/ecto)

[View this post on daily.dev](https://daily.dev/posts/how-to-work-with-ecto-migrations-and-how-to-manage-data-with-associations-yhhp3az5j)
