This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into payouts-code
- Loading branch information
Showing
24 changed files
with
552 additions
and
84 deletions.
There are no files selected for viewing
18 changes: 15 additions & 3 deletions
18
...2593a1556ef214f3bed519de6b6e21c7d477.json → ...e89dcfdd5a5ab9c7a96dc4008e74e06be914.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 4 additions & 2 deletions
6
...3f75ffdaebc76d67a5d35218fa9273d46d53.json → ...c89e94cc7c54e0b7302c877586186bb128a2.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
.sqlx/query-846b66683e6abd40acd158195d8836a02ff5dc408c9fc233e8b5ad3b48125dc4.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
18 changes: 15 additions & 3 deletions
18
...49ab5c23306758168af38f955c06d251b0b7.json → ...c567b8724509d1fdbd5cc75f516c1811c9d3.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,7 @@ | ||
-- Add migration script here | ||
ALTER TABLE | ||
oauth_clients | ||
ADD | ||
COLUMN url text NULL, | ||
ADD | ||
COLUMN description text 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
-- For every loader that has a loaders_project_types entry that connects it to the project_types 'plugin', | ||
-- remove all non plugin project_types entries for that loader. | ||
-- This is to ensure that the plugin project_types is the only one that is used for the plugin loaders | ||
|
||
--plugin | ||
DELETE FROM loaders_project_types | ||
WHERE joining_loader_id IN ( | ||
SELECT DISTINCT l.id | ||
FROM loaders l | ||
LEFT JOIN loaders_project_types lpt ON lpt.joining_loader_id = l.id | ||
LEFT JOIN project_types pt ON pt.id = lpt.joining_project_type_id | ||
WHERE pt.name = 'plugin' | ||
) | ||
AND joining_project_type_id NOT IN ( | ||
SELECT id FROM project_types | ||
WHERE name = 'plugin' | ||
); | ||
|
||
--datapack | ||
DELETE FROM loaders_project_types | ||
WHERE joining_loader_id IN ( | ||
SELECT DISTINCT l.id | ||
FROM loaders l | ||
LEFT JOIN loaders_project_types lpt ON lpt.joining_loader_id = l.id | ||
LEFT JOIN project_types pt ON pt.id = lpt.joining_project_type_id | ||
WHERE pt.name = 'datapack' | ||
) | ||
AND joining_project_type_id NOT IN ( | ||
SELECT id FROM project_types | ||
WHERE name = 'datapack' | ||
); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// Legacy models from V2, where its useful to keep the struct for rerouting/conversion | ||
pub mod projects; | ||
pub mod search; |
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
Oops, something went wrong.