Skip to content

Commit

Permalink
Update invite.entity.ts
Browse files Browse the repository at this point in the history
fix: remove createDate and upDate
  • Loading branch information
G4EVA-dev authored Mar 2, 2025
1 parent 92ed8af commit ae23b2f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/modules/invite/entities/invite.entity.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, CreateDateColumn, UpdateDateColumn } from 'typeorm';
import { Entity, Column, ManyToOne } from 'typeorm';
import { AbstractBaseEntity } from '../../../entities/base.entity';
import { Organisation } from '../../organisations/entities/organisations.entity';

Expand All @@ -18,10 +18,4 @@ export class Invite extends AbstractBaseEntity {

@ManyToOne(() => Organisation, organisation => organisation.invites, { nullable: false, onDelete: 'CASCADE' })
organisation: Organisation;

@CreateDateColumn()
created_at: Date;

@UpdateDateColumn()
updated_at: Date;
}

0 comments on commit ae23b2f

Please sign in to comment.