using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace SystemRevivalServer.Migrations { /// public partial class AddLinearProjectileProperties : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "IsLinearProjectile", table: "dungeon_item_definitions", type: "tinyint(1)", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "ProjectileBackFrame", table: "dungeon_item_definitions", type: "int", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "ProjectileFrontFrame", table: "dungeon_item_definitions", type: "int", nullable: false, defaultValue: 0); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IsLinearProjectile", table: "dungeon_item_definitions"); migrationBuilder.DropColumn( name: "ProjectileBackFrame", table: "dungeon_item_definitions"); migrationBuilder.DropColumn( name: "ProjectileFrontFrame", table: "dungeon_item_definitions"); } } }