Skip to content

Commit

Permalink
Merge pull request #2 from vishnuvinay89/release-1.0.0
Browse files Browse the repository at this point in the history
TaskId #228394 Task: Entity changes for user and cohort
  • Loading branch information
gouravmore authored Oct 21, 2024
2 parents 51a881b + d9eca39 commit d3cd9a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
15 changes: 0 additions & 15 deletions src/cohort/entities/cohort.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,9 @@ export class Cohort {
@Column()
status: string;

@Column({ nullable: true })
image: string;

@Column({ nullable: true })
referenceId: string;

@Column({ nullable: true })
metadata: string;

@Column({ nullable: true })
tenantId: string;

@Column({ nullable: true })
programId: string;

@Column({ nullable: true })
attendanceCaptureImage: boolean;

@CreateDateColumn({
type: "timestamp with time zone",
default: () => "CURRENT_TIMESTAMP",
Expand Down
11 changes: 0 additions & 11 deletions src/user/entities/user-entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ export class User {
@Column({ nullable: true })
state: string;

@Column({ nullable: true })
address: string;

@Column({ nullable: true })
pincode: string;

@CreateDateColumn({
type: "timestamp with time zone",
Expand Down Expand Up @@ -74,14 +69,8 @@ export class User {
})
status: UserStatus;

@Column({ nullable: true })
reason: string;

userRoleMappings: User;

// @OneToMany(() => CohortMembers, cohortMember => cohortMember.cohort)
// cohortMembers: CohortMembers[];

@OneToMany(
() => UserTenantMapping,
(userTenantMapping) => userTenantMapping.user
Expand Down

0 comments on commit d3cd9a7

Please sign in to comment.