185 lines
7.6 KiB
C#
185 lines
7.6 KiB
C#
|
using System;
|
|||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace GrossesMitainesAPI.Migrations
|
|||
|
{
|
|||
|
public partial class wtf : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "AspNetRoles",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: "1b7b9c55-c746-493a-a24f-3d5ca937298e",
|
|||
|
column: "ConcurrencyStamp",
|
|||
|
value: "272b790a-dd0f-44d1-9fe6-3bdd94dd0bbe");
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "AspNetRoles",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: "c9e08b20-d8a5-473f-9f52-572eb23c12af",
|
|||
|
column: "ConcurrencyStamp",
|
|||
|
value: "efa553a4-bce0-4f02-8e71-948ffcd33485");
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "AspNetUsers",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: "af9178c8-1a02-4ff8-bc0a-c8248dad6e09",
|
|||
|
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
|||
|
values: new object[] { "69b434ec-a04a-44a2-8b36-01ab06f86acd", "AQAAAAEAACcQAAAAEHIDM2Enov0RAshapK1ffH4rvsub/fggHOEcJ36Is4Oo9oOTQcp8F4Cc2JkAajRYCQ==", "6398533a-0475-422e-a961-d028eb0422c0" });
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "AspNetUsers",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: "ecf7503a-591c-454e-a824-048e10bd0474",
|
|||
|
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
|||
|
values: new object[] { "64bca06c-8b14-4cb1-a768-8330f6211898", "AQAAAAEAACcQAAAAEKe5FzTpH4cwdtISsiyLAadJYa0nHiqp0lgK2eG9b4J1san84/07GAKLiasqGPCl4A==", "61ce3796-d6be-41fa-9ce1-c121ed8181e9" });
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 1,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 8, 0, 54, 40, 171, DateTimeKind.Local).AddTicks(6271));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 2,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 8, 0, 54, 40, 171, DateTimeKind.Local).AddTicks(6322));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 3,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 8, 0, 54, 40, 171, DateTimeKind.Local).AddTicks(6345));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 4,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 8, 0, 54, 40, 171, DateTimeKind.Local).AddTicks(6348));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 5,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 8, 0, 54, 40, 171, DateTimeKind.Local).AddTicks(6350));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 6,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 8, 0, 54, 40, 171, DateTimeKind.Local).AddTicks(6351));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 7,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 8, 0, 54, 40, 171, DateTimeKind.Local).AddTicks(6359));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Products",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 14,
|
|||
|
column: "Quantity",
|
|||
|
value: 99L);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "AspNetRoles",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: "1b7b9c55-c746-493a-a24f-3d5ca937298e",
|
|||
|
column: "ConcurrencyStamp",
|
|||
|
value: "31012aa2-ebcf-493a-bc1c-2066d47dd333");
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "AspNetRoles",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: "c9e08b20-d8a5-473f-9f52-572eb23c12af",
|
|||
|
column: "ConcurrencyStamp",
|
|||
|
value: "b110abae-bf70-453d-93d4-a3b0d74f9491");
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "AspNetUsers",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: "af9178c8-1a02-4ff8-bc0a-c8248dad6e09",
|
|||
|
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
|||
|
values: new object[] { "989931b3-2a7b-44db-8e22-308d2270442c", "AQAAAAEAACcQAAAAEPffpp6X7ztCzWieTbiRInK5P/1AZx6Pdy1tUbTQS5GXLWGcZzhqlzaB8QGlwkJzDw==", "6bbc335f-1307-40eb-8533-694a608937de" });
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "AspNetUsers",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: "ecf7503a-591c-454e-a824-048e10bd0474",
|
|||
|
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
|||
|
values: new object[] { "d6f87641-e92e-44f6-a26c-3539ccc0b374", "AQAAAAEAACcQAAAAEGleiGV7pLvmGVcR9JU/Yc8Oo/+8CGFU2ZDvWJnonvm5/XbCOHsIwWHvAB3GCpiZJA==", "719b228c-6b86-4193-b994-365aaf1d19fc" });
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 1,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 7, 22, 49, 52, 210, DateTimeKind.Local).AddTicks(9693));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 2,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 7, 22, 49, 52, 210, DateTimeKind.Local).AddTicks(9731));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 3,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 7, 22, 49, 52, 210, DateTimeKind.Local).AddTicks(9733));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 4,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 7, 22, 49, 52, 210, DateTimeKind.Local).AddTicks(9735));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 5,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 7, 22, 49, 52, 210, DateTimeKind.Local).AddTicks(9736));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 6,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 7, 22, 49, 52, 210, DateTimeKind.Local).AddTicks(9738));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Invoices",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 7,
|
|||
|
column: "PurchaseDate",
|
|||
|
value: new DateTime(2022, 11, 7, 22, 49, 52, 210, DateTimeKind.Local).AddTicks(9740));
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "Products",
|
|||
|
keyColumn: "Id",
|
|||
|
keyValue: 14,
|
|||
|
column: "Quantity",
|
|||
|
value: 164363L);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|