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