ResetAddMig
This commit is contained in:
parent
36d34968fd
commit
23284fc514
@ -99,7 +99,7 @@ public class InvoiceController : Controller {
|
||||
}
|
||||
|
||||
try {
|
||||
inv = _context.Invoices.Where(x => x.Id == id).Include("ShippingAddress").First();
|
||||
inv = _context.Invoices.Where(x => x.Id == id).Include("ShippingAddress").Include(x => x.Payment).First();
|
||||
} catch (Exception e) {
|
||||
_logger.LogError(10, e.Message);
|
||||
return BadRequest();
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,195 +0,0 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GrossesMitainesAPI.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class newstuff : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "CardAddress",
|
||||
table: "ChargesModel",
|
||||
type: "nvarchar(max)",
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "LastFourDigits",
|
||||
table: "ChargesModel",
|
||||
type: "nvarchar(max)",
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "AspNetRoles",
|
||||
keyColumn: "Id",
|
||||
keyValue: "1b7b9c55-c746-493a-a24f-3d5ca937298e",
|
||||
column: "ConcurrencyStamp",
|
||||
value: null);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "AspNetRoles",
|
||||
keyColumn: "Id",
|
||||
keyValue: "c9e08b20-d8a5-473f-9f52-572eb23c12af",
|
||||
column: "ConcurrencyStamp",
|
||||
value: null);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "AspNetUsers",
|
||||
keyColumn: "Id",
|
||||
keyValue: "af9178c8-1a02-4ff8-bc0a-c8248dad6e09",
|
||||
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
||||
values: new object[] { "e00d8d0f-1510-415a-a59f-386072484ab2", "AQAAAAIAAYagAAAAEGCyYq3h0iCXjZEzZyx1Jh4IwD6n76MXzopZNtCeBYcAr8rCBAQsgyb1KZINqIi2hA==", "02115bbb-af11-4354-8fd3-d4c121238584" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "AspNetUsers",
|
||||
keyColumn: "Id",
|
||||
keyValue: "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
||||
values: new object[] { "10c22569-c9b6-481a-80b0-ada24d0ed3e3", "AQAAAAIAAYagAAAAEMFEklU5e/VioCDzfvR1Xf9WhF/UIsZpuI2q6ZL3m68YSyDEe9CyswhrRR3nmj5ylQ==", "12a136a8-303d-4291-9746-bbc18705a483" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 1,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 8, 20, 10, 28, 658, DateTimeKind.Local).AddTicks(8956));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 8, 20, 10, 28, 658, DateTimeKind.Local).AddTicks(9034));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 3,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 8, 20, 10, 28, 658, DateTimeKind.Local).AddTicks(9037));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 4,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 8, 20, 10, 28, 658, DateTimeKind.Local).AddTicks(9039));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 5,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 8, 20, 10, 28, 658, DateTimeKind.Local).AddTicks(9041));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 6,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 8, 20, 10, 28, 658, DateTimeKind.Local).AddTicks(9043));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 7,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 8, 20, 10, 28, 658, DateTimeKind.Local).AddTicks(9055));
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CardAddress",
|
||||
table: "ChargesModel");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LastFourDigits",
|
||||
table: "ChargesModel");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "AspNetRoles",
|
||||
keyColumn: "Id",
|
||||
keyValue: "1b7b9c55-c746-493a-a24f-3d5ca937298e",
|
||||
column: "ConcurrencyStamp",
|
||||
value: "fb8da1f2-a9df-4faa-9786-259cbc8c6f1c");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "AspNetRoles",
|
||||
keyColumn: "Id",
|
||||
keyValue: "c9e08b20-d8a5-473f-9f52-572eb23c12af",
|
||||
column: "ConcurrencyStamp",
|
||||
value: "eac9c483-2e9f-4f9e-9b97-dc1c761f76c2");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "AspNetUsers",
|
||||
keyColumn: "Id",
|
||||
keyValue: "af9178c8-1a02-4ff8-bc0a-c8248dad6e09",
|
||||
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
||||
values: new object[] { "b7103a3b-8f05-462d-9fc0-5d4faa4669dc", "AQAAAAEAACcQAAAAEN68b+gEQV5Vx2grBL94+BzugXFrgXko6KtdY3p/NJN17mk8QCpGlQfJ3BMe040+dg==", "99183d90-1f1c-4a8e-9891-ea8ab3b714d0" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "AspNetUsers",
|
||||
keyColumn: "Id",
|
||||
keyValue: "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
columns: new[] { "ConcurrencyStamp", "PasswordHash", "SecurityStamp" },
|
||||
values: new object[] { "61f3249f-495f-48c8-ac7e-7d21b3da82c7", "AQAAAAEAACcQAAAAELswgBNsSfJwmigdKX2rpHseOEi20F+ZUhxapu80HTnxZamC3lu1hyAGMXj4kQumMw==", "3098997b-a081-41ec-aa08-6cdea0028db7" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 1,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 4, 9, 8, 50, 6, DateTimeKind.Local).AddTicks(9261));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 4, 9, 8, 50, 6, DateTimeKind.Local).AddTicks(9300));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 3,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 4, 9, 8, 50, 6, DateTimeKind.Local).AddTicks(9327));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 4,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 4, 9, 8, 50, 6, DateTimeKind.Local).AddTicks(9333));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 5,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 4, 9, 8, 50, 6, DateTimeKind.Local).AddTicks(9338));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 6,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 4, 9, 8, 50, 6, DateTimeKind.Local).AddTicks(9344));
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "Invoices",
|
||||
keyColumn: "Id",
|
||||
keyValue: 7,
|
||||
column: "PurchaseDate",
|
||||
value: new DateTime(2022, 12, 4, 9, 8, 50, 6, DateTimeKind.Local).AddTicks(9357));
|
||||
}
|
||||
}
|
||||
}
|
@ -12,7 +12,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
namespace GrossesMitainesAPI.Migrations
|
||||
{
|
||||
[DbContext(typeof(InventoryContext))]
|
||||
[Migration("20221210012741_Initial-Db")]
|
||||
[Migration("20221212184710_Initial-Db")]
|
||||
partial class InitialDb
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -104,7 +104,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
{
|
||||
Id = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
AccessFailedCount = 0,
|
||||
ConcurrencyStamp = "1455b4bd-76ae-4671-b104-b1c7d7ef337b",
|
||||
ConcurrencyStamp = "2ac18a08-5d70-48e8-9573-320dad586981",
|
||||
Email = "admin@admin.com",
|
||||
EmailConfirmed = false,
|
||||
FirstName = "Roger",
|
||||
@ -112,10 +112,10 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LockoutEnabled = false,
|
||||
NormalizedEmail = "ADMIN@ADMIN.COM",
|
||||
NormalizedUserName = "ADMIN",
|
||||
PasswordHash = "AQAAAAIAAYagAAAAECehU51Dt6aJVc1X4LdCVNRBwLDpBMwRgvRpEIDCY8leqg3Bs5kSeIdwQxX3iCbOLw==",
|
||||
PasswordHash = "AQAAAAIAAYagAAAAEOGVyf1NmEyY4lQvKgz6hPT/e1tBM6OD+QhgvL+F5cl18hJd3SgTaXr68sG1R+zZ/w==",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PhoneNumberConfirmed = false,
|
||||
SecurityStamp = "fc707be9-eb95-4b89-abad-aab8e91d8a09",
|
||||
SecurityStamp = "f5e5a167-cf8a-49d0-a59a-c3bce8edd1b4",
|
||||
TwoFactorEnabled = false,
|
||||
UserName = "Admin"
|
||||
},
|
||||
@ -123,7 +123,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
{
|
||||
Id = "af9178c8-1a02-4ff8-bc0a-c8248dad6e09",
|
||||
AccessFailedCount = 0,
|
||||
ConcurrencyStamp = "8e920e1b-b10c-4069-bb37-20a0799c7716",
|
||||
ConcurrencyStamp = "e21f342e-e51b-49bc-8e1c-e5e1850cbe7d",
|
||||
Email = "paul@exemple.com",
|
||||
EmailConfirmed = false,
|
||||
FirstName = "Paul",
|
||||
@ -131,10 +131,10 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LockoutEnabled = false,
|
||||
NormalizedEmail = "PAUL@EXEMPLE.COM",
|
||||
NormalizedUserName = "PASLA",
|
||||
PasswordHash = "AQAAAAIAAYagAAAAECtR2/p0LFLK3EklD3totdaYcQ4+uPCaCk1D1L+WnBM2QayALdSssfY3VHrBlAL1qQ==",
|
||||
PasswordHash = "AQAAAAIAAYagAAAAEI1VUySaarTQ0fnHErjdFYCdY3RHc0gBsXf7beebl/gIELG9r+negBoOOflW1PlqNw==",
|
||||
PhoneNumber = "222-222-2222",
|
||||
PhoneNumberConfirmed = false,
|
||||
SecurityStamp = "a3a83c5e-184b-4c2b-8dcd-c9a73e8eaef3",
|
||||
SecurityStamp = "2e2a1e6a-c280-458b-8378-078407c218c5",
|
||||
TwoFactorEnabled = false,
|
||||
UserName = "PasLa"
|
||||
});
|
||||
@ -247,6 +247,10 @@ namespace GrossesMitainesAPI.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LastFourDigits")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
@ -324,7 +328,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5677),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2559),
|
||||
ShippingAddressId = 1,
|
||||
Status = 0
|
||||
},
|
||||
@ -336,7 +340,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5852),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2620),
|
||||
ShippingAddressId = 1,
|
||||
Status = 1
|
||||
},
|
||||
@ -348,7 +352,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5885),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2622),
|
||||
ShippingAddressId = 1,
|
||||
Status = 3
|
||||
},
|
||||
@ -360,7 +364,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5916),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2624),
|
||||
ShippingAddressId = 1,
|
||||
Status = 4
|
||||
},
|
||||
@ -372,7 +376,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5927),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2626),
|
||||
ShippingAddressId = 1,
|
||||
Status = 5
|
||||
},
|
||||
@ -383,7 +387,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
FirstName = "Jérémy",
|
||||
LastName = "Le Petit",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5954),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2628),
|
||||
ShippingAddressId = 2,
|
||||
Status = 0
|
||||
},
|
||||
@ -395,7 +399,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "A.",
|
||||
LinkedAccountId = "af9178c8-1a02-4ff8-bc0a-c8248dad6e09",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(6000),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2657),
|
||||
ShippingAddressId = 3,
|
||||
Status = 3
|
||||
});
|
@ -66,7 +66,8 @@ namespace GrossesMitainesAPI.Migrations
|
||||
CurrencyCode = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Name = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Email = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Phone = table.Column<string>(type: "nvarchar(max)", nullable: false)
|
||||
Phone = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
LastFourDigits = table.Column<string>(type: "nvarchar(max)", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
@ -310,8 +311,8 @@ namespace GrossesMitainesAPI.Migrations
|
||||
columns: new[] { "Id", "AccessFailedCount", "ConcurrencyStamp", "Email", "EmailConfirmed", "FirstName", "LastName", "LockoutEnabled", "LockoutEnd", "NormalizedEmail", "NormalizedUserName", "PasswordHash", "PhoneNumber", "PhoneNumberConfirmed", "SecurityStamp", "TwoFactorEnabled", "UserName" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ "af9178c8-1a02-4ff8-bc0a-c8248dad6e09", 0, "8e920e1b-b10c-4069-bb37-20a0799c7716", "paul@exemple.com", false, "Paul", "A.", false, null, "PAUL@EXEMPLE.COM", "PASLA", "AQAAAAIAAYagAAAAECtR2/p0LFLK3EklD3totdaYcQ4+uPCaCk1D1L+WnBM2QayALdSssfY3VHrBlAL1qQ==", "222-222-2222", false, "a3a83c5e-184b-4c2b-8dcd-c9a73e8eaef3", false, "PasLa" },
|
||||
{ "ecf7503a-591c-454e-a824-048e10bd0474", 0, "1455b4bd-76ae-4671-b104-b1c7d7ef337b", "admin@admin.com", false, "Roger", "Admin", false, null, "ADMIN@ADMIN.COM", "ADMIN", "AQAAAAIAAYagAAAAECehU51Dt6aJVc1X4LdCVNRBwLDpBMwRgvRpEIDCY8leqg3Bs5kSeIdwQxX3iCbOLw==", "111-111-1111", false, "fc707be9-eb95-4b89-abad-aab8e91d8a09", false, "Admin" }
|
||||
{ "af9178c8-1a02-4ff8-bc0a-c8248dad6e09", 0, "e21f342e-e51b-49bc-8e1c-e5e1850cbe7d", "paul@exemple.com", false, "Paul", "A.", false, null, "PAUL@EXEMPLE.COM", "PASLA", "AQAAAAIAAYagAAAAEI1VUySaarTQ0fnHErjdFYCdY3RHc0gBsXf7beebl/gIELG9r+negBoOOflW1PlqNw==", "222-222-2222", false, "2e2a1e6a-c280-458b-8378-078407c218c5", false, "PasLa" },
|
||||
{ "ecf7503a-591c-454e-a824-048e10bd0474", 0, "2ac18a08-5d70-48e8-9573-320dad586981", "admin@admin.com", false, "Roger", "Admin", false, null, "ADMIN@ADMIN.COM", "ADMIN", "AQAAAAIAAYagAAAAEOGVyf1NmEyY4lQvKgz6hPT/e1tBM6OD+QhgvL+F5cl18hJd3SgTaXr68sG1R+zZ/w==", "111-111-1111", false, "f5e5a167-cf8a-49d0-a59a-c3bce8edd1b4", false, "Admin" }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
@ -375,13 +376,13 @@ namespace GrossesMitainesAPI.Migrations
|
||||
columns: new[] { "Id", "EmailAddress", "FirstName", "LastName", "LinkedAccountId", "PaymentId", "PhoneNumber", "PurchaseDate", "ShippingAddressId", "Status" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 6, "test@admin.com", "Jérémy", "Le Petit", null, null, "111-111-1111", new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5954), 2, 0 },
|
||||
{ 1, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5677), 1, 0 },
|
||||
{ 2, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5852), 1, 1 },
|
||||
{ 3, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5885), 1, 3 },
|
||||
{ 4, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5916), 1, 4 },
|
||||
{ 5, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5927), 1, 5 },
|
||||
{ 7, "paul@exemple.com", "Paul", "A.", "af9178c8-1a02-4ff8-bc0a-c8248dad6e09", null, "111-111-1111", new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(6000), 3, 3 }
|
||||
{ 6, "test@admin.com", "Jérémy", "Le Petit", null, null, "111-111-1111", new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2628), 2, 0 },
|
||||
{ 1, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2559), 1, 0 },
|
||||
{ 2, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2620), 1, 1 },
|
||||
{ 3, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2622), 1, 3 },
|
||||
{ 4, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2624), 1, 4 },
|
||||
{ 5, "admin@admin.com", "Roger", "Admin", "ecf7503a-591c-454e-a824-048e10bd0474", null, "111-111-1111", new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2626), 1, 5 },
|
||||
{ 7, "paul@exemple.com", "Paul", "A.", "af9178c8-1a02-4ff8-bc0a-c8248dad6e09", null, "111-111-1111", new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2657), 3, 3 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
@ -101,7 +101,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
{
|
||||
Id = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
AccessFailedCount = 0,
|
||||
ConcurrencyStamp = "1455b4bd-76ae-4671-b104-b1c7d7ef337b",
|
||||
ConcurrencyStamp = "2ac18a08-5d70-48e8-9573-320dad586981",
|
||||
Email = "admin@admin.com",
|
||||
EmailConfirmed = false,
|
||||
FirstName = "Roger",
|
||||
@ -109,10 +109,10 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LockoutEnabled = false,
|
||||
NormalizedEmail = "ADMIN@ADMIN.COM",
|
||||
NormalizedUserName = "ADMIN",
|
||||
PasswordHash = "AQAAAAIAAYagAAAAECehU51Dt6aJVc1X4LdCVNRBwLDpBMwRgvRpEIDCY8leqg3Bs5kSeIdwQxX3iCbOLw==",
|
||||
PasswordHash = "AQAAAAIAAYagAAAAEOGVyf1NmEyY4lQvKgz6hPT/e1tBM6OD+QhgvL+F5cl18hJd3SgTaXr68sG1R+zZ/w==",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PhoneNumberConfirmed = false,
|
||||
SecurityStamp = "fc707be9-eb95-4b89-abad-aab8e91d8a09",
|
||||
SecurityStamp = "f5e5a167-cf8a-49d0-a59a-c3bce8edd1b4",
|
||||
TwoFactorEnabled = false,
|
||||
UserName = "Admin"
|
||||
},
|
||||
@ -120,7 +120,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
{
|
||||
Id = "af9178c8-1a02-4ff8-bc0a-c8248dad6e09",
|
||||
AccessFailedCount = 0,
|
||||
ConcurrencyStamp = "8e920e1b-b10c-4069-bb37-20a0799c7716",
|
||||
ConcurrencyStamp = "e21f342e-e51b-49bc-8e1c-e5e1850cbe7d",
|
||||
Email = "paul@exemple.com",
|
||||
EmailConfirmed = false,
|
||||
FirstName = "Paul",
|
||||
@ -128,10 +128,10 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LockoutEnabled = false,
|
||||
NormalizedEmail = "PAUL@EXEMPLE.COM",
|
||||
NormalizedUserName = "PASLA",
|
||||
PasswordHash = "AQAAAAIAAYagAAAAECtR2/p0LFLK3EklD3totdaYcQ4+uPCaCk1D1L+WnBM2QayALdSssfY3VHrBlAL1qQ==",
|
||||
PasswordHash = "AQAAAAIAAYagAAAAEI1VUySaarTQ0fnHErjdFYCdY3RHc0gBsXf7beebl/gIELG9r+negBoOOflW1PlqNw==",
|
||||
PhoneNumber = "222-222-2222",
|
||||
PhoneNumberConfirmed = false,
|
||||
SecurityStamp = "a3a83c5e-184b-4c2b-8dcd-c9a73e8eaef3",
|
||||
SecurityStamp = "2e2a1e6a-c280-458b-8378-078407c218c5",
|
||||
TwoFactorEnabled = false,
|
||||
UserName = "PasLa"
|
||||
});
|
||||
@ -244,6 +244,10 @@ namespace GrossesMitainesAPI.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LastFourDigits")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
@ -321,7 +325,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5677),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2559),
|
||||
ShippingAddressId = 1,
|
||||
Status = 0
|
||||
},
|
||||
@ -333,7 +337,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5852),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2620),
|
||||
ShippingAddressId = 1,
|
||||
Status = 1
|
||||
},
|
||||
@ -345,7 +349,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5885),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2622),
|
||||
ShippingAddressId = 1,
|
||||
Status = 3
|
||||
},
|
||||
@ -357,7 +361,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5916),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2624),
|
||||
ShippingAddressId = 1,
|
||||
Status = 4
|
||||
},
|
||||
@ -369,7 +373,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "Admin",
|
||||
LinkedAccountId = "ecf7503a-591c-454e-a824-048e10bd0474",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5927),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2626),
|
||||
ShippingAddressId = 1,
|
||||
Status = 5
|
||||
},
|
||||
@ -380,7 +384,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
FirstName = "Jérémy",
|
||||
LastName = "Le Petit",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(5954),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2628),
|
||||
ShippingAddressId = 2,
|
||||
Status = 0
|
||||
},
|
||||
@ -392,7 +396,7 @@ namespace GrossesMitainesAPI.Migrations
|
||||
LastName = "A.",
|
||||
LinkedAccountId = "af9178c8-1a02-4ff8-bc0a-c8248dad6e09",
|
||||
PhoneNumber = "111-111-1111",
|
||||
PurchaseDate = new DateTime(2022, 12, 9, 17, 27, 39, 722, DateTimeKind.Local).AddTicks(6000),
|
||||
PurchaseDate = new DateTime(2022, 12, 12, 10, 47, 9, 782, DateTimeKind.Local).AddTicks(2657),
|
||||
ShippingAddressId = 3,
|
||||
Status = 3
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user