Add character_name field and trigger for notifications in Falukant module
This commit is contained in:
@@ -10,6 +10,17 @@ Notification.init({
|
||||
tr: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: false},
|
||||
character_name: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
field: 'character_name'
|
||||
},
|
||||
characterName: {
|
||||
type: DataTypes.VIRTUAL,
|
||||
get() {
|
||||
return this.getDataValue('character_name') || null;
|
||||
}
|
||||
},
|
||||
shown: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
allowNull: false,
|
||||
|
||||
Reference in New Issue
Block a user