mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
24 lines
1.0 KiB
C#
24 lines
1.0 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace DiscImageChef.Database.Migrations
|
|
{
|
|
public partial class VersionStatistics : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateTable("Versions",
|
|
table => new
|
|
{
|
|
Id = table.Column<int>(nullable: false)
|
|
.Annotation("Sqlite:Autoincrement", true),
|
|
Value = table.Column<string>(nullable: true),
|
|
Synchronized = table.Column<bool>(nullable: false)
|
|
}, constraints: table => { table.PrimaryKey("PK_Versions", x => x.Id); });
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropTable("Versions");
|
|
}
|
|
}
|
|
} |