mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
started working on package comments
This commit is contained in:
parent
93ac7cb91d
commit
aae43d9ad6
5 changed files with 49 additions and 16 deletions
|
@ -180,13 +180,13 @@ CREATE TABLE PackageContents (
|
|||
FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
-- Record comments for users submitting packages to AUR/unsupported
|
||||
-- Record comments for packages
|
||||
--
|
||||
CREATE TABLE PackageUploadHistory (
|
||||
CREATE TABLE PackageComments (
|
||||
PackageID INTEGER UNSIGNED NOT NULL,
|
||||
UsersID INTEGER UNSIGNED NOT NULL,
|
||||
Comments TEXT NOT NULl DEFAULT '',
|
||||
UploadTS BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
CommentTS BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
INDEX (UsersID),
|
||||
INDEX (PackageID),
|
||||
FOREIGN KEY (UsersID) REFERENCES Users(ID) ON DELETE CASCADE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue