summaryrefslogtreecommitdiffstats
path: root/support/schema/aur-schema.sql
diff options
context:
space:
mode:
authoreric <eric>2004-06-23 17:49:09 +0200
committereric <eric>2004-06-23 17:49:09 +0200
commit342d5dfce063550faa6c8871768367e56577bb2c (patch)
treeca7b01fe57c5e5582ebaf94c387839773e17a1ed /support/schema/aur-schema.sql
parent84912ddb2e9e695980ac42c599ceda8362455790 (diff)
downloadaur-342d5dfce063550faa6c8871768367e56577bb2c.tar.gz
aur-342d5dfce063550faa6c8871768367e56577bb2c.tar.xz
added dummy data for testing
Diffstat (limited to 'support/schema/aur-schema.sql')
-rw-r--r--support/schema/aur-schema.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql
index ffd1d983..9c5d920a 100644
--- a/support/schema/aur-schema.sql
+++ b/support/schema/aur-schema.sql
@@ -144,8 +144,11 @@ CREATE TABLE PackageVotes (
--
CREATE TABLE PackageContents (
PackageID INTEGER UNSIGNED NOT NULL,
+ FileName CHAR(32) NOT NULL,
Path CHAR(255) NOT NULL,
+ FileSize BIGINT UNSIGNED NOT NULL default 0,
INDEX (PackageID),
+ INDEX (FileName),
FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE
);