SES-154 Endpoint zmiany statusu sklepikarza #80

Merged
s426134 merged 5 commits from SES-154 into dev 2021-01-21 18:22:20 +01:00
4 changed files with 29364 additions and 4 deletions
Showing only changes of commit c3dda1de44 - Show all commits

View File

@ -0,0 +1,41 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace SessionCompanion.Database.Migrations
{
public partial class shopkeepersupdate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Shopkeepers",
keyColumn: "Id",
keyValue: 3,
column: "IsAvailable",
value: false);
migrationBuilder.UpdateData(
table: "Shopkeepers",
keyColumn: "Id",
keyValue: 5,
column: "IsAvailable",
value: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Shopkeepers",
keyColumn: "Id",
keyValue: 3,
column: "IsAvailable",
value: true);
migrationBuilder.UpdateData(
table: "Shopkeepers",
keyColumn: "Id",
keyValue: 5,
column: "IsAvailable",
value: true);
}
}
}

View File

@ -21554,7 +21554,7 @@ namespace SessionCompanion.Database.Migrations
new
{
Id = 3,
IsAvailable = true,
IsAvailable = false,
Name = "Bohr Twarda Zbroja"
},
new
@ -21566,7 +21566,7 @@ namespace SessionCompanion.Database.Migrations
new
{
Id = 5,
IsAvailable = true,
IsAvailable = false,
Name = "Zielony spod Gruszkowego Lasu"
},
new

View File

@ -863,7 +863,7 @@ namespace SessionCompanion.Database
{
Id = 3,
Name = "Bohr Twarda Zbroja",
IsAvailable = true
IsAvailable = false
},
new Shopkeeper
{
@ -875,7 +875,7 @@ namespace SessionCompanion.Database
{
Id = 5,
Name = "Zielony spod Gruszkowego Lasu",
IsAvailable = true
IsAvailable = false
},
new Shopkeeper
{