From 313d21ded9bcb30bb6c71434fce1ed93aa042ec4 Mon Sep 17 00:00:00 2001 From: uckelman Date: Tue, 27 Apr 2010 22:25:10 +0000 Subject: 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 --- test/BridgeTest.php | 1 + 1 file changed, 1 insertion(+) (limited to 'test/BridgeTest.php') 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))' ); -- cgit v1.2.3