Files
3pmonitor/clickhouse/data/store/99d/99d8dbd8-b795-4e61-a238-8d938cf8e998/games.sql
2026-02-22 15:04:51 +00:00

22 lines
496 B
SQL

ATTACH TABLE _ UUID '37608faa-a751-4a49-84d1-c958097ccb44'
(
`game_no` UInt64,
`winner` UInt8,
`total_pot` UInt64,
`bet_a` UInt64,
`bet_b` UInt64,
`bet_c` UInt64,
`hand_a` String,
`hand_b` String,
`hand_c` String,
`hand_type_a` UInt8,
`hand_type_b` UInt8,
`hand_type_c` UInt8,
`cards_json` String,
`duration_s` UInt32,
`created_at` DateTime DEFAULT now()
)
ENGINE = ReplacingMergeTree
ORDER BY game_no
SETTINGS index_granularity = 8192