forked from unkeyed/unkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: clickhouse migration unkeyed#2 (unkeyed#2135)
* feat: clickhouse keyverification tables * feat(clickhouse): add new file latest_verifications.ts for querying latest verifications from Clickhouse feat(tinybird): remove unused import 'time' from node:console feat(tinybird): remove unused functions and pipes related to verifications and active keys feat(tinybird): add comment indicating completion of changes by @andreas * [autofix.ci] apply automated fixes * feat: add ratelimits * refactor: clickhouse table names * refactor: replace more pipes * refactor: replace more pipes * refactor: replace more pipes * wip: everything broken * [autofix.ci] apply automated fixes * wip * feat: billing verifications * wip * fix: merge conflicts * feat: ratelimits on clickhouse * feat: ratelimit logs * wip * feat: it builds again * feat: downmigrations * feat: downmigrations * fix: type export * Update internal/clickhouse/src/ratelimits.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * fix: table engine --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information
1 parent
aec5dc6
commit 0552549
Showing
87 changed files
with
2,148 additions
and
2,422 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ tasks: | |
env: | ||
GOOSE_DRIVER: clickhouse | ||
GOOSE_DBSTRING: "tcp://default:[email protected]:9000" | ||
GOOSE_MIGRATION_DIR: ./apps/agent/pkg/clickhouse/schema | ||
GOOSE_MIGRATION_DIR: ./internal/clickhouse/schema | ||
cmds: | ||
- goose up | ||
|
||
|
19 changes: 0 additions & 19 deletions
19
apps/agent/pkg/clickhouse/schema/005_create_mv_key_verifications_per_day.sql
This file was deleted.
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
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
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.