Uh oh!
There was an error while loading. Please reload this page.
Feat array contains - #335
Conversation
| if ($array) { | ||
| $type = 'LONGTEXT'; | ||
| $type = 'JSON'; |
There was a problem hiding this comment.
We will have to migrate this on Appwrite
There was a problem hiding this comment.
OK
Just saw on MariaDB when trying to create a JSON attribute, It creates this:
genres longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(genres))
While in Mysql it is really a JSON field
There was a problem hiding this comment.
Hmm so we won't need a migration for MariaDB but will for MySQL.. this is a new problem 😅
There was a problem hiding this comment.
Maybe we can save it as Text + create a key / value Collection for search?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…-contains � Conflicts: � bin/tasks/load.php � src/Database/Adapter/Postgres.php � tests/Database/QueryTest.php
Query::contains