[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 1/3] [db] Sort by priority when populating package_priorities



This makes it slightly easier to stop that no priority is missing.
---
 db/db.sql |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/db/db.sql b/db/db.sql
index 651519b..a97944f 100644
--- a/db/db.sql
+++ b/db/db.sql
@@ -94,11 +94,11 @@ CREATE TABLE package_priorities (
 COMMENT ON TABLE package_priorities IS 'Valid package priorities';
 COMMENT ON COLUMN package_priorities.name IS 'Priority name';
 
-INSERT INTO package_priorities (name) VALUES ('extra');
-INSERT INTO package_priorities (name) VALUES ('important');
-INSERT INTO package_priorities (name) VALUES ('optional');
 INSERT INTO package_priorities (name) VALUES ('required');
 INSERT INTO package_priorities (name) VALUES ('standard');
+INSERT INTO package_priorities (name) VALUES ('important');
+INSERT INTO package_priorities (name) VALUES ('optional');
+INSERT INTO package_priorities (name) VALUES ('extra');
 
 CREATE TABLE package_sections (
         name text
-- 
1.6.1.265.ga5b81


Reply to: