using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace DiunaBI.Infrastructure.Migrations
{
///
public partial class QueueJobs : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "QueueJobs",
columns: table => new
{
Id = table.Column(type: "uniqueidentifier", nullable: false),
LayerId = table.Column(type: "uniqueidentifier", nullable: false),
Attempts = table.Column(type: "int", nullable: false),
Status = table.Column(type: "int", nullable: false),
Type = table.Column(type: "int", nullable: false),
Message = table.Column(type: "nvarchar(max)", nullable: false),
CreatedAt = table.Column(type: "datetime2", nullable: false),
ModifiedAt = table.Column(type: "datetime2", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_QueueJobs", x => x.Id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "QueueJobs");
}
}
}