summaryrefslogtreecommitdiff
path: root/test/BridgeTest.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-27 20:54:58 +0000
committeruckelman <uckelman@nomic.net>2010-04-27 20:54:58 +0000
commitad242347a4d41d8db008fc06be2df23aae49d0d8 (patch)
tree1690ec03d26b4a4b05588af0e688846fee9a1a5e /test/BridgeTest.php
parent1271862d253f5f5616cec0d9401c4490a4f4469d (diff)
Restructure posts table.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6768 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test/BridgeTest.php')
-rw-r--r--test/BridgeTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/BridgeTest.php b/test/BridgeTest.php
index e181f1c..0473042 100644
--- a/test/BridgeTest.php
+++ b/test/BridgeTest.php
@@ -21,8 +21,9 @@ class BridgeTest extends PHPUnit_Framework_TestCase {
'post_id MEDIUMINT UNSIGNED, ' .
'message_id VARCHAR(255) NOT NULL, ' .
'in_reply_to VARCHAR(255), ' .
- 'UNIQUE KEY (post_id), ' .
- 'UNIQUE KEY (message_id))'
+ 'when TIMESTAMP, ' .
+ 'PRIMARY KEY (message_id)), ' .
+ 'INDEX (post_id)' .
);
$this->db->exec(