Set value db fields in cic_cache to handle biiig numbers
This commit is contained in:
parent
9d36a5f92f
commit
e0a980363c
@ -29,8 +29,8 @@ def upgrade():
|
|||||||
sa.Column('source_token', sa.String(42), nullable=False),
|
sa.Column('source_token', sa.String(42), nullable=False),
|
||||||
sa.Column('destination_token', sa.String(42), nullable=False),
|
sa.Column('destination_token', sa.String(42), nullable=False),
|
||||||
sa.Column('success', sa.Boolean, nullable=False),
|
sa.Column('success', sa.Boolean, nullable=False),
|
||||||
sa.Column('from_value', sa.BIGINT(), nullable=False),
|
sa.Column('from_value', sa.NUMERIC(), nullable=False),
|
||||||
sa.Column('to_value', sa.BIGINT(), nullable=False),
|
sa.Column('to_value', sa.NUMERIC(), nullable=False),
|
||||||
sa.Column('date_block', sa.DateTime, nullable=False),
|
sa.Column('date_block', sa.DateTime, nullable=False),
|
||||||
)
|
)
|
||||||
op.create_table(
|
op.create_table(
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[database]
|
[database]
|
||||||
NAME=cic-eth
|
NAME=cic_cache
|
||||||
USER=postgres
|
USER=postgres
|
||||||
PASSWORD=
|
PASSWORD=
|
||||||
HOST=localhost
|
HOST=localhost
|
||||||
|
Loading…
Reference in New Issue
Block a user