aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-20 10:38:11 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:24:48 +0800
commit9986717671fe8e14c2168f7479bdaffe406bedc0 (patch)
tree740250d59b8679756c7595ef49eba0d73cacbec5 /packages/pipeline/src/entities
parent5cad2ad1744ab1c1e24ed52fc0a26ec5acf5c898 (diff)
downloaddexon-sol-tools-9986717671fe8e14c2168f7479bdaffe406bedc0.tar
dexon-sol-tools-9986717671fe8e14c2168f7479bdaffe406bedc0.tar.gz
dexon-sol-tools-9986717671fe8e14c2168f7479bdaffe406bedc0.tar.bz2
dexon-sol-tools-9986717671fe8e14c2168f7479bdaffe406bedc0.tar.lz
dexon-sol-tools-9986717671fe8e14c2168f7479bdaffe406bedc0.tar.xz
dexon-sol-tools-9986717671fe8e14c2168f7479bdaffe406bedc0.tar.zst
dexon-sol-tools-9986717671fe8e14c2168f7479bdaffe406bedc0.zip
Add script for pulling missing block data
Diffstat (limited to 'packages/pipeline/src/entities')
-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;
}