Skip to content

Commit

Permalink
fix(key_value): use longblob on mysql (apache#19805)
Browse files Browse the repository at this point in the history
* fix(key_value): use longblob on mysql

* set length
  • Loading branch information
villebro authored May 11, 2022
1 parent 05100ed commit 7fd0c02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def upgrade():
"key_value",
sa.Column("id", sa.Integer(), nullable=False),
sa.Column("resource", sa.String(32), nullable=False),
sa.Column("value", sa.LargeBinary(), nullable=False),
sa.Column("value", sa.LargeBinary(length=2**31), nullable=False),
sa.Column("uuid", UUIDType(binary=True), default=uuid4),
sa.Column("created_on", sa.DateTime(), nullable=True),
sa.Column("created_by_fk", sa.Integer(), nullable=True),
Expand Down

0 comments on commit 7fd0c02

Please sign in to comment.