smolcatgirl

smolcatgirl

Ecto_mnesia for Ecto 3

Hi,
so I thought I would fix ecto_mnesia up so it would work for Ecto 3. The adapter used to support migrations in the past. Given that Ecto was split up into two packages and I need stuff from there to make the migrations work, I am wondering should the migrations support be dropped, should I add ecto_sql as a dependency or should I copy the needed code from ecto_sql to ecto_mnesia?
So what do you think? Am I just wasting my time or is anyone interested in the adapter? And what about the migrations?
Thanks

Most Liked

Exadra37

Exadra37

Well its never wasted, you learned something in the journey for sure.

You can evaluate what its done already here:

And you may want to speak with @pascal to see if both of you can unite synergies?

jeanparpaillon

jeanparpaillon

Hi there, with the original author, we’ve brought many updates to this adapter, which now support:

  • multiple primary key
  • relations
  • (to-be-merged) support for foreign keys
  • table creation helpers (migrations like)

Your feedback is welcome !

Exadra37

Exadra37

You already have Ecto3 support for Mnesia:

Afaik that migrations are not done yet, maybe you want to join efforts with that author?

Where Next?

Popular in Discussions Top

PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
New
sergio
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages. It also goes on to call Elix...
New
nburkley
AWS re:Invent is on at the moment with some interesting announcements. One new feature in particular is the Lambda Runtime API for AWS La...
New
eteeselink
Hi all, In the last days, two things happened: A blog post titled “They might never tell you it’s broken” made the rounds. It’s about ...
New
Rustixir
Hi everyone, im working on find best language/framework/system for high concurrency, high performance and stable performance after wor...
New
AstonJ
Can you believe the first professionally published Elixir book was published just 8 years ago? Since then I think we’ve seen more books f...
New
matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New

Other popular topics Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49084 226
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement