-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for subscriptions to data sources (#5271)
- Loading branch information
1 parent
de2ce2b
commit 4b34fb3
Showing
13 changed files
with
372 additions
and
115 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
database/migrations/000111_data_sources_subscription_id.down.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,8 @@ | ||
-- SPDX-FileCopyrightText: Copyright 2025 The Minder Authors | ||
-- SPDX-License-Identifier: Apache-2.0 | ||
|
||
BEGIN; | ||
|
||
ALTER TABLE rule_type DROP COLUMN subscription_id; | ||
|
||
COMMIT; |
10 changes: 10 additions & 0 deletions
10
database/migrations/000111_data_sources_subscription_id.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,10 @@ | ||
-- SPDX-FileCopyrightText: Copyright 2025 The Minder Authors | ||
-- SPDX-License-Identifier: Apache-2.0 | ||
|
||
BEGIN; | ||
|
||
ALTER TABLE data_sources | ||
ADD COLUMN subscription_id UUID DEFAULT NULL | ||
REFERENCES subscriptions(id); | ||
|
||
COMMIT; |
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.