OSDN Git Service

Add logic to display stacks in notebook tree
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / sql / DatabaseConnection.java
index 38f0e35..44c0cc6 100644 (file)
@@ -171,6 +171,9 @@ public class DatabaseConnection {
                        executeSql("create index NOTE_DUEDATE_INDEX on note (attributeSubjectDate, guid);");
                        executeSql("create index RESOURCES_GUID_INDEX on noteresources (noteGuid, guid);");
                        executeSql("update note set thumbnailneeded=true, thumbnail=null;");
+                       executeSql("update notebook set publishingUri='', " +
+                                       "publishingAscending='', stack='', publishingOrder=1, " +
+                                       "publishingPublicDescription=''");
                        
                        sharedNotebookTable.createTable();
                        linkedNotebookTable.createTable();