using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace DodoSSH.Client.Storage.Migrations { /// public partial class AddSweepMarks : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "sweep_mark", table: "sync_state", type: "INTEGER", nullable: true); migrationBuilder.AddColumn( name: "sweep_seen_up_to", table: "sync_state", type: "INTEGER", nullable: false, defaultValue: 0L); migrationBuilder.AddColumn( name: "sweep_mark", table: "item", type: "INTEGER", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "sweep_mark", table: "sync_state"); migrationBuilder.DropColumn( name: "sweep_seen_up_to", table: "sync_state"); migrationBuilder.DropColumn( name: "sweep_mark", table: "item"); } } }