Open TimMikeladze opened 1 year ago
Details?
Details?
To implement an asset store for MySQL using Drizzle one can use https://github.com/TimMikeladze/next-upload/tree/master/src/store/drizzle/pg as a starting point for implementation.
The logic will remain quite similar, with the major differences being in the column types for MySQL as opposed to Pg.
Note: this MySQL implementation should work out of the box with planetscale according to the drizzle docs .
There is a start of an implementation on the
mysql
branch.