Open RNACode opened 4 years ago
Hi,
one of the improvements we want to do in a future version is to provide the ability to declare native DB types. Not all databases support the same types equally so we are focusing on the more unified approach vs deep DB support. But only for now, this is already in our plans (we are working on growing the dev team which can help with such improvements).
What steps will reproduce the problem?
Install cycle/orm and cycle/migrations Now cycle not full support json type for mysql, because it automatically convert json to text https://github.com/spiral/database/blob/master/src/Driver/MySQL/Schema/MySQLColumn.php#L88
Example of migration
I've used following hack, but it looks terrible
What is the expected result?
I've expected json column
What do you get instead?
I've get a text column
Additional info