We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 646b2f1 commit a541cccCopy full SHA for a541ccc
generate/inserts/wp_bbp_users.sql
@@ -4,7 +4,7 @@ SELECT
4
p.post_author AS user_id,
5
IF (r.first_reply_date IS NULL || t.first_topic_date <= r.last_reply_date, t.first_topic_date, r.first_reply_date) AS first_posted,
6
IF (r.last_reply_date IS NULL || t.last_topic_date >= r.last_reply_date, t.last_topic_date, r.last_reply_date) AS last_posted,
7
- IF (u.last_active IS NULL, '0000-00-00 00:00:00', FROM_UNIXTIME(u.last_active, '%Y-%d-%m %H:%i:%s')) AS last_active,
+ IF (u.last_active IS NULL, '0000-00-00 00:00:00', FROM_UNIXTIME(u.last_active, '%Y-%m-%d %H:%i:%s')) AS last_active,
8
IF (t.topic_count IS NULL, 0, t.topic_count) AS topic_count,
9
IF (r.reply_count IS NULL, 0, r.reply_count) AS reply_count
10
FROM (SELECT DISTINCT post_author
0 commit comments