rw create table when start app
This commit is contained in:
12
backend/db/sql/clickhouse/sync_logs.sql
Normal file
12
backend/db/sql/clickhouse/sync_logs.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE IF NOT EXISTS promote.sync_logs (
|
||||
timestamp DateTime,
|
||||
duration_ms UInt64,
|
||||
posts_synced UInt32,
|
||||
comments_synced UInt32,
|
||||
influencer_changes_synced UInt32,
|
||||
projects_synced UInt32,
|
||||
success UInt8,
|
||||
error_messages String
|
||||
) ENGINE = MergeTree()
|
||||
ORDER BY
|
||||
(timestamp)
|
||||
Reference in New Issue
Block a user