We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c54c39b commit bbb55efCopy full SHA for bbb55ef
util/Migrator/DbScripts/2022-03-01_00_AddApiKeysTable.sql
@@ -201,6 +201,7 @@ BEGIN
201
0 AS [Type], -- 0 represents 'Default' type
202
[RevisionDate]
203
FROM [dbo].[Organization]
204
+ WHERE NOT EXISTS(SELECT [Id] FROM [dbo].[OrganizationApiKey] [ApiKey] WHERE [ApiKey].[OrganizationId] = [OrganizationId] AND [ApiKey].[Type] = 0)
205
206
PRINT N'Dropping old column'
207
ALTER TABLE
0 commit comments