using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PARR.DAL.Migrations { /// public partial class TblTemplates : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Templates", columns: table => new { Id = table.Column(type: "uuid", nullable: false), DateCreated = table.Column(type: "timestamp with time zone", nullable: false), DateModified = table.Column(type: "timestamp with time zone", nullable: true), EK = table.Column(type: "text", nullable: false), isActive = table.Column(type: "boolean", nullable: false), WorkGroup = table.Column(type: "text", nullable: false), ShortDescription = table.Column(type: "text", nullable: false), Category = table.Column(type: "text", nullable: false), EKDateCreated = table.Column(type: "timestamp with time zone", nullable: true), Process = table.Column(type: "text", nullable: false), SubProcess = table.Column(type: "text", nullable: false) }, constraints: table => { table.PrimaryKey("PK_Templates", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Templates"); } } }