Skip to content

Commit ecd4750

Browse files
David EllingsworthDavid Ellingsworth
David Ellingsworth
authored and
David Ellingsworth
committed
GH-3530: Correctly add the primary key constraint for the Id column.
1 parent 92afcd4 commit ecd4750

File tree

1 file changed

+1
-4
lines changed
  • src/NHibernate.Test/NHSpecificTest/GH3530

1 file changed

+1
-4
lines changed

src/NHibernate.Test/NHSpecificTest/GH3530/Fixture.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ protected override void CreateSchema()
5656
sb.Append($"DecimalValue {stringType}");
5757

5858
// Add the primary key contraint for the identity column
59-
if (Dialect.GenerateTablePrimaryKeyConstraintForIdentityColumn)
60-
{
61-
sb.Append($", {Dialect.PrimaryKeyString} ( Id )");
62-
}
59+
sb.Append($", {Dialect.PrimaryKeyString} ( Id )");
6360
sb.Append(")");
6461

6562
using (var cn = Sfi.ConnectionProvider.GetConnection())

0 commit comments

Comments
 (0)