feat: enforce friend add and curfew policies
This commit is contained in:
@@ -857,6 +857,9 @@ func createIMUserProductTables(tx *sql.Tx) error {
|
||||
region VARCHAR(128) NOT NULL DEFAULT '',
|
||||
email VARCHAR(128) NOT NULL DEFAULT '',
|
||||
public_account VARCHAR(64) NOT NULL DEFAULT '',
|
||||
friend_add_enabled TINYINT NOT NULL DEFAULT 1,
|
||||
friend_add_disabled_reason VARCHAR(255) NOT NULL DEFAULT '',
|
||||
friend_add_policy_version INT NOT NULL DEFAULT 1,
|
||||
version INT NOT NULL DEFAULT 1,
|
||||
created_at DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
|
||||
updated_at DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3),
|
||||
|
||||
Reference in New Issue
Block a user