Support MySQL Driver #761
marvin-wtt
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Hey, Yes I had seen the knex's uuid method and I've already updated the knex package along with others in the v3 branch, so it should be ready to use there. I like the idea of integers. We can have one Both Postgres and MySQL support the small integer data type, we can use that for the integer field. If you to work on it use the v3 branch please. Thanks. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to add support for MySQL and possibly other DB drivers too.
Do do so, all raw queries need to be removed. The uuids are very simple as knex offers a uuid utility function since the last release.
The
cooldowns
column of theusers
table is a bit more complicated, as arrays are not supposed by MySQL. I'd either replace it by a JSON object or preferably just drop the timestamps and replace it with an incremental integer. Any thoughts?Also, should I base the PR on develop or the V3 branch?
Beta Was this translation helpful? Give feedback.
All reactions