Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
|||||||||||||||
| store_id | VARCHAR | 36 | null |
|
|
|||||||||||||||
| table_name | VARCHAR | 50 | null |
|
|
|||||||||||||||
| max_players | INT | 11 | 9 |
|
|
|||||||||||||||
| current_player_count | INT | 11 | 0 |
|
|
|||||||||||||||
| status | enum('active', 'waiting', 'closed') | 7 | closed |
|
|
|||||||||||||||
| small_blind | INT | 11 | √ | null |
|
|
||||||||||||||
| big_blind | INT | 11 | √ | null |
|
|
||||||||||||||
| min_buy_in | INT | 11 | √ | null |
|
|
||||||||||||||
| max_buy_in | INT | 11 | √ | null |
|
|
||||||||||||||
| game_type | enum('ring_game', 'tournament') | 10 | ring_game |
|
|
|||||||||||||||
| current_pot | INT | 11 | 0 |
|
|
|||||||||||||||
| dealer_seat | INT | 11 | √ | null |
|
|
||||||||||||||
| action_on_seat | INT | 11 | √ | null |
|
|
||||||||||||||
| current_street | enum('preflop', 'flop', 'turn', 'river', 'showdown') | 8 | √ | null |
|
|
||||||||||||||
| community_cards | JSON | 1073741824 | √ | null |
|
|
||||||||||||||
| created_at | TIMESTAMP | 19 | CURRENT_TIMESTAMP |
|
|
|||||||||||||||
| updated_at | TIMESTAMP | 19 | CURRENT_TIMESTAMP |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| fk_tables_store_id | Performance | Asc | store_id |

