mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
You can simply run `docker-compose exec db-migration-worker migrate` and that's it. Of course you have to provide all the environment variables.
5 lines
169 B
SQL
5 lines
169 B
SQL
CALL apoc.load.json('file:/mongo-export/shouts.json') YIELD value as shout
|
|
MATCH (u:User {id: shout.userId}), (p:Post {id: shout.foreignId})
|
|
MERGE (u)-[:SHOUTED]->(p)
|
|
;
|