update newsletter syncing commands and controller

This commit is contained in:
Julian Krauser 2024-12-26 12:34:31 +01:00
parent 4180da5749
commit 6dcd650cad
9 changed files with 16 additions and 49 deletions

View file

@ -10,9 +10,6 @@ export class newsletterRecipients {
@PrimaryColumn({ type: "int" })
memberId: number;
@Column({ type: "boolean", default: false })
addedManually: boolean;
@ManyToOne(() => newsletter, (newsletter) => newsletter.recipients, {
nullable: false,
onDelete: "CASCADE",