From c471396d43c3f89ea9a17d451bebdd1a8342abf8 Mon Sep 17 00:00:00 2001
From: Allen Gilliland <agilliland@gmail.com>
Date: Mon, 26 Oct 2015 16:01:52 -0700
Subject: [PATCH] add a couple of MySQL specific mods to our migrations where
 we need to use the `TEXT` type instead of `VARCHAR` on mysql.

---
 resources/migrations/010_add_revision_table.yaml | 5 +++++
 resources/migrations/013_add_activity_table.yaml | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/resources/migrations/010_add_revision_table.yaml b/resources/migrations/010_add_revision_table.yaml
index 28c3568d39d..95b0a4bfd7f 100644
--- a/resources/migrations/010_add_revision_table.yaml
+++ b/resources/migrations/010_add_revision_table.yaml
@@ -61,3 +61,8 @@ databaseChangeLog:
             replace:
               replace: WITHOUT
               with: WITH
+        - modifySql:
+            dbms: mysql
+            replace:
+              replace: object VARCHAR
+              with: object TEXT
diff --git a/resources/migrations/013_add_activity_table.yaml b/resources/migrations/013_add_activity_table.yaml
index b004692c1fe..8ba808a23af 100644
--- a/resources/migrations/013_add_activity_table.yaml
+++ b/resources/migrations/013_add_activity_table.yaml
@@ -85,3 +85,8 @@ databaseChangeLog:
             replace:
               replace: WITHOUT
               with: WITH
+        - modifySql:
+            dbms: mysql
+            replace:
+              replace: details VARCHAR
+              with: details TEXT
-- 
GitLab