Skip to content

Commit

Permalink
Merge pull request #45 from WomenPlusPlus/database-changes-V30
Browse files Browse the repository at this point in the history
change foreign key to auth.userS
  • Loading branch information
caracfinlay authored Oct 27, 2023
2 parents 930f394 + 52e2e99 commit a96bdc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/V30__add_target_history_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CREATE TABLE target_history (
PRIMARY KEY (target_history_id),
CONSTRAINT fk_kpi FOREIGN KEY(kpi_id) REFERENCES kpi_definition(kpi_id),
CONSTRAINT fk_circle FOREIGN KEY(circle_id) REFERENCES circle(circle_id),
CONSTRAINT fk_user FOREIGN KEY(user_id) REFERENCES auth.user(id)
CONSTRAINT fk_user FOREIGN KEY(user_id) REFERENCES auth.users(id)
);

DROP TRIGGER IF EXISTS target_history_trigger on "public"."target";
Expand Down

0 comments on commit a96bdc1

Please sign in to comment.