Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
invaliduser committed Sep 11, 2023
1 parent 524bfea commit 066263e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db/postgres/lrsql/postgres/sql/ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -362,5 +362,5 @@ ALTER TABLE activity ALTER COLUMN payload SET DATA TYPE JSON;
-- :name add-statement-to-actor-cascading-delete!
-- :command :execute
-- :doc Adds a cascading delete to delete st2actor entries when corresponding statements are deleted
ALTER TABLE DROP CONSTRAINT statement_fk;
ALTER TABLE ADD CONSTRAINT statement_fk FOREIGN KEY (statement_id) REFERENCES xapi_statement(statement_id) ON CASCADE DELETE;
ALTER TABLE statment_to_actor DROP CONSTRAINT statement_fk;
ALTER TABLE statment_to_actor ADD CONSTRAINT statement_fk FOREIGN KEY (statement_id) REFERENCES xapi_statement(statement_id) ON CASCADE DELETE;

0 comments on commit 066263e

Please sign in to comment.