AP_Activate::reputation_events_table()
Description #
AnsPress reputation events table.
Source #
File: activate.php
public function reputation_events_table() { global $wpdb; $this->tables[] = 'CREATE TABLE ' . $wpdb->ap_reputation_events . ' ( rep_events_id bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, slug varchar(100) NOT NULL, icon varchar(100) NOT NULL, label varchar(100) NOT NULL, description varchar(200) NOT NULL, activity varchar(200) NOT NULL, parent varchar(100) NOT NULL DEFAULT "", points int(5) NOT NULL DEFAULT 0, PRIMARY KEY (rep_events_id), UNIQUE (slug), KEY slug_key (slug), KEY points_key (points), KEY parent_key (parent) )' . $this->charset_collate . ';'; }
Expand full source code Collapse full source code View on GitHub: activate.php:283
Add your comment