using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace SecureSharing.Data.Migrations { public partial class ChangedforfilenametobelistofFileModels : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable(name: "FileModel"); migrationBuilder.CreateTable( name: "FileModel", columns: table => new { Id = table.Column(type: "int", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), Name = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => { table.PrimaryKey("PK_FileModel", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable(name: "FileModel"); } } }