mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add a time stamp to package base votes
This can potentially be used to identify trending packages. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
c986ba0c52
commit
e9ebcc4479
3 changed files with 10 additions and 3 deletions
|
@ -249,6 +249,7 @@ CREATE TABLE PackageSources (
|
|||
CREATE TABLE PackageVotes (
|
||||
UsersID INTEGER UNSIGNED NOT NULL,
|
||||
PackageBaseID INTEGER UNSIGNED NOT NULL,
|
||||
VoteTS BIGINT UNSIGNED NULL DEFAULT NULL,
|
||||
INDEX (UsersID),
|
||||
INDEX (PackageBaseID),
|
||||
FOREIGN KEY (UsersID) REFERENCES Users(ID) ON DELETE CASCADE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue