feat: 升级midway,支持esm

This commit is contained in:
xiaojunnuo
2024-07-15 00:30:33 +08:00
parent 970c7fd8a0
commit 485e603b51
246 changed files with 3821 additions and 1532 deletions
@@ -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;
}