소스 검색

Improve schema update documentation

Steve Pieper 13 년 전
부모
커밋
8e99afb72c
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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");
 };