feat(vocab): add hard status management for SRS items and update related logic
This commit is contained in:
@@ -81,6 +81,12 @@ VocabSrsItem.init({
|
||||
allowNull: false,
|
||||
defaultValue: 0,
|
||||
field: 'lapse_count'
|
||||
},
|
||||
isHard: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
allowNull: false,
|
||||
defaultValue: false,
|
||||
field: 'is_hard'
|
||||
}
|
||||
}, {
|
||||
sequelize,
|
||||
|
||||
Reference in New Issue
Block a user