add: temporary bans
This commit is contained in:
parent
9650c0177e
commit
155fe34c6e
11 changed files with 132 additions and 19 deletions
|
@ -29,5 +29,6 @@ CREATE TABLE IF NOT EXISTS users (
|
|||
seller_data TEXT NOT NULL,
|
||||
ban_reason TEXT NOT NULL,
|
||||
channel_mutes TEXT NOT NULL,
|
||||
is_deactivated INT NOT NULL
|
||||
is_deactivated INT NOT NULL,
|
||||
ban_expire BIGINT NOT NULL
|
||||
)
|
||||
|
|
|
@ -25,3 +25,7 @@ ADD COLUMN IF NOT EXISTS topics TEXT DEFAULT '{}';
|
|||
-- posts topic
|
||||
ALTER TABLE posts
|
||||
ADD COLUMN IF NOT EXISTS topic BIGINT DEFAULT 0;
|
||||
|
||||
-- users ban_expire
|
||||
ALTER TABLE users
|
||||
ADD COLUMN IF NOT EXISTS ban_expire BIGINT DEFAULT 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue