Database structure for versioning and multiple languages

Posted by phobia on Stack Overflow See other posts from Stack Overflow or by phobia
Published on 2010-05-29T13:45:10Z Indexed on 2010/05/29 14:42 UTC
Read the original article Hit count: 216

How can I solve the issue of content existing in multiple versions and multiple languages?

My current structure:

Each content can only have one active version in each language, and that's how I'm curious on how to best solve.

Right now I have a column of the contentversions table, which means for each change of active version I have to run a update and set active=false on all version and then a update to set active=true for the piece of content in question.

© Stack Overflow or respective owner

Related posts about database

Related posts about versioning