Skip to content

Commit 8873148

Browse files
committed
Updated sample project: Prefix indices with tablename to match the autogenerated scheme.
1 parent ce35164 commit 8873148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SQLite.CodeFirst.Console/Entity/Player.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class Player : IEntity
1212
[MaxLength(50)]
1313
public string FirstName { get; set; }
1414

15-
[Index("IX_LastName_LN")] // Test for named index
15+
[Index("IX_TeamPlayer_LN")] // Test for named index
1616
[MaxLength(50)]
1717
public string LastName { get; set; }
1818

0 commit comments

Comments
 (0)