mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Use name/count model.
This commit is contained in:
2290
DiscImageChef.Server/Migrations/20191203212552_NameCountModel.Designer.cs
generated
Normal file
2290
DiscImageChef.Server/Migrations/20191203212552_NameCountModel.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace DiscImageChef.Server.Migrations
|
||||
{
|
||||
public partial class NameCountModel : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder) =>
|
||||
migrationBuilder.Sql("ALTER TABLE Versions CHANGE `Value` `Name` LONGTEXT");
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder) =>
|
||||
migrationBuilder.Sql("ALTER TABLE Versions CHANGE `Name` `Value` LONGTEXT");
|
||||
}
|
||||
}
|
||||
@@ -1278,7 +1278,7 @@ namespace DiscImageChef.Server.Migrations
|
||||
|
||||
b.Property<long>("Count").HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Value").HasColumnType("longtext CHARACTER SET utf8mb4");
|
||||
b.Property<string>("Name").HasColumnType("longtext CHARACTER SET utf8mb4");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user