diff options
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( |