KH-186 use new column for versio of relation

Instead of Hibernate's version, argh. Created sql file for flyway for
adding new column.
Merge branch 'develop'