diff --git a/db/db_mysql/migrations/20161202153627_AttachmentFix.sql b/db/db_mysql/migrations/20161202153627_AttachmentFix.sql new file mode 100644 index 00000000..7d93cf6d --- /dev/null +++ b/db/db_mysql/migrations/20161202153627_AttachmentFix.sql @@ -0,0 +1,9 @@ + +-- +goose Up +-- SQL in section 'Up' is executed when this migration is applied +ALTER TABLE attachments MODIFY content LONGTEXT; + +-- +goose Down +-- SQL section 'Down' is executed when this migration is rolled back + +ALTER TABLE attachments MODIFY content TEXT;