diff options
author | eric <eric> | 2005-03-06 22:44:56 +0100 |
---|---|---|
committer | eric <eric> | 2005-03-06 22:44:56 +0100 |
commit | e3587ddf94ba742beabdaa8a68023f8ee0234b58 (patch) | |
tree | c5b579f1b92b8fd20453fb348f0bb240832ec8c8 /support/schema/aur-schema.sql | |
parent | aae43d9ad6fc83d04a4975f27392c1422dfa0ec4 (diff) | |
download | aur-e3587ddf94ba742beabdaa8a68023f8ee0234b58.tar.gz aur-e3587ddf94ba742beabdaa8a68023f8ee0234b58.tar.xz |
started working on pkgedit for comments
Diffstat (limited to 'support/schema/aur-schema.sql')
-rw-r--r-- | support/schema/aur-schema.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql index c2cd08b6..2d70dae5 100644 --- a/support/schema/aur-schema.sql +++ b/support/schema/aur-schema.sql @@ -187,9 +187,11 @@ CREATE TABLE PackageComments ( UsersID INTEGER UNSIGNED NOT NULL, Comments TEXT NOT NULl DEFAULT '', CommentTS BIGINT UNSIGNED NOT NULL DEFAULT 0, + DelUsersID INTEGER UNSIGNED NOT NULL DEFAULT 0, INDEX (UsersID), INDEX (PackageID), FOREIGN KEY (UsersID) REFERENCES Users(ID) ON DELETE CASCADE, + FOREIGN KEY (DelUsersID) REFERENCES Users(ID) ON DELETE CASCADE, FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE ); |