Files
heygermany-e2e-mrg4m7dd/db/postgres/0012-add-applicant-status.sql
e2e 6c231d1d36
Some checks failed
Main / Setup and Test (push) Has been cancelled
Main / Build Website (push) Has been cancelled
chore: heygermany customer project
2026-07-11 10:52:27 +02:00

12 lines
271 B
SQL

-- Create applicant_status enum
CREATE TYPE app.applicant_status AS ENUM (
'Initial',
'Invalid',
'Pending',
'Complete'
);
-- Add status field to candidate table
ALTER TABLE app.candidate
ADD COLUMN status app.applicant_status DEFAULT 'Initial' NOT NULL;