chore: heygermany customer project
Some checks failed
Main / Setup and Test (push) Has been cancelled
Main / Build Website (push) Has been cancelled

This commit is contained in:
e2e
2026-07-11 10:40:10 +02:00
commit 6e43ee3df9
394 changed files with 38048 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
-- Create professional_recognition_status enum if it doesn't exist
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'professional_recognition_status') THEN
CREATE TYPE app.professional_recognition_status AS ENUM ('NOT_STARTED', 'IN_PROGRESS', 'COMPLETED');
END IF;
END $$;
-- Create language_code enum if it doesn't exist
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'language_code') THEN
CREATE TYPE app.language_code AS ENUM ('en', 'ar', 'bs', 'fil', 'hi', 'es', 'tr', 'uk', 'vi');
END IF;
END $$;
-- Add columns to candidate table for applicant profile
ALTER TABLE app.candidate
ADD COLUMN IF NOT EXISTS professional_recognition_status app.professional_recognition_status,
ADD COLUMN IF NOT EXISTS nationality VARCHAR,
ADD COLUMN IF NOT EXISTS languages_spoken app.language_code[];