using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional

namespace Arentheym.Database.Migrations
{
    /// <inheritdoc />
    [SuppressMessage("Design", "CA1062:Validate arguments of public methods", Justification = "Generated code")]
    public partial class Initial : Migration
    {
        /// <inheritdoc />
        [SuppressMessage(
            "Performance",
            "CA1861:Avoid constant arrays as arguments",
            Justification = "Code is only run once, not repeatedly."
        )]
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "ApartmentConfigurations",
                columns: table => new
                {
                    Id = table.Column<int>(type: "INTEGER", nullable: false),
                    DialToOpen = table.Column<bool>(type: "INTEGER", nullable: false),
                    DisplayName = table.Column<string>(type: "TEXT", nullable: false),
                    MemoryLocation = table.Column<short>(type: "INTEGER", nullable: false),
                    AccessCode = table.Column<string>(type: "TEXT", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_ApartmentConfigurations", x => x.Id);
                }
            );

            migrationBuilder.CreateTable(
                name: "Intercoms",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "TEXT", nullable: false),
                    MasterCode = table.Column<string>(type: "TEXT", maxLength: 4, nullable: false),
                    Name = table.Column<string>(type: "TEXT", nullable: false),
                    PhoneNumber = table.Column<string>(type: "TEXT", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Intercoms", x => x.Id);
                }
            );

            migrationBuilder.CreateTable(
                name: "ApartmentConfigurationPhoneNumbers",
                columns: table => new
                {
                    Number = table.Column<string>(type: "TEXT", nullable: false),
                    Order = table.Column<int>(type: "INTEGER", nullable: false),
                    ApartmentConfigurationId = table.Column<int>(type: "INTEGER", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey(
                        "PK_ApartmentConfigurationPhoneNumbers",
                        x => new
                        {
                            x.ApartmentConfigurationId,
                            x.Order,
                            x.Number
                        }
                    );
                    table.ForeignKey(
                        name: "FK_ApartmentConfigurationPhoneNumbers_ApartmentConfigurations_ApartmentConfigurationId",
                        column: x => x.ApartmentConfigurationId,
                        principalTable: "ApartmentConfigurations",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade
                    );
                }
            );

            migrationBuilder.CreateTable(
                name: "ApartmentConfigurationIntercoms",
                columns: table => new
                {
                    IntercomId = table.Column<Guid>(type: "TEXT", nullable: false),
                    ApartmentConfigurationId = table.Column<int>(type: "INTEGER", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey(
                        "PK_ApartmentConfigurationIntercoms",
                        x => new { x.IntercomId, x.ApartmentConfigurationId }
                    );
                    table.ForeignKey(
                        name: "FK_ApartmentConfigurationIntercoms_ApartmentConfigurations_ApartmentConfigurationId",
                        column: x => x.ApartmentConfigurationId,
                        principalTable: "ApartmentConfigurations",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade
                    );
                    table.ForeignKey(
                        name: "FK_ApartmentConfigurationIntercoms_Intercoms_IntercomId",
                        column: x => x.IntercomId,
                        principalTable: "Intercoms",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade
                    );
                }
            );

            migrationBuilder.InsertData(
                table: "ApartmentConfigurations",
                columns: new[] { "Id", "AccessCode", "DialToOpen", "DisplayName", "MemoryLocation" },
                values: new object[,]
                {
                    { 51, "", true, "051", (short)51 },
                    { 53, "", true, "053", (short)53 },
                    { 55, "", true, "055", (short)55 },
                    { 57, "", true, "057", (short)57 },
                    { 59, "", true, "059", (short)59 },
                    { 61, "", true, "061", (short)61 },
                    { 63, "", true, "063", (short)63 },
                    { 65, "", true, "065", (short)65 },
                    { 67, "", true, "067", (short)67 },
                    { 69, "", true, "069", (short)69 },
                    { 71, "", true, "071", (short)71 },
                    { 73, "", true, "073", (short)73 },
                    { 75, "", true, "075", (short)75 },
                    { 77, "", true, "077", (short)77 },
                    { 79, "", true, "079", (short)79 },
                    { 81, "", true, "081", (short)81 },
                    { 83, "", true, "083", (short)83 },
                    { 85, "", true, "085", (short)85 },
                    { 87, "", true, "087", (short)87 },
                    { 89, "", true, "089", (short)89 },
                    { 91, "", true, "091", (short)91 },
                    { 93, "", true, "093", (short)93 },
                    { 95, "", true, "095", (short)95 },
                    { 97, "", true, "097", (short)97 },
                    { 99, "", true, "099", (short)99 },
                    { 101, "", true, "101", (short)101 },
                    { 103, "", true, "103", (short)103 },
                    { 105, "", true, "105", (short)105 },
                    { 107, "", true, "107", (short)107 },
                    { 109, "", true, "109", (short)109 },
                    { 111, "", true, "111", (short)111 },
                    { 113, "", true, "113", (short)113 },
                    { 115, "", true, "115", (short)115 },
                    { 117, "", true, "117", (short)117 },
                    { 119, "", true, "119", (short)119 },
                    { 121, "", true, "121", (short)121 },
                    { 123, "", true, "123", (short)123 },
                    { 125, "", true, "125", (short)125 },
                    { 127, "", true, "127", (short)127 },
                    { 129, "", true, "129", (short)129 },
                    { 131, "", true, "131", (short)131 },
                    { 133, "", true, "133", (short)133 },
                    { 135, "", true, "135", (short)135 },
                    { 137, "", true, "137", (short)137 },
                    { 139, "", true, "139", (short)139 },
                    { 141, "", true, "141", (short)141 },
                    { 143, "", true, "143", (short)143 },
                    { 145, "", true, "145", (short)145 },
                    { 147, "", true, "147", (short)147 },
                    { 149, "", true, "149", (short)149 },
                    { 151, "", true, "151", (short)151 },
                    { 153, "", true, "153", (short)153 },
                    { 155, "", true, "155", (short)155 },
                    { 157, "", true, "157", (short)157 },
                    { 159, "", true, "159", (short)159 },
                    { 161, "", true, "161", (short)161 },
                    { 163, "", true, "163", (short)163 },
                    { 165, "", true, "165", (short)165 },
                    { 167, "", true, "167", (short)167 },
                    { 169, "", true, "169", (short)169 },
                    { 171, "", true, "171", (short)171 },
                    { 173, "", true, "173", (short)173 },
                    { 175, "", true, "175", (short)175 },
                    { 177, "", true, "177", (short)177 },
                    { 179, "", true, "179", (short)179 },
                    { 181, "", true, "181", (short)181 },
                    { 183, "", true, "183", (short)183 },
                    { 185, "", true, "185", (short)185 },
                    { 187, "", true, "187", (short)187 },
                    { 189, "", true, "189", (short)189 }
                }
            );

            migrationBuilder.InsertData(
                table: "Intercoms",
                columns: new[] { "Id", "MasterCode", "Name", "PhoneNumber" },
                values: new object[,]
                {
                    { new Guid("179f0aee-8831-45df-942e-57cb20fb65e9"), "8601", "Slagboom achter", "31657181402" },
                    { new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6"), "8601", "Slagboom voor", "31657093298" }
                }
            );

            migrationBuilder.InsertData(
                table: "ApartmentConfigurationIntercoms",
                columns: new[] { "ApartmentConfigurationId", "IntercomId" },
                values: new object[,]
                {
                    { 51, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 53, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 55, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 57, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 59, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 61, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 63, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 65, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 67, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 69, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 71, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 73, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 75, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 77, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 79, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 81, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 83, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 85, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 87, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 89, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 91, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 93, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 95, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 97, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 99, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 101, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 103, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 105, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 107, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 109, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 111, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 113, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 115, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 117, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 119, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 121, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 123, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 125, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 127, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 129, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 131, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 133, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 135, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 137, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 139, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 141, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 143, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 145, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 147, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 149, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 151, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 153, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 155, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 157, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 159, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 161, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 163, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 165, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 167, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 169, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 171, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 173, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 175, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 177, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 179, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 181, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 183, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 185, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 187, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 189, new Guid("179f0aee-8831-45df-942e-57cb20fb65e9") },
                    { 51, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 53, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 55, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 57, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 59, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 61, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 63, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 65, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 67, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 69, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 71, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 73, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 75, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 77, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 79, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 81, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 83, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 85, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 87, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 89, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 91, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 93, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 95, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 97, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 99, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 101, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 103, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 105, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 107, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 109, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 111, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 113, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 115, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 117, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 119, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 121, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 123, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 125, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 127, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 129, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 131, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 133, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 135, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 137, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 139, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 141, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 143, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 145, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 147, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 149, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 151, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 153, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 155, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 157, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 159, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 161, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 163, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 165, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 167, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 169, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 171, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 173, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 175, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 177, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 179, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 181, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 183, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 185, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 187, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") },
                    { 189, new Guid("3a3306b3-0f83-435a-a968-7d4f9b02a4a6") }
                }
            );

            migrationBuilder.InsertData(
                table: "ApartmentConfigurationPhoneNumbers",
                columns: new[] { "ApartmentConfigurationId", "Number", "Order" },
                values: new object[,]
                {
                    { 51, "", 0 },
                    { 51, "", 1 },
                    { 51, "", 2 },
                    { 51, "", 3 },
                    { 53, "", 0 },
                    { 53, "", 1 },
                    { 53, "", 2 },
                    { 53, "", 3 },
                    { 55, "", 0 },
                    { 55, "", 1 },
                    { 55, "", 2 },
                    { 55, "", 3 },
                    { 57, "", 0 },
                    { 57, "", 1 },
                    { 57, "", 2 },
                    { 57, "", 3 },
                    { 59, "", 0 },
                    { 59, "", 1 },
                    { 59, "", 2 },
                    { 59, "", 3 },
                    { 61, "", 0 },
                    { 61, "", 1 },
                    { 61, "", 2 },
                    { 61, "", 3 },
                    { 63, "", 0 },
                    { 63, "", 1 },
                    { 63, "", 2 },
                    { 63, "", 3 },
                    { 65, "", 0 },
                    { 65, "", 1 },
                    { 65, "", 2 },
                    { 65, "", 3 },
                    { 67, "", 0 },
                    { 67, "", 1 },
                    { 67, "", 2 },
                    { 67, "", 3 },
                    { 69, "", 0 },
                    { 69, "", 1 },
                    { 69, "", 2 },
                    { 69, "", 3 },
                    { 71, "", 0 },
                    { 71, "", 1 },
                    { 71, "", 2 },
                    { 71, "", 3 },
                    { 73, "", 0 },
                    { 73, "", 1 },
                    { 73, "", 2 },
                    { 73, "", 3 },
                    { 75, "", 0 },
                    { 75, "", 1 },
                    { 75, "", 2 },
                    { 75, "", 3 },
                    { 77, "", 0 },
                    { 77, "", 1 },
                    { 77, "", 2 },
                    { 77, "", 3 },
                    { 79, "", 0 },
                    { 79, "", 1 },
                    { 79, "", 2 },
                    { 79, "", 3 },
                    { 81, "", 0 },
                    { 81, "", 1 },
                    { 81, "", 2 },
                    { 81, "", 3 },
                    { 83, "", 0 },
                    { 83, "", 1 },
                    { 83, "", 2 },
                    { 83, "", 3 },
                    { 85, "", 0 },
                    { 85, "", 1 },
                    { 85, "", 2 },
                    { 85, "", 3 },
                    { 87, "", 0 },
                    { 87, "", 1 },
                    { 87, "", 2 },
                    { 87, "", 3 },
                    { 89, "", 0 },
                    { 89, "", 1 },
                    { 89, "", 2 },
                    { 89, "", 3 },
                    { 91, "", 0 },
                    { 91, "", 1 },
                    { 91, "", 2 },
                    { 91, "", 3 },
                    { 93, "", 0 },
                    { 93, "", 1 },
                    { 93, "", 2 },
                    { 93, "", 3 },
                    { 95, "", 0 },
                    { 95, "", 1 },
                    { 95, "", 2 },
                    { 95, "", 3 },
                    { 97, "", 0 },
                    { 97, "", 1 },
                    { 97, "", 2 },
                    { 97, "", 3 },
                    { 99, "", 0 },
                    { 99, "", 1 },
                    { 99, "", 2 },
                    { 99, "", 3 },
                    { 101, "", 0 },
                    { 101, "", 1 },
                    { 101, "", 2 },
                    { 101, "", 3 },
                    { 103, "", 0 },
                    { 103, "", 1 },
                    { 103, "", 2 },
                    { 103, "", 3 },
                    { 105, "", 0 },
                    { 105, "", 1 },
                    { 105, "", 2 },
                    { 105, "", 3 },
                    { 107, "", 0 },
                    { 107, "", 1 },
                    { 107, "", 2 },
                    { 107, "", 3 },
                    { 109, "", 0 },
                    { 109, "", 1 },
                    { 109, "", 2 },
                    { 109, "", 3 },
                    { 111, "", 0 },
                    { 111, "", 1 },
                    { 111, "", 2 },
                    { 111, "", 3 },
                    { 113, "", 0 },
                    { 113, "", 1 },
                    { 113, "", 2 },
                    { 113, "", 3 },
                    { 115, "", 0 },
                    { 115, "", 1 },
                    { 115, "", 2 },
                    { 115, "", 3 },
                    { 117, "", 0 },
                    { 117, "", 1 },
                    { 117, "", 2 },
                    { 117, "", 3 },
                    { 119, "", 0 },
                    { 119, "", 1 },
                    { 119, "", 2 },
                    { 119, "", 3 },
                    { 121, "", 0 },
                    { 121, "", 1 },
                    { 121, "", 2 },
                    { 121, "", 3 },
                    { 123, "", 0 },
                    { 123, "", 1 },
                    { 123, "", 2 },
                    { 123, "", 3 },
                    { 125, "", 0 },
                    { 125, "", 1 },
                    { 125, "", 2 },
                    { 125, "", 3 },
                    { 127, "", 0 },
                    { 127, "", 1 },
                    { 127, "", 2 },
                    { 127, "", 3 },
                    { 129, "", 0 },
                    { 129, "", 1 },
                    { 129, "", 2 },
                    { 129, "", 3 },
                    { 131, "", 0 },
                    { 131, "", 1 },
                    { 131, "", 2 },
                    { 131, "", 3 },
                    { 133, "", 0 },
                    { 133, "", 1 },
                    { 133, "", 2 },
                    { 133, "", 3 },
                    { 135, "", 0 },
                    { 135, "", 1 },
                    { 135, "", 2 },
                    { 135, "", 3 },
                    { 137, "", 0 },
                    { 137, "", 1 },
                    { 137, "", 2 },
                    { 137, "", 3 },
                    { 139, "", 0 },
                    { 139, "", 1 },
                    { 139, "", 2 },
                    { 139, "", 3 },
                    { 141, "", 0 },
                    { 141, "", 1 },
                    { 141, "", 2 },
                    { 141, "", 3 },
                    { 143, "", 0 },
                    { 143, "", 1 },
                    { 143, "", 2 },
                    { 143, "", 3 },
                    { 145, "", 0 },
                    { 145, "", 1 },
                    { 145, "", 2 },
                    { 145, "", 3 },
                    { 147, "", 0 },
                    { 147, "", 1 },
                    { 147, "", 2 },
                    { 147, "", 3 },
                    { 149, "", 0 },
                    { 149, "", 1 },
                    { 149, "", 2 },
                    { 149, "", 3 },
                    { 151, "", 0 },
                    { 151, "", 1 },
                    { 151, "", 2 },
                    { 151, "", 3 },
                    { 153, "", 0 },
                    { 153, "", 1 },
                    { 153, "", 2 },
                    { 153, "", 3 },
                    { 155, "", 0 },
                    { 155, "", 1 },
                    { 155, "", 2 },
                    { 155, "", 3 },
                    { 157, "", 0 },
                    { 157, "", 1 },
                    { 157, "", 2 },
                    { 157, "", 3 },
                    { 159, "", 0 },
                    { 159, "", 1 },
                    { 159, "", 2 },
                    { 159, "", 3 },
                    { 161, "", 0 },
                    { 161, "", 1 },
                    { 161, "", 2 },
                    { 161, "", 3 },
                    { 163, "", 0 },
                    { 163, "", 1 },
                    { 163, "", 2 },
                    { 163, "", 3 },
                    { 165, "", 0 },
                    { 165, "", 1 },
                    { 165, "", 2 },
                    { 165, "", 3 },
                    { 167, "", 0 },
                    { 167, "", 1 },
                    { 167, "", 2 },
                    { 167, "", 3 },
                    { 169, "", 0 },
                    { 169, "", 1 },
                    { 169, "", 2 },
                    { 169, "", 3 },
                    { 171, "", 0 },
                    { 171, "", 1 },
                    { 171, "", 2 },
                    { 171, "", 3 },
                    { 173, "", 0 },
                    { 173, "", 1 },
                    { 173, "", 2 },
                    { 173, "", 3 },
                    { 175, "", 0 },
                    { 175, "", 1 },
                    { 175, "", 2 },
                    { 175, "", 3 },
                    { 177, "", 0 },
                    { 177, "", 1 },
                    { 177, "", 2 },
                    { 177, "", 3 },
                    { 179, "", 0 },
                    { 179, "", 1 },
                    { 179, "", 2 },
                    { 179, "", 3 },
                    { 181, "", 0 },
                    { 181, "", 1 },
                    { 181, "", 2 },
                    { 181, "", 3 },
                    { 183, "", 0 },
                    { 183, "", 1 },
                    { 183, "", 2 },
                    { 183, "", 3 },
                    { 185, "", 0 },
                    { 185, "", 1 },
                    { 185, "", 2 },
                    { 185, "", 3 },
                    { 187, "", 0 },
                    { 187, "", 1 },
                    { 187, "", 2 },
                    { 187, "", 3 },
                    { 189, "", 0 },
                    { 189, "", 1 },
                    { 189, "", 2 },
                    { 189, "", 3 }
                }
            );

            migrationBuilder.CreateIndex(
                name: "IX_ApartmentConfigurationIntercoms_ApartmentConfigurationId",
                table: "ApartmentConfigurationIntercoms",
                column: "ApartmentConfigurationId"
            );
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(name: "ApartmentConfigurationIntercoms");
            migrationBuilder.DropTable(name: "ApartmentConfigurationPhoneNumbers");
            migrationBuilder.DropTable(name: "Intercoms");
            migrationBuilder.DropTable(name: "ApartmentConfigurations");
        }
    }
}
