Skip to content

Commit

Permalink
fix(backend): remove duplicate primary key for applications
Browse files Browse the repository at this point in the history
  • Loading branch information
KavikaPalletenne committed Apr 6, 2024
1 parent 57bf1e1 commit 7657755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/migrations/20240406031915_applications.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CREATE TYPE application_status AS ENUM ('Pending', 'Rejected', 'Successful');
CREATE TABLE applications (
id BIGINT PRIMARY KEY,
campaign_id BIGINT NOT NULL,
user_id BIGINT PRIMARY KEY,
user_id BIGINT NOT NULL,
status application_status NOT NULL,
private_status application_status NOT NULL,
created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP,
Expand Down

0 comments on commit 7657755

Please sign in to comment.