create database structure
This commit is contained in:
parent
e5b5d7e67d
commit
ad6ee64565
15 changed files with 483 additions and 14 deletions
|
|
@ -8,9 +8,9 @@ export abstract class AbstractEntity {
|
|||
@PrimaryGeneratedColumn("uuid")
|
||||
id?: string;
|
||||
|
||||
@CreateDateColumn()
|
||||
createdAt?: Date;
|
||||
@CreateDateColumn({name: "create_date"})
|
||||
createDate?: Date;
|
||||
|
||||
@UpdateDateColumn()
|
||||
updatedAt?: Date;
|
||||
@UpdateDateColumn({name: "update_date"})
|
||||
updateDate?: Date;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue