|
|
|
|
@ -29,11 +29,11 @@ function load() {
|
|
|
|
|
new Note(row);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (const row of sql.iterateRows(`SELECT branchId, noteId, parentNoteId, prefix, notePosition, isExpanded FROM branches WHERE isDeleted = 0`, [])) {
|
|
|
|
|
for (const row of sql.iterateRows(`SELECT branchId, noteId, parentNoteId, prefix, notePosition, isExpanded, utcDateModified FROM branches WHERE isDeleted = 0`, [])) {
|
|
|
|
|
new Branch(row);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (const row of sql.iterateRows(`SELECT attributeId, noteId, type, name, value, isInheritable, position FROM attributes WHERE isDeleted = 0`, [])) {
|
|
|
|
|
for (const row of sql.iterateRows(`SELECT attributeId, noteId, type, name, value, isInheritable, position, utcDateModified FROM attributes WHERE isDeleted = 0`, [])) {
|
|
|
|
|
new Attribute(row);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|