using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
///
public partial class readingUserConfig : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "ReadingUserConfig",
columns: table => new
{
Id = table.Column(type: "uniqueidentifier", nullable: false),
UserRoleId = table.Column(type: "uniqueidentifier", nullable: false),
ImageToolType = table.Column(type: "int", nullable: false, comment: "影像工具类型"),
AutoCutNextTask = table.Column(type: "bit", nullable: false, comment: "自动切换下一个任务"),
IsDoubleScreen = table.Column(type: "bit", nullable: false),
CreateUserId = table.Column(type: "uniqueidentifier", nullable: false),
CreateTime = table.Column(type: "datetime2", nullable: false)
},
constraints: table =>
{
},
comment: "项目阅片 - 用户配置");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "ReadingUserConfig");
}
}
}