remove foreign key logic from buildcreate routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e066034d6f
commit
7b81722d10
@ -456,15 +456,6 @@ sub buildcreatestmt
|
||||
}
|
||||
$retv .= ",\n ";
|
||||
}
|
||||
# if there are foreign keys
|
||||
my $fkey=$descr->{foreignkeys};
|
||||
if ($fkey) {
|
||||
|
||||
$retv .= "FOREIGN KEY ";
|
||||
|
||||
$retv .= $fkey;
|
||||
$retv .= ",\n ";
|
||||
}
|
||||
|
||||
if ($retv =~ /PRIMARY KEY/) {
|
||||
$retv =~ s/,\n $/\n)/;
|
||||
|
Loading…
Reference in New Issue
Block a user