added cached columns for post update count, post upload count, note update count, favorite count to users; fixed tests
This commit is contained in:
@@ -2646,6 +2646,11 @@ CREATE TABLE users (
|
||||
last_logged_in_at timestamp without time zone,
|
||||
last_forum_read_at timestamp without time zone,
|
||||
has_mail boolean DEFAULT false NOT NULL,
|
||||
recent_tags text,
|
||||
post_upload_count integer DEFAULT 0 NOT NULL,
|
||||
post_update_count integer DEFAULT 0 NOT NULL,
|
||||
note_update_count integer DEFAULT 0 NOT NULL,
|
||||
favorite_count integer DEFAULT 0 NOT NULL,
|
||||
receive_email_notifications boolean DEFAULT false NOT NULL,
|
||||
comment_threshold integer DEFAULT (-1) NOT NULL,
|
||||
always_resize_images boolean DEFAULT false NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user