summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/schema/aur-schema.sql5
1 files changed, 2 insertions, 3 deletions
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql
index 7079622..630b678 100644
--- a/support/schema/aur-schema.sql
+++ b/support/schema/aur-schema.sql
@@ -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
);