feat(api, generatorTemplates): в таблицу Works добавлено поле TemplateSuffix, из него в генераторе формируется имя шаблона.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class tblWorksRenameShortNameToTemplateSuffix : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "ShortName",
|
||||
table: "Works",
|
||||
newName: "TemplateSuffix");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "TemplateSuffix",
|
||||
table: "Works",
|
||||
newName: "ShortName");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user