296 lines
9.6 KiB
C#
296 lines
9.6 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace GrossesMitainesAPI.Migrations
|
|
{
|
|
public partial class extensionToImageNames : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetRoles",
|
|
keyColumn: "Id",
|
|
keyValue: "1b7b9c55-c746-493a-a24f-3d5ca937298e",
|
|
column: "ConcurrencyStamp",
|
|
value: "7d36b38e-ae6a-457e-bfd0-62fc0c1d8fc5");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetRoles",
|
|
keyColumn: "Id",
|
|
keyValue: "c9e08b20-d8a5-473f-9f52-572eb23c12af",
|
|
column: "ConcurrencyStamp",
|
|
value: "ca8c4d2d-a900-499a-8469-99b6f0499b9d");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetUsers",
|
|
keyColumn: "Id",
|
|
keyValue: "ecf7503a-591c-454e-a824-048e10bd0474",
|
|
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
|
values: new object[] { "c4a97f53-d33a-4519-8a19-5969d3bc9bcd", "AQAAAAEAACcQAAAAEBs7/uxC6IlFe5ejK2fO17fQZxxto/+RBqdFxDTdRQCdlLBhDsvzq06I9aEH1W4FFA==", "f5dedfca-bbc4-423f-aae7-37670bc7294f" });
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 1,
|
|
column: "ImageName",
|
|
value: "$ceintureflechee.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 2,
|
|
column: "ImageName",
|
|
value: "$pantouflesCH.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 3,
|
|
column: "ImageName",
|
|
value: "$jeanlucmongrain.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 4,
|
|
column: "ImageName",
|
|
value: "$tshirt.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 5,
|
|
column: "ImageName",
|
|
value: "$mitaines.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 6,
|
|
column: "ImageName",
|
|
value: "$foulard.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 7,
|
|
column: "ImageName",
|
|
value: "$kokin.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 8,
|
|
column: "ImageName",
|
|
value: "$kokinfemme.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 9,
|
|
column: "ImageName",
|
|
value: "$bibi.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 10,
|
|
column: "ImageName",
|
|
value: "$tuque.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 11,
|
|
column: "ImageName",
|
|
value: "$bonhomme.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 12,
|
|
column: "ImageName",
|
|
value: "$gauze.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 13,
|
|
column: "ImageName",
|
|
value: "$jesus.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 14,
|
|
column: "ImageName",
|
|
value: "$vhs.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 15,
|
|
column: "ImageName",
|
|
value: "$chandailquetaine.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 16,
|
|
column: "ImageName",
|
|
value: "$doudou.jpg");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 17,
|
|
column: "ImageName",
|
|
value: "$mitaines2.jpg");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetRoles",
|
|
keyColumn: "Id",
|
|
keyValue: "1b7b9c55-c746-493a-a24f-3d5ca937298e",
|
|
column: "ConcurrencyStamp",
|
|
value: "a1e6c5dc-1922-4d6d-9386-17636378a41a");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetRoles",
|
|
keyColumn: "Id",
|
|
keyValue: "c9e08b20-d8a5-473f-9f52-572eb23c12af",
|
|
column: "ConcurrencyStamp",
|
|
value: "aa9cf131-5db2-4812-b869-12adabaf5ac1");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetUsers",
|
|
keyColumn: "Id",
|
|
keyValue: "ecf7503a-591c-454e-a824-048e10bd0474",
|
|
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
|
values: new object[] { "81c3c0a1-e7f1-47ff-a08d-550563cf729b", "AQAAAAEAACcQAAAAEIgKKr5wiFRKUkGoYTMm88Q4a0weHaJya+yZ37ql6FZBiws3UA0aLgVsl/DKWtiqTw==", "c4cff2f9-f6a1-45ca-b43f-a2792211bfdf" });
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 1,
|
|
column: "ImageName",
|
|
value: "$ceintureflechee");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 2,
|
|
column: "ImageName",
|
|
value: "$pantouflesCH");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 3,
|
|
column: "ImageName",
|
|
value: "$jeanlucmongrain");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 4,
|
|
column: "ImageName",
|
|
value: "$tshirt");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 5,
|
|
column: "ImageName",
|
|
value: "$mitaines");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 6,
|
|
column: "ImageName",
|
|
value: "$foulard");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 7,
|
|
column: "ImageName",
|
|
value: "$kokin");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 8,
|
|
column: "ImageName",
|
|
value: "$kokinfemme");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 9,
|
|
column: "ImageName",
|
|
value: "$bibi");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 10,
|
|
column: "ImageName",
|
|
value: "$tuque");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 11,
|
|
column: "ImageName",
|
|
value: "$bonhomme");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 12,
|
|
column: "ImageName",
|
|
value: "$gauze");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 13,
|
|
column: "ImageName",
|
|
value: "$jesus");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 14,
|
|
column: "ImageName",
|
|
value: "$vhs");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 15,
|
|
column: "ImageName",
|
|
value: "$chandailquetaine");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 16,
|
|
column: "ImageName",
|
|
value: "$doudou");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "Products",
|
|
keyColumn: "Id",
|
|
keyValue: 17,
|
|
column: "ImageName",
|
|
value: "$mitaines2");
|
|
}
|
|
}
|
|
}
|