mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 08:34:54 -04:00

This contains the module and a model which still needs many properties. Signed-off-by: David Mehren <git@herrmehren.de>
11 lines
243 B
TypeScript
11 lines
243 B
TypeScript
import { Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
import { Note } from '../notes/note.entity';
|
|
|
|
@Entity()
|
|
export class Revision {
|
|
//TODO: Still missing many properties
|
|
@PrimaryGeneratedColumn('uuid')
|
|
id: string;
|
|
|
|
note: Note;
|
|
}
|