sync and create change
This commit is contained in:
parent
5f434c943e
commit
e1ad491e68
16 changed files with 285 additions and 39 deletions
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue