diff OrthancServer/PrepareDatabase.sql @ 252:bd009f0b1931

db version
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Dec 2012 12:50:25 +0100
parents 8098448bd827
children 2354560daf2f
line wrap: on
line diff
--- a/OrthancServer/PrepareDatabase.sql	Wed Dec 05 12:32:43 2012 +0100
+++ b/OrthancServer/PrepareDatabase.sql	Wed Dec 05 12:50:25 2012 +0100
@@ -85,3 +85,7 @@
 BEGIN
   DELETE FROM Resources WHERE internalId = old.parentId;
 END;
+
+-- Set the version of the database schema
+-- The "1" corresponds to the "GlobalProperty_DatabaseSchemaVersion" enumeration
+INSERT INTO GlobalProperties VALUES (1, "2");