diff --git a/Packages.props b/Packages.props
index 67e10ea9..31c2be82 100644
--- a/Packages.props
+++ b/Packages.props
@@ -22,7 +22,7 @@
-
+
diff --git a/src/Microsoft.SqlTools.ServiceLayer/TableDesigner/TableDesignerService.cs b/src/Microsoft.SqlTools.ServiceLayer/TableDesigner/TableDesignerService.cs
index 77640139..250cb206 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/TableDesigner/TableDesignerService.cs
+++ b/src/Microsoft.SqlTools.ServiceLayer/TableDesigner/TableDesignerService.cs
@@ -836,6 +836,9 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
case TablePropertyNames.Columns:
table.Columns.Move(fromIndex, toIndex);
break;
+ case TablePropertyNames.PrimaryKeyColumns:
+ table.PrimaryKey.MoveColumn(fromIndex, toIndex);
+ break;
default:
break;
}
@@ -1142,6 +1145,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
});
view.PrimaryKeyColumnSpecificationTableOptions.PropertiesToDisplay.Add(IndexColumnSpecificationPropertyNames.Column);
view.PrimaryKeyColumnSpecificationTableOptions.PropertiesToDisplay.Add(IndexColumnSpecificationPropertyNames.Ascending);
+ view.PrimaryKeyColumnSpecificationTableOptions.CanMoveRows = true;
}
private void SetColumnsViewInfo(TableDesignerView view)