Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Also NotNullable will be called by both IdentityKey/AutoIncrement
Browse files Browse the repository at this point in the history
  • Loading branch information
volkanceylan committed Oct 18, 2024
1 parent a808189 commit 127ddce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private static void CreateTableWithId(
64 => withColumn.AsInt64(),
16 => withColumn.AsInt16(),
_ => withColumn.AsInt32()
}).NotNullable();
});
var withIdentity = primaryKey ? withType.IdentityKey(migration)
: withType.AutoIncrement(migration);
addColumns(withIdentity);
Expand Down

0 comments on commit 127ddce

Please sign in to comment.