From 29b75647320d07a0d7ac29dd396357d60c284838 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 18 Aug 2010 16:24:07 +0000 Subject: [PATCH] fix example git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/schema/samples/Sample.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/schema/samples/Sample.pm b/xCAT-server/lib/xcat/schema/samples/Sample.pm index fc618a0f4..398b303f7 100644 --- a/xCAT-server/lib/xcat/schema/samples/Sample.pm +++ b/xCAT-server/lib/xcat/schema/samples/Sample.pm @@ -15,7 +15,7 @@ package xCAT_schema::Sample; # Please do not use SQL reserved words for your table names and column names. # Use this site to check the reserved words: # http://www.petefreitag.com/tools/sql_reserved_words_checker/ -# 5 Change the keys. Foreign keys are optional +# 5 Change the keys. # 6 Change the data types. For SQLite # the default data type is TEXT if not specified. # The supported data types are: @@ -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)], # double quote are for db2, use backtics for mysql, noquotes for postgresal and sqlite required => [qw(node jobid)], types => { jobid => 'INTEGER',