AP_Activate::reputation_table()
Description #
AnsPress reputation table.
Source #
File: activate.php
public function reputation_table() {
global $wpdb;
$this->tables[] = 'CREATE TABLE ' . $wpdb->ap_reputations . ' (
rep_id bigint(20) NOT NULL AUTO_INCREMENT,
rep_user_id bigint(20) DEFAULT NULL,
rep_event varchar(100) DEFAULT NULL,
rep_ref_id bigint(20) DEFAULT NULL,
rep_date timestamp NULL DEFAULT NULL,
PRIMARY KEY (rep_id),
KEY rep_user_id (rep_user_id),
KEY rep_ref_id (rep_ref_id)
)' . $this->charset_collate . ';';
}
Expand full source code Collapse full source code View on GitHub: activate.php:203
Add your comment