You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
761 B
30 lines
761 B
1 year ago
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
|
||
|
#nullable disable
|
||
|
|
||
|
namespace BaseService.Migrations
|
||
|
{
|
||
|
/// <inheritdoc />
|
||
|
public partial class updateMenuTitle : Migration
|
||
|
{
|
||
|
/// <inheritdoc />
|
||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.AddColumn<string>(
|
||
|
name: "Title",
|
||
|
table: "base_menu",
|
||
|
type: "nvarchar(128)",
|
||
|
maxLength: 128,
|
||
|
nullable: true);
|
||
|
}
|
||
|
|
||
|
/// <inheritdoc />
|
||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.DropColumn(
|
||
|
name: "Title",
|
||
|
table: "base_menu");
|
||
|
}
|
||
|
}
|
||
|
}
|