EfMigrationTests.cs 550 B

1234567891011121314151617
  1. using System;
  2. using System.Threading.Tasks;
  3. using Microsoft.EntityFrameworkCore;
  4. using Xunit;
  5. namespace Jellyfin.Server.Implementations.Tests.EfMigrations;
  6. public class EfMigrationTests
  7. {
  8. // [Fact]
  9. // public void CheckForUnappliedMigrations()
  10. // {
  11. // var dbDesignContext = new DesignTimeJellyfinDbFactory();
  12. // var context = dbDesignContext.CreateDbContext([]);
  13. // Assert.False(context.Database.HasPendingModelChanges(), "There are unapplied changes to the EfCore model. Please create a Migration.");
  14. // }
  15. }