feat: Move language option to profile setting (#387)

This commit is contained in:
CY
2026-02-26 22:51:12 +08:00
committed by GitHub
parent 3b059f1897
commit a065c1800f
22 changed files with 368 additions and 51 deletions

View File

@@ -22,6 +22,10 @@ function defineUser(sequelize, DataTypes) {
avatarPath: {
type: DataTypes.STRING,
},
locale: {
type: DataTypes.STRING(20),
allowNull: true,
},
},
{ underscored: true }
);