diff options
author | uckelman <uckelman@nomic.net> | 2010-04-27 22:25:10 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-04-27 22:25:10 +0000 |
commit | 313d21ded9bcb30bb6c71434fce1ed93aa042ec4 (patch) | |
tree | 725050fb638b746dffa9d4e486ff696ef7c99248 /test/BridgeTest.php | |
parent | 19a59e7b9c3efbd2d3f3fc18f364fc1c0bc301f7 (diff) |
Added edit_id as a UNIQUE KEY.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6773 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test/BridgeTest.php')
-rw-r--r-- | test/BridgeTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/BridgeTest.php b/test/BridgeTest.php index d1ceda4..6c9ec01 100644 --- a/test/BridgeTest.php +++ b/test/BridgeTest.php @@ -23,6 +23,7 @@ class BridgeTest extends PHPUnit_Framework_TestCase { 'in_reply_to VARCHAR(255), ' . 'edit_id MEDIUMINT NOT NULL AUTO_INCREMENT, ' . 'PRIMARY KEY (message_id), ' . + 'UNIQUE KEY (edit_id), ' . 'INDEX (post_id))' ); |