From 79b21e0b73987c0d779c545d12867ae889422611 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 17 Aug 2010 16:30:56 +0000 Subject: [PATCH] fix foreign key example git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/schema/samples/Sample.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',