Skip to content

Commit

Permalink
Sync upgrade sql
Browse files Browse the repository at this point in the history
  • Loading branch information
mark0263 committed Jan 26, 2018
1 parent 434fae3 commit d1bc54c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion private/plugins/forum/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,11 @@ function forum_upgrade() {
`poster_id` mediumint(9) NOT NULL,
`voter_id` mediumint(9) NOT NULL,
`topic_id` int(11) NOT NULL,
PRIMARY KEY (`poster_id`,`voter_id`,`topic_id`)
`username` varchar(40),
`like_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`poster_id`,`voter_id`,`topic_id`),
KEY `voter_id` (`voter_id`),
KEY `poster_id` (`poster_id`)
) ENGINE=MyISAM;";

// Copy existing badge images from the original directory to the
Expand Down

0 comments on commit d1bc54c

Please sign in to comment.