Skip to content

Commit 2d02bb2

Browse files
committed
fix(images): use autogenerated ids to prevent duplicate key violations on insertion later.
See cdb000e commit for details. Addressed to #1034
1 parent 6fc61a2 commit 2d02bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/liquibase/sql/test-series-with-catalogs-numbers.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ INSERT INTO users(id, login, role, name, registered_at, activated_at, hash, salt
77
(4, 'test1', 'USER', 'Series Owner', NOW(), NOW(), '@old_valid_user_password_hash@', '@old_valid_user_password_salt@', 'test1@example.org');
88

99
-- Used only in src/test/robotframework/series/creation/misc-user.robot
10-
INSERT INTO images(id, type) VALUES(1, 'PNG');
10+
INSERT INTO images(type) VALUES('PNG');
1111
INSERT INTO series(id, quantity, perforated, image_url, created_at, created_by, updated_at, updated_by) VALUES
1212
(1, 1, TRUE, '/image/1', NOW(), 4, NOW(), 4);
1313

0 commit comments

Comments
 (0)