8 references to SchemaVersion
Aspire.Dashboard (7)
ServiceClient\DashboardRunStore.cs (1)
75internal const int SchemaVersion = DashboardSqliteDatabase.SchemaVersion;
ServiceClient\DashboardSqliteDatabase.cs (6)
88return ValidateSchemaVersion(connection, transaction: null, SchemaVersion); 154if (existingSchemaVersion != SchemaVersion) 156throw new InvalidOperationException($"The dashboard database schema version {FormatSchemaVersion(existingSchemaVersion)} does not match the expected version {SchemaVersion}."); 163connection.Execute(script, new { SchemaVersion }, transaction); 167if (initializedSchemaVersion != SchemaVersion) 169throw new InvalidOperationException($"The dashboard database schema was initialized to version {FormatSchemaVersion(initializedSchemaVersion)} instead of the expected version {SchemaVersion}.");
Aspire.Dashboard.Tests (1)
Model\DashboardSqliteDatabaseTests.cs (1)
49$"The dashboard database schema version 1 does not match the expected version {DashboardSqliteDatabase.SchemaVersion}.",