fix: tweak retention rate aggregation

This commit is contained in:
syuilo
2023-03-15 17:43:13 +09:00
parent 42833cd921
commit 58fc17e3b6
5 changed files with 43 additions and 12 deletions

View File

@@ -18,6 +18,12 @@ export class RetentionAggregation {
})
public updatedAt: Date;
@Index({ unique: true })
@Column('varchar', {
length: 512, nullable: false,
})
public dateKey: string;
@Column({
...id(),
array: true,