Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/88fb668cc564fe18a1b7853b6712564cb94d19e3 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Added Unittest to check for unapplied model changes ()

pull/12863/head
JPVenson 6 months ago committed by GitHub
parent 5b696124fc
commit 88fb668cc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,18 @@
using System;
using System.Threading.Tasks;
using Jellyfin.Server.Implementations.Migrations;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace Jellyfin.Server.Implementations.Tests.EfMigrations;
public class EfMigrationTests
{
[Fact]
public void CheckForUnappliedMigrations()
{
var dbDesignContext = new DesignTimeJellyfinDbFactory();
var context = dbDesignContext.CreateDbContext([]);
Assert.False(context.Database.HasPendingModelChanges(), "There are unapplied changes to the EfCore model. Please create a Migration.");
}
}
Loading…
Cancel
Save