using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace FileShare_EFCore.Migrations.SQLite { /// public partial class AutoMigration_20260523103531 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "file-creation-time-utc", table: "managed-file-record", type: "TEXT", nullable: true); migrationBuilder.CreateIndex( name: "idx-managed-file-record-file-creation-time", table: "managed-file-record", column: "file-creation-time-utc"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropIndex( name: "idx-managed-file-record-file-creation-time", table: "managed-file-record"); migrationBuilder.DropColumn( name: "file-creation-time-utc", table: "managed-file-record"); } } }