Skip to content

Commit

Permalink
Create v1_5__add_is_deleted_flag.sql
Browse files Browse the repository at this point in the history
Added is_deleted flag on scl_file

Signed-off-by: Pascal Wilbrink <pascal.wilbrink@gmail.com>
  • Loading branch information
pascalwilbrink authored Dec 11, 2024
1 parent 9a6b164 commit 83e9175
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* SPDX-FileCopyrightText: 2021 Alliander N.V.
*
* SPDX-License-Identifier: Apache-2.0
*/

--
-- Update SCL File Table to add soft deletion
--

ALTER TABLE scl_file
ADD COLUMN is_deleted BOOLEAN DEFAULT false;

comment on column scl_file.is_deleted is 'Flag is the SCL File is deleted.';

0 comments on commit 83e9175

Please sign in to comment.