Skip to content

Commit

Permalink
Fixed a broken test with PK column tracking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Apr 23, 2024
1 parent b001b79 commit 0a92c82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Weasel.Postgresql/Tables/Table.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ public string TruncatedNameIdentifier(string nameIdentifier)
public void RemoveColumn(string columnName)
{
_columns.RemoveAll(x => x.Name.EqualsIgnoreCase(columnName));
_primaryKeyColumns.Remove(columnName);
}

public ColumnExpression ModifyColumn(string columnName)
Expand Down

0 comments on commit 0a92c82

Please sign in to comment.