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

Support Postgres as a mirroring DB #905

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

princed
Copy link

@princed princed commented Jul 26, 2023

I realize this is a bit out of the blue, but thanks to the use of Sequelize it turned out to be quite easy to enable mirroring to Postges as well.

There's obviously more to it, like dialectOptions (see below) added to each mirror model, but I think it could be useful for someone else even if not accepted.

dialectOptions: {
  charset: 'utf8mb4',
  dateStrings: true,
  typeCast: true,
},

Haven't touched the docs yet, as I'm keen to know if this is something of interest at all.

@TheLastCicada
Copy link
Contributor

Thanks for this pull request @princed . Not sure if this is a priority on this project, or it is desired to support Postgres, but this is on our list and we'll review it!

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