8 references to SchemaVersion
Aspire.Dashboard (7)
ServiceClient\DashboardRunStore.cs (1)
80internal const int SchemaVersion = DashboardSqliteDatabase.SchemaVersion;
ServiceClient\DashboardSqliteDatabase.cs (6)
90return ValidateSchemaVersion(connection, transaction: null, SchemaVersion); 156if (existingSchemaVersion != SchemaVersion) 158throw new InvalidOperationException($"The dashboard database schema version {FormatSchemaVersion(existingSchemaVersion)} does not match the expected version {SchemaVersion}."); 165connection.Execute(script, new { SchemaVersion }, transaction); 169if (initializedSchemaVersion != SchemaVersion) 171throw 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}.",