using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FoodsharingSiegen.Server.Migrations
{
///
public partial class InteractionFeedback : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Feedback",
table: "Interactions",
type: "INTEGER",
nullable: false,
defaultValue: 10);
migrationBuilder.AddColumn(
name: "FeedbackInfo",
table: "Interactions",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn(
name: "Info2",
table: "Interactions",
type: "TEXT",
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Feedback",
table: "Interactions");
migrationBuilder.DropColumn(
name: "FeedbackInfo",
table: "Interactions");
migrationBuilder.DropColumn(
name: "Info2",
table: "Interactions");
}
}
}