/
Content DB Migration

Content DB Migration

Background:

Problem Statement :

For existing users, already content DB is created so, categories filed will not be there and we are using content.category1 so, it will throw undefined error

Key Design Problem:

Update content DB keys BMGS to category1, category2, category3 and category4. The new DB will be created for new user with category1,….category4 but for existing user we have to write a migrate code for DB update with category[i]

export interface Content { ..... subject: string | string[]; board: string; medium: string | string[]; gradeLevel: string[], ...... }
export interface Content { category1: string | string[]; category2: string | string[]; category3: string | string[], category4: string | string[]; .......... }

Related content

Update user profile
Update user profile
More like this
Content NOT created under a target collection
Content NOT created under a target collection
More like this
Demo Assessment category definition
Demo Assessment category definition
More like this
inQuiry: CSP migration & verification steps
inQuiry: CSP migration & verification steps
More like this
Question category creation and definition - Text
Question category creation and definition - Text
More like this
Form API's
Form API's
More like this