fix: Fix ordering with mutation queries

This commit is contained in:
Taimoor Zaeem
2025-03-17 14:13:34 +01:00
committed by Steve Chavez
parent 5ff51de36f
commit fc35d6d0f8
8 changed files with 97 additions and 4 deletions
+12
View File
@@ -921,3 +921,15 @@ INSERT INTO tsearch_to_tsvector(text_search) VALUES ('C''est un peu amusant de f
INSERT INTO tsearch_to_tsvector(text_search) VALUES ('Es ist eine Art Spaß, das Unmögliche zu machen');
UPDATE tsearch_to_tsvector SET jsonb_search = jsonb_build_object('text_search', text_search);
TRUNCATE TABLE artists CASCADE;
INSERT INTO artists
VALUES (1, 'duster'), (2, 'black country, new road'), (3, 'bjork');
TRUNCATE TABLE albums CASCADE;
INSERT INTO albums
VALUES (1, 'stratosphere', 1),
(2, 'ants from up above',2),
(3, 'vespertine',3),
(4, 'contemporary movement', 1);