summaryrefslogtreecommitdiff
path: root/lib/migrations/20160703062241-support-authorship.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/migrations/20160703062241-support-authorship.js')
-rw-r--r--lib/migrations/20160703062241-support-authorship.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/migrations/20160703062241-support-authorship.js b/lib/migrations/20160703062241-support-authorship.js
index f452b1a7..86054f1c 100644
--- a/lib/migrations/20160703062241-support-authorship.js
+++ b/lib/migrations/20160703062241-support-authorship.js
@@ -18,6 +18,7 @@ module.exports = {
})
}).catch(function (error) {
if (error.message === 'SQLITE_ERROR: duplicate column name: authorship' || error.message === "ER_DUP_FIELDNAME: Duplicate column name 'authorship'" || error.message === 'column "authorship" of relation "Notes" already exists') {
+ // eslint-disable-next-line no-console
console.log('Migration has already run… ignoring.')
} else {
throw error