mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Define "PackageComments.DelUsersID" as "NULL".
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
ac632980c3
commit
40ccf77ca0
3 changed files with 6 additions and 3 deletions
|
@ -25,6 +25,9 @@ ALTER TABLE TU_VoteInfo
|
|||
ALTER TABLE TU_Votes
|
||||
ADD FOREIGN KEY (VoteID) REFERENCES TU_VoteInfo(ID) ON DELETE CASCADE,
|
||||
ADD FOREIGN KEY (UserID) REFERENCES Users(ID) ON DELETE CASCADE;
|
||||
ALTER TABLE PackageComments
|
||||
MODIFY DelUsersID INTEGER UNSIGNED NULL DEFAULT NULL;
|
||||
UPDATE PackageComments SET DelUsersID = NULL WHERE DelUsersID = 0;
|
||||
----
|
||||
|
||||
From 1.7.0 to 1.8.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue