aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-20 10:38:11 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:17:05 +0800
commit7cd3f3ceadeb6de152648d8398051a6384d7c14d (patch)
tree0baf52dd828842fd855eb9e13f29394186a309ea
parent9d9b5edc9c19c484b245500fcf2a58dc59bb6685 (diff)
downloaddexon-0x-contracts-7cd3f3ceadeb6de152648d8398051a6384d7c14d.tar
dexon-0x-contracts-7cd3f3ceadeb6de152648d8398051a6384d7c14d.tar.gz
dexon-0x-contracts-7cd3f3ceadeb6de152648d8398051a6384d7c14d.tar.bz2
dexon-0x-contracts-7cd3f3ceadeb6de152648d8398051a6384d7c14d.tar.lz
dexon-0x-contracts-7cd3f3ceadeb6de152648d8398051a6384d7c14d.tar.xz
dexon-0x-contracts-7cd3f3ceadeb6de152648d8398051a6384d7c14d.tar.zst
dexon-0x-contracts-7cd3f3ceadeb6de152648d8398051a6384d7c14d.zip
Add script for pulling missing block data
-rw-r--r--packages/pipeline/src/entities/block.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/entities/block.ts b/packages/pipeline/src/entities/block.ts
index 51be37703..f2efc6390 100644
--- a/packages/pipeline/src/entities/block.ts
+++ b/packages/pipeline/src/entities/block.ts
@@ -5,6 +5,6 @@ export class Block {
@PrimaryColumn() public hash!: string;
@PrimaryColumn() public number!: number;
- @Column({ name: 'unix_timestamp_seconds' })
- public unixTimestampSeconds!: number;
+ @Column({ name: 'timestamp' })
+ public timestamp!: number;
}