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 and philipher29 committed Jun 9, 2022
1 parent fb54c80 commit 008341e
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 008341e

Please sign in to comment.