50 lines
2.1 MiB
C#
50 lines
2.1 MiB
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace GrossesMitainesAPI.Migrations
|
|||
|
{
|
|||
|
public partial class InitialDb : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.CreateTable(
|
|||
|
name: "Products",
|
|||
|
columns: table => new
|
|||
|
{
|
|||
|
Id = table.Column<int>(type: "int", nullable: false)
|
|||
|
.Annotation("SqlServer:Identity", "1, 1"),
|
|||
|
Title = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false),
|
|||
|
Description = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
|||
|
Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
|
|||
|
ImageData = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
|||
|
},
|
|||
|
constraints: table =>
|
|||
|
{
|
|||
|
table.PrimaryKey("PK_Products", x => x.Id);
|
|||
|
});
|
|||
|
|
|||
|
migrationBuilder.InsertData(
|
|||
|
table: "Products",
|
|||
|
columns: new[] { "Id", "Description", "ImageData", "Price", "Title" },
|
|||
|
values: new object[] { 1, "Pour faire votre propre bonhomme de 1837, comme dans le bon vieux temps.", "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wgARCARlBdwDASIAAhEBAxEB/8QAGwAAAgMBAQEAAAAAAAAAAAAAAwQCBQYBAAf/xAAaAQACAwEBAAAAAAAAAAAAAAABAwACBAUG/9oADAMBAAIQAxAAAAH6D73E34MnAQDb5Ip5mAkTLekc8uUzsJ8kB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AvpAcY5COfIyE7GRrOPeSR7yEJIAmJLnTAr8ajIAnoyHh6RC4moVKQ3xiKzL4gcxLiWJK1oxvq/JCreHQ87IkMPHIZVcsAiCbU4Zbcr2SJDPIFeRhVgM7cZGvQUh6F+wNc61qS74wkmlZHjmFBkWloSXiGAKnTVpfVOaA1zGghsNGcal7VMx/Pqa2qnMhqM3qMz9bWW1fgmUj1fXkgLvLrZhNOVgOM1+o5Z1N9KbsJ61vGyKBVFdg1/mXLY4rMJTOA4JTs9lLcbvNYdmx3CdVfn9Dll2+gVWczurnNWlIxg9N9Ky+f8AXx15wXtjFf6P8yOYW8qdK3Hjcs0G9p+l3D6IBSRlSDb6M0e69xaMsj9ErK3yW2w8
|
|||
|
|
|||
|
migrationBuilder.InsertData(
|
|||
|
table: "Products",
|
|||
|
columns: new[] { "Id", "Description", "ImageData", "Price", "Title" },
|
|||
|
values: new object[] { 2, "Parce que ça sent la coupe!", "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wgARCAmQDMADASIAAhEBAxEB/8QAGwAAAwEBAQEBAAAAAAAAAAAAAgMEAQAFBgf/xAAaAQEBAQEBAQEAAAAAAAAAAAAAAQIDBAUG/9oADAMBAAIQAxAAAAH4oD7yezWIIdwCNxfQebwvHaiOoAFonCS5ZQo+rVlwOGAzN0HQ6mEso0WBKDOyHCHVxGEFm7A8QnYeInd1cYG24RYYB6T83DOXoeLM0TGjHdAcgRwvyMJRxq3gK5i6Ls07sOFY3K0lFFAC0TrRO0cl0TGli4bFMHKccjIYLtF7nR2bpoaVBjAUNPgOIEPRKAwgojSQ7lMy7Ny0OaCYebHZvUOFin2dHGGhasjBPAEv7Um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APM6QuEzmLJRF6wcEq3c4LsdJvd0vAzRPNEHtI4jEEDBM7uXiXpwUqAYtgWaEEvRrQza5quhvZojWqKSmoUVvElVWpFsXQNztlzeCVwYywC1YWa0Rz+E41YDF8hmpimShlPiIHQ04GAgaY2j3caYcctupLrVpvGar41Q/UMt3GCDmcnYeJzEFFOLNcYGh8ORh7wHZ1ZjMEkYHD2oJFlu8BRuF0G6Rg
|
|||
|
|
|||
|
migrationBuilder.InsertData(
|
|||
|
table: "Products",
|
|||
|
columns: new[] { "Id", "Description", "ImageData", "Price", "Title" },
|
|||
|
values: new object[] { 3, "On ne lui ferait pas mal, en tout cas!!", "/9j/4AAQSkZJRgABAQEBLAEsAAD//gAMQXBwbGVNYXJrCv/tIERQaG90b3Nob3AgMy4wADhCSU0D6gAAAAAYIDw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04Ij8+CjwhRE9DVFlQRSBwbGlzdCBQVUJMSUMgIi0vL0FwcGxlLy9EVEQgUExJU1QgMS4wLy9FTiIgImh0dHA6Ly93d3cuYXBwbGUuY29tL0RURHMvUHJvcGVydHlMaXN0LTEuMC5kdGQiPgo8cGxpc3QgdmVyc2lvbj0iMS4wIj4KPGRpY3Q+Cgk8a2V5PmNvbS5hcHBsZS5wcmludC5QYWdlRm9ybWF0LlBNSG9yaXpvbnRhbFJlczwva2V5PgoJPGRpY3Q+CgkJPGtleT5jb20uYXBwbGUucHJpbnQudGlja2V0LmNyZWF0b3I8L2tleT4KCQk8c3RyaW5nPmNvbS5hcHBsZS5qb2J0aWNrZXQ8L3N0cmluZz4KCQk8a2V5PmNvbS5hcHBsZS5wcmludC50aWNrZXQuaXRlbUFycmF5PC9rZXk+CgkJPGFycmF5PgoJCQk8ZGljdD4KCQkJCTxrZXk+Y29tLmFwcGxlLnByaW50LlBhZ2VGb3JtYXQuUE1Ib3Jpem9udGFsUmVzPC9rZXk+CgkJCQk8cmVhbD43MjwvcmVhbD4KCQkJCTxrZXk+Y29t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dlcj4wPC9pbnRlZ2VyPgoJCQkJPC9kaWN0PgoJCQk8L2FycmF5PgoJCTwvZGljdD4KCQk8a2V5PmNvbS5hcHBsZ
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropTable(
|
|||
|
name: "Products");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|