Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drizzle MySQL Asset Store #5

Open
TimMikeladze opened this issue Aug 5, 2023 · 2 comments
Open

Drizzle MySQL Asset Store #5

TimMikeladze opened this issue Aug 5, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@TimMikeladze
Copy link
Owner

There is a start of an implementation on the mysql branch.

@TimMikeladze TimMikeladze added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Aug 5, 2023
@momi15075
Copy link

Details?

@TimMikeladze
Copy link
Owner Author

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants