mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
Comment out index
This commit is contained in:
parent
c3f58e692b
commit
df15fa91e0
@ -7,12 +7,12 @@ IF COL_LENGTH('[dbo].[ApiKey]', 'ClientSecretHash') IS NOT NULL AND COL_LENGTH('
|
||||
BEGIN
|
||||
|
||||
-- Add index
|
||||
IF NOT EXISTS(SELECT name FROM sys.indexes WHERE name = 'IX_ApiKey_ClientSecretHash')
|
||||
BEGIN
|
||||
CREATE NONCLUSTERED INDEX [IX_ApiKey_ClientSecretHash]
|
||||
ON [dbo].[ApiKey]([ClientSecretHash] ASC)
|
||||
WITH (ONLINE = ON)
|
||||
END
|
||||
-- IF NOT EXISTS(SELECT name FROM sys.indexes WHERE name = 'IX_ApiKey_ClientSecretHash')
|
||||
-- BEGIN
|
||||
-- CREATE NONCLUSTERED INDEX [IX_ApiKey_ClientSecretHash]
|
||||
-- ON [dbo].[ApiKey]([ClientSecretHash] ASC)
|
||||
-- WITH (ONLINE = ON)
|
||||
-- END
|
||||
|
||||
-- Data Migration
|
||||
DECLARE @BatchSize INT = 10000
|
||||
|
Loading…
Reference in New Issue
Block a user