using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace DysonNetwork.Drive.Migrations { /// public partial class EnrichCloudPoolConfigure : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "allow_anonymous", table: "pools", type: "boolean", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "allow_encryption", table: "pools", type: "boolean", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "no_metadata", table: "pools", type: "boolean", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "no_optimization", table: "pools", type: "boolean", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "require_privilege", table: "pools", type: "integer", nullable: false, defaultValue: 0); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "allow_anonymous", table: "pools"); migrationBuilder.DropColumn( name: "allow_encryption", table: "pools"); migrationBuilder.DropColumn( name: "no_metadata", table: "pools"); migrationBuilder.DropColumn( name: "no_optimization", table: "pools"); migrationBuilder.DropColumn( name: "require_privilege", table: "pools"); } } }