27 lines
695 B
C#
27 lines
695 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace FoodsharingSiegen.Server.Migrations
|
|
{
|
|
public partial class UserWarning : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "Warning",
|
|
table: "Prospects",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Warning",
|
|
table: "Prospects");
|
|
}
|
|
}
|
|
}
|