using Force.Crc32;
using LANCommander.Server.Services;
using Microsoft.EntityFrameworkCore.Migrations;
using System.IO;
#nullable disable
namespace LANCommander.Migrations
{
///
public partial class AddMediaChecksum : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Crc32",
table: "Media",
type: "TEXT",
maxLength: 8,
nullable: false,
defaultValue: "");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Crc32",
table: "Media");
}
}
}