2025-05-31 19:26:02 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
2025-11-05 20:50:25 +01:00
|
|
|
|
namespace DiunaBI.Infrastructure.Migrations
|
2025-05-31 19:26:02 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
|
public partial class DataInboxModel : Migration
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
|
|
|
|
name: "DataInbox",
|
|
|
|
|
|
columns: table => new
|
|
|
|
|
|
{
|
|
|
|
|
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
|
|
|
|
|
Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
|
|
|
|
|
|
Source = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
|
|
|
|
|
|
Data = table.Column<string>(type: "nvarchar(max)", maxLength: 2147483647, nullable: false),
|
|
|
|
|
|
CreatedAt = table.Column<DateTime>(type: "datetime2", nullable: false)
|
|
|
|
|
|
},
|
|
|
|
|
|
constraints: table =>
|
|
|
|
|
|
{
|
|
|
|
|
|
table.PrimaryKey("PK_DataInbox", x => x.Id);
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
migrationBuilder.DropTable(
|
|
|
|
|
|
name: "DataInbox");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|