diff options
author | Marcel Korpel <marcel.korpel@gmail.com> | 2015-06-16 18:06:49 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-16 23:12:22 +0200 |
commit | 86ee7b1c6b0ba6153b1ee1703758cb0a038c58f6 (patch) | |
tree | f67d97b791f34f1e003980517413196ceb3bd64d /schema | |
parent | 2284cb3e4a2ef86b1a2a548ed0b4431ace978d87 (diff) | |
download | aur-86ee7b1c6b0ba6153b1ee1703758cb0a038c58f6.tar.gz aur-86ee7b1c6b0ba6153b1ee1703758cb0a038c58f6.tar.xz |
gendummydata.py: Remove CategoryID from dummy data
Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'schema')
-rwxr-xr-x | schema/gendummydata.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/schema/gendummydata.py b/schema/gendummydata.py index 7b18a500..9dd2f455 100755 --- a/schema/gendummydata.py +++ b/schema/gendummydata.py @@ -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 " |