Migrations

26 views
Skip to first unread message

Daniel Silva

unread,
Feb 11, 2014, 12:11:55 PM2/11/14
to neo4j...@googlegroups.com
Hi folks,

I would like to know what are the common approaches for handling database migrations on your projects. 
Yes, I know that the "schema free" nature of neo4j usually doesn´t require migrations. But it would be handy if we could have some seed operations based on environment like this.

Any thoughts?

Best regards,
Daniel.

Daniel Silva

unread,
Feb 13, 2014, 7:05:02 AM2/13/14
to neo4j...@googlegroups.com
So... I think that the answer is: "nobody seeds neo4j database here"


--
You received this message because you are subscribed to the Google Groups "Neo4jClient" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4jclient...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Romiko

unread,
Feb 13, 2014, 8:27:07 AM2/13/14
to neo4j...@googlegroups.com
It can be done, with batching

Sent from my iPhone

Daniel Silva

unread,
Feb 14, 2014, 8:10:22 AM2/14/14
to neo4j...@googlegroups.com
Hi Romiko,

Thank you for helping, but I was looking for sometinhg like this: https://github.com/danielsilva/Neo4jClient.Migrations

Regards,
Daniel Silva

Tatham Oddie

unread,
Feb 17, 2014, 12:51:30 AM2/17/14
to neo4j...@googlegroups.com

I usually end up with a migration script that gets run during deployment.

 

I write this as a bunch of Cypher queries, executed via Neo4jClient.

 

These are written as repeatable scripts, so they work more like ‘self-healing’.

 

Over time, I drop off old scripts.

 

 

--

Tatham Oddie

--

Tatham Oddie

unread,
Feb 17, 2014, 12:52:30 AM2/17/14
to neo4j...@googlegroups.com

This looks cool!

 

--

Tatham Oddie

Reply all
Reply to author
Forward
0 new messages