mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2026-10-24 16:57:56 +00:00
fix: remove access type from document
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user