-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Think about how we can express issue chains in the database #17
Comments
I'm looking at it, though since it's a research, I think it's better not to lock this issue to a single person and have a discussion instead, so if you interested please join and provide alternative design decisions. |
What if we use PostgresSQL ltree with EctoLtree or Hierarch?
Then
can be represented as:
and
like
But I'm not completely sure that this is the right solution. |
Just a quick note: we read and write a lot to this table. @rsolovjov awesome! Looks promising. |
Ok. I'll do it |
We have a nested structure of issues that are attached in two possible ways:
Which means that these two issues are in parallel.
And:
means that these two issues are blocked:
issue2
is blocked untilissue1
is resolved.We can also have a situation when one issue is blocked by two other issues:
We can only start to work on
issue3
after bothissue1
andissue2
are resolved.It is important to understand that we can also have two or more blocks for just one issue:
It means that we can work on
issue1
andissue2
on the same time. Whileissue3
can only be worked on afterissue1
andissue2
are resolved.In our
django
app we use:And https://django-treebeard.readthedocs.io/en/latest/ to make fast queries.
We need something similar for Elixir.
Scope:
The text was updated successfully, but these errors were encountered: