aurweb/web/lib
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
..
acctfuncs.inc Ensure users can be deleted when foreign keys are present 2011-03-04 10:29:14 +01:00
aur.inc Improve cookie handling 2011-03-04 10:29:13 +01:00
aurjson.class.php Drop PackageLocations table and references 2011-02-01 12:41:08 +01:00
config.inc.proto Protect users against ZIP bombs (fixes FS#22991). 2011-02-23 11:17:27 +01:00
feedcreator.class.php RSS support implemented 2005-06-10 23:07:24 +00:00
Find.php Include File/Find.php PEAR module 2008-07-28 10:27:38 -05:00
pkgfuncs.inc Define "Packages.SubmitterUID" and "Packages.MaintainerUID" as "NULL". 2011-02-27 19:46:19 +01:00
stats.inc Drop PackageLocations table and references 2011-02-01 12:41:08 +01:00
translator.inc Remove useless or redundant code for translations. 2010-01-09 18:24:53 -05:00
version.inc Release 1.8.0. 2011-02-20 18:40:48 +01:00