Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 387 Bytes

MongoDB Schema.md

File metadata and controls

23 lines (22 loc) · 387 Bytes
{
    _id: BSON,
    sessionToken: TOKEN,
    time: TIME, // string
    usrPassword: PASSWORD, // use bcrypt to encrypt
    fileNames: [LIST, OF, STRINGS],
    mdna: {
        fileName: [
            line1,
            line2,
            line3,
        ],
        fileName2: [
            line1,
            line2,
        ]
    },
    isComplete: BOOL,
    isError: BOOL,
    
}