// namespace ASC.Core.Common.Migrations.MySql.NotifyDbContextMySql { [DbContext(typeof(MySqlNotifyDbContext))] partial class MySqlNotifyDbContextModelSnapshot : 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.NotifyInfo", b => { b.Property("NotifyId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasColumnName("notify_id"); b.Property("Attempts") .HasColumnType("int") .HasColumnName("attempts"); b.Property("ModifyDate") .HasColumnType("datetime") .HasColumnName("modify_date"); b.Property("Priority") .HasColumnType("int") .HasColumnName("priority"); b.Property("State") .HasColumnType("int") .HasColumnName("state"); b.HasKey("NotifyId") .HasName("PRIMARY"); b.HasIndex("State") .HasDatabaseName("state"); b.ToTable("notify_info"); }); modelBuilder.Entity("ASC.Core.Common.EF.Model.NotifyQueue", b => { b.Property("NotifyId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasColumnName("notify_id"); b.Property("Attachments") .HasColumnType("text") .HasColumnName("attachments") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("AutoSubmitted") .HasColumnType("varchar(64)") .HasColumnName("auto_submitted") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("Content") .HasColumnType("text") .HasColumnName("content") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("ContentType") .HasColumnType("varchar(64)") .HasColumnName("content_type") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("CreationDate") .HasColumnType("datetime") .HasColumnName("creation_date"); b.Property("Reciever") .HasColumnType("varchar(255)") .HasColumnName("reciever") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("ReplyTo") .HasColumnType("varchar(1024)") .HasColumnName("reply_to") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("Sender") .HasColumnType("varchar(255)") .HasColumnName("sender") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("SenderType") .HasColumnType("varchar(64)") .HasColumnName("sender_type") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("Subject") .HasColumnType("varchar(1024)") .HasColumnName("subject") .UseCollation("utf8_general_ci") .HasAnnotation("MySql:CharSet", "utf8"); b.Property("TenantId") .HasColumnType("int") .HasColumnName("tenant_id"); b.HasKey("NotifyId") .HasName("PRIMARY"); b.ToTable("notify_queue"); }); #pragma warning restore 612, 618 } } }