chore: fix reporisotry name

This commit is contained in:
syuilo
2022-12-25 08:27:06 +09:00
parent c7f4fd1215
commit b648c4bc4d
5 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,17 @@
import { PrimaryColumn, Entity, Index, Column } from 'typeorm';
import { id } from '../id.js';
@Entity()
export class RegistrationTicket {
@PrimaryColumn(id())
public id: string;
@Column('timestamp with time zone')
public createdAt: Date;
@Index({ unique: true })
@Column('varchar', {
length: 64,
})
public code: string;
}