This commit is contained in:
@@ -36,12 +36,24 @@ const Story = sequelize.define('stories', {
|
||||
defaultValue: [],
|
||||
comment: 'Array of story context objects with images, text, audio data'
|
||||
},
|
||||
type: {
|
||||
type: DataTypes.TEXT,
|
||||
allowNull: false,
|
||||
defaultValue: 'story',
|
||||
comment: 'Type of media content'
|
||||
},
|
||||
grade: {
|
||||
type: DataTypes.JSON,
|
||||
allowNull: true,
|
||||
defaultValue: [],
|
||||
comment: 'Array of grade levels (e.g., ["Grade 1", "Grade 2"])'
|
||||
},
|
||||
grade_number: {
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: true,
|
||||
defaultValue: 0,
|
||||
comment: 'Numeric representation of grade unit lesson as GG UU LL'
|
||||
},
|
||||
tag: {
|
||||
type: DataTypes.JSON,
|
||||
allowNull: true,
|
||||
|
||||
Reference in New Issue
Block a user