diff options
author | uckelman <uckelman@nomic.net> | 2010-04-27 20:54:58 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-04-27 20:54:58 +0000 |
commit | ad242347a4d41d8db008fc06be2df23aae49d0d8 (patch) | |
tree | 1690ec03d26b4a4b05588af0e688846fee9a1a5e /test/BridgeTest.php | |
parent | 1271862d253f5f5616cec0d9401c4490a4f4469d (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.php | 5 |
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( |