[LNT] r311928 - Match schema in the migration

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 13:33:54 PDT 2017


Author: cmatthews
Date: Mon Aug 28 13:33:54 2017
New Revision: 311928

URL: http://llvm.org/viewvc/llvm-project?rev=311928&view=rev
Log:
Match schema in the migration

This should needs to match the schema defn in the 0_1 migration, which
was changed for MySQL compatibility.

Thanks for the review Matthias!

Modified:
    lnt/trunk/lnt/server/db/testsuitedb.py

Modified: lnt/trunk/lnt/server/db/testsuitedb.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/testsuitedb.py?rev=311928&r1=311927&r2=311928&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/testsuitedb.py (original)
+++ lnt/trunk/lnt/server/db/testsuitedb.py Mon Aug 28 13:33:54 2017
@@ -338,7 +338,7 @@ class TestSuiteDB(object):
             # The parameters blob is used to store any additional information
             # reported by the run but not promoted into the machine record.
             # Such data is stored as a JSON encoded blob.
-            parameters_data = Column("Parameters", Binary)
+            parameters_data = Column("Parameters", Binary, index=False, unique=False)
 
             machine = relation(Machine)
             order = relation(Order)




More information about the llvm-commits mailing list