mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
added a url path and fs path to the contents and took out filename
This commit is contained in:
parent
5148d63d47
commit
19a4354a59
1 changed files with 2 additions and 3 deletions
|
@ -167,11 +167,10 @@ CREATE TABLE PackageVotes (
|
|||
--
|
||||
CREATE TABLE PackageContents (
|
||||
PackageID INTEGER UNSIGNED NOT NULL,
|
||||
FileName CHAR(32) NOT NULL,
|
||||
Path CHAR(255) NOT NULL,
|
||||
FSPath CHAR(256) NOT NULL,
|
||||
URLPath CHAR(255) NOT NULL,
|
||||
FileSize BIGINT UNSIGNED NOT NULL default 0,
|
||||
INDEX (PackageID),
|
||||
INDEX (FileName),
|
||||
FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue