summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shared/classes/buildlog_entry.php')
-rw-r--r--shared/classes/buildlog_entry.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/classes/buildlog_entry.php b/shared/classes/buildlog_entry.php
index 5b8c380..69e9022 100644
--- a/shared/classes/buildlog_entry.php
+++ b/shared/classes/buildlog_entry.php
@@ -5,7 +5,8 @@ class sql_buildlog_entry extends sql_row_obj {
'type' => 'CHAR',
'length' => 6,
'not_null' => true,
- 'default' => ''
+ 'default' => '',
+ 'refers_to' => 'builds.id'
),
'task' => array (
'type' => 'TINYINT',