Last active
September 5, 2024 04:43
-
-
Save piyushgarg-dev/cad5f052676deb89e12112302ac836b3 to your computer and use it in GitHub Desktop.
Vercel Clone 2.0 Commands
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
CREATE TABLE log_events ( | |
event_id UUID, | |
timestamp DateTime MATERIALIZED now(), | |
deployment_id Nullable(String), | |
log String, | |
metadata Nullable(String) | |
) | |
ENGINE=MergeTree PARTITION BY toYYYYMM(timestamp) | |
ORDER BY (timestamp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment