Skip to content

Commit 2c1f5f4

Browse files
authored
Fixed handling create table operation (#60)
1 parent 52cb7c4 commit 2c1f5f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql_ch_replicator/table_structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TableField:
99
@dataclass
1010
class TableStructure:
1111
fields: list = field(default_factory=list)
12-
primary_keys: str = ''
12+
primary_keys: list[str] = field(default_factory=list)
1313
primary_key_ids: int = 0
1414
table_name: str = ''
1515
charset: str = ''

0 commit comments

Comments
 (0)