not sure why i made everything numbers in the model but it's fixed now

This commit is contained in:
Aster Fialla
2026-03-01 16:21:48 -05:00
parent 5ef9050a7d
commit 66905b10d5
2 changed files with 6 additions and 7 deletions

View File

@@ -15,26 +15,25 @@ export class Members {
name: string name: string
@Column({ @Column({
type: "varchar",
nullable: true, nullable: true,
length: 100
}) })
displayname: number displayname: string
@Column({ @Column({
nullable: true, nullable: true,
}) })
proxy: number proxy: string
@Column({ @Column({
nullable: true, nullable: true,
}) })
propic: number propic: string
@Column() @Column()
createdAt: Date createdAt: Date
@Column() @Column()
updatedAt: Date updatedAt: Date
@Column()
systemid: string
} }

View File

@@ -1,6 +1,6 @@
import { Entity, PrimaryGeneratedColumn, Column } from "typeorm" import { Entity, PrimaryGeneratedColumn, Column } from "typeorm"
@Entity() @Entity({synchronize: true})
export class Systems { export class Systems {
@PrimaryGeneratedColumn() @PrimaryGeneratedColumn()