calender crud operations

This commit is contained in:
Julian Krauser 2024-10-27 11:47:13 +01:00
parent e7b8257336
commit bf701163d6
18 changed files with 703 additions and 0 deletions

View file

@ -12,6 +12,9 @@ export class calendarType {
@Column({ type: "boolean" }) // none specified cal dav request
nscdr: boolean;
@Column({ type: "varchar", length: 255 })
color: string;
@OneToMany(() => calendar, (c) => c.type, {
nullable: false,
onDelete: "RESTRICT",