https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff63e3
)
Change revision to UNSIGNED and PKEY
author
Robert Sesek <rsesek@bluestatic.org>
Mon, 9 Jan 2006 08:49:53 +0000
(08:49 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Mon, 9 Jan 2006 08:49:53 +0000
(08:49 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index 95e507a04ac5966d6d343ec34fe7f1a13082e058..99d9b17554e70e917de16682dbef6ed255841d61 100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-47,11
+47,12
@@
foreach ($viewsvn->repos->fetch_list() AS $repos)
$db->query("
CREATE TABLE $hash
(
- revision INT(20) NOT NULL DEFAULT 0,
+ revision INT(20)
UNSIGNED
NOT NULL DEFAULT 0,
author VARCHAR(255) NOT NULL DEFAULT '',
dateline VARCHAR(100) NOT NULL DEFAULT '',
files MEDIUMTEXT NOT NULL DEFAULT '',
- message MEDIUMTEXT NOT NULL DEFAULT ''
+ message MEDIUMTEXT NOT NULL DEFAULT '',
+ PRIMARY KEY (revision)
)"
);
}