using AsbCloudDb.Model; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace AsbCloudDb.Migrations { public partial class Add_timeZone_to_IMapPoint : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "timezone", table: "t_well", type: "jsonb", nullable: true, comment: "Смещение часового пояса от UTC"); migrationBuilder.AddColumn( name: "timezone", table: "t_deposit", type: "jsonb", nullable: true, comment: "Смещение часового пояса от UTC"); migrationBuilder.AddColumn( name: "timezone", table: "t_cluster", type: "jsonb", nullable: true, comment: "Смещение часового пояса от UTC"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "timezone", table: "t_well"); migrationBuilder.DropColumn( name: "timezone", table: "t_deposit"); migrationBuilder.DropColumn( name: "timezone", table: "t_cluster"); } } }