mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-16 17:45:28 +10:00
made models and migrations in typeORM
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user