Skip to content

Commit

Permalink
Adding attributes for #2290 -- attributes are described in #3220
Browse files Browse the repository at this point in the history
  • Loading branch information
raprasad committed Sep 26, 2016
1 parent e1e2e78 commit b2b6a35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/database/upgrades/upgrade_v4.5.1_to_v4.6.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- For DataFile, file replace functionality:
ALTER TABLE datafile ADD COLUMN rootdatafileid bigint default -1;
ALTER TABLE datafile ADD COLUMN previousdatafileid bigint default null;
-- For existing DataFile objects, update rootDataFileId values:
UPDATE datafile SET rootdatafileid = id;

0 comments on commit b2b6a35

Please sign in to comment.