AP_Activate::views_table()
Description #
AnsPress views table.
Source #
File: activate.php
183 184 185 186 187 188 189 190 191 192 193 194 195 196 | public function views_table() { global $wpdb ; $this ->tables[] = 'CREATE TABLE ' . $wpdb ->ap_views . ' ( view_id bigint(20) NOT NULL AUTO_INCREMENT, view_user_id bigint(20) DEFAULT NULL, view_type varchar(100) DEFAULT NULL, view_ref_id bigint(20) DEFAULT NULL, view_ip varchar(39), view_date timestamp NULL DEFAULT NULL, PRIMARY KEY (view_id), KEY view_user_id (view_user_id) ) ' . $this->charset_collate . ' ;'; } |
Expand full source code Collapse full source code View on GitHub: activate.php:183
Add your comment