small changes to table names (notes_image => note_images etc.)

This commit is contained in:
azivner
2018-01-28 19:38:05 -05:00
parent 3b1f928fbc
commit 11e173aeac
29 changed files with 225 additions and 225 deletions

View File

@@ -11,9 +11,9 @@ router.get('/', auth.checkApiAuth, wrap(async (req, res, next) => {
`SELECT
notes.isDeleted AS current_isDeleted,
notes.title AS current_title,
notes_history.*
note_revisions.*
FROM
notes_history
note_revisions
JOIN notes USING(noteId)
ORDER BY
dateModifiedTo DESC