Skip to content

Commit

Permalink
Adding update sql script related to splitting guestbookresponse table…
Browse files Browse the repository at this point in the history
… into filedownload and guestbookresponse.

Create table not required for new filedownload table.
Insert and alter commands required for inserting data from guestbookresponse into filedownload and for modifying guestbookresponse table.
  • Loading branch information
mdmADA committed May 23, 2019
1 parent b8d1fbd commit 54a204e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
begin;
insert into filedownload(GUESTBOOKRESPONSE_ID,DOWNLOADTYPE,DOWNLOADTIMESTAMP,SESSIONID) select ID, DOWNLOADTYPE,RESPONSETIME,SESSIONID from guestbookresponse;
alter table guestbookresponse drop column DOWNLOADTYPE, SESSIONID;
commit;

0 comments on commit 54a204e

Please sign in to comment.