mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +08:00
feat: 升级midway,支持esm
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
||||
|
||||
@Entity('flyway_history')
|
||||
export class FlywayHistory {
|
||||
@PrimaryGeneratedColumn()
|
||||
id?: number;
|
||||
|
||||
@Column({ comment: '文件名', length: 100 })
|
||||
name?: string;
|
||||
|
||||
@Column({ comment: 'hash', length: 32 })
|
||||
hash?: string;
|
||||
|
||||
@Column({
|
||||
comment: '执行时间',
|
||||
})
|
||||
timestamp?: Date;
|
||||
|
||||
@Column({
|
||||
comment: '执行成功',
|
||||
default: true,
|
||||
})
|
||||
success?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user