using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace ErsatzTV.Infrastructure.Sqlite.Migrations { /// public partial class Modify_WatermarkMarginsAndWidth : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "WidthPercent", table: "ChannelWatermark", type: "REAL", nullable: false, oldClrType: typeof(int), oldType: "INTEGER"); migrationBuilder.AlterColumn( name: "VerticalMarginPercent", table: "ChannelWatermark", type: "REAL", nullable: false, oldClrType: typeof(int), oldType: "INTEGER"); migrationBuilder.AlterColumn( name: "HorizontalMarginPercent", table: "ChannelWatermark", type: "REAL", nullable: false, oldClrType: typeof(int), oldType: "INTEGER"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "WidthPercent", table: "ChannelWatermark", type: "INTEGER", nullable: false, oldClrType: typeof(double), oldType: "REAL"); migrationBuilder.AlterColumn( name: "VerticalMarginPercent", table: "ChannelWatermark", type: "INTEGER", nullable: false, oldClrType: typeof(double), oldType: "REAL"); migrationBuilder.AlterColumn( name: "HorizontalMarginPercent", table: "ChannelWatermark", type: "INTEGER", nullable: false, oldClrType: typeof(double), oldType: "REAL"); } } }