//
namespace ASC.Core.Common.Migrations.PostgreSql.AccountLinkContextPostgreSql
{
[DbContext(typeof(PostgreSqlAccountLinkContext))]
partial class PostgreSqlAccountLinkContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("Relational:MaxIdentifierLength", 64)
.HasAnnotation("ProductVersion", "5.0.10");
modelBuilder.Entity("ASC.Core.Common.EF.Model.AccountLinks", b =>
{
b.Property("Id")
.HasColumnType("varchar(200)")
.HasColumnName("id")
.UseCollation("utf8_general_ci")
.HasAnnotation("MySql:CharSet", "utf8");
b.Property("UId")
.HasColumnType("varchar(200)")
.HasColumnName("uid")
.UseCollation("utf8_general_ci")
.HasAnnotation("MySql:CharSet", "utf8");
b.Property("Linked")
.HasColumnType("datetime")
.HasColumnName("linked");
b.Property("Profile")
.IsRequired()
.HasColumnType("text")
.HasColumnName("profile")
.UseCollation("utf8_general_ci")
.HasAnnotation("MySql:CharSet", "utf8");
b.Property("Provider")
.HasColumnType("char(60)")
.HasColumnName("provider")
.UseCollation("utf8_general_ci")
.HasAnnotation("MySql:CharSet", "utf8");
b.HasKey("Id", "UId")
.HasName("PRIMARY");
b.HasIndex("UId")
.HasDatabaseName("uid");
b.ToTable("account_links");
});
#pragma warning restore 612, 618
}
}
}