Database Update
This commit is contained in:
26
FoodsharingSiegen.Server/Migrations/20220401171855_asdk.cs
Normal file
26
FoodsharingSiegen.Server/Migrations/20220401171855_asdk.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FoodsharingSiegen.Server.Migrations
|
||||
{
|
||||
public partial class asdk : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Memo",
|
||||
table: "Prospects",
|
||||
type: "TEXT",
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Memo",
|
||||
table: "Prospects");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user