mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
@@ -946,7 +946,8 @@ begin
|
||||
CreateLines := TStringList.Create;
|
||||
// Lines with columns, indexes, foreign keys and check constraints
|
||||
for Col in FColumns do begin
|
||||
CreateLines.Add(Col.SQLCode);
|
||||
if not (Col.Status in [esDeleted, esAddedDeleted]) then
|
||||
CreateLines.Add(Col.SQLCode);
|
||||
end;
|
||||
for i:=0 to FKeys.Count-1 do begin
|
||||
if not FKeys[i].InsideCreateCode then
|
||||
|
||||
Reference in New Issue
Block a user