test: autogen.py remove radom select
This commit is contained in:
parent
ad6dd54a00
commit
e03a6c2f35
|
@ -51,7 +51,7 @@ class AutoGen:
|
|||
metas = []
|
||||
for i in range(cnt):
|
||||
colname = f"{pre}{i}"
|
||||
sel = len(types) % len(types)
|
||||
sel = i % len(types)
|
||||
coltype = types[sel]
|
||||
sql = f"{colname} {coltype}"
|
||||
if sqls != "":
|
||||
|
|
Loading…
Reference in New Issue