diff --git a/xCAT-server/lib/xcat/schema/samples/Sample.pm b/xCAT-server/lib/xcat/schema/samples/Sample.pm index d46ab5344..fc618a0f4 100644 --- a/xCAT-server/lib/xcat/schema/samples/Sample.pm +++ b/xCAT-server/lib/xcat/schema/samples/Sample.pm @@ -50,7 +50,7 @@ package xCAT_schema::Sample; x_llnode => { cols => [qw(node jobid jobstatus cpu_usage comments disable)], keys => [qw(node)], - foreignkeys => [qw(node) REFERENCES x_lljob(node) ON DELETE CASCADE)], + foreignkeys => [qw((node) REFERENCES x_lljob(node) ON DELETE CASCADE)], required => [qw(node jobid)], types => { jobid => 'INTEGER',