members-database/entities/authentication.ts

11 lines
233 B
TypeScript
Raw Normal View History

2024-08-17 14:38:08 +00:00
import { Column, Entity, PrimaryColumn } from "typeorm";
@Entity()
export class authentication {
@PrimaryColumn({ type: "varchar", length: 36 })
username: string;
@Column({ type: "varchar", length: 255 })
secret: string;
}