fix: match PhD values in degree backfill
This commit is contained in:
@@ -3,7 +3,7 @@ ADD COLUMN IF NOT EXISTS has_academic_degree BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
UPDATE employees
|
||||
SET has_academic_degree = COALESCE(
|
||||
current_data::text ~* '(кандидат|доктор).{0,80}наук|ph\\.?[[:space:]]*d\\.?',
|
||||
current_data::text ~* '(кандидат|доктор).{0,80}наук|ph\.?[[:space:]]*d\.?',
|
||||
FALSE
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user