-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(db): added deleted column to environments table (#2044)
Added deleted column to the environments table. Adapted all queries to this table. Ref: SRX-9MM6SC
- Loading branch information
1 parent
26b9c2f
commit abe3f6b
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
database/migrations/postgres/1728910917892404_environments_deleted.up.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,3 @@ | ||
ALTER TABLE environments | ||
ADD COLUMN IF NOT EXISTS deleted bool | ||
DEFAULT false NOT NULL; |
3 changes: 3 additions & 0 deletions
3
database/migrations/sqlite/1728977795361942_environments_deleted.up.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,3 @@ | ||
ALTER TABLE environments | ||
ADD COLUMN deleted bool | ||
DEFAULT false NOT NULL; |
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