14 lines
343 B
SQL
14 lines
343 B
SQL
DROP TABLE IF EXISTS promote.sync_logs;
|
|
|
|
CREATE TABLE IF NOT EXISTS promote.sync_logs (
|
|
timestamp DateTime DEFAULT now(),
|
|
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) |