This commit is contained in:
syuilo
2019-04-10 20:07:36 +09:00
parent 2a40240310
commit c28f4ffb3f
8 changed files with 4 additions and 12 deletions

View File

@@ -6,10 +6,6 @@ import { User } from './user';
@Entity()
export class Poll {
@PrimaryColumn(id())
public id: string;
@Index({ unique: true })
@Column(id())
public noteId: Note['id'];
@OneToOne(type => Note, {