Files
heygermany-e2e-mrg5ct1q/db/postgres/0012-add-applicant-status.sql
e2e 2c4174b44b
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 11:13:08 +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;