-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 4448-api-edit-var-meta-pdurbin-code-review …
- Loading branch information
Showing
5 changed files
with
39 additions
and
25 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
src/main/resources/db/migration/V4.14.0.2__2043-split-gbr-table.sql
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
src/main/resources/db/migration/V4.15.0.1__2043-split-gbr-table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
DO $$ | ||
BEGIN | ||
IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name='guestbookresponse' AND column_name='downloadtype') THEN | ||
INSERT INTO filedownload(guestbookresponse_id, downloadtype, downloadtimestamp, sessionid) SELECT id, downloadtype, responsetime, sessionid FROM guestbookresponse; | ||
ALTER TABLE guestbookresponse DROP COLUMN downloadtype, DROP COLUMN sessionid; | ||
END IF; | ||
END | ||
$$ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters