Merge branch 'lash/cic-cache-biiig-num' into 'master'

cic-cache: Set value db fields in cic_cache to handle biiig numbers

See merge request grassrootseconomics/cic-internal-integration!51
This commit is contained in:
Louis Holbrook 2021-03-05 20:03:52 +00:00
commit 618769a0d2
2 changed files with 3 additions and 3 deletions

View File

@ -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(

View File

@ -1,5 +1,5 @@
[database] [database]
NAME=cic-eth NAME=cic_cache
USER=postgres USER=postgres
PASSWORD= PASSWORD=
HOST=localhost HOST=localhost