Document-oriented database - What if the document definitions change?
- by Sebastian Hoitz
As I understand it, you can enter any non-structured information into a document-oriented database. Let's imagine a document like this:
{
name: 'John Blank',
yearOfBirth: 1960
}
Later, in a new version, this structure is refactored to
{
firstname: 'John',
lastname: 'Blank',
yearOfBirth: 1960
}
How do you do this with Document-Oriented databases? Do you have to prepare merge-scripts, that alter all your entries in the database? Or are there better ways you can handle changes in the structure?