Discussion Forum

How to evolve the schema?

Most of time, the schema can’t be build completely at the first beginning. How to evolve the schema? Assume that schema version 1 was created and its related data has been inserted to database AAA, if schema version 2 is just add some new entities/relations/attributes to version 1 and no conflict at all, is it possible to relate the database AAA to schema version 2? Or to build the database BBB for schema version 2 is the only correct option?

You can clone the DB if you want to keep a backup, but we tend to just define the additional needed schema elements and continue using the same same database without explicit versioning, which we don’t support :slight_smile: