-- PrefixSearchIndexes (2026-11-09, ScadaBridge#50). Indexes backing the prefix search on the -- Deployments page (DeployedBy, RevisionHash) and the config-audit EntityName filter. BEGIN TRANSACTION; ALTER TABLE [TemplateNativeAlarmSources] ADD [IsMesReportable] bit NOT NULL DEFAULT CAST(0 AS bit); ALTER TABLE [InstanceNativeAlarmSourceOverrides] ADD [IsMesReportableOverride] bit NULL; INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion]) VALUES (N'20261109200211_AddNativeAlarmSourceMesReportable', N'10.0.13'); COMMIT; GO BEGIN TRANSACTION; CREATE INDEX [IX_DeploymentRecords_DeployedBy] ON [DeploymentRecords] ([DeployedBy]); CREATE INDEX [IX_DeploymentRecords_RevisionHash] ON [DeploymentRecords] ([RevisionHash]); CREATE INDEX [IX_AuditLogEntries_EntityName] ON [AuditLogEntries] ([EntityName]); INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion]) VALUES (N'20261109203753_PrefixSearchIndexes', N'10.0.13'); COMMIT; GO