-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(insight): upgrade versions (#7092)
* chore(insight): upgrade versions * chore(insights): upgrade drizzel version * chare(insights): add DB indexes
- Loading branch information
Showing
26 changed files
with
2,840 additions
and
1,043 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
DROP INDEX IF EXISTS `edgeIndex_PublicApiKey_manifestHash`;--> statement-breakpoint | ||
DROP INDEX IF EXISTS `edgeIndex`;--> statement-breakpoint | ||
CREATE INDEX `idx_edge_publicApiKey_manifestHash` ON `edges` (`public_api_key`,`manifest_hash`);--> statement-breakpoint | ||
CREATE INDEX `idx_edge_apiKey_manifestHash_from_to` ON `edges` (`public_api_key`,`manifest_hash`,`from`,`to`);--> statement-breakpoint | ||
DROP INDEX IF EXISTS `hashIndex`;--> statement-breakpoint | ||
CREATE UNIQUE INDEX `idx_manifests_apiKey_hash` ON `manifests` (`hash`,`public_api_key`);--> statement-breakpoint | ||
CREATE INDEX `idx_manifests_public_apiKey` ON `manifests` (`public_api_key`);--> statement-breakpoint | ||
CREATE INDEX `idx_manifests_hash` ON `manifests` (`hash`);--> statement-breakpoint | ||
CREATE INDEX `idx_routes_publicApiKey_manifestHash` ON `routes` (`public_api_key`,`manifest_hash`);--> statement-breakpoint | ||
CREATE UNIQUE INDEX `idx_symbolDetail_apiKey_manifestHash` ON `symbolDetail` (`public_api_key`,`manifest_hash`); |
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
Oops, something went wrong.