Files
heygermany-e2e-mrg1mo7z/db/postgres/0012-add-applicant-status.sql
e2e aae77ea31e
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 09:28:50 +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;