Database Update

This commit is contained in:
Andre Beging
2022-04-04 16:39:40 +02:00
parent c70fb6426c
commit e8f9c4c0f5
11 changed files with 275 additions and 47 deletions

View File

@@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FoodsharingSiegen.Server.Migrations
{
public partial class interalert : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "Alert",
table: "Interactions",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Alert",
table: "Interactions");
}
}
}