note_history => note_revisions

This commit is contained in:
zadam 2019-04-14 14:53:05 +02:00
parent aa8f4f964f
commit 4b048df995

View File

@ -70,9 +70,9 @@ async function main() {
"SELECT noteId, title, dateModified, utcDateModified, dateCreated, utcDateCreated, isProtected, isDeleted, hash FROM notes");
await compare("note_contents", "noteId",
"SELECT noteId, content, utcDateModified, hash FROM note_contents");
"SELECT noteId, content, utcDateModified, hash FROM note_contents");
await compare("note_history", "noteHistoryId",
await compare("note_revisions", "noteRevisionId",
"SELECT noteRevisionId, noteId, title, content, dateModifiedFrom, dateModifiedTo, utcDateModifiedFrom, utcDateModifiedTo, isProtected, hash FROM note_revisions");
await compare("links", "linkId",