Path: redb/redb.Tests.Integration/Tests/MsSqlPro/MsSqlProSchemaUpgradeTests.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Tests.Integration/Tests/MsSqlPro/MsSqlProSchemaUpgradeTests.cs ---- using Microsoft.Extensions.DependencyInjection; using redb.Core.Extensions; using redb.Core.Pro.Extensions; using redb.MSSql.Pro.Extensions; using redb.Tests.Integration.Fixtures; using redb.Tests.Integration.Tests.Base; namespace redb.Tests.Integration.Tests.MsSqlPro; /// /// MSSQL Pro never opted out of the module deployment the way the PostgreSQL and SQLite Pro /// services did, so this suite starts green - it exists to keep it that way: the upgrade contract /// belongs to every tier, and the two providers that skipped it left existing databases without the /// V4 columns. Owns its own database and login. /// public class MsSqlProSchemaUpgradeTests : redb.Tests.Integration.Tests.MsSql.MsSqlSchemaUpgradeTests { public MsSqlProSchemaUpgradeTests(SchemaUpgradeCleanup cleanup) : base(cleanup) { } protected override string DatabaseName => $"redb_upgrade_pro_{RunSuffix}"; protected override string FreshDatabaseName => $"redb_upgrade_pro_fresh_{RunSuffix}"; protected override string RestrictedLogin => $"redb_noddl_pro_{RunSuffix}"; protected override string ContainedDatabaseName => $"redb_upgrade_pro_contained_{RunSuffix}"; protected override void AddRedbServices(IServiceCollection services, Action configure) => services.AddRedbPro(configure); // Resolves to the Pro overload through this file's using of redb.MSSql.Pro.Extensions. protected override void UseProvider(RedbOptionsBuilder options, string connectionString) => options.UseMsSql(connectionString); }