Commit 86ee7b1c authored by Marcel Korpel's avatar Marcel Korpel Committed by Lukas Fleischer
Browse files

gendummydata.py: Remove CategoryID from dummy data


Signed-off-by: default avatarMarcel Korpel <marcel.korpel@gmail.com>
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent 2284cb3e
......@@ -202,9 +202,9 @@ for p in list(seen_pkgs.keys()):
uuid = genUID() # the submitter/user
s = ("INSERT INTO PackageBases (ID, Name, CategoryID, SubmittedTS, "
"SubmitterUID, MaintainerUID, PackagerUID) VALUES (%d, '%s', %d, %d, %d, %s, %s);\n")
s = s % (seen_pkgs[p], p, genCategory(), NOW, uuid, muid, puid)
s = ("INSERT INTO PackageBases (ID, Name, SubmittedTS, "
"SubmitterUID, MaintainerUID, PackagerUID) VALUES (%d, '%s', %d, %d, %s, %s);\n")
s = s % (seen_pkgs[p], p, NOW, uuid, muid, puid)
out.write(s)
s = ("INSERT INTO Packages (ID, PackageBaseID, Name, Version) VALUES "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment