Skip to content

Commit

Permalink
Use mediumblob for mysql attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
cschleiden committed Nov 2, 2023
1 parent c6961f7 commit b1cad4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/mysql/db/migrations/000002_attributes_blob.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE `activities` MODIFY COLUMN `attributes` BLOB NOT NULL;
ALTER TABLE `history` MODIFY COLUMN `attributes` BLOB NOT NULL;
ALTER TABLE `pending_events` MODIFY COLUMN `attributes` BLOB NOT NULL;
3 changes: 3 additions & 0 deletions backend/mysql/db/migrations/000002_attributes_blob.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE `activities` MODIFY COLUMN `attributes` MEDIUMBLOB NOT NULL;
ALTER TABLE `history` MODIFY COLUMN `attributes` MEDIUMBLOB NOT NULL;
ALTER TABLE `pending_events` MODIFY COLUMN `attributes` MEDIUMBLOB NOT NULL;

0 comments on commit b1cad4d

Please sign in to comment.