2019-12-07 18:38:11 +00:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
2020-02-27 00:33:26 +00:00
|
|
|
|
namespace Aaru.Database.Migrations
|
2019-12-07 18:38:11 +00:00
|
|
|
|
{
|
|
|
|
|
|
public partial class AddNameCountModel : Migration
|
|
|
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
|
|
|
|
|
migrationBuilder.RenameColumn("Value", "Versions", "Name");
|
2019-12-07 18:38:11 +00:00
|
|
|
|
|
2020-02-29 18:03:35 +00:00
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
|
|
|
|
|
migrationBuilder.RenameColumn("Name", "Versions", "Value");
|
2019-12-07 18:38:11 +00:00
|
|
|
|
}
|
2020-02-29 18:03:35 +00:00
|
|
|
|
}
|