We were using .Net Core 1 and we migrated to Preview 2 (both with Entity).
Before migration, we used to set a default value for a boolean in Entity Framework like this:
modelBuilder.Entity<Customer>()
.ToTable("Customer")
.Property(a => a.Active)
.HasDefaultValue(true);
Run Code Online (Sandbox Code Playgroud)
After migration, we didn't change anything but now we are getting an error when entity tries to create this table. It looks like it is trying to create a default value as string like "True" and not as a bit, like before. …