Skip to content

Commit

Permalink
make 'Pending' the default Application status
Browse files Browse the repository at this point in the history
  • Loading branch information
KavikaPalletenne committed Aug 2, 2024
1 parent 7c5c326 commit ddbeec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/migrations/20240406031915_create_applications.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ CREATE TABLE applications (
id BIGINT PRIMARY KEY,
campaign_id BIGINT NOT NULL,
user_id BIGINT NOT NULL,
status application_status NOT NULL,
private_status application_status NOT NULL,
status application_status NOT NULL DEFAULT 'Pending',
private_status application_status NOT NULL DEFAULT 'Pending',
created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP NOT NULL,
updated_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP NOT NULL,
CONSTRAINT FK_applications_campaigns
Expand Down

0 comments on commit ddbeec2

Please sign in to comment.