From c6a96acf84c7e324ed607af2f3beea71bb8792cf Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Wed, 6 Oct 2021 08:39:05 +0000 Subject: [PATCH] Try once again to make dbDelta() happy --- ai-global-activity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ai-global-activity.php b/ai-global-activity.php index f195d6d..475f934 100644 --- a/ai-global-activity.php +++ b/ai-global-activity.php @@ -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;"; -- GitLab