DocSpace-buildtools/common/ASC.Core.Common/Migrations/Npgsql/AccountLinkContextNpgsql/AccountLinkContextModelSnapshot.cs

62 lines
2.3 KiB
C#
Raw Normal View History

2020-09-29 17:13:09 +00:00
// <auto-generated />
using System;
using ASC.Core.Common.EF.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace ASC.Core.Common.Migrations.Npgsql.AccountLinkContextNpgsql
{
2020-10-06 11:39:44 +00:00
[DbContext(typeof(PostgreSqlAccountLinkContext))]
2020-09-29 17:13:09 +00:00
partial class AccountLinkContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
.HasAnnotation("ProductVersion", "3.1.8")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
modelBuilder.Entity("ASC.Core.Common.EF.Model.AccountLinks", b =>
{
b.Property<string>("Id")
.HasColumnName("id")
.HasColumnType("character varying(200)")
.HasMaxLength(200);
b.Property<string>("UId")
.HasColumnName("uid")
.HasColumnType("character varying(200)")
.HasMaxLength(200);
b.Property<DateTime>("Linked")
.HasColumnName("linked")
.HasColumnType("timestamp without time zone");
b.Property<string>("Profile")
.IsRequired()
.HasColumnName("profile")
.HasColumnType("text");
b.Property<string>("Provider")
.ValueGeneratedOnAdd()
.HasColumnName("provider")
.HasColumnType("character(60)")
.HasDefaultValueSql("NULL")
.IsFixedLength(true)
.HasMaxLength(60);
b.HasKey("Id", "UId")
.HasName("account_links_pkey");
b.HasIndex("UId")
.HasName("uid");
b.ToTable("account_links","onlyoffice");
});
#pragma warning restore 612, 618
}
}
}