From dd8c458f44bbbe47111a50edfe48da47bb9cdc86 Mon Sep 17 00:00:00 2001 From: "ccooper%deadsquid.com" Date: Wed, 18 Apr 2007 02:00:10 +0000 Subject: [PATCH] b=314938,370211,370212 - schema changes for test runs git-svn-id: svn://10.0.0.236/trunk@224674 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/litmus/populatedb.pl | 8 ++++++++ mozilla/webtools/litmus/schema.pl | 24 ++++++++++++++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/mozilla/webtools/litmus/populatedb.pl b/mozilla/webtools/litmus/populatedb.pl index d314b04daa7..aaab8d37d56 100755 --- a/mozilla/webtools/litmus/populatedb.pl +++ b/mozilla/webtools/litmus/populatedb.pl @@ -248,6 +248,14 @@ $dbtool->DropField("test_result_logs", "test_result_id"); $dbtool->AddField("test_results", "is_automated_result", "tinyint(1) not null default '0'"); +$dbtool->AddField("test_runs", "recommended", "tinyint(1) not null default '0'"); +$dbtool->AddKey("test_runs", 'recommended (recommended)', ''); + +$dbtool->AddField("test_runs", "version", "smallint(6) not null default '1'"); +$dbtool->AddKey("test_runs", 'version (version)', ''); +$dbtool->AddField("test_run_testgroups", "sort_order", "smallint(6) not null default '1'"); +$dbtool->AddKey("test_run_testgroups", 'sort_order (sort_order)', ''); + print "Schema update complete.\n\n"; print <