RealDevSquad / RealDevSquad/website-backend

Modify document fields in discord-actions and member-group-roles collections

Open
#1,079 0 comments 0 reactions 1 assignee View on GitHub

@Ajeyakrishna-k is already working on this.

Since May 13, 2023.

backend bug-fix
Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Modify the data models of discord roles and member's group role data

Create a Migration API to modify(fix) the fields in the data models of discord-roles and member-group-roles documents

Current model of discord-roles
{
    createdBy:string,
    date: timestamp,
    roleid: string,
    rolename: string
}

TO DO: Convert all such document in the collection to this model(make them camel cased)

{
    createdBy:string,
    date: timestamp,
    roleId: string,
    roleName: string
}
Current model of member-group-roles
{
    date: timestamp,
    roleid: string,
    userid: string
}

TO DO: Convert all such document in the collection to this model(make them camel cased)

{
    date: timestamp,
    roleId: string,
    userId: string
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.