using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Content.Server.Database.Migrations.Postgres { /// public partial class ModernHwid : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "hwid_type", table: "server_role_ban", type: "integer", nullable: true, defaultValue: 0); migrationBuilder.AddColumn( name: "hwid_type", table: "server_ban", type: "integer", nullable: true, defaultValue: 0); migrationBuilder.AddColumn( name: "last_seen_hwid_type", table: "player", type: "integer", nullable: true, defaultValue: 0); migrationBuilder.AddColumn( name: "hwid_type", table: "connection_log", type: "integer", nullable: true, defaultValue: 0); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "hwid_type", table: "server_role_ban"); migrationBuilder.DropColumn( name: "hwid_type", table: "server_ban"); migrationBuilder.DropColumn( name: "last_seen_hwid_type", table: "player"); migrationBuilder.DropColumn( name: "hwid_type", table: "connection_log"); } } }