Copy before move

This commit is contained in:
M66B 2020-12-10 15:38:43 +01:00
parent b829e09b24
commit 322d496698
1 changed files with 3 additions and 2 deletions

View File

@ -39,9 +39,10 @@ public interface DaoOperation {
// Other operations: add, delete, seen, answered, flag, keyword, label, subscribe, send
" WHEN operation.name = '" + EntityOperation.FETCH + "' THEN 2" +
" WHEN operation.name = '" + EntityOperation.EXISTS + "' THEN 3" +
" WHEN operation.name = '" + EntityOperation.MOVE + "' THEN 4" +
" WHEN operation.name = '" + EntityOperation.COPY + "' THEN 4" +
" WHEN operation.name = '" + EntityOperation.PURGE + "' THEN 5" +
" WHEN operation.name = '" + EntityOperation.MOVE + "' THEN 5" +
" WHEN operation.name = '" + EntityOperation.PURGE + "' THEN 6" +
" WHEN operation.name = '" + EntityOperation.DELETE + "' THEN 7" +
" ELSE 0" +
" END";