db state load fix; vault balance tracking with pubsub; db statedict saves strings not json

This commit is contained in:
Tim Olson
2023-10-30 18:45:46 -04:00
parent 064f1a4d82
commit 6af695d345
16 changed files with 103 additions and 47 deletions

View File

@@ -34,7 +34,7 @@ def upgrade() -> None:
sa.PrimaryKeyConstraint('key')
)
op.create_table('seriesdict',
sa.Column('value', postgresql.JSONB(astext_type=sa.Text()), nullable=True),
sa.Column('value', sa.String(), nullable=False),
sa.Column('chain', sa.Integer(), nullable=False),
sa.Column('series', sa.String(), nullable=False),
sa.Column('key', sa.String(), nullable=False),