Browse Source

Improve schema update documentation

Steve Pieper 12 years ago
parent
commit
8e99afb72c
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Libs/DICOM/Core/ctkDICOMDatabase.cpp

+ 7 - 0
Libs/DICOM/Core/ctkDICOMDatabase.cpp

@@ -435,6 +435,13 @@ QString ctkDICOMDatabase::schemaVersionLoaded()
 //------------------------------------------------------------------------------
 QString ctkDICOMDatabase::schemaVersion()
 {
+  // When changing schema version:
+  // * make sure this matches the Version value in the
+  //   SchemaInfo table defined in Resources/dicom-schema.sql
+  // * make sure the 'Images' contains a 'Filename' column
+  //   so that the ctkDICOMDatabasePrivate::filenames method
+  //   still works.
+  //
   return QString("0.5.1");
 };