mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
cd95c7eb3b
commit
5ecee0b9a1
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module.exports = (sequelize, DataTypes) => {
|
|||
const user = sequelize.define('user', {
|
||||
username: {
|
||||
type: DataTypes.STRING,
|
||||
unique: { msg: 'error.username_taken' },
|
||||
unique: { msg: 'error.nick_taken' },
|
||||
index: true,
|
||||
allowNull: false
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue