comparison OrthancServer/DatabaseWrapper.cpp @ 1665:761a5c07fb1b db-changes

set db version
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2015 13:46:57 +0200
parents 0c58f189782d
children de1413733c97
comparison
equal deleted inserted replaced
1664:0c58f189782d 1665:761a5c07fb1b
850 it = studies.begin(); it != studies.end(); it++) 850 it = studies.begin(); it != studies.end(); it++)
851 { 851 {
852 printf("[%s]\n", it->c_str()); 852 printf("[%s]\n", it->c_str());
853 } 853 }
854 854
855 SetGlobalProperty(GlobalProperty_DatabaseSchemaVersion, "6");
856
855 transaction->Commit(); 857 transaction->Commit();
856 } 858 }
857 859
858 860
859 void DatabaseWrapper::Upgrade(unsigned int targetVersion, 861 void DatabaseWrapper::Upgrade(unsigned int targetVersion,