mirror of
				https://github.com/D4M13N-D3V/comissions-app-core-api.git
				synced 2025-11-03 19:15:25 +00:00 
			
		
		
		
	new migration
This commit is contained in:
		
							parent
							
								
									fa15f6e0ef
								
							
						
					
					
						commit
						ca68c3173b
					
				@ -1,484 +0,0 @@
 | 
				
			|||||||
// <auto-generated />
 | 
					 | 
				
			||||||
using System;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Infrastructure;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Migrations;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 | 
					 | 
				
			||||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
 | 
					 | 
				
			||||||
using comissions.app.database;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#nullable disable
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace comissions.app.api.Migrations
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    [DbContext(typeof(ApplicationDbContext))]
 | 
					 | 
				
			||||||
    [Migration("20240220022246_Initial")]
 | 
					 | 
				
			||||||
    partial class Initial
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
#pragma warning disable 612, 618
 | 
					 | 
				
			||||||
            modelBuilder
 | 
					 | 
				
			||||||
                .HasAnnotation("ProductVersion", "8.0.1")
 | 
					 | 
				
			||||||
                .HasAnnotation("Relational:MaxIdentifierLength", 63);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPageSettings", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("DescriptionHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("DescriptionHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("DescriptionTextSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("HeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("HeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("HeaderTextSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("HeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolioBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolioColumns")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolioEnabledScrolling")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolioMasonry")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolioMaximumSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolionHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolionHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonBGColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonHoverBGColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonHoverTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("RequestHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("RequestHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestTermsColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId")
 | 
					 | 
				
			||||||
                        .IsUnique();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistPageSettings");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPortfolioPiece", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("FileReference")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistPortfolioPieces");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistRequest", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Accepted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("AcceptedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Message")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime>("RequestDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistRequests");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.Request", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Accepted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("AcceptedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<decimal>("Amount")
 | 
					 | 
				
			||||||
                        .HasColumnType("numeric");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Completed")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("CompletedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Declined")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("DeclinedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Message")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime>("RequestDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("Requests");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<string>("Id")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BanAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Banned")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("BannedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BannedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Biography")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DisplayName")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Email")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Suspended")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("SuspendedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnbanDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnsuspendDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int?>("UserArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("Users");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("AgeRestricted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistPageSettingsId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Description")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Name")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PrepaymentRequired")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestGuidelines")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink1")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink2")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink3")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink4")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("StripeAccountId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Suspended")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("SuspendedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnsuspendDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId")
 | 
					 | 
				
			||||||
                        .IsUnique();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("UserArtists");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPageSettings", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithOne("ArtistPageSettings")
 | 
					 | 
				
			||||||
                        .HasForeignKey("comissions.app.database.Entities.ArtistPageSettings", "ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPortfolioPiece", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithMany("PortfolioPieces")
 | 
					 | 
				
			||||||
                        .HasForeignKey("ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistRequest", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.Request", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithOne("UserArtist")
 | 
					 | 
				
			||||||
                        .HasForeignKey("comissions.app.database.Entities.UserArtist", "UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Navigation("UserArtist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Navigation("ArtistPageSettings")
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("PortfolioPieces");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
#pragma warning restore 612, 618
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -1,493 +0,0 @@
 | 
				
			|||||||
// <auto-generated />
 | 
					 | 
				
			||||||
using System;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Infrastructure;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Migrations;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 | 
					 | 
				
			||||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
 | 
					 | 
				
			||||||
using comissions.app.database;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#nullable disable
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace comissions.app.api.Migrations
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    [DbContext(typeof(ApplicationDbContext))]
 | 
					 | 
				
			||||||
    [Migration("20240223013625_moar")]
 | 
					 | 
				
			||||||
    partial class moar
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
#pragma warning disable 612, 618
 | 
					 | 
				
			||||||
            modelBuilder
 | 
					 | 
				
			||||||
                .HasAnnotation("ProductVersion", "8.0.1")
 | 
					 | 
				
			||||||
                .HasAnnotation("Relational:MaxIdentifierLength", 63);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPageSettings", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("DescriptionHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("DescriptionHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("DescriptionTextSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("HeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("HeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("HeaderTextSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("HeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolioBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolioColumns")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolioEnabledScrolling")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolioMasonry")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolioMaximumSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolionHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolionHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonBGColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonHoverBGColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonHoverTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("RequestHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("RequestHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestTermsColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId")
 | 
					 | 
				
			||||||
                        .IsUnique();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistPageSettings");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPortfolioPiece", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("FileReference")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistPortfolioPieces");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistRequest", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Accepted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("AcceptedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Message")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime>("RequestDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistRequests");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.Request", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Accepted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("AcceptedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<decimal>("Amount")
 | 
					 | 
				
			||||||
                        .HasColumnType("numeric");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Completed")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("CompletedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Declined")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("DeclinedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Message")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Paid")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("PaidDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PaymentUrl")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime>("RequestDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("Requests");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<string>("Id")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BanAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Banned")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("BannedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BannedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Biography")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DisplayName")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Email")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Suspended")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("SuspendedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnbanDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnsuspendDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int?>("UserArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("Users");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("AgeRestricted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistPageSettingsId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Description")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Name")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PrepaymentRequired")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestGuidelines")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink1")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink2")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink3")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink4")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("StripeAccountId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Suspended")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("SuspendedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnsuspendDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId")
 | 
					 | 
				
			||||||
                        .IsUnique();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("UserArtists");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPageSettings", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithOne("ArtistPageSettings")
 | 
					 | 
				
			||||||
                        .HasForeignKey("comissions.app.database.Entities.ArtistPageSettings", "ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPortfolioPiece", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithMany("PortfolioPieces")
 | 
					 | 
				
			||||||
                        .HasForeignKey("ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistRequest", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.Request", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithOne("UserArtist")
 | 
					 | 
				
			||||||
                        .HasForeignKey("comissions.app.database.Entities.UserArtist", "UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Navigation("UserArtist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Navigation("ArtistPageSettings")
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("PortfolioPieces");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
#pragma warning restore 612, 618
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -1,50 +0,0 @@
 | 
				
			|||||||
using System;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Migrations;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#nullable disable
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace comissions.app.api.Migrations
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    /// <inheritdoc />
 | 
					 | 
				
			||||||
    public partial class moar : Migration
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            migrationBuilder.AddColumn<bool>(
 | 
					 | 
				
			||||||
                name: "Paid",
 | 
					 | 
				
			||||||
                table: "Requests",
 | 
					 | 
				
			||||||
                type: "boolean",
 | 
					 | 
				
			||||||
                nullable: false,
 | 
					 | 
				
			||||||
                defaultValue: false);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.AddColumn<DateTime>(
 | 
					 | 
				
			||||||
                name: "PaidDate",
 | 
					 | 
				
			||||||
                table: "Requests",
 | 
					 | 
				
			||||||
                type: "timestamp with time zone",
 | 
					 | 
				
			||||||
                nullable: true);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.AddColumn<string>(
 | 
					 | 
				
			||||||
                name: "PaymentUrl",
 | 
					 | 
				
			||||||
                table: "Requests",
 | 
					 | 
				
			||||||
                type: "text",
 | 
					 | 
				
			||||||
                nullable: true);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            migrationBuilder.DropColumn(
 | 
					 | 
				
			||||||
                name: "Paid",
 | 
					 | 
				
			||||||
                table: "Requests");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.DropColumn(
 | 
					 | 
				
			||||||
                name: "PaidDate",
 | 
					 | 
				
			||||||
                table: "Requests");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.DropColumn(
 | 
					 | 
				
			||||||
                name: "PaymentUrl",
 | 
					 | 
				
			||||||
                table: "Requests");
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -1,504 +0,0 @@
 | 
				
			|||||||
// <auto-generated />
 | 
					 | 
				
			||||||
using System;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Infrastructure;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Migrations;
 | 
					 | 
				
			||||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 | 
					 | 
				
			||||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
 | 
					 | 
				
			||||||
using comissions.app.database;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#nullable disable
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace comissions.app.api.Migrations
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    [DbContext(typeof(ApplicationDbContext))]
 | 
					 | 
				
			||||||
    [Migration("20240225081932_review")]
 | 
					 | 
				
			||||||
    partial class review
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
#pragma warning disable 612, 618
 | 
					 | 
				
			||||||
            modelBuilder
 | 
					 | 
				
			||||||
                .HasAnnotation("ProductVersion", "8.0.1")
 | 
					 | 
				
			||||||
                .HasAnnotation("Relational:MaxIdentifierLength", 63);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPageSettings", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("DescriptionHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("DescriptionHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DescriptionTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("DescriptionTextSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("HeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("HeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("HeaderTextSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("HeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolioBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolioColumns")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolioEnabledScrolling")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolioMasonry")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolioMaximumSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("PortfolionHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PortfolionHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PortfolionHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestBackgroundColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonBGColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonHoverBGColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonHoverTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestButtonTextColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderImageUrl")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("RequestHeaderSize")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestHeaderText")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("RequestHeaderUseImage")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestTermsColor")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId")
 | 
					 | 
				
			||||||
                        .IsUnique();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistPageSettings");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPortfolioPiece", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("FileReference")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistPortfolioPieces");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistRequest", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Accepted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("AcceptedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Message")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime>("RequestDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Review")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<double?>("ReviewRating")
 | 
					 | 
				
			||||||
                        .HasColumnType("double precision");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Reviewed")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("ArtistRequests");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.Request", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Accepted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("AcceptedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<decimal>("Amount")
 | 
					 | 
				
			||||||
                        .HasColumnType("numeric");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Completed")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("CompletedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Declined")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("DeclinedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Message")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Paid")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("PaidDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("PaymentUrl")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime>("RequestDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ArtistId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("Requests");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<string>("Id")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BanAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Banned")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("BannedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("BannedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Biography")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("DisplayName")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Email")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Suspended")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("SuspendedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnbanDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnsuspendDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int?>("UserArtistId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("Users");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<int>("Id")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("AgeRestricted")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ArtistPageSettingsId")
 | 
					 | 
				
			||||||
                        .HasColumnType("integer");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Description")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("Name")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("PrepaymentRequired")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("RequestGuidelines")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink1")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink2")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink3")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SocialMediaLink4")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("StripeAccountId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendAdminId")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("Suspended")
 | 
					 | 
				
			||||||
                        .HasColumnType("boolean");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("SuspendedDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("SuspendedReason")
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("UnsuspendDate")
 | 
					 | 
				
			||||||
                        .HasColumnType("timestamp with time zone");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("UserId")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("text");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("Id");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("UserId")
 | 
					 | 
				
			||||||
                        .IsUnique();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("UserArtists");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPageSettings", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithOne("ArtistPageSettings")
 | 
					 | 
				
			||||||
                        .HasForeignKey("comissions.app.database.Entities.ArtistPageSettings", "ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistPortfolioPiece", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithMany("PortfolioPieces")
 | 
					 | 
				
			||||||
                        .HasForeignKey("ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.ArtistRequest", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.Request", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.UserArtist", "Artist")
 | 
					 | 
				
			||||||
                        .WithMany("Requests")
 | 
					 | 
				
			||||||
                        .HasForeignKey("ArtistId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Artist");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("comissions.app.database.Entities.User", "User")
 | 
					 | 
				
			||||||
                        .WithOne("UserArtist")
 | 
					 | 
				
			||||||
                        .HasForeignKey("comissions.app.database.Entities.UserArtist", "UserId")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Cascade)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("User");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Navigation("UserArtist");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.UserArtist", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Navigation("ArtistPageSettings")
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("PortfolioPieces");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Requests");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
#pragma warning restore 612, 618
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -1,49 +0,0 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore.Migrations;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#nullable disable
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace comissions.app.api.Migrations
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    /// <inheritdoc />
 | 
					 | 
				
			||||||
    public partial class review : Migration
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            migrationBuilder.AddColumn<string>(
 | 
					 | 
				
			||||||
                name: "Review",
 | 
					 | 
				
			||||||
                table: "ArtistRequests",
 | 
					 | 
				
			||||||
                type: "text",
 | 
					 | 
				
			||||||
                nullable: true);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.AddColumn<double>(
 | 
					 | 
				
			||||||
                name: "ReviewRating",
 | 
					 | 
				
			||||||
                table: "ArtistRequests",
 | 
					 | 
				
			||||||
                type: "double precision",
 | 
					 | 
				
			||||||
                nullable: true);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.AddColumn<bool>(
 | 
					 | 
				
			||||||
                name: "Reviewed",
 | 
					 | 
				
			||||||
                table: "ArtistRequests",
 | 
					 | 
				
			||||||
                type: "boolean",
 | 
					 | 
				
			||||||
                nullable: false,
 | 
					 | 
				
			||||||
                defaultValue: false);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            migrationBuilder.DropColumn(
 | 
					 | 
				
			||||||
                name: "Review",
 | 
					 | 
				
			||||||
                table: "ArtistRequests");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.DropColumn(
 | 
					 | 
				
			||||||
                name: "ReviewRating",
 | 
					 | 
				
			||||||
                table: "ArtistRequests");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.DropColumn(
 | 
					 | 
				
			||||||
                name: "Reviewed",
 | 
					 | 
				
			||||||
                table: "ArtistRequests");
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -1,75 +0,0 @@
 | 
				
			|||||||
using Microsoft.EntityFrameworkCore.Migrations;
 | 
					 | 
				
			||||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#nullable disable
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace comissions.app.api.Migrations
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    /// <inheritdoc />
 | 
					 | 
				
			||||||
    public partial class requeststuff : Migration
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            migrationBuilder.CreateTable(
 | 
					 | 
				
			||||||
                name: "RequestAssets",
 | 
					 | 
				
			||||||
                columns: table => new
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    Id = table.Column<int>(type: "integer", nullable: false)
 | 
					 | 
				
			||||||
                        .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
 | 
					 | 
				
			||||||
                    RequestId = table.Column<int>(type: "integer", nullable: false),
 | 
					 | 
				
			||||||
                    FileReference = table.Column<string>(type: "text", nullable: false)
 | 
					 | 
				
			||||||
                },
 | 
					 | 
				
			||||||
                constraints: table =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    table.PrimaryKey("PK_RequestAssets", x => x.Id);
 | 
					 | 
				
			||||||
                    table.ForeignKey(
 | 
					 | 
				
			||||||
                        name: "FK_RequestAssets_Requests_RequestId",
 | 
					 | 
				
			||||||
                        column: x => x.RequestId,
 | 
					 | 
				
			||||||
                        principalTable: "Requests",
 | 
					 | 
				
			||||||
                        principalColumn: "Id",
 | 
					 | 
				
			||||||
                        onDelete: ReferentialAction.Cascade);
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.CreateTable(
 | 
					 | 
				
			||||||
                name: "RequestsReferences",
 | 
					 | 
				
			||||||
                columns: table => new
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    Id = table.Column<int>(type: "integer", nullable: false)
 | 
					 | 
				
			||||||
                        .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
 | 
					 | 
				
			||||||
                    RequestId = table.Column<int>(type: "integer", nullable: false),
 | 
					 | 
				
			||||||
                    FileReference = table.Column<string>(type: "text", nullable: false)
 | 
					 | 
				
			||||||
                },
 | 
					 | 
				
			||||||
                constraints: table =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    table.PrimaryKey("PK_RequestsReferences", x => x.Id);
 | 
					 | 
				
			||||||
                    table.ForeignKey(
 | 
					 | 
				
			||||||
                        name: "FK_RequestsReferences_Requests_RequestId",
 | 
					 | 
				
			||||||
                        column: x => x.RequestId,
 | 
					 | 
				
			||||||
                        principalTable: "Requests",
 | 
					 | 
				
			||||||
                        principalColumn: "Id",
 | 
					 | 
				
			||||||
                        onDelete: ReferentialAction.Cascade);
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.CreateIndex(
 | 
					 | 
				
			||||||
                name: "IX_RequestAssets_RequestId",
 | 
					 | 
				
			||||||
                table: "RequestAssets",
 | 
					 | 
				
			||||||
                column: "RequestId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.CreateIndex(
 | 
					 | 
				
			||||||
                name: "IX_RequestsReferences_RequestId",
 | 
					 | 
				
			||||||
                table: "RequestsReferences",
 | 
					 | 
				
			||||||
                column: "RequestId");
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <inheritdoc />
 | 
					 | 
				
			||||||
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            migrationBuilder.DropTable(
 | 
					 | 
				
			||||||
                name: "RequestAssets");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            migrationBuilder.DropTable(
 | 
					 | 
				
			||||||
                name: "RequestsReferences");
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -12,8 +12,8 @@ using comissions.app.database;
 | 
				
			|||||||
namespace comissions.app.api.Migrations
 | 
					namespace comissions.app.api.Migrations
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    [DbContext(typeof(ApplicationDbContext))]
 | 
					    [DbContext(typeof(ApplicationDbContext))]
 | 
				
			||||||
    [Migration("20240225202343_request stuff")]
 | 
					    [Migration("20240225210127_Initial")]
 | 
				
			||||||
    partial class requeststuff
 | 
					    partial class Initial
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        /// <inheritdoc />
 | 
					        /// <inheritdoc />
 | 
				
			||||||
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 | 
					        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 | 
				
			||||||
@ -332,7 +332,7 @@ namespace comissions.app.api.Migrations
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                    b.HasIndex("RequestId");
 | 
					                    b.HasIndex("RequestId");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    b.ToTable("RequestsReferences");
 | 
					                    b.ToTable("RequestReferences");
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
					            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
				
			||||||
@ -47,7 +47,10 @@ namespace comissions.app.api.Migrations
 | 
				
			|||||||
                    Message = table.Column<string>(type: "text", nullable: false),
 | 
					                    Message = table.Column<string>(type: "text", nullable: false),
 | 
				
			||||||
                    RequestDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
 | 
					                    RequestDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
 | 
				
			||||||
                    AcceptedDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
 | 
					                    AcceptedDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
 | 
				
			||||||
                    Accepted = table.Column<bool>(type: "boolean", nullable: false)
 | 
					                    Accepted = table.Column<bool>(type: "boolean", nullable: false),
 | 
				
			||||||
 | 
					                    Reviewed = table.Column<bool>(type: "boolean", nullable: false),
 | 
				
			||||||
 | 
					                    Review = table.Column<string>(type: "text", nullable: true),
 | 
				
			||||||
 | 
					                    ReviewRating = table.Column<double>(type: "double precision", nullable: true)
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                constraints: table =>
 | 
					                constraints: table =>
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
@ -183,6 +186,9 @@ namespace comissions.app.api.Migrations
 | 
				
			|||||||
                    AcceptedDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
 | 
					                    AcceptedDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
 | 
				
			||||||
                    Declined = table.Column<bool>(type: "boolean", nullable: false),
 | 
					                    Declined = table.Column<bool>(type: "boolean", nullable: false),
 | 
				
			||||||
                    DeclinedDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
 | 
					                    DeclinedDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
 | 
				
			||||||
 | 
					                    PaymentUrl = table.Column<string>(type: "text", nullable: true),
 | 
				
			||||||
 | 
					                    Paid = table.Column<bool>(type: "boolean", nullable: false),
 | 
				
			||||||
 | 
					                    PaidDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
 | 
				
			||||||
                    Completed = table.Column<bool>(type: "boolean", nullable: false),
 | 
					                    Completed = table.Column<bool>(type: "boolean", nullable: false),
 | 
				
			||||||
                    CompletedDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true)
 | 
					                    CompletedDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true)
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
@ -203,6 +209,46 @@ namespace comissions.app.api.Migrations
 | 
				
			|||||||
                        onDelete: ReferentialAction.Cascade);
 | 
					                        onDelete: ReferentialAction.Cascade);
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateTable(
 | 
				
			||||||
 | 
					                name: "RequestAssets",
 | 
				
			||||||
 | 
					                columns: table => new
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    Id = table.Column<int>(type: "integer", nullable: false)
 | 
				
			||||||
 | 
					                        .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
 | 
				
			||||||
 | 
					                    RequestId = table.Column<int>(type: "integer", nullable: false),
 | 
				
			||||||
 | 
					                    FileReference = table.Column<string>(type: "text", nullable: false)
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                constraints: table =>
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    table.PrimaryKey("PK_RequestAssets", x => x.Id);
 | 
				
			||||||
 | 
					                    table.ForeignKey(
 | 
				
			||||||
 | 
					                        name: "FK_RequestAssets_Requests_RequestId",
 | 
				
			||||||
 | 
					                        column: x => x.RequestId,
 | 
				
			||||||
 | 
					                        principalTable: "Requests",
 | 
				
			||||||
 | 
					                        principalColumn: "Id",
 | 
				
			||||||
 | 
					                        onDelete: ReferentialAction.Cascade);
 | 
				
			||||||
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateTable(
 | 
				
			||||||
 | 
					                name: "RequestReferences",
 | 
				
			||||||
 | 
					                columns: table => new
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    Id = table.Column<int>(type: "integer", nullable: false)
 | 
				
			||||||
 | 
					                        .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
 | 
				
			||||||
 | 
					                    RequestId = table.Column<int>(type: "integer", nullable: false),
 | 
				
			||||||
 | 
					                    FileReference = table.Column<string>(type: "text", nullable: false)
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                constraints: table =>
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    table.PrimaryKey("PK_RequestReferences", x => x.Id);
 | 
				
			||||||
 | 
					                    table.ForeignKey(
 | 
				
			||||||
 | 
					                        name: "FK_RequestReferences_Requests_RequestId",
 | 
				
			||||||
 | 
					                        column: x => x.RequestId,
 | 
				
			||||||
 | 
					                        principalTable: "Requests",
 | 
				
			||||||
 | 
					                        principalColumn: "Id",
 | 
				
			||||||
 | 
					                        onDelete: ReferentialAction.Cascade);
 | 
				
			||||||
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            migrationBuilder.CreateIndex(
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
                name: "IX_ArtistPageSettings_ArtistId",
 | 
					                name: "IX_ArtistPageSettings_ArtistId",
 | 
				
			||||||
                table: "ArtistPageSettings",
 | 
					                table: "ArtistPageSettings",
 | 
				
			||||||
@ -219,6 +265,16 @@ namespace comissions.app.api.Migrations
 | 
				
			|||||||
                table: "ArtistRequests",
 | 
					                table: "ArtistRequests",
 | 
				
			||||||
                column: "UserId");
 | 
					                column: "UserId");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
 | 
					                name: "IX_RequestAssets_RequestId",
 | 
				
			||||||
 | 
					                table: "RequestAssets",
 | 
				
			||||||
 | 
					                column: "RequestId");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
 | 
					                name: "IX_RequestReferences_RequestId",
 | 
				
			||||||
 | 
					                table: "RequestReferences",
 | 
				
			||||||
 | 
					                column: "RequestId");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            migrationBuilder.CreateIndex(
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
                name: "IX_Requests_ArtistId",
 | 
					                name: "IX_Requests_ArtistId",
 | 
				
			||||||
                table: "Requests",
 | 
					                table: "Requests",
 | 
				
			||||||
@ -248,6 +304,12 @@ namespace comissions.app.api.Migrations
 | 
				
			|||||||
            migrationBuilder.DropTable(
 | 
					            migrationBuilder.DropTable(
 | 
				
			||||||
                name: "ArtistRequests");
 | 
					                name: "ArtistRequests");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.DropTable(
 | 
				
			||||||
 | 
					                name: "RequestAssets");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.DropTable(
 | 
				
			||||||
 | 
					                name: "RequestReferences");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            migrationBuilder.DropTable(
 | 
					            migrationBuilder.DropTable(
 | 
				
			||||||
                name: "Requests");
 | 
					                name: "Requests");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -329,7 +329,7 @@ namespace comissions.app.api.Migrations
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                    b.HasIndex("RequestId");
 | 
					                    b.HasIndex("RequestId");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    b.ToTable("RequestsReferences");
 | 
					                    b.ToTable("RequestReferences");
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
					            modelBuilder.Entity("comissions.app.database.Entities.User", b =>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user