Latest #ecto-migration Threads 
I want to model the following relationship:
A location has zero or one of multiple (currently 7) specifications (each specification is a...
New
Hello there.
How do I create an unlogged table in ecto migration when I use postgresql database?
New
Hi, I noticed strange problem in my Elixir app, whenever I run new migration on production env I get no feedback and the application star...
New
I am creating a schema where the order of the column definitions is relevant due to optimum memory alignment. The table needs to hold a v...
New
how do I make a reversible reference migration, i.e. adding the referential constraint on “up” action and dropping it on “down” action, u...
New
Hi,
I’m working on an Ecto Adapter for FoundationDB and one of my goals is to support migrations in the same manner that Ecto users are ...
New
Hi all, new to Elixir, going through the “Programming Phoenix LiveView” book right now. Fairly new to working with Ecto as well :slight_s...
New
Howdy y’all,
I’m brand new to Elixir and have what is likely a simple problem. I created an Ecto schema with a votes column that is type...
New
I created an umbrella app as a template for a workshop I’ll give into my university. So I preferred to show an umbrella project to build ...
New
In the process of migration between databases, I’m needing to do re-create some migrations that INSERT data. Let’s ignore the discussion/...
New
This Week's Trending
This Month's Trending
This Year's Trending
Hello there.
How do I create an unlogged table in ecto migration when I use postgresql database?
New
I want to model the following relationship:
A location has zero or one of multiple (currently 7) specifications (each specification is a...
New
Last Three Year's Trending
There is a nice table showing the available data types used in Ecto Schemas: https://hexdocs.pm/ecto/Ecto.Schema.html#module-primitive-ty...
New
Anyone who has worked on an old code-base is familiar with this problem: the migrations folder can get huge. The database your app start...
New
Hi all! First time posting, let me know if I can structure my question better.
I am using Ecto migrations on a project and need to add c...
New
I’m deploying my app with fly.io.
I have no idea how to run ecto migration before deploying.
If I don’t do that, new version app will m...
New
Howdy y’all,
I’m brand new to Elixir and have what is likely a simple problem. I created an Ecto schema with a votes column that is type...
New
I’m working on a fairly mature database and writing a new Elixir app to sit on top of it. The problem is getting the migrations started....
New
Hi, I’m building a multi-tenant app using prefixes. I wish to seed data on a given prefix using two different ways:
using the command: ...
New
how do I make a reversible reference migration, i.e. adding the referential constraint on “up” action and dropping it on “down” action, u...
New
In the process of migration between databases, I’m needing to do re-create some migrations that INSERT data. Let’s ignore the discussion/...
New
I created an umbrella app as a template for a workshop I’ll give into my university. So I preferred to show an umbrella project to build ...
New
Hi all, new to Elixir, going through the “Programming Phoenix LiveView” book right now. Fairly new to working with Ecto as well :slight_s...
New
Hi,
I’m working on an Ecto Adapter for FoundationDB and one of my goals is to support migrations in the same manner that Ecto users are ...
New
I am creating a schema where the order of the column definitions is relevant due to optimum memory alignment. The table needs to hold a v...
New
Hi, I noticed strange problem in my Elixir app, whenever I run new migration on production env I get no feedback and the application star...
New
Trending Over Three Years
This should be a simple problem but I just can’t seem to figure it out. I have a standalone Elixir app that won’t find the database.
Dep...
New
Hi,
I’d like to change a database column’s type from :string to {:array, :string}. Migration should work as follows: "my_value" -> ["...
New
Hi, please. I have a question regarding migrations in Ecto. But maybe this more of a PostgreSQL question rather than an Elixir one.
I ha...
New
I want to run a specific migration file but I want it to keep its pending status on next call of ecto_migrate.
Please, is quiet the righ...
New
Hi, I need a way to handle data migrations in my application. I found an article by @wojtekmach about manual migrations: https://dashbit....
New
Hi,
I’ve a few million records, and I’m trying to add a column, uuid, to their table that has a default value of each row’s id field. Is...
New
How do you create an index on a JSONB field in an Ecto migration? I’m trying to do the equivalent of this:
CREATE TABLE comments(id INT,...
New
Hi Everyone :slight_smile:
I’m having a bit of trouble with has_many foreign key relationships in Ecto, I’ve followed the instructions b...
New
I am using Triplex package for multi-tenants. when i create a tenant. its execute all migrations. after table creation when i execute see...
New
I am following umbrella apps structure in my project. and I am writing access layer app which doesn’t have separate repo but requires to ...
New
Hi Elixir community!
I’m trying to add a column with a two dimensional array type to database.
Here’s my migration.
def change do
...
New
Hi! Just stumbled upon this error today and I’m not sure I understand why this is happening - besides, of course, the obvious problem Pos...
New
Hello! I am wondering if it is possible to run Ecto migrations with a different user than the regular user. Sometimes sysadmins restric...
New
Hi,
Are there any general steps to debug constraints in migrations?
The problem, which has a very obvious solution probably: Enforcing ...
New
Hey I have a column defined as such:
add(:variations, {:array, :string})
I want to run a migration to set every null to an empty list, ...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







