Remove username column (#5052)
This commit is contained in:
@@ -110,11 +110,6 @@ class User extends ParanoidModel {
|
||||
@Column
|
||||
email: string | null;
|
||||
|
||||
@NotContainsUrl
|
||||
@Length({ max: 255, msg: "User username must be 255 characters or less" })
|
||||
@Column
|
||||
username: string | null;
|
||||
|
||||
@NotContainsUrl
|
||||
@Length({ max: 255, msg: "User name must be 255 characters or less" })
|
||||
@Column
|
||||
@@ -562,7 +557,6 @@ class User extends ParanoidModel {
|
||||
model.email = null;
|
||||
model.name = "Unknown";
|
||||
model.avatarUrl = null;
|
||||
model.username = null;
|
||||
model.lastActiveIp = null;
|
||||
model.lastSignedInIp = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user