patches v1.0.2 #39

Merged
jkeffects merged 9 commits from develop into main 2025-01-13 10:22:29 +00:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit e738be4e13 - Show all commits

View file

@ -40,17 +40,17 @@ export class communication {
@Column()
typeId: number;
@ManyToOne(() => communicationType, (communicationType) => communicationType.communications, {
nullable: false,
onDelete: "RESTRICT",
onUpdate: "RESTRICT",
})
type: communicationType;
@ManyToOne(() => member, (member) => member.awards, {
nullable: false,
onDelete: "CASCADE",
onUpdate: "RESTRICT",
})
member: member;
@ManyToOne(() => communicationType, (communicationType) => communicationType.communications, {
nullable: false,
onDelete: "RESTRICT",
onUpdate: "RESTRICT",
})
type: communicationType;
}

View file

@ -9,7 +9,7 @@ export class protocolPrintout {
@Column({ type: "varchar", length: 255 })
title: string;
@Column({ type: "int" })
@Column({ type: "int", default: "1" })
iteration: number;
@Column({ type: "varchar", length: 255 })