aurweb/support
Dan McGee f9eba12312 Ensure users can be deleted when foreign keys are present
This change is necessary to prevent this:
    mysql> delete from Users where ID = 112;
    ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`aur`.`Packages`, CONSTRAINT `Packages_ibfk_2` FOREIGN KEY (`SubmitterUID`) REFERENCES `Users` (`ID`) ON DELETE NO ACTION)

As a bonus, due to foreign keys, orphaning of packages will be
automatic.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-03-04 10:29:14 +01:00
..
schema Ensure users can be deleted when foreign keys are present 2011-03-04 10:29:14 +01:00
scripts Use "python2" shebang for "newpackage-notify" and "gendummydata.py". 2011-01-24 18:12:05 +01:00
README.txt initial import 2004-06-13 18:15:49 +00:00

The schema dir contains the AUR database schema file.

The scripts dir will contain any supporting scripts for the AUR such
as the script that handles moving newly uploaded packages via tupkg
to the AUR.