68 lines
2.9 KiB
C#
68 lines
2.9 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace GrossesMitainesAPI.Migrations
|
|
{
|
|
public partial class address : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.InsertData(
|
|
table: "Addresses",
|
|
columns: new[] { "Id", "Appartment", "City", "CivicNumber", "Country", "InventoryUserId", "PostalCode", "Province", "Street" },
|
|
values: new object[] { 1, "B", "Saint-Chrysostome", 1234, "Canada", "ecf7503a-591c-454e-a824-048e10bd0474", "H0H0H0", "QC", "Rue Pierre-Falardeau" });
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetRoles",
|
|
keyColumn: "Id",
|
|
keyValue: "1b7b9c55-c746-493a-a24f-3d5ca937298e",
|
|
column: "ConcurrencyStamp",
|
|
value: "7ee11485-e950-4e5f-bcc3-93d087323121");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetRoles",
|
|
keyColumn: "Id",
|
|
keyValue: "c9e08b20-d8a5-473f-9f52-572eb23c12af",
|
|
column: "ConcurrencyStamp",
|
|
value: "0c71a591-3978-4682-b1d9-50f1940c0c18");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetUsers",
|
|
keyColumn: "Id",
|
|
keyValue: "ecf7503a-591c-454e-a824-048e10bd0474",
|
|
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
|
values: new object[] { "037567cb-829a-4e64-aeff-77f9c18425b5", "AQAAAAEAACcQAAAAEE/NtmY1fEUixw6DTC/uv+7yv+2Na/85xzU7pJgB5Ll7UZUmcUZxuVLcgYkb9sKPOA==", "a39900db-f0c6-4a7c-9cee-d8f454dd2516" });
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DeleteData(
|
|
table: "Addresses",
|
|
keyColumn: "Id",
|
|
keyValue: 1);
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetRoles",
|
|
keyColumn: "Id",
|
|
keyValue: "1b7b9c55-c746-493a-a24f-3d5ca937298e",
|
|
column: "ConcurrencyStamp",
|
|
value: "1c7a32ec-3bac-416a-9092-e8617bf63da4");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetRoles",
|
|
keyColumn: "Id",
|
|
keyValue: "c9e08b20-d8a5-473f-9f52-572eb23c12af",
|
|
column: "ConcurrencyStamp",
|
|
value: "d78f5f64-28da-4a3e-b3e9-807d96ba6757");
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "AspNetUsers",
|
|
keyColumn: "Id",
|
|
keyValue: "ecf7503a-591c-454e-a824-048e10bd0474",
|
|
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
|
values: new object[] { "381655f0-b7d5-49c2-b87a-a6e8b563c8b7", "AQAAAAEAACcQAAAAEBIJf5ELMYpuvPzwGaeS/3/QXeZZvHDGX4kA/mHpGQ0hJ8FYIFV986Y+30S75yupRg==", "6976eccd-d011-4d96-8ceb-0aefe9454da7" });
|
|
}
|
|
}
|
|
}
|