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

Update dependencies and add support for Postgres as well as Mysql #7

Merged
merged 15 commits into from
Feb 16, 2023

Conversation

denwilliams
Copy link
Contributor

@denwilliams denwilliams commented Feb 21, 2022

Add support for Postgres so we can migrate our MySql projects to Postgres for consistency. Would need to rename this project ;)

Updates sequelize and use peer deps for others

This has been tested in tidy-api for mysql, although this PR won't change that anyway.

@denwilliams denwilliams changed the title Draft: Support Postgres Update dependencies and add support for Postgres as well as Mysql Feb 14, 2023
@denwilliams denwilliams marked this pull request as ready for review February 15, 2023 06:31
@denwilliams
Copy link
Contributor Author

@smithamax tagging you to see if there is anything else I should add/remove here.

Project tests seem to cover it pretty well.

Works well in tidy-api with mysql2.

Have semi-tested with tidy-api postgres but many raw SQL queries need updating. From the tests here pretty confident it will work.

Main thing right now is just to get dependencies updated.

@smithamax
Copy link
Member

I think in general we should deprecate this lib, but updates look good

@denwilliams
Copy link
Contributor Author

denwilliams commented Feb 15, 2023

I think in general we should deprecate

Yeah, Stevo was trying to propose we just get rid of it.
I think that job is much bigger than people anticipate though.

Maybe after a tidy refactor, with full typescript it becomes possible

@denwilliams denwilliams merged commit bfe5f83 into master Feb 16, 2023
@denwilliams denwilliams deleted the feature/support_postgres branch February 16, 2023 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants