Add sync command for neo4j, fix configuration, add neo4j to docker-compose, fix seed
This commit is contained in:
parent
20f581f796
commit
4d336cefac
6 changed files with 21 additions and 1 deletions
|
@ -26,6 +26,10 @@ class Follow < ApplicationRecord
|
|||
after_create :add_to_graph
|
||||
after_destroy :remove_from_graph
|
||||
|
||||
def sync!
|
||||
add_to_graph
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def add_to_graph
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue