summaryrefslogtreecommitdiffstats
path: root/cvp/opnfv_testapi/resources/test_models.py
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2017-11-09 11:01:00 +0000
committerLeo wang <grakiss.wanglei@huawei.com>2017-11-09 11:55:20 +0000
commitf88b298c17a3dac9e6b2882d3f10f274572fc29d (patch)
tree13eeba65fbbb0a6f97e08d3afca6107d7a1157fc /cvp/opnfv_testapi/resources/test_models.py
parent135db0c9860db436a2036f2bcb6f45b164f5b848 (diff)
[cvp-web] Bugfix: use '_id' as the primary key of the data rather than the 'Test ID'
JIRA: DOVETAIL-554 It allows different users to upload the same results now. So the 'Test ID' is not unique in this situation. Use '_id' as the primary key which can uniquely identify one data. Change-Id: I852ee116f36a6a86e9b4350183e39ee00f8b99de Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'cvp/opnfv_testapi/resources/test_models.py')
0 files changed, 0 insertions, 0 deletions