fix: remove access type from document

This commit is contained in:
Abdalhamid Alhamad
2024-12-02 12:13:03 +03:00
parent 847c078735
commit 2bf9dea771
13 changed files with 12 additions and 63 deletions
+1 -4
View File
@@ -1,5 +1,5 @@
import { Column, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm';
import { AccessType, DocumentType } from '../enums';
import { DocumentType } from '../enums';
@Entity('documents')
export class Document {
@@ -15,9 +15,6 @@ export class Document {
@Column({ type: 'varchar', length: 255 })
documentType!: DocumentType;
@Column({ type: 'varchar', length: 255 })
accessType!: AccessType;
@UpdateDateColumn({ name: 'updated_at', type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' })
updatedAt!: Date;