From 5c1d5d9c2a74502e40f67ef47337a97349be0d0d Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Tue, 2 Aug 2022 12:20:00 +0200
Subject: Moderation tools for admin user.

Ban and unban users.
Delete forum posts and threads.
---
 schema.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index f3d5d02..ca86e67 100644
--- a/schema.sql
+++ b/schema.sql
@@ -91,7 +91,7 @@ create view user_login_view as
 drop view if exists user_profile_view;
 create view user_profile_view as
 	select
-		user_id, name, mail, notify, ctime, atime, about
+		user_id, name, mail, notify, ctime, atime, about, is_banned
 	from
 		users
 		natural left join user_last_seen
-- 
cgit v1.2.3

