We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a4d841 commit 1fe709aCopy full SHA for 1fe709a
1 file changed
source/table_editor.pas
@@ -950,7 +950,8 @@ function TfrmTableEditor.ComposeCreateStatement: TSQLBatch;
950
CreateLines := TStringList.Create;
951
// Lines with columns, indexes, foreign keys and check constraints
952
for Col in FColumns do begin
953
- CreateLines.Add(Col.SQLCode);
+ if not (Col.Status in [esDeleted, esAddedDeleted]) then
954
+ CreateLines.Add(Col.SQLCode);
955
end;
956
for i:=0 to FKeys.Count-1 do begin
957
if not FKeys[i].InsideCreateCode then
0 commit comments