• Peter Palfrader's avatar
    Also add a unique constraint on binpkg(name,version,srcpkg_id). · f9a40402
    Peter Palfrader authored
    We had a hand full of instances of double entries, breaking our assumptions in
    index_binary_package of the snapshot indexer (also see #905687)
    
    These double entries probably came from a race where two indexers were
    running at the same time.  While that should now be prevented from happending
    by locks on the indexer, a constraint is still the right thing to have.
    f9a40402
Name
Last commit
Last update
..
db-create.sql Loading commit data...
db-init.sql Loading commit data...
upgrade Loading commit data...
upgrade_10.py Loading commit data...
upgrade_11.py Loading commit data...
upgrade_12.py Loading commit data...
upgrade_13.py Loading commit data...
upgrade_14.py Loading commit data...
upgrade_15.py Loading commit data...
upgrade_16.py Loading commit data...
upgrade_17.py Loading commit data...
upgrade_18.py Loading commit data...
upgrade_19.py Loading commit data...
upgrade_2.py Loading commit data...
upgrade_20.py Loading commit data...
upgrade_3.py Loading commit data...
upgrade_4.py Loading commit data...
upgrade_5.py Loading commit data...
upgrade_6.py Loading commit data...
upgrade_7.py Loading commit data...
upgrade_8.py Loading commit data...
upgrade_9.py Loading commit data...