mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Drop "PackageContents" table and references.
We don't even touch source tarballs anymore - except for extracting the PKGBUILD, so this is no longer needed. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
366ea03118
commit
34ac351e82
3 changed files with 1 additions and 40 deletions
|
@ -151,17 +151,6 @@ CREATE TABLE PackageVotes (
|
|||
);
|
||||
CREATE UNIQUE INDEX VoteUsersIDPackageID ON PackageVotes (UsersID, PackageID);
|
||||
|
||||
-- The individual files and their file system location.
|
||||
--
|
||||
CREATE TABLE PackageContents (
|
||||
PackageID INTEGER UNSIGNED NOT NULL,
|
||||
FSPath CHAR(255) NOT NULL DEFAULT '',
|
||||
URLPath CHAR(255) NOT NULL DEFAULT '',
|
||||
FileSize BIGINT UNSIGNED NOT NULL default 0,
|
||||
INDEX (PackageID),
|
||||
FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
-- Record comments for packages
|
||||
--
|
||||
CREATE TABLE PackageComments (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue