Skip to content

Commit 2ed300d

Browse files
martin-kubaxflord
authored andcommitted
fix(core): fix typo in SQL statement updating database to version 3.2.15
The SQL statement incorrectly used column id instead of user_id. (cherry picked from commit 5e0ee31)
1 parent e7acca0 commit 2ed300d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perun-core/src/main/resources/postgresChangelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-- Comments are prefixed with -- and can be written only between version blocks, that means not in the lines with commands. They have to be at the start of the line.
88

99
3.2.15
10-
INSERT INTO authz (user_id, role_id) VALUES ((select id from user_ext_sources where login_ext='perun' and ext_sources_id=(select id from ext_sources where name='INTERNAL' and type='cz.metacentrum.perun.core.impl.ExtSourceInternal')),(select id from roles where name='perunadmin')) ON CONFLICT DO NOTHING;
10+
INSERT INTO authz (user_id, role_id) VALUES ((select user_id from user_ext_sources where login_ext='perun' and ext_sources_id=(select id from ext_sources where name='INTERNAL' and type='cz.metacentrum.perun.core.impl.ExtSourceInternal')),(select id from roles where name='perunadmin')) ON CONFLICT DO NOTHING;
1111
UPDATE configurations set value='3.2.15' WHERE property='DATABASE VERSION';
1212

1313
3.2.14

0 commit comments

Comments
 (0)