22 lines
496 B
SQL
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
|