chainsyncer

Blockchain syncer driver
Log | Files | Refs | LICENSE

commit 4b8d031b6c824566bc2d0e4ca962729665d426b5
parent c79224cf7b70f6c0c586045ea58784a0b4507d72
Author: nolash <dev@holbrook.no>
Date:   Tue, 23 Feb 2021 06:39:52 +0100

Change to largebinary type in migrations

Diffstat:
Mchainsyncer/db/migrations/sqlalchemy.py | 6+++---
Mrequirements.txt | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/chainsyncer/db/migrations/sqlalchemy.py b/chainsyncer/db/migrations/sqlalchemy.py @@ -25,10 +25,10 @@ def r0_0_1_u(): 'chain_sync_filter', sa.Column('id', sa.Integer, primary_key=True), sa.Column('chain_sync_id', sa.Integer, sa.ForeignKey('chain_sync.id'), nullable=True), - sa.Column('flags', sa.BLOB, nullable=True), - sa.Column('flags_start', sa.BLOB, nullable=True), + sa.Column('flags', sa.LargeBinary, nullable=True), + sa.Column('flags_start', sa.LargeBinary, nullable=True), sa.Column('count', sa.Integer, nullable=False, default=0), - sa.Column('digest', sa.BLOB, nullable=False), + sa.Column('digest', sa.String(64), nullable=False), ) def r0_0_1_d(): diff --git a/requirements.txt b/requirements.txt @@ -3,4 +3,4 @@ SQLAlchemy==1.3.20 confini~=0.3.6b2 semver==2.13.0 hexathon~=0.0.1a3 -chainlib~=0.0.1a15 +chainlib~=0.0.1a17