Skip to content

Commit 82a9a4c

Browse files
Create v1_5__add_soft_deletion.sql
Added is_deleted flag for DB Signed-off-by: Pascal Wilbrink <pascal.wilbrink@gmail.com>
1 parent cd4ac79 commit 82a9a4c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* SPDX-FileCopyrightText: 2021 Alliander N.V.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
--
8+
-- Update SCL File Table to add soft deletion
9+
--
10+
11+
ALTER TABLE scl_file
12+
ADD COLUMN is_deleted BOOLEAN DEFAULT false;
13+
14+
comment on column scl_file.is_deleted is 'Flag is the SCL File is deleted.';

0 commit comments

Comments
 (0)