Skip to content
Extraits de code Groupes Projets
Vérifiée Valider a105a3fa rédigé par Kubat's avatar Kubat
Parcourir les fichiers

Delete queue_ view

parent 8f7c4ed8
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!60Priority
...@@ -130,14 +130,3 @@ CREATE TABLE IF NOT EXISTS misc ...@@ -130,14 +130,3 @@ CREATE TABLE IF NOT EXISTS misc
); );
INSERT OR REPLACE INTO misc (id) VALUES (42); INSERT OR REPLACE INTO misc (id) VALUES (42);
-- A simple view to select things in the queue, where the order matters and
-- where we need to see all the priorities and position in a flatten manner.
CREATE VIEW IF NOT EXISTS queue_ AS
SELECT
ROW_NUMBER() OVER(ORDER BY priority DESC, position ASC) AS position,
kara_id,
priority,
queue.position AS old_position
FROM queue;
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter