Skip to content

Commit

Permalink
Merge pull request #264 from cschleiden/sql-blob
Browse files Browse the repository at this point in the history
Use mediumblob for mysql attributes
  • Loading branch information
cschleiden authored Nov 3, 2023
2 parents 1a94c1f + c3881ec commit c249fb5
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 c249fb5

Please sign in to comment.