-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #633 from bitholla/develop
Develop
- Loading branch information
Showing
4 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
server/db/migrations/20210323030530-change-web_view-plugins.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
'use strict'; | ||
|
||
const TABLE = 'Plugins'; | ||
const COLUMN = 'web_view'; | ||
|
||
module.exports = { | ||
up: (queryInterface) => | ||
queryInterface | ||
.changeColumn(TABLE, COLUMN, { type: `jsonb USING '[]'::jsonb;` }), | ||
down: () => { | ||
return new Promise(resolve => { | ||
resolve(); | ||
}); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters