AP_Activate::votes_table()
Description #
AnsPress ap_votes table.
Source #
File: activate.php
public function votes_table() {
global $wpdb;
$this->tables[] = 'CREATE TABLE ' . $wpdb->ap_votes . ' (
vote_id bigint(20) NOT NULL AUTO_INCREMENT,
vote_post_id bigint(20) NOT NULL,
vote_user_id bigint(20) NOT NULL,
vote_rec_user bigint(20) NOT NULL,
vote_type varchar(100) DEFAULT NULL,
vote_value varchar(100) DEFAULT NULL,
vote_date timestamp NULL DEFAULT NULL,
PRIMARY KEY (vote_id),
KEY vote_post_id (vote_post_id)
)' . $this->charset_collate . ';';
}
Expand full source code Collapse full source code View on GitHub: activate.php:164
Add your comment