Browse Source

Log index creation query

shortcutme 7 years ago
parent
commit
38a4246c8f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Db/DbCursor.py

+ 1 - 0
src/Db/DbCursor.py

@@ -96,6 +96,7 @@ class DbCursor:
     def createIndexes(self, table, indexes):
         # indexes.append("CREATE INDEX %s_id ON %s(%s_id)" % (table, table, table)) # Primary key index
         for index in indexes:
+            self.db.log.debug("Creatig index: %s" % index)
             self.execute(index)
 
     # Create table if not exist