members-database/entities/authentication.ts
2024-08-17 16:38:08 +02:00

10 lines
233 B
TypeScript

import { Column, Entity, PrimaryColumn } from "typeorm";
@Entity()
export class authentication {
@PrimaryColumn({ type: "varchar", length: 36 })
username: string;
@Column({ type: "varchar", length: 255 })
secret: string;
}