Collin M. Barrett 2018-06-09 16:48:43 -05:00
parent 9f5fd1f223
commit 7487d7219b
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ public override void Configure(EntityTypeBuilder<Rule> entityTypeBuilder)
base.Configure(entityTypeBuilder);
entityTypeBuilder.ToTable("rules");
entityTypeBuilder.Property(x => x.Id)
.HasColumnType("INT UNSIGNED");
.HasColumnType("INT"/* UNSIGNED"*/);
entityTypeBuilder.Ignore(x => x.ModifiedDateUtc);
entityTypeBuilder.Property(x => x.Raw)
.HasColumnType("VARCHAR(8192)")

View file

@ -11,7 +11,7 @@ public override void Configure(EntityTypeBuilder<Snapshot> entityTypeBuilder)
base.Configure(entityTypeBuilder);
entityTypeBuilder.ToTable("snapshots");
entityTypeBuilder.Property(x => x.Id)
.HasColumnType("MEDIUMINT UNSIGNED");
.HasColumnType("MEDIUMINT"/* UNSIGNED"*/);
entityTypeBuilder.Property(x => x.ModifiedDateUtc)
.HasDefaultValueSql("CURRENT_TIMESTAMP()");
entityTypeBuilder.Property(x => x.HttpStatusCode)