using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Backend.Migrations { /// public partial class AddShowactDynamicForm : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ShowactFormSchemaJson", table: "SiteSettings", type: "text", nullable: false, defaultValue: ""); migrationBuilder.AddColumn( name: "FieldResponsesJson", table: "ShowactApplications", type: "text", nullable: false, defaultValue: ""); migrationBuilder.UpdateData( table: "SiteSettings", keyColumn: "Id", keyValue: 1, column: "ShowactFormSchemaJson", value: "[]"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ShowactFormSchemaJson", table: "SiteSettings"); migrationBuilder.DropColumn( name: "FieldResponsesJson", table: "ShowactApplications"); } } }