update
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, ManyToOne, JoinTable } from "typeorm";
|
||||
import { TrxCustomer } from "./trx_customers";
|
||||
import { TrxCustomerUser } from "./trx_customer_users";
|
||||
|
||||
@Entity("trx_customer_user_signatures", { schema: "trx" })
|
||||
export class TrxCustomerUserSignature {
|
||||
@ -10,6 +11,10 @@ export class TrxCustomerUserSignature {
|
||||
@JoinTable()
|
||||
customer: TrxCustomer;
|
||||
|
||||
@ManyToOne(() => TrxCustomerUser, { onDelete: "RESTRICT" })
|
||||
@JoinTable()
|
||||
customer_user: TrxCustomerUser;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
type: "text",
|
||||
|
||||
Reference in New Issue
Block a user