-
Notifications
You must be signed in to change notification settings - Fork 200
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 for PostgreSQL #75
Comments
It's look like TypeORM support everything. ever-traduora/api/src/config.ts Line 50 in 2f61214
|
@rahul-rathore-576 please see if we can copy the logic of configurations for DB from our other projects (e.g. https://github.com/ever-co/ever-gauzy) to Traduora as seems it's interesting for multiple customers. |
The merged PR does not fully fix this issue in my eyes as trying to run the application with postgres as DB_TYPE results in |
this is far as I come... |
I also stopped here. I guess it would be possible to use postgres 'bytea' column type instead of 'binary' but that would require to change the column type based on which DB is used. |
I went ahead and replaced "binary" with "bytea". Next stop is migrations
Giving up for now. |
How did you fix this? |
Hey there, |
@csampaio26 / @oldluke92 not sure you saw, we have PR #391 by @vvadymk, however it's not yet finalized. |
Yes, it is still in progress. |
Is your feature request related to a problem? Please describe.
Our stack is based on PostgreSQL as our primary datastore. We would love to use one of the existing server instances for our Traduora deployment instead of having to provision a MySQL instance just for it.
Describe the solution you'd like
Ideally, since TypeORM supports different database systems, we could find a way to keep Traduora agnostic and let the users pick the database they want.
Describe alternatives you've considered
I could fork the repo and replace MySQL's config with Postgre's one, but it would be hacky and less useful for other users.
I'm willing to try and implement this if there is enough interest from the community and the maintainers.
Upvote & Fund
The text was updated successfully, but these errors were encountered: