Skip to content

Commit f628900

Browse files
committed
Revert changes to DefaultDbContextModelSnapshot.cs
1 parent ee4b779 commit f628900

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

api/Migrations/DefaultDbContextModelSnapshot.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,26 +91,26 @@ protected override void BuildModel(ModelBuilder modelBuilder)
9191

9292
modelBuilder.Entity("aspnetCoreReactTemplate.Models.Contact", b =>
9393
{
94-
b.Property<int>("Id")
94+
b.Property<int>("id")
9595
.ValueGeneratedOnAdd()
9696
.HasColumnName("id");
9797

98-
b.Property<string>("Email")
98+
b.Property<string>("email")
9999
.HasColumnName("email")
100100
.HasMaxLength(30);
101101

102-
b.Property<string>("FirstName")
102+
b.Property<string>("firstName")
103103
.IsRequired()
104104
.HasColumnName("first_name");
105105

106-
b.Property<string>("LastName")
106+
b.Property<string>("lastName")
107107
.IsRequired()
108108
.HasColumnName("last_name");
109109

110-
b.Property<string>("Phone")
110+
b.Property<string>("phone")
111111
.HasColumnName("phone");
112112

113-
b.HasKey("Id")
113+
b.HasKey("id")
114114
.HasName("pk_contacts");
115115

116116
b.ToTable("contacts");

0 commit comments

Comments
 (0)