fix migration + cleanup unused Notecase tables in migration script

This commit is contained in:
azivner
2017-10-22 20:22:09 -04:00
parent dcdabe79d1
commit 06328929ec
9 changed files with 101 additions and 63 deletions

View File

@@ -21,7 +21,6 @@ router.get('/:noteId', auth.checkApiAuth, async (req, res, next) => {
res.send({
'detail': detail,
'formatting': await sql.getResults("select * from formatting where note_id = ? order by note_offset", [noteId]),
'links': await sql.getResults("select * from links where note_id = ? order by note_offset", [noteId]),
'images': await sql.getResults("select * from images where note_id = ? order by note_offset", [noteId])
});