summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-27 22:21:55 +0000
committeruckelman <uckelman@nomic.net>2010-04-27 22:21:55 +0000
commit19a59e7b9c3efbd2d3f3fc18f364fc1c0bc301f7 (patch)
tree19ea007662bf3923d8fbf73c6133c6b5f1749c23 /test
parente9e3a025c034537ad4949474a0651eb84cd6e8fe (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/BridgeTest.php2
1 files changed, 1 insertions, 1 deletions
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))'
);