summaryrefslogtreecommitdiffstats
path: root/support/schema/gendummydata.py
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-03-26 14:52:15 +0100
committerSimo Leone <simo@archlinux.org>2008-03-27 08:34:35 +0100
commit04dae8d94f846fe5b82d9261405cbc56a736ded3 (patch)
tree81bcb230c5f0eb0cb92586541ede7d6bca00ab2c /support/schema/gendummydata.py
parent7d7ef9b112d92a3515aa042181eee08a752a086e (diff)
downloadaur-04dae8d94f846fe5b82d9261405cbc56a736ded3.tar.gz
aur-04dae8d94f846fe5b82d9261405cbc56a736ded3.tar.xz
Remove references to AURMaintainerUID
This (should) get rid of anything to do with the unused column AURMaintainerUID in the scripts and schema files Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'support/schema/gendummydata.py')
-rwxr-xr-xsupport/schema/gendummydata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/schema/gendummydata.py b/support/schema/gendummydata.py
index 94f037c3..dabd4516 100755
--- a/support/schema/gendummydata.py
+++ b/support/schema/gendummydata.py
@@ -249,8 +249,8 @@ for p in seen_pkgs.keys():
uuid = genUID() # the submitter/user
- s = "INSERT INTO Packages (ID, Name, Version, CategoryID, LocationID, SubmittedTS, SubmitterUID, MaintainerUID, AURMaintainerUID) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d);\n" % (seen_pkgs[p], p, genVersion(location_id),
- genCategory(), location_id, NOW, uuid, muid, muid)
+ s = "INSERT INTO Packages (ID, Name, Version, CategoryID, LocationID, SubmittedTS, SubmitterUID, MaintainerUID) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d);\n" % (seen_pkgs[p], p, genVersion(location_id),
+ genCategory(), location_id, NOW, uuid, muid)
out.write(s)
if count % 100 == 0:
if DBUG: print ".",