using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace IRaCIS.Core.Infra.EFCore.Migrations { /// public partial class TrialAuditShow : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "TrialAuditShow", columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), FrontAuditConfigId = table.Column(type: "uniqueidentifier", nullable: false), TrialId = table.Column(type: "uniqueidentifier", nullable: false), IsShow = table.Column(type: "bit", nullable: false), CreateUserId = table.Column(type: "uniqueidentifier", nullable: false), CreateTime = table.Column(type: "datetime2", nullable: false), UpdateUserId = table.Column(type: "uniqueidentifier", nullable: false), UpdateTime = table.Column(type: "datetime2", nullable: false) }, constraints: table => { table.PrimaryKey("PK_TrialAuditShow", x => x.Id); }); migrationBuilder.CreateIndex( name: "IX_TrialAuditShow_CreateUserId", table: "TrialAuditShow", column: "CreateUserId"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "TrialAuditShow"); } } }