made models and migrations in typeORM

This commit is contained in:
Aster Fialla
2026-03-01 12:52:12 -05:00
parent 7467878dff
commit 562e183699
3 changed files with 58 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
import { Entity, PrimaryGeneratedColumn, Column } from "typeorm"
@Entity()
export class System {
export class Systems {
@PrimaryGeneratedColumn()
id: number
@@ -17,4 +17,10 @@ export class System {
@Column()
autoproxy: boolean
@Column()
createdAt: Date
@Column()
updatedAt: Date
}