diff options
Diffstat (limited to 'support/schema')
-rw-r--r-- | support/schema/aur-schema.sql | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql index 70796221..630b6788 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 ); |