Skip to content

Commit b721d24

Browse files
committed
bump schema version to 141
1 parent df7d08e commit b721d24

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
START TRANSACTION;
22

3-
do $$ begin ASSERT (select schemaVersion from webknossos.releaseInformation) = 139, 'Previous schema version mismatch'; end; $$ LANGUAGE plpgsql;
3+
do $$ begin ASSERT (select schemaVersion from webknossos.releaseInformation) = 140, 'Previous schema version mismatch'; end; $$ LANGUAGE plpgsql;
44

55
ALTER TABLE webknossos.annotation_layers DROP CONSTRAINT annotation_layers_name__annotation_key;
66
ALTER TABLE webknossos.annotation_layers ADD CONSTRAINT annotation_layers_name__annotation_key UNIQUE (name, _annotation) DEFERRABLE INITIALLY DEFERRED;
77

8-
UPDATE webknossos.releaseInformation SET schemaVersion = 140;
8+
UPDATE webknossos.releaseInformation SET schemaVersion = 141;
99

1010
COMMIT TRANSACTION;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
START TRANSACTION;
22

3-
do $$ begin ASSERT (select schemaVersion from webknossos.releaseInformation) = 140, 'Previous schema version mismatch'; end; $$ LANGUAGE plpgsql;
3+
do $$ begin ASSERT (select schemaVersion from webknossos.releaseInformation) = 141, 'Previous schema version mismatch'; end; $$ LANGUAGE plpgsql;
44

55
ALTER TABLE webknossos.annotation_layers DROP CONSTRAINT annotation_layers_name__annotation_key;
66
ALTER TABLE webknossos.annotation_layers ADD CONSTRAINT annotation_layers_name__annotation_key UNIQUE (name, _annotation);
77

8-
UPDATE webknossos.releaseInformation SET schemaVersion = 139;
8+
UPDATE webknossos.releaseInformation SET schemaVersion = 140;
99

1010
COMMIT TRANSACTION;

tools/postgres/schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CREATE TABLE webknossos.releaseInformation (
2121
schemaVersion BIGINT NOT NULL
2222
);
2323

24-
INSERT INTO webknossos.releaseInformation(schemaVersion) values(140);
24+
INSERT INTO webknossos.releaseInformation(schemaVersion) values(141);
2525
COMMIT TRANSACTION;
2626

2727

unreleased_changes/8844.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
- The API for the python client for reserving manual uploads (in case the python client has access to the underlying storage) has changed. WK now decides the storage paths. To continue using the python-client function to reserve a manual upload, the newest webknossos python library version is needed.
1212

1313
### Postgres Evolutions
14-
- [140-allows-manual-upload.sql](conf/evolutions/140-allows-manual-upload.sql)
14+
- [141-allows-manual-upload.sql](conf/evolutions/141-allows-manual-upload.sql)

0 commit comments

Comments
 (0)