Is there any best practice or even better existing software that will manage the description of the current migration of the REDIS database schema and schema?
What I expect:
- concise, human and machine readable diagram
- brief, human and machine readable migration patterns.
- possibly software that will manage and apply migrations
Of course, I do not want to get 100% of the functionality of tools like South , only this is a subset.
What do I mean by “schema” in a database without a schema? It is assumed that I basically map my objects to the database. For example, I follow a pattern, so I have a set of somethingsidentifiers and hashes something:<id>containing field values, some of which may actually refer to other objects.
So, an example of this would look like this:
- set
authors={ carlson, macedo, olivera } - hashes
autor:*author:carlson= {first_name: Josiah, last_name: Carlson, initial: L}author:macedo= {first_name: Tiago, last_name: Macedo}author:olivera= {first_name: Fred, last_name: Olivera}
- set
books={ rediscook, redisaction } - hashes
book:*book:rediscook= {title: "Redis Cookbook", publisher: "O'Reilly"}book:redisaction= {title: "Redis in Action", publisher: "Manning"}
- sets
book:authors:*book:authors:rediscook= {macedo, olivera}book:authors:redisaction= {carlson}
I am looking for a more formal way to describe above.
source
share