mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
Limit migrations to only once (#1996)
This commit is contained in:
parent
c54c39b28c
commit
bbb55ef8de
@ -201,6 +201,7 @@ BEGIN
|
||||
0 AS [Type], -- 0 represents 'Default' type
|
||||
[RevisionDate]
|
||||
FROM [dbo].[Organization]
|
||||
WHERE NOT EXISTS(SELECT [Id] FROM [dbo].[OrganizationApiKey] [ApiKey] WHERE [ApiKey].[OrganizationId] = [OrganizationId] AND [ApiKey].[Type] = 0)
|
||||
|
||||
PRINT N'Dropping old column'
|
||||
ALTER TABLE
|
||||
|
Loading…
Reference in New Issue
Block a user