using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace API.Data.Migrations
{
    /// 
    public partial class MediaError : Migration
    {
        /// 
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "MediaError",
                columns: table => new
                {
                    Id = table.Column(type: "INTEGER", nullable: false)
                        .Annotation("Sqlite:Autoincrement", true),
                    Extension = table.Column(type: "TEXT", nullable: true),
                    FilePath = table.Column(type: "TEXT", nullable: true),
                    Comment = table.Column(type: "TEXT", nullable: true),
                    Details = table.Column(type: "TEXT", nullable: true),
                    Created = table.Column(type: "TEXT", nullable: false),
                    LastModified = table.Column(type: "TEXT", nullable: false),
                    CreatedUtc = table.Column(type: "TEXT", nullable: false),
                    LastModifiedUtc = table.Column(type: "TEXT", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_MediaError", x => x.Id);
                });
        }
        /// 
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "MediaError");
        }
    }
}