Skip to content

Commit

Permalink
TMI2-396: Add submissions to Spotlight (#70)
Browse files Browse the repository at this point in the history
* Adding a new migration

* updating migration to check if columns exist
  • Loading branch information
GavCookCO authored Nov 16, 2023
1 parent ba6a167 commit 43c7d40
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- drop the created by and last updated by columns from spotlight submission table
ALTER TABLE spotlight_submission
DROP COLUMN IF EXISTS created_by;

ALTER TABLE spotlight_submission
DROP COLUMN IF EXISTS last_updated_by;


-- drop the created by and last updated by columns from spotlight batch table
ALTER TABLE spotlight_batch
DROP COLUMN IF EXISTS created_by;

ALTER TABLE spotlight_batch
DROP COLUMN IF EXISTS last_updated_by;

0 comments on commit 43c7d40

Please sign in to comment.