Ça va prendre un Update-Database

This commit is contained in:
MarcEricMartel
2022-11-04 15:22:24 -07:00
parent ca88b04811
commit 0b7b9689b1
7 changed files with 119 additions and 42 deletions

View File

@@ -101,7 +101,7 @@ namespace GrossesMitainesAPI.Migrations
{
Id = "ecf7503a-591c-454e-a824-048e10bd0474",
AccessFailedCount = 0,
ConcurrencyStamp = "6259a59c-35df-4662-84e5-a783e653a643",
ConcurrencyStamp = "6ecf4a66-157e-4a5c-a6ba-84c0d8df9d8f",
Email = "admin@admin.com",
EmailConfirmed = false,
FirstName = "Roger",
@@ -109,9 +109,9 @@ namespace GrossesMitainesAPI.Migrations
LockoutEnabled = false,
NormalizedEmail = "ADMIN@ADMIN.COM",
NormalizedUserName = "ADMIN",
PasswordHash = "AQAAAAEAACcQAAAAELHpALZdYcW7KzDcU2ovqwdWsfSx68md+LnjvL5ZgJ2OWuTFwJM3gPzQ1yP3RHCn9g==",
PasswordHash = "AQAAAAEAACcQAAAAELk80UgvLbSDu3xg805PHJkdcTaFrtU/wZOBkOdJFw9ji5gpPe6G3lTu2FF1ysj7eg==",
PhoneNumberConfirmed = false,
SecurityStamp = "c43f4d48-f1bb-4a24-8cd3-78422556cf85",
SecurityStamp = "eb2a7531-4487-4a67-9601-adfc03a601cf",
TwoFactorEnabled = false,
UserName = "Admin"
});
@@ -173,9 +173,6 @@ namespace GrossesMitainesAPI.Migrations
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1);
b.Property<bool>("Canceled")
.HasColumnType("bit");
b.Property<string>("EmailAddress")
.IsRequired()
.HasColumnType("nvarchar(max)");
@@ -197,9 +194,15 @@ namespace GrossesMitainesAPI.Migrations
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<DateTime>("PurchaseDate")
.HasColumnType("datetime2");
b.Property<int>("ShippingAddressId")
.HasColumnType("int");
b.Property<int>("Status")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("LinkedAccountId");
@@ -223,8 +226,8 @@ namespace GrossesMitainesAPI.Migrations
b.Property<int>("ProductId")
.HasColumnType("int");
b.Property<int>("Quantity")
.HasColumnType("int");
b.Property<long>("Quantity")
.HasColumnType("bigint");
b.HasKey("Id");
@@ -558,14 +561,14 @@ namespace GrossesMitainesAPI.Migrations
new
{
Id = "c9e08b20-d8a5-473f-9f52-572eb23c12af",
ConcurrencyStamp = "56321382-1bb3-4dfe-87bf-6919c0791765",
ConcurrencyStamp = "9708e256-7f72-43a3-9981-3d46a496efef",
Name = "Administrateur",
NormalizedName = "ADMINISTRATEUR"
},
new
{
Id = "1b7b9c55-c746-493a-a24f-3d5ca937298e",
ConcurrencyStamp = "0e3b1bc2-f632-4f63-9bea-ac995e2e95a7",
ConcurrencyStamp = "ea9b728b-01ce-41db-a0b8-267b641c38c8",
Name = "Client",
NormalizedName = "CLIENT"
});