mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04:00
feat(note): Add publicId field
This field is a randomly generated 128-bit value encoded with base32-encode using the crockford variant and converted to lowercase. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
ae95c50aa4
commit
072c2b6a59
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ import { MediaUpload } from '../media/media-upload.entity';
|
|||
export class Note {
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
id: string;
|
||||
@Column({ type: 'text' })
|
||||
publicId: string;
|
||||
@Column({
|
||||
unique: true,
|
||||
nullable: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue