-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove obsolete resources (#1543)
* wip: remove resources from workspace * cmt * wip: migrate out old resources in deployer and r-r * revert: unrelated changes * feat(deployer): ignore invalid resources from load response instead of panic * delete custom and protect r-r from invalid resource types * fix some ci * comment * feat: delete old logs from deployer state * fix: i'm good at sql * fix: re-add persist resource * clippy * nit: add back test for string mappings
- Loading branch information
Showing
17 changed files
with
122 additions
and
432 deletions.
There are no files selected for viewing
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
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,5 @@ | ||
-- delete any old records of these so that they are not sent to r-r | ||
DELETE FROM resources WHERE type = "static_folder"; | ||
DELETE FROM resources WHERE type = "turso"; | ||
DELETE FROM resources WHERE type = "metadata"; | ||
DELETE FROM resources WHERE type = "custom"; |
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,2 @@ | ||
-- Logs in deployers only exist for getting pre-logger logs, which are now deadweight | ||
DROP TABLE IF EXISTS logs; |
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.