sync and create change

This commit is contained in:
Julian Krauser 2024-10-15 16:25:42 +02:00
parent 5f434c943e
commit e1ad491e68
16 changed files with 285 additions and 39 deletions

View file

@ -9,9 +9,12 @@ export class protocolAgenda {
@Column({ type: "varchar", length: 255 })
topic: string;
@Column({ type: "varchar", length: 255, default: "" })
@Column({ type: "text", default: "" })
context: string;
@Column()
protocolId: number;
@ManyToOne(() => protocol, {
nullable: false,
onDelete: "CASCADE",

View file

@ -9,9 +9,12 @@ export class protocolDecision {
@Column({ type: "varchar", length: 255 })
topic: string;
@Column({ type: "varchar", length: 255, default: "" })
@Column({ type: "text", default: "" })
context: string;
@Column()
protocolId: number;
@ManyToOne(() => protocol, {
nullable: false,
onDelete: "CASCADE",

View file

@ -9,7 +9,7 @@ export class protocolVoting {
@Column({ type: "varchar", length: 255 })
topic: string;
@Column({ type: "varchar", length: 255, default: "" })
@Column({ type: "text", default: "" })
context: string;
@Column({ type: "int", default: 0 })
@ -21,6 +21,9 @@ export class protocolVoting {
@Column({ type: "int", default: 0 })
against: number;
@Column()
protocolId: number;
@ManyToOne(() => protocol, {
nullable: false,
onDelete: "CASCADE",