Comments (5)
This unfortunately wouldn't create json
type in MySQL/Percona. Also we use JSON types in other parts of REMP tools.
Any chance you could upgrade to 10.2.7+? That version has added alias for JSON type doing exactly what you achieved by changing the migration.
https://mariadb.com/kb/en/library/json-data-type/
from remp.
Hi, based on the error message, it looks like you're using MariaDB. What version do you have? Does it support JSON data type?
from remp.
It's version 10.1.38-MariaDB-0ubuntu0.18.04.1. It doesn't look like MariaDB has the JSON datatype - it uses LONGTEXT instead.
I have fixed the issue with the following migrations/20181106082909_add_extras_to_mail_templates.php:
<?php
use Phinx\Migration\AbstractMigration;
use Phinx\Db\Adapter\MysqlAdapter;
class AddExtrasToMailTemplates extends AbstractMigration
{
public function change()
{
$this->table('mail_templates')
->addColumn('extras', 'text', ['null' => true, 'limit' => MysqlAdapter::TEXT_LONG])
->update();
}
}
from remp.
Upgrading to 10.3 has solved the problem. (I also got a "Specified key was too long" error with the previous version.)
from remp.
Great, we'll update the README to mention this as MariaDB might be used by more people.
from remp.
Related Issues (20)
- Unable to connect http://elasticsearch:9200 HOT 2
- Docker installation - failed: ERROR: Service 'adminer' failed to build : Build failed HOT 3
- "You are seeing this message because ad or script blocking software is interfering with this page." showing for customer with "no advertising" purchased HOT 1
- Can't use mysql host name in .env file HOT 1
- BEAM client too aggressive HOT 6
- Mailer README doesn't include .env instructions HOT 3
- Email as default login function HOT 2
- Date format HOT 1
- Support Segment exclusion in Campaign HOT 2
- Duplicated data on Article - Pageview Stats HOT 2
- Page progress tracker not working HOT 2
- Error while ordering campaign list by segments HOT 2
- Copy paste error ? HOT 1
- REMP Tracker and Segments - Log errors to the right channel HOT 3
- Installed successfully, can not find IPs HOT 27
- Error when upserting article through API HOT 3
- Trouble using in Win10 without docker HOT 3
- segment builder fields not working HOT 1
- How to install REMP on Windows 10 HOT 7
- Potential import collision: import path should be "github.com/sirupsen/logrus", not "github.com/Sirupsen/logrus" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remp.