Skip to content
Snippets Groups Projects
Commit db36f1cd authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Improve upgrade script by no revalidating the gctype constraint on the diskcopy table to be faster

parent 11e54b2c
Branches
Tags
No related merge requests found
......@@ -658,8 +658,9 @@ BEGIN
END;
/
ALTER TABLE DiskCopy DROP CONSTRAINT CK_DiskCopy_GcType;
ALTER TABLE DiskCopy ADD CONSTRAINT CK_DiskCopy_GcType
CHECK (gcType IN (0, 1, 2, 3, 4, 5, 6, 7, 8));
ALTER TABLE DiskCopy ADD CONSTRAINT CK_DiskCopy_GcType
CHECK (gcType IN (0, 1, 2, 3, 4, 5, 6, 7, 8))
NOVALIDATE;
/* Recompile all invalid procedures, triggers and functions */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment