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

Added a constraint on MigrationJob.FileSize so that it cannot be <= 0. In...

Added a constraint on MigrationJob.FileSize so that it cannot be <= 0. In particular, this makes sure that we do not try to migrate 0 size file
parent 59f622ef
Branches
Tags
No related merge requests found
......@@ -716,6 +716,9 @@ END;
ALTER TABLE MigrationJob
ADD CONSTRAINT CK_MigrationJob_Status
CHECK (status IN (0, 1, 3));
ALTER TABLE MigrationJob
ADD CONSTRAINT CK_MigrationJob_FileSizeGT0
CHECK (fileSize > 0);
/* Definition of the MigrationRouting table. Each line is a routing rule for migration jobs
* isSmallFile : whether this routing rule applies to small files. Null means it applies to all files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment