Skip to content
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

[REQUEST] Graph Schema Refactoring (Adjacency Migrations) #300

Open
zprobst opened this issue Apr 29, 2024 · 1 comment
Open

[REQUEST] Graph Schema Refactoring (Adjacency Migrations) #300

zprobst opened this issue Apr 29, 2024 · 1 comment
Assignees
Labels
Effects Plugins Effects the interfaces / development of plugins. enhancement New feature or request Migrations Everything Related to the Schema Migrations Feature
Milestone

Comments

@zprobst
Copy link
Member

zprobst commented Apr 29, 2024

There are a variety of migrations that change the topology of the graph instead of just the data types themselves. The APOC docs have a whole section of possible refactorings that would be nice to support. However. some of the most relevant ones are:

  1. Redirect Relationship - Point a relationship from one node to the next.
  2. Invert Relationship - Change the direction of a relationship. Often paired with a name change.
  3. Extract Node From Relationship - Extract an Intermediary node between two previously related nodes.
@zprobst zprobst added the enhancement New feature or request label Apr 29, 2024
@zprobst zprobst self-assigned this Apr 29, 2024
@zprobst zprobst changed the title [REQUEST] Graph Schema Refactoring (Adjacency [REQUEST] Graph Schema Refactoring (Adjacency Migrations) Apr 29, 2024
@zprobst zprobst added the Migrations Everything Related to the Schema Migrations Feature label Apr 29, 2024
@zprobst zprobst added this to the Before 1.0.X milestone Apr 29, 2024
@zprobst zprobst modified the milestones: Before 1.0.X, 0.14.x Jul 31, 2024
@zprobst zprobst added the Effects Plugins Effects the interfaces / development of plugins. label Jul 31, 2024
@zprobst
Copy link
Member Author

zprobst commented Aug 12, 2024

I think the target for this will simply be:

  • AddAdjacency
  • DropAdjacency
  • InvertAdjacency

More complicated types are probably not reasonably needed.

@zprobst zprobst modified the milestones: 1.0.0, After 1.0 Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Effects Plugins Effects the interfaces / development of plugins. enhancement New feature or request Migrations Everything Related to the Schema Migrations Feature
Projects
Status: No status
Development

No branches or pull requests

1 participant