Latest #ecto-migration Threads Top

carlosfritz
I want to model the following relationship: A location has zero or one of multiple (currently 7) specifications (each specification is a...
New
mybadclan
Hello there. How do I create an unlogged table in ecto migration when I use postgresql database?
New
lkananowicz
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
dli
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
1stSolo
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
jstimps
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
iarekk
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
spencer.christensen
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
zoedsoupe
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
fireproofsocks
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 Top

This Month's Trending Top

This Year's Trending Top

mybadclan
Hello there. How do I create an unlogged table in ecto migration when I use postgresql database?
New
carlosfritz
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 Top

fireproofsocks
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
fireproofsocks
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
pinksynth
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
nallwhy
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
spencer.christensen
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
fireproofsocks
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
franckstifler
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
1stSolo
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
fireproofsocks
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
zoedsoupe
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
iarekk
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
jstimps
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
dli
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
lkananowicz
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 Top

pgiesin
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
dcrck
Hi, I’d like to change a database column’s type from :string to {:array, :string}. Migration should work as follows: "my_value" -> ["...
New
hudsonbay
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
Kurisu
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
stefanchrobot
Hi, I need a way to handle data migrations in my application. I found an article by @wojtekmach about manual migrations: https://dashbit....
New
MarkMekhaiel
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
AlchemistCamp
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
sirfitz
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
elixirdev
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
tanweerdev
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
knvjun
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
thiagomajesk
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
vrod
Hello! I am wondering if it is possible to run Ecto migrations with a different user than the regular user. Sometimes sysadmins restric...
New
toraritte
Hi, Are there any general steps to debug constraints in migrations? The problem, which has a very obvious solution probably: Enforcing ...
New
benonymus
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement