[AppDB] Add hasProblems field to testResults table

Rosanne DiMesio dimesio at earthlink.net
Wed Sep 27 13:44:19 CDT 2017


The field will be used to check whether the rating given
conforms to the rating definitions.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 tables/alter.sql       | 1 +
 tables/testResults.sql | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tables/alter.sql b/tables/alter.sql
index 457f8d9..6f536fb 100644
--- a/tables/alter.sql
+++ b/tables/alter.sql
@@ -1,2 +1,3 @@
 /* append to this file when changes are required to the live db */
 /* it will be cleared when the changes go live */
+ALTER TABLE testResults ADD COLUMN hasProblems ENUM("Yes", "No") DEFAULT NULL;
diff --git a/tables/testResults.sql b/tables/testResults.sql
index 511c115..92c46e6 100644
--- a/tables/testResults.sql
+++ b/tables/testResults.sql
@@ -25,6 +25,7 @@ create table testResults (
 	submitterId	int(11) NOT NULL default '0',
 	state		enum('accepted','queued','rejected','pending','deleted') NOT NULL default 'accepted',
     gpuMfr  enum('AMD', 'Intel', 'Nvidia', 'Other', 'Unknown') default NULL,
-    graphicsDriver enum('open source', 'proprietary', 'unknown') default NULL, 
+    graphicsDriver enum('open source', 'proprietary', 'unknown') default NULL,
+    hasProblems enum('Yes', 'No') default NULL,
         key(testingId)
 );
-- 
2.12.3




More information about the wine-patches mailing list