initial commit

This commit is contained in:
2023-10-15 20:02:52 +02:00
commit bd7452d198
47 changed files with 12202 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
@Entity()
export class Comments {
@PrimaryGeneratedColumn()
com_id: number;
@Column({nullable:false})
author: number;
@Column({nullable:false})
comment: string;
@Column({default: 0})
video: string;
@Column({default:0})
profile_id:number;
@Column({nullable:false})
vid_id: number;
@Column({default: Date.now().toLocaleString()})
commented_on: string;
}