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