Remove username column (#5052)

This commit is contained in:
Tom Moor
2023-03-17 11:23:32 -04:00
committed by GitHub
parent 497ab4b89f
commit e69935be99
10 changed files with 14 additions and 44 deletions

View File

@@ -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;