DocSpace-client/common/ASC.Core.Common/Migrations/MySql/AccountLinkContextMySql/MySqlAccountLinkContextModelSnapshot.cs

63 lines
2.2 KiB
C#
Raw Normal View History

2020-10-06 11:39:44 +00:00
// <auto-generated />
using System;
using ASC.Core.Common.EF.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
2021-03-09 17:56:57 +00:00
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
2020-10-06 11:39:44 +00:00
namespace ASC.Core.Common.Migrations.MySql.AccountLinkContextMySql
{
[DbContext(typeof(MySqlAccountLinkContext))]
2021-03-09 17:56:57 +00:00
partial class MySqlAccountLinkContextModelSnapshot : ModelSnapshot
2020-10-06 11:39:44 +00:00
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
2021-03-09 17:56:57 +00:00
.HasAnnotation("Relational:MaxIdentifierLength", 64)
.HasAnnotation("ProductVersion", "5.0.3");
2020-10-06 11:39:44 +00:00
modelBuilder.Entity("ASC.Core.Common.EF.Model.AccountLinks", b =>
{
b.Property<string>("Id")
.HasColumnType("varchar(200)")
2021-03-09 17:56:57 +00:00
.HasColumnName("id")
.UseCollation("utf8_general_ci")
.HasCharSet("utf8");
2020-10-06 11:39:44 +00:00
b.Property<string>("UId")
.HasColumnType("varchar(200)")
2021-03-09 17:56:57 +00:00
.HasColumnName("uid")
.UseCollation("utf8_general_ci")
.HasCharSet("utf8");
2020-10-06 11:39:44 +00:00
b.Property<DateTime>("Linked")
2021-03-09 17:56:57 +00:00
.HasColumnType("datetime")
.HasColumnName("linked");
2020-10-06 11:39:44 +00:00
b.Property<string>("Profile")
.IsRequired()
.HasColumnType("text")
2021-03-09 17:56:57 +00:00
.HasColumnName("profile")
.UseCollation("utf8_general_ci")
.HasCharSet("utf8");
2020-10-06 11:39:44 +00:00
b.Property<string>("Provider")
.HasColumnType("char(60)")
2021-03-09 17:56:57 +00:00
.HasColumnName("provider")
.UseCollation("utf8_general_ci")
.HasCharSet("utf8");
2020-10-06 11:39:44 +00:00
b.HasKey("Id", "UId")
.HasName("PRIMARY");
b.HasIndex("UId")
2021-03-09 17:56:57 +00:00
.HasDatabaseName("uid");
2020-10-06 11:39:44 +00:00
b.ToTable("account_links");
});
#pragma warning restore 612, 618
}
}
}