From 19a59e7b9c3efbd2d3f3fc18f364fc1c0bc301f7 Mon Sep 17 00:00:00 2001 From: uckelman Date: Tue, 27 Apr 2010 22:21:55 +0000 Subject: Use auto-incrementing edit id instead of timestamp to track edits. This way prevents collisions. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6772 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/BridgeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/BridgeTest.php b/test/BridgeTest.php index 46eaa2c..d1ceda4 100644 --- a/test/BridgeTest.php +++ b/test/BridgeTest.php @@ -21,7 +21,7 @@ class BridgeTest extends PHPUnit_Framework_TestCase { 'post_id MEDIUMINT UNSIGNED, ' . 'message_id VARCHAR(255) NOT NULL, ' . 'in_reply_to VARCHAR(255), ' . - 'time_stamp TIMESTAMP, ' . + 'edit_id MEDIUMINT NOT NULL AUTO_INCREMENT, ' . 'PRIMARY KEY (message_id), ' . 'INDEX (post_id))' ); -- cgit v1.2.3