Skip to content
Commits on Source (1)
......@@ -24,14 +24,14 @@ function ai_activity_install() {
$charset_collate = $wpdb->get_charset_collate();
$sql = "CREATE TABLE $table_name (
blog_id integer(11) NOT NULL,
post_id integer(11) NOT NULL,
blog_id int(11) NOT NULL,
post_id int(11) NOT NULL,
title text,
author text,
content text,
url text,
published_at datetime DEFAULT current_timestamp(),
PRIMARY KEY (blog_id, post_id),
PRIMARY KEY (blog_id,post_id),
KEY published_at (published_at)
) $charset_collate;";
......