Skip to content

Commit

Permalink
chore: Remove topDelegates from Round db
Browse files Browse the repository at this point in the history
  • Loading branch information
deanpress committed Mar 1, 2020
1 parent c720230 commit 9e83dce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/entities/Round.ts
Expand Up @@ -5,9 +5,6 @@ export class Round extends BaseEntity {
@PrimaryColumn("int")
public id: number;

@Column("varchar")
public topDelegates: string;

@Column("varchar")
public forged: string;

Expand Down
1 change: 0 additions & 1 deletion src/server.ts
Expand Up @@ -20,7 +20,6 @@ export const startServer = async config => {
const round = await Round.findOne({ id });
const response: any = round;
if (round) {
response.topDelegates = round.topDelegates.split(",");
return response;
} else {
return notFound();
Expand Down

0 comments on commit 9e83dce

Please sign in to comment.