Skip to content

Commit

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

* set length

(cherry picked from commit a1bd5b2)
  • Loading branch information
villebro committed Apr 25, 2022
1 parent 387138e commit 1050fcb
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 1050fcb

Please sign in to comment.