From e066034d6feb61fcea9902a1803049db16b4aed1 Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 20 Aug 2010 12:44:41 +0000 Subject: [PATCH] remove foreign key from Sample git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/schema/samples/Sample.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/xCAT-server/lib/xcat/schema/samples/Sample.pm b/xCAT-server/lib/xcat/schema/samples/Sample.pm index 41defe3ca..77804f164 100644 --- a/xCAT-server/lib/xcat/schema/samples/Sample.pm +++ b/xCAT-server/lib/xcat/schema/samples/Sample.pm @@ -51,7 +51,6 @@ 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)], # double quote are for db2, use backtics for mysql, noquotes for postgresal and sqlite. Tables with a Foreign key must not point to tables with a Foreign key or the tables may not be created in the correct order. Only one Foreign key per table is supported. required => [qw(node jobid)], types => { jobid => 'INTEGER',