PortBlog.API/PortBlog.API/Migrations/20240430123112_messagestatuslogtablechanges.Designer.cs

1381 lines
58 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using PortBlog.API.DbContexts;
#nullable disable
namespace PortBlog.API.Migrations
{
[DbContext(typeof(CvBlogContext))]
[Migration("20240430123112_messagestatuslogtablechanges")]
partial class messagestatuslogtablechanges
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "8.0.4")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
modelBuilder.Entity("PortBlog.API.Entities.Academic", b =>
{
b.Property<int>("AcademicId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("AcademicId"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Degree")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("DegreeSpecialization")
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<int>("EndYear")
.HasColumnType("int");
b.Property<string>("Institution")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<int>("StartYear")
.HasColumnType("int");
b.HasKey("AcademicId");
b.HasIndex("ResumeId");
b.ToTable("Academics");
b.HasData(
new
{
AcademicId = 1,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9168),
Degree = "High School",
EndYear = 2007,
Institution = "Pragati Little Public School",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9168),
ResumeId = 1,
StartYear = 2006
},
new
{
AcademicId = 2,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9172),
Degree = "Intermediate",
DegreeSpecialization = "MPC",
EndYear = 2009,
Institution = "Sri Chaitanya Junior College",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9173),
ResumeId = 1,
StartYear = 2007
},
new
{
AcademicId = 3,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9175),
Degree = "BTech",
DegreeSpecialization = "ECE",
EndYear = 2013,
Institution = "Kakinada Institute of Technology & Science",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9175),
ResumeId = 1,
StartYear = 2009
});
});
modelBuilder.Entity("PortBlog.API.Entities.Blog", b =>
{
b.Property<string>("BlogUrl")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.HasKey("BlogUrl");
b.ToTable("Blogs");
b.HasData(
new
{
BlogUrl = "https://bangararaju.kottedi.in/blog",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9257),
Description = "Your Hub for Tech, DIY, and Innovation",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9257),
Name = "Engineer's Odyssey"
});
});
modelBuilder.Entity("PortBlog.API.Entities.Candidate", b =>
{
b.Property<int>("CandidateId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("CandidateId"));
b.Property<string>("Address")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Avatar")
.HasColumnType("longtext");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<DateTime?>("Dob")
.HasColumnType("datetime(6)");
b.Property<string>("Email")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("FirstName")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("Gender")
.HasColumnType("longtext");
b.Property<string>("LastName")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Phone")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("varchar(20)");
b.HasKey("CandidateId");
b.ToTable("Candidates");
b.HasData(
new
{
CandidateId = 1,
Address = "Samalkot, Andhra Pradesh, India",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(8899),
Dob = new DateTime(1992, 5, 6, 0, 0, 0, 0, DateTimeKind.Unspecified),
Email = "bangararaju.kottedi@gmail.com",
FirstName = "Bangara Raju",
Gender = "Male",
LastName = "Kottedi",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(8914),
Phone = "+91 9441212187"
});
});
modelBuilder.Entity("PortBlog.API.Entities.Certification", b =>
{
b.Property<int>("CertificationId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("CertificationId"));
b.Property<string>("CertificationLink")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("CertificationName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<DateTime?>("ExpiryDate")
.HasColumnType("datetime(6)");
b.Property<DateTime>("IssueDate")
.HasColumnType("datetime(6)");
b.Property<string>("IssuingOrganization")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.HasKey("CertificationId");
b.HasIndex("ResumeId");
b.ToTable("Certifications");
});
modelBuilder.Entity("PortBlog.API.Entities.ClientLog", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("ClientIp")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("ClientLocation")
.HasColumnType("longtext");
b.Property<DateTime>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("SiteName")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("SiteUrl")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.HasKey("Id");
b.ToTable("ClientLogs");
});
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
{
b.Property<int>("ExperienceId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ExperienceId"));
b.Property<string>("Company")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<DateTime?>("EndDate")
.HasColumnType("datetime(6)");
b.Property<string>("Location")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<DateTime>("StartDate")
.HasColumnType("datetime(6)");
b.Property<string>("Title")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.HasKey("ExperienceId");
b.HasIndex("ResumeId");
b.ToTable("Experiences");
b.HasData(
new
{
ExperienceId = 1,
Company = "Agility E Services",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9346),
Description = "",
EndDate = new DateTime(2016, 4, 25, 0, 0, 0, 0, DateTimeKind.Unspecified),
Location = "Hyderabad",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9346),
ResumeId = 1,
StartDate = new DateTime(2015, 9, 2, 0, 0, 0, 0, DateTimeKind.Unspecified),
Title = "Jr. Software Engineer"
},
new
{
ExperienceId = 2,
Company = "Agility",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9352),
Description = "",
EndDate = new DateTime(2022, 1, 31, 0, 0, 0, 0, DateTimeKind.Unspecified),
Location = "Kuwait",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9352),
ResumeId = 1,
StartDate = new DateTime(2016, 5, 12, 0, 0, 0, 0, DateTimeKind.Unspecified),
Title = "Web Developer"
},
new
{
ExperienceId = 3,
Company = "Agility",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9355),
Description = "",
EndDate = new DateTime(2022, 10, 31, 0, 0, 0, 0, DateTimeKind.Unspecified),
Location = "Kuwait",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9355),
ResumeId = 1,
StartDate = new DateTime(2022, 2, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
Title = "Senior Web Developer"
},
new
{
ExperienceId = 4,
Company = "Agility E Services",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9357),
Description = "",
EndDate = new DateTime(2024, 4, 12, 0, 0, 0, 0, DateTimeKind.Unspecified),
Location = "Hyderabad",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9358),
ResumeId = 1,
StartDate = new DateTime(2022, 11, 4, 0, 0, 0, 0, DateTimeKind.Unspecified),
Title = "Technology Specialist"
});
});
modelBuilder.Entity("PortBlog.API.Entities.ExperienceDetails", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Details")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<int>("ExperienceId")
.HasColumnType("int");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("Order")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("ExperienceId");
b.ToTable("ExperienceDetails");
b.HasData(
new
{
Id = 1,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9381),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 1,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9381),
Order = 1
},
new
{
Id = 2,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9384),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 1,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9384),
Order = 2
},
new
{
Id = 3,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9386),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 2,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9386),
Order = 1
},
new
{
Id = 4,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9387),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 2,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9387),
Order = 2
},
new
{
Id = 5,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9389),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 3,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9389),
Order = 1
},
new
{
Id = 6,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9391),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 3,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9391),
Order = 2
},
new
{
Id = 7,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9392),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 4,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9393),
Order = 1
},
new
{
Id = 8,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9394),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 4,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9394),
Order = 2
});
});
modelBuilder.Entity("PortBlog.API.Entities.Hobby", b =>
{
b.Property<int>("HobbyId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("HobbyId"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<string>("Icon")
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<int>("Order")
.HasColumnType("int");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.HasKey("HobbyId");
b.HasIndex("ResumeId");
b.ToTable("Hobbies");
b.HasData(
new
{
HobbyId = 1,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9077),
Description = "Crafting Professional-Quality Websites with Precision",
Icon = "fa-square-terminal",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9078),
Name = "Web Development",
Order = 1,
ResumeId = 1
},
new
{
HobbyId = 2,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9083),
Description = "Streamlining and Simplifying Complex Tasks through Automation",
Icon = "fa-robot",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9083),
Name = "Automation",
Order = 2,
ResumeId = 1
},
new
{
HobbyId = 3,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9085),
Description = "Sharing the knowledge and insights Ive gathered along my journey",
Icon = "fa-typewriter",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9086),
Name = "Blogging",
Order = 3,
ResumeId = 1
},
new
{
HobbyId = 4,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9087),
Description = "Cultivating Nature's Beauty and Bounty",
Icon = "fa-seedling",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9087),
Name = "Gardening",
Order = 4,
ResumeId = 1
});
});
modelBuilder.Entity("PortBlog.API.Entities.Message", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("Content")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<DateTime>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Email")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("Subject")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.HasKey("Id");
b.ToTable("Messages");
});
modelBuilder.Entity("PortBlog.API.Entities.MessageStatusLog", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<DateTime>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<int>("MessageId")
.HasColumnType("int");
b.Property<int>("Status")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("MessageId");
b.ToTable("MessageStatusLogs");
});
modelBuilder.Entity("PortBlog.API.Entities.Post", b =>
{
b.Property<int>("PostId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("PostId"));
b.Property<string>("Author")
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("BlogUrl")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Category")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<int>("Comments")
.HasColumnType("int");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Image")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<int>("Likes")
.HasColumnType("int");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("PostUrl")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Slug")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("Title")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<int>("Views")
.HasColumnType("int");
b.HasKey("PostId");
b.HasIndex("BlogUrl");
b.ToTable("Posts");
b.HasData(
new
{
PostId = 1,
BlogUrl = "https://bangararaju.kottedi.in/blog",
Category = "Welcome",
Comments = 0,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9321),
Description = "Hello World",
Likes = 0,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9318),
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
Slug = "hello-world",
Title = "Hello World",
Views = 0
},
new
{
PostId = 2,
BlogUrl = "https://bangararaju.kottedi.in/blog",
Category = "Welcome",
Comments = 0,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9327),
Description = "Hello World",
Likes = 0,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9325),
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
Slug = "hello-world",
Title = "Hello World",
Views = 0
},
new
{
PostId = 3,
BlogUrl = "https://bangararaju.kottedi.in/blog",
Category = "Welcome",
Comments = 0,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9329),
Description = "Hello World",
Likes = 0,
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9328),
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
Slug = "hello-world",
Title = "Hello World",
Views = 0
});
});
modelBuilder.Entity("PortBlog.API.Entities.Project", b =>
{
b.Property<int>("ProjectId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ProjectId"));
b.Property<string>("Category")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("Challenges")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<DateTime?>("EndDate")
.HasColumnType("datetime(6)");
b.Property<string>("ImagePath")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Impact")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("LessonsLearned")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("Responsibilities")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<string>("Roles")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<DateTime?>("StartDate")
.HasColumnType("datetime(6)");
b.Property<string>("Status")
.HasMaxLength(20)
.HasColumnType("varchar(20)");
b.Property<string>("TechnologiesUsed")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.HasKey("ProjectId");
b.HasIndex("ResumeId");
b.ToTable("Projects");
b.HasData(
new
{
ProjectId = 1,
Category = "Web Development",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9227),
Description = "Business Process Management",
ImagePath = "",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9227),
Name = "Transfora (Business Process Management)",
Responsibilities = "Developing, Testing, Support",
ResumeId = 1,
Roles = "Coding, Reviewing, Testing",
TechnologiesUsed = ".NET, Angular"
},
new
{
ProjectId = 2,
Category = "Web Development",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9234),
Description = "Business Process Management",
ImagePath = "",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9234),
Name = "Transfora (Business Process Management)",
Responsibilities = "Developing, Testing, Support",
ResumeId = 1,
Roles = "Coding, Reviewing, Testing",
TechnologiesUsed = ".NET, Angular"
},
new
{
ProjectId = 3,
Category = "Web Development",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9237),
Description = "Business Process Management",
ImagePath = "",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9237),
Name = "Transfora (Business Process Management)",
Responsibilities = "Developing, Testing, Support",
ResumeId = 1,
Roles = "Coding, Reviewing, Testing",
TechnologiesUsed = ".NET, Angular"
});
});
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
{
b.Property<int>("ResumeId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ResumeId"));
b.Property<string>("About")
.IsRequired()
.HasMaxLength(1000)
.HasColumnType("varchar(1000)");
b.Property<int>("CandidateId")
.HasColumnType("int");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("Order")
.HasColumnType("int");
b.Property<string>("Title")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.HasKey("ResumeId");
b.HasIndex("CandidateId");
b.ToTable("Resumes");
b.HasData(
new
{
ResumeId = 1,
About = "I'm Full Stack Developer with 8+ years of hands-on experience in .NET development. Passionate and driven professional with expertise in .NET WebAPI, Angular, CI/CD, and a growing proficiency in Azure. I've successfully delivered robust applications, prioritizing efficiency and user experience. While I'm currently in the early stages of exploring Azure, I'm eager to expand my skill set and leverage cloud technologies to enhance scalability and performance. Known for my proactive approach and dedication to continuous learning, I'm committed to staying abreast of the latest technologies and methodologies to drive innovation and deliver exceptional results.",
CandidateId = 1,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9037),
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9038),
Order = 1,
Title = "Full Stack Developer"
});
});
modelBuilder.Entity("PortBlog.API.Entities.ResumeFile", b =>
{
b.Property<int>("FileId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("FileId"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("FileFormat")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("FileName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("FilePath")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<string>("Version")
.HasMaxLength(10)
.HasColumnType("varchar(10)");
b.HasKey("FileId");
b.HasIndex("ResumeId")
.IsUnique();
b.ToTable("Files");
});
modelBuilder.Entity("PortBlog.API.Entities.Skill", b =>
{
b.Property<int>("SkillId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("SkillId"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<int>("ProficiencyLevel")
.HasColumnType("int");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.HasKey("SkillId");
b.HasIndex("ResumeId");
b.ToTable("Skills");
b.HasData(
new
{
SkillId = 1,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9196),
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9197),
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
},
new
{
SkillId = 2,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9200),
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9200),
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
},
new
{
SkillId = 3,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9202),
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9202),
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
},
new
{
SkillId = 4,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9203),
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9204),
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
},
new
{
SkillId = 5,
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9205),
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9205),
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
});
});
modelBuilder.Entity("PortBlog.API.Entities.SocialLinks", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("BlogUrl")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Facebook")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("GitHub")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Instagram")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Linkedin")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("PersonalWebsite")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<string>("Twitter")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.HasKey("Id");
b.HasIndex("BlogUrl");
b.HasIndex("ResumeId")
.IsUnique();
b.ToTable("SocialLinks");
b.HasData(
new
{
Id = 1,
BlogUrl = "https://bangararaju.kottedi.in/blog",
CreatedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9059),
GitHub = "https://github.com/rajukottedi",
Linkedin = "https://in.linkedin.com/in/bangara-raju-kottedi-299072109",
ModifiedDate = new DateTime(2024, 4, 30, 18, 1, 11, 705, DateTimeKind.Local).AddTicks(9060),
ResumeId = 1
});
});
modelBuilder.Entity("PortBlog.API.Entities.Academic", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Academics")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Certification", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Certifications")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Experiences")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.ExperienceDetails", b =>
{
b.HasOne("PortBlog.API.Entities.Experience", "Experience")
.WithMany("Details")
.HasForeignKey("ExperienceId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Experience");
});
modelBuilder.Entity("PortBlog.API.Entities.Hobby", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Hobbies")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.MessageStatusLog", b =>
{
b.HasOne("PortBlog.API.Entities.Message", "Message")
.WithMany()
.HasForeignKey("MessageId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Message");
});
modelBuilder.Entity("PortBlog.API.Entities.Post", b =>
{
b.HasOne("PortBlog.API.Entities.Blog", "Blog")
.WithMany("Posts")
.HasForeignKey("BlogUrl")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Blog");
});
modelBuilder.Entity("PortBlog.API.Entities.Project", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Projects")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
{
b.HasOne("PortBlog.API.Entities.Candidate", "Candidate")
.WithMany("Resumes")
.HasForeignKey("CandidateId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Candidate");
});
modelBuilder.Entity("PortBlog.API.Entities.ResumeFile", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithOne("ResumeFile")
.HasForeignKey("PortBlog.API.Entities.ResumeFile", "ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Skill", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Skills")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.SocialLinks", b =>
{
b.HasOne("PortBlog.API.Entities.Blog", "Blog")
.WithMany()
.HasForeignKey("BlogUrl");
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithOne("SocialLinks")
.HasForeignKey("PortBlog.API.Entities.SocialLinks", "ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Blog");
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Blog", b =>
{
b.Navigation("Posts");
});
modelBuilder.Entity("PortBlog.API.Entities.Candidate", b =>
{
b.Navigation("Resumes");
});
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
{
b.Navigation("Details");
});
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
{
b.Navigation("Academics");
b.Navigation("Certifications");
b.Navigation("Experiences");
b.Navigation("Hobbies");
b.Navigation("Projects");
b.Navigation("ResumeFile");
b.Navigation("Skills");
b.Navigation("SocialLinks");
});
#pragma warning restore 612, 618
}
}
}