fix: sqlite migrations
This commit is contained in:
1 parent
fefd60a356
commit
3743777b97
10 files changed
+440
-49
No files matched your search
@@ -174,6 +174,7 @@ module.exports = class Page extends Model {
|
||||
}
|
||||
await WIKI.models.pageHistory.addVersion({
|
||||
...ogPage,
|
||||
isPublished: ogPage.isPublished === true || ogPage.isPublished === 1,
|
||||
action: 'updated'
|
||||
})
|
||||
await WIKI.models.pages.query().patch({
|
||||
|
||||
Reference in new issue
Block a user