690325:2132 Fixing Naming convention missunderstand #01
CI / CD Pipeline / build (push) Failing after 38m8s
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-03-25 21:32:47 +07:00
parent 509fe7b597
commit d36d4b0bf4
32 changed files with 648 additions and 527 deletions
@@ -12,19 +12,19 @@ import {
import { Project } from '../../project/entities/project.entity';
@Entity('tags')
@Unique('ux_tag_project', ['project_id', 'tag_name'])
@Unique('ux_tag_project', ['projectId', 'tagName'])
export class Tag {
@PrimaryGeneratedColumn()
id!: number; // เพิ่ม !
@Column({ type: 'int', nullable: true })
project_id!: number | null; // เพิ่ม !
projectId!: number | null; // เพิ่ม !
@Column({ length: 100 })
tag_name!: string; // เพิ่ม !
tagName!: string; // เพิ่ม !
@Column({ length: 30, default: 'default' })
color_code!: string; // เพิ่ม !
colorCode!: string; // เพิ่ม !
@Column({ type: 'text', nullable: true })
description!: string | null; // เพิ่ม !
@@ -35,14 +35,14 @@ export class Tag {
project?: Project;
@CreateDateColumn()
created_at!: Date; // เพิ่ม !
createdAt!: Date; // เพิ่ม !
@UpdateDateColumn()
updated_at!: Date; // เพิ่ม !
updatedAt!: Date; // เพิ่ม !
@Column({ type: 'int', nullable: true })
created_by!: number | null; // เพิ่ม !
createdBy!: number | null; // เพิ่ม !
@DeleteDateColumn()
deleted_at!: Date | null; // เพิ่ม !
deletedAt!: Date | null; // เพิ่ม !
}