-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recommended configuration to TaskTypes (backend only) (#3415)
* add recommended configuration to tasktype schema * add recommendedConfiguration field to TaskType api * update migrations.md * new snapshots
- Loading branch information
Showing
13 changed files
with
66 additions
and
9 deletions.
There are no files selected for viewing
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
Binary file modified
BIN
+24 Bytes
(100%)
...pts/test/snapshots/public/test-bundle/test/backend-snapshot-tests/annotations.e2e.js.snap
Binary file not shown.
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
Binary file modified
BIN
+30 Bytes
(100%)
...vascripts/test/snapshots/public/test-bundle/test/backend-snapshot-tests/tasks.e2e.js.snap
Binary file not shown.
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
Binary file modified
BIN
+37 Bytes
(100%)
...ripts/test/snapshots/public/test-bundle/test/backend-snapshot-tests/tasktypes.e2e.js.snap
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-- https://github.com/scalableminds/webknossos/pull/TODO | ||
|
||
START TRANSACTION; | ||
|
||
DROP VIEW webknossos.taskTypes_; | ||
ALTER TABLE webknossos.taskTypes ADD COLUMN recommendedConfiguration JSONB; | ||
|
||
|
||
CREATE VIEW webknossos.taskTypes_ AS SELECT * FROM webknossos.taskTypes WHERE NOT isDeleted; | ||
|
||
UPDATE webknossos.releaseInformation SET schemaVersion = 33; | ||
|
||
COMMIT TRANSACTION; |
11 changes: 11 additions & 0 deletions
11
conf/evolutions/reversions/033-tasktype-recommendedConfiguration.sql
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,11 @@ | ||
START TRANSACTION; | ||
|
||
DROP VIEW webknossos.taskTypes_; | ||
ALTER TABLE webknossos.taskTypes DROP COLUMN recommendedConfiguration JSONB; | ||
|
||
|
||
CREATE VIEW webknossos.taskTypes_ AS SELECT * FROM webknossos.taskTypes WHERE NOT isDeleted; | ||
|
||
UPDATE webknossos.releaseInformation SET schemaVersion = 32; | ||
|
||
COMMIT TRANSACTION; |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
_id,_team,summary,description,settings_allowedModes,settings_preferredMode,settings_branchPointsAllowed,settings_somaClickingAllowed,created,isDeleted | ||
'570b9f4c2a7c0e4c008da6ee','570b9f4b2a7c0e3b008da6ec','ek_0563_BipolarCells','Check those cells out!','{orthogonal,oblique,flight}',,t,t,'2016-04-11T12:57:48.000Z',f | ||
'570b9f4c2a7c0e4c008da6ff','69882b370d889b84020efd4f','ek_0674_BipolarCells','Check those cells out!','{orthogonal,oblique,flight}',,t,t,'2016-04-11T12:57:48.000Z',f | ||
'570b9f4c2a7c0e4c008da6ee','570b9f4b2a7c0e3b008da6ec','ek_0563_BipolarCells','Check those cells out!','{orthogonal,oblique,flight}',,t,t,,'2016-04-11T12:57:48.000Z',f | ||
'570b9f4c2a7c0e4c008da6ff','69882b370d889b84020efd4f','ek_0674_BipolarCells','Check those cells out!','{orthogonal,oblique,flight}',,t,t,,'2016-04-11T12:57:48.000Z',f |
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