using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace backend.Migrations
{
///
public partial class AddIsParentToUser : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "IsParent",
table: "Users",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsParent",
table: "Users");
}
}
}