Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Try once again to make dbDelta() happy
· c6a96acf
ale
authored
Oct 06, 2021
c6a96acf
Hide whitespace changes
Inline
Side-by-side
ai-global-activity.php
View file @
c6a96acf
...
...
@@ -24,14 +24,14 @@ function ai_activity_install() {
$charset_collate
=
$wpdb
->
get_charset_collate
();
$sql
=
"CREATE TABLE
$table_name
(
blog_id int
eger
(11) NOT NULL,
post_id int
eger
(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
;"
;
...
...